Skip to content

Commit

Permalink
Update config doc to fix terragrunt-diff typo (#3515)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelkew authored Nov 8, 2024
1 parent a01dcfa commit 8f096d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/01_getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ If you run `terragrunt hclfmt` at the `root`, this will update:

- `root/qa/services/service01/terragrunt.hcl`

You can set `--terragrunt-diff` option. `terragrunt hclfmt --terragrunt-check` will output diff in unified format which can be redirected to your favourite diff tool. `diff` utility must be presented in PATH.
You can set `--terragrunt-diff` option. `terragrunt hclfmt --terragrunt-diff` will output the diff in a unified format which can be redirected to your favourite diff tool. `diff` utility must be presented in PATH.

Additionally, there’s a flag `--terragrunt-check`. `terragrunt hclfmt --terragrunt-check` will only verify if the files are correctly formatted **without rewriting** them. The command will return exit status 1 if any matching files are improperly formatted, or 0 if all matching .hcl files are correctly formatted.

0 comments on commit 8f096d3

Please sign in to comment.