Skip to content
🎉 Terragrunt v1.0 is here! Read the announcement to learn more.

print

Usage

Outputs a JSON object with contextual information such as the configuration file path, current working directory, cache download location, IAM role (if any), the binary used to run Terraform or Tofu, and the command being executed.

Examples

Print out information about the current context of Terragrunt.

Terminal window
$ terragrunt info print
{
"config_path": "/example/path/terragrunt.hcl",
"download_dir": "/example/path/.terragrunt-cache",
"iam_role": "",
"terraform_binary": "tofu",
"terraform_command": "print",
"working_dir": "/example/path"
}