pre-commit git hooks to take care of OpenTofu configurations
  • Shell 86.3%
  • Dockerfile 10.8%
  • Python 2.9%
Find a file
2016-09-27 21:47:08 +02:00
.pre-commit-config.yaml Ready, probably :) 2016-09-27 21:17:19 +02:00
hooks.yaml Ready, probably :) 2016-09-27 21:17:19 +02:00
README.md Updated README 2016-09-27 21:47:08 +02:00
terrraform_fmt.sh Ready, probably :) 2016-09-27 21:17:19 +02:00

pre-commit-terraform hook

Single pre-commit hook which runs terraform fmt on *.tf files.

An example .pre-commit-config.yaml:

-   repo: git://github.com/antonbabenko/pre-commit-terraform
    sha: v1.0.0
    hooks:
      -   id: terraform_fmt

Enjoy the clean code!