Forrest logo
back to the terragrunt tool

terragrunt:tldr:0c810

terragrunt: Generate and show an execution plan.
$ terragrunt plan
try on your machine

The command "terragrunt plan" is a Terraform command that is run using the Terragrunt wrapper. Terragrunt is a thin wrapper around Terraform that provides a set of additional features and enhancements to manage Terraform configurations more easily.

When running "terragrunt plan", Terragrunt essentially calls the underlying "terraform plan" command, which is used to create an execution plan for Terraform. This execution plan shows what actions Terraform will perform to reach the desired state specified in the Terraform configuration files.

The "terragrunt plan" command analyzes the current state of the infrastructure described in the Terraform configuration and compares it with the desired state defined in the configuration files. It identifies any changes, additions, or deletions that need to be made to the infrastructure resources to reconcile the actual and desired state.

By running "terragrunt plan", you can see a detailed output of all the proposed changes that Terraform plans to make, including creating new resources, updating existing resources, or destroying resources. The plan provides information such as the name, type, and attributes of the resources to be changed. This helps you visualize the impact of the changes before actually applying them.

It is a recommended best practice to always run "terragrunt plan" before applying any changes with "terragrunt apply". This allows you to review and validate the changes before they are executed and avoid making unintended modifications to your infrastructure.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the terragrunt tool