How do I disable a region in a multi-region module? #163
-
I'd like to exclude regions I never use from having resources that Landing Zone and the Reference Architecture deploys. How can I do that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In the Landing Zone modules (
In the Reference Architecture, these are configured through the To disable a region in the multi-region modules, you can remove it from the If you are using |
Beta Was this translation helpful? Give feedback.
In the Landing Zone modules (
account-baseline-app
,account-baseline-root
,account-baseline-security
), there are two settings that configure multiple regions:opt_in_regions
variablesIn the Reference Architecture, these are configured through the
all_aws_regions
andopt_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 theall_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…