Closed yosefrow closed 1 month ago
Also, if you have other *.hcl
files in your repository (for example, for Vault), that are under a different formatting regime, it would be very useful to be able to exclude folders.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for raising this issue.
Recreated issue: #3391
Describe the solution you'd like A clear and concise description of what you want to happen.
Ignore hidden folders when running terragrunt hclfmt or at least provide an option to ignore paths.
Use cases:
Describe alternatives you've considered
terragrunt hclfmt --terragrunt-exclude-dir '**/.history/*' --terragrunt-exclude-dir '**/.history/**/*' --terragrunt-check
likely does not work because --terragrunt-exclude-dir only works with --run-allAdditional context being able to exclude paths for any terragrunt command including hclfmt seems like common sense to me. I feel I'm missing some obvious solution here. But I couldn't find it on my own.