terragrunt commands

15 commands, each with a one-line explanation. Click a command to copy it, or its title for details.

Commands 15 shown

  • terragrunt run-all plan --terragrunt-non-interactive

    Plan all dependent Terragrunt modules in order

  • terragrunt run-all apply --terragrunt-non-interactive

    Apply all modules in dependency order, non-interactive

  • terragrunt run-all destroy --terragrunt-non-interactive

    Destroy all modules in reverse dependency order

  • terragrunt run-all output -json

    Print outputs from all modules as JSON

  • terragrunt run-all validate

    Run terraform validate across all modules

  • terragrunt plan

    Run terraform plan in the current Terragrunt module

    terraform

  • terragrunt run-all apply

    Apply all modules in the stack in dependency order

    terraform

  • terragrunt run-all destroy --terragrunt-non-interactive

    Destroy all stack modules non-interactively

    terraform

  • terragrunt run-all validate

    Run terraform validate across all modules

    terraform

  • terragrunt output -json | jq '.'

    Show all Terragrunt outputs as JSON

  • terragrunt init --upgrade

    Re-initialise and upgrade provider locks

    terraform

  • terragrunt render-json

    Dump the resolved terragrunt.hcl as JSON (debug)

    debug

  • terragrunt graph-dependencies | dot -Tsvg > deps.svg

    Visualise Terragrunt module dependency graph

  • terragrunt run-all plan --terragrunt-exclude-dir ./module-to-skip

    Skip a specific module during stack-wide operations

  • terragrunt apply --terragrunt-no-auto-approve --terragrunt-fetch-dependency-output-from-state

    Fetch dependency outputs from state to avoid ordering issues

    terraform