pf-04-aws-terragrunt-dry-iac
Sixteen Terraform modules behind one root config, with Terragrunt running them in order from their dependency graph.
- Terragrunt
- Terraform
- AWS
- 16
- Terraform modules and units
- 1
- Root config replacing 16 copies
- -40%
- Deployment time (production result)
Approach
Modules stay plain Terraform and Terragrunt wraps them. The backend, provider, and common inputs are generated once from live/root.hcl. _envcommon holds module sources and dependencies, and each unit states only its inputs. dependency blocks build the graph, and mock_outputs let the whole stack validate without a cloud account.
View on GitHub ↗
Open the case: case-studies/aws-terragrunt/README.md →