How do I disable a region in a multi-region module?
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?
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](https://github.com/gruntwork-io/terraform-aws-service-catalog/blob/master/examples/for-production/infrastructure-live/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 module directly, you can omit the region from the `opt_in_regions` variables list that you are passing into the module.