---
name: diff
description: Print diff between original and modified file versions when running with 'hclfmt'.
type: bool
env:
  - TG_DIFF
---

When enabled, Terragrunt will show the differences between the original and formatted versions of HCL files. This helps you understand what changes the formatter would make.

Example:

```bash
terragrunt hcl fmt --diff
```
