Skip to content
hannctl
PDF

labs pf-04.md

pf-04-aws-terragrunt-dry-iac

v1.0.0 released · CI passing AWS Terragrunt Personal project · released Nov 2026

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 →

© 2026 Kim JunHyun · Built with Astro · The infrastructure behind this site is code too

↑↓ move · Enter open · Esc close

Choose a theme

Click a badge to switch to that theme on the same content. Dragging only swings it.

Back to the front page →