This is a collection of pre-commit hooks used by CTS for automated compliance checking.
add-missing-readme
: adds aREADME.md
formatted for use with the third partyterraform-docs
hook to auto-generate Terraform documentation for any directory containing amain.tf
.check-modules-use-tag
: used in a Terragroundmodules
/live
workflow to ensure that any Terraform modules referenced from a Terragrunt YAML config use a proper Git tag as a reference and not a mutable branch.
MIT: see LICENSE.