Skip to content

pre-commit git hooks to take care of Terraform configurations

License

Notifications You must be signed in to change notification settings

Cloud-Technology-Solutions/pre-commit-hooks

 
 

Repository files navigation

pre-commit-hooks README

This is a collection of pre-commit hooks used by CTS for automated compliance checking.

Hooks

  • add-missing-readme: adds a README.md formatted for use with the third party terraform-docs hook to auto-generate Terraform documentation for any directory containing a main.tf.
  • check-modules-use-tag: used in a Terraground modules/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.

License

MIT: see LICENSE.

About

pre-commit git hooks to take care of Terraform configurations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 94.4%
  • Dockerfile 5.6%