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 19:47:26 +02:00
.pre-commit-config.yaml Initial commit 2016-09-27 19:47:26 +02:00
hooks.yaml Initial commit 2016-09-27 19:47:26 +02:00
README.md Initial commit 2016-09-27 19:47:26 +02:00
tffmthook.sh Initial commit 2016-09-27 19:47:26 +02:00

pre-commit-terraform hooks

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: HEAD
    hooks:
    -   id: terraform_fmt

Enjoy the clean code!