Skip to content

Commit f6e9256

Browse files
committed
Chore: hclfmt deprecation
`hclfmt` is being deprecated and terragrunt produces a warning on execution, See https://github.com/gruntwork-io/terragrunt/releases/tag/v0.78.0 Fix : ``` WARN The `hclfmt` command is deprecated and will be removed in a future version of Terragrunt. Use `terragrunt hcl format` instead. ```
1 parent dd939dd commit f6e9256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/terragrunt_fmt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function per_dir_hook_unique_part {
4646
local -a -r args=("$@")
4747

4848
# pass the arguments to hook
49-
terragrunt hclfmt "${args[@]}"
49+
terragrunt hcl format "${args[@]}"
5050

5151
# return exit code to common::per_dir_hook
5252
local exit_code=$?

0 commit comments

Comments
 (0)