From b431a43ffa6cd13156485ef853c967856e9572ef Mon Sep 17 00:00:00 2001 From: Maksym Vlasov Date: Tue, 21 Dec 2021 21:18:52 +0200 Subject: [PATCH] fix: Properly exclude .terraform directory with checkov hook (#306) --- .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 08e65ba27..f923dafb1 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -100,7 +100,7 @@ pass_filenames: false always_run: false files: \.tf$ - exclude: \.+.terraform\/.*$ + exclude: \.terraform\/.*$ require_serial: true - id: terrascan