From 332ec97ccbaab76becbe09579cf7761d56e1356c Mon Sep 17 00:00:00 2001 From: ad-m-ss <99484706+ad-m-ss@users.noreply.github.com> Date: Sat, 23 Apr 2022 21:10:09 +0200 Subject: [PATCH] Apply terraform-fmt to .tfvars too --- .pre-commit-hooks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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