forked from github/pre-commit-opentofu
pre-commit git hooks to take care of OpenTofu configurations
- Shell 86.3%
- Dockerfile 10.8%
- Python 2.9%
|
|
||
|---|---|---|
| .pre-commit-config.yaml | ||
| .pre-commit-hooks.yaml | ||
| hooks.yaml | ||
| README.md | ||
| terraform_fmt.sh | ||
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.2.0
hooks:
- id: terraform_fmt
Enjoy the clean code!