Forrest logo
back to the terragrunt tool

terragrunt:tldr:0fc09

terragrunt: Show module output values.
$ terragrunt output
try on your machine

The terragrunt output command is used with the Terraform tool called Terragrunt. Terragrunt is a thin wrapper around Terraform that provides extra functionality and simplifies working with Terraform modules.

When you run the terragrunt output command, it displays the values of the outputs defined in your Terraform code. Terraform outputs are used to expose certain values from your infrastructure as readable values after a successful deployment.

The terragrunt output command provides an easy way to view these output values without having to manually inspect the generated Terraform state file. It can be helpful to see the actual values of outputs like IP addresses, endpoint URLs, or resource IDs, which can be used by other parts of your infrastructure or external systems.

By running terragrunt output, you can quickly view the values of these outputs to verify that your infrastructure is deployed correctly or to retrieve important values to use in other workflows or scripts.

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