Skip to content

Commit

Permalink
Add terraform fmt and validate in pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
trottomv committed Apr 20, 2023
1 parent 8146ba0 commit 6e31d52
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,10 @@ repos:
hooks:
- id: pip-audit
args: ["--require-hashes", "--requirement", "requirements/local.txt"]
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: "v1.77.0"
hooks:
- id: terraform_fmt
- id: terraform_validate
args:
- --tf-init-args=-backend=false

0 comments on commit 6e31d52

Please sign in to comment.