gruntwork-io / gruntwork-io/pre-commit
terraform validate pre-commit hook fails for modules
Open
question
- Dominant language
- Shell
- Stars
- 547
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
Dear Team,
I think your pre-commit-collection is really great. I would like to use also the terraform validate pre-commit hook and this fails for plain vanilla terraform modules (without terragrunt), because e.g. arguments are not set (because it is a module).
Could we suppress tf validate if it is a module, meaning no backend definition is there or no provider is present?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.