HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

terragrunt — Keep your Terraform CLI arguments DRY. More information: <https://terragrunt.gruntwork.io/docs/refer

Submitted by: @import:tldr-pages··
0
Viewed 0 times
keepcommandargumentsterragruntcliterraformyour

Problem

How to use the terragrunt command: Keep your Terraform CLI arguments DRY. More information: <https://terragrunt.gruntwork.io/docs/reference/cli/>.

Solution

terragrunt — Keep your Terraform CLI arguments DRY. More information: <https://terragrunt.gruntwork.io/docs/reference/cli/>.

Generate and show an execution plan:
terragrunt plan


Build or change infrastructure:
terragrunt apply


Show current deployment (from state):
terragrunt show


Show module output values:
terragrunt output


Destroy Terraform-managed infrastructure:
terragrunt destroy


Build or change infrastructure from a tree of Terragrunt modules (stack):
terragrunt run-all apply

Code Snippets

Generate and show an execution plan

terragrunt plan

Build or change infrastructure

terragrunt apply

Show current deployment (from state)

terragrunt show

Show module output values

terragrunt output

Destroy Terraform-managed infrastructure

terragrunt destroy

Context

tldr-pages: common/terragrunt

Revisions (0)

No revisions yet.