Created
January 31, 2026 14:36
-
-
Save tafaust/6cc8cb0b0554140bd2bd9caaa20caeeb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| locals { | |
| constrained_config = { | |
| "payments-service-networking-dev" = { /* dev settings */ } | |
| "payments-service-networking-staging" = { /* staging settings */ } | |
| "payments-service-networking-prod" = { /* prod settings */ } | |
| } | |
| # tflint-ignore: terraform_unused_declarations | |
| workspace_config = local.constrained_config[terraform.workspace] # Crash if we try to use a disallowed workspace | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment