From c4a4376002490f0e19f7172059652527b2b53950 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Fri, 24 Jan 2025 19:18:21 -0500 Subject: [PATCH] tflint --- .pre-commit-config.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a16edd6..fbcb79b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,16 +46,16 @@ repos: - id: terraform_docs args: - --hook-config=--parallelism-ci-cpu-cores=2 - # - id: terraform_tflint - # name: Terraform validate with tflint - # description: Validates all Terraform configuration files with TFLint. - # require_serial: true - # entry: hooks/terraform_tflint.sh - # language: script - # files: (\.tf|\.tfvars)$ - # exclude: \.(terraform/.*|terragrunt-cache)$ - # args: - # - --hook-config=--parallelism-ci-cpu-cores=2 + - id: terraform_tflint + name: Terraform validate with tflint + description: Validates all Terraform configuration files with TFLint. + require_serial: true + entry: hooks/terraform_tflint.sh + language: script + files: (\.tf|\.tfvars)$ + exclude: \.(terraform/.*|terragrunt-cache)$ + args: + - --hook-config=--parallelism-ci-cpu-cores=2 - id: terragrunt_fmt name: Terragrunt fmt description: Rewrites all Terragrunt configuration files to a canonical format.