pf-01-aws-terraform-multi-region
A Terraform module set that builds the same infrastructure in 16 AWS regions from one locals map per region.
- Terraform
- AWS
- EKS
- CloudWatch
- AWS Chatbot
- 16
- Regional provider aliases
- 24
- Terraform modules
- 3
- Validated examples
Approach
A locals map per region declares the wanted state, and module plus for_each creates it all. Each region has a provider alias that assumes the same role. Terraform cannot choose a provider dynamically inside for_each, so the module block repeats per region.
View on GitHub ↗
Open the case: case-studies/aws-terraform/README.md →