You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to be able to set hard requirements on the version of certain tools (e.g. terraform-docs) inside the YAML config so that the hook fails&stops if the version mismatches at the very beginning.
How could pre-commit-terraform help solve your problem?
antonbabenko
changed the title
Add check for specific version of utilities to be installed
Add a check for specific version of a tool before applying a hook
Oct 15, 2021
What problem are you facing?
It would be helpful to be able to set hard requirements on the version of certain tools (e.g.
terraform-docs
) inside the YAML config so that the hook fails&stops if the version mismatches at the very beginning.How could pre-commit-terraform help solve your problem?
Potential config:
I think it should be applied to
terraform_docs
hooks first of all.Ref: https://tldp.org/LDP/abs/html/bashver3.html#REGEXMATCHREF
The text was updated successfully, but these errors were encountered: