/terragrunt-example

Terragrunt example

Primary LanguageHCL

terragrunt-example

Terragrunt example

envs

per module

cd envs/dev/eu-west-1/storage
terragrunt run-all plan

per env

cd envs/dev # dev|stage|prod
terragrunt run-all plan
terragrunt run-all apply
terragrunt run-all destroy
terragrunt run-all outputs
terragrunt run-all graph-dependencies
terragrunt run-all terragrunt-info
terragrunt run-all validate-inputs

development

# debug
export TERRAGRUNT_LOG_LEVEL=debug
# cleanup
rm -rf **/.terragrunt-cache
# fmt
terragrunt hclfmt

next

  • feat: move all module config up
  • not sure what to do about the account id...
  • is the lockfile useful?

reference