Terragrunt IaC
Generate best-practice Terragrunt configurations — root configs, child modules, stacks, and multi-environment setups. Keeps Terraform DRY with shared inputs, remote state, and dependency wiring across dev/staging/prod.
This skill authors Terragrunt HCL: root and child terragrunt.hcl files, remote-state and provider generation, dependency blocks, and multi-environment stacks that keep Terraform DRY. Use it to structure a new IaC repo or refactor copy-pasted Terraform into reusable environments.
When to use
Use when structuring Terragrunt projects — writing root and child configs, wiring remote state and dependencies, or building DRY multi-environment (dev/staging/prod) stacks.
Examples
DRY multi-env stack
dev/staging/prod
Set up a Terragrunt structure with a root config for remote state and per-environment folders for dev, staging, and prod that share a VPC module
Wire module dependencies
Order applies correctly
Add Terragrunt dependency blocks so my app module reads the VPC and RDS outputs and applies in the right order