From 827af52cd2ab47a67e15ecfa978cf00a53d67065 Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Sat, 20 Feb 2021 20:18:07 +0100 Subject: [PATCH] fix: Terraform validate for submodules (#172) --- .pre-commit-config.yaml | 4 ++-- .pre-commit-hooks.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3fd9775..a0304e2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: git://github.com/pre-commit/pre-commit-hooks - rev: v3.3.0 + rev: v3.4.0 hooks: - id: check-yaml - id: end-of-file-fixer @@ -9,7 +9,7 @@ repos: - id: check-merge-conflict - id: check-executables-have-shebangs - repo: git://github.com/jumanjihouse/pre-commit-hooks - rev: 2.1.4 + rev: 2.1.5 hooks: - id: shfmt args: ['-l', '-i', '2', '-ci', '-sr', '-w'] diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 4b667db..d7b2d61 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -36,6 +36,7 @@ - id: terraform_validate name: Terraform validate description: Validates all Terraform configuration files. + require_serial: true entry: terraform_validate.sh language: script files: (\.tf|\.tfvars)$