--json
Output the result in JSON format.
When enabled, Terragrunt will output the validation results in JSON format, making it easier to parse and process programmatically.
Example:
terragrunt hcl validate --json
Type: bool
Environment Variables:
TG_HCLVALIDATE_JSON