Skip to content

How do I disable a region in a multi-region module? #163

Answered by yorinasub17
yorinasub17 asked this question in Help
Discussion options

You must be logged in to vote

In the Landing Zone modules (account-baseline-app, account-baseline-root, account-baseline-security), there are two settings that configure multiple regions:

  • The provider blocks for each region
  • The opt_in_regions variables

In the Reference Architecture, these are configured through the all_aws_regions and opt_in_regions local variables in the multi_region_common.hcl configuration file.

To disable a region in the multi-region modules, you can remove it from the opt_in_regions list. Note that you must have all regions specified in the all_aws_regions list, as the multi-region module expects a provider block for every possible AWS region.

If you are using terraform or the Landing Zone modu…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yorinasub17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment