(01)Install Terragrunt
Linux
1wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.67.0/terragrunt_linux_amd642chmod +x terragrunt_linux_amd64 && sudo mv terragrunt_linux_amd64 /usr/local/bin/terragruntDRY wrapper for Terraform — manage many environments cleanly
If you're on Terraform 1.7 or older
Alternative — team standard for Infrastructure as Code
What is this?
Terragrunt wraps Terraform so you can reuse modules across dev, staging, and production.
Where to create or edit the main configuration — paths below match the setup steps.
terragrunt.hclLocation: Each environment/module folder
Remote state, inputs, and Terraform wrapper
Step 01
1wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.67.0/terragrunt_linux_amd642chmod +x terragrunt_linux_amd64 && sudo mv terragrunt_linux_amd64 /usr/local/bin/terragruntStep 02
1# terragrunt.hcl in each module folder2terragrunt init3terragrunt plan4terragrunt applyStep 03
1terragrunt --version