diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 89b985b2..b3e919d7 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -14,7 +14,7 @@ description: Validates all Terraform configuration files entry: hooks/terraform-validate.sh language: script - files: \.tf$ + files: \.(tf|tfvars)$ exclude: \.+.terraform\/.*$ require_serial: true