devops-governance/environments
Julie Ng e3a2c9557c
feat(tags): merge custom and default tags per environment
2022-05-01 15:35:32 +02:00
..
README.md feat(tags): merge custom and default tags per environment 2022-05-01 15:35:32 +02:00
dev.tfvars feat(tags): merge custom and default tags per environment 2022-05-01 15:35:32 +02:00
prod.tfvars feat(tags): merge custom and default tags per environment 2022-05-01 15:35:32 +02:00

README.md

Environments Configuration (Optional)

Define specific variables per environment. Currently used for Azure Resource tags, e.g. env=dev vs env=prod.

These custom tags are merged into defaults defined in /variables.tf

Usage example

These values need to be explicitly specified via -var-file flag, e.g.

terraform plan -var-file=environments/dev.tfvars -out plan.tfplan
terraform apply plan.tfplan