terragrunt
terragrunt copied to clipboard
hclfmt: accept multiple files
Description
hclfmt: accept multiple files when using the --terragrunt-hclfmt-file option.
This is useful when used in combination with https://github.com/numtide/treefmt
TODOs
Read the Gruntwork contribution guidelines.
- [x] Update the docs.
- [x] Run the relevant tests successfully, including pre-commit checks.
- [x] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
- [x] Include release notes. If this PR is backward incompatible, include a migration guide.
Release Notes (draft)
- The
--terragrunt-hclfmt-fileoption inhclfmtnow supports multiple files.
Migration Guide
Tests fail to run since cli/hclfmt_test.go is not compilable, it has reference to tgOptions.HclFile