diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 067a6e9..7aa4872 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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