Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 383 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 383 Bytes

pre-commit-tf

Terraform pre-commit hook which runs terraform fmt and terraform validate on *.tf files.

Usage

Example <git_project>/.pre-commit-config.yaml for in your terraform project:

-   repo: git@github.com:OblivionCloudControl/pre-commit-tf.git
    rev: v0.0.3
    hooks:
    -  id: terraform_fmt
    -  id: terraform_validate