diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 95a000ffb..21eedd2d5 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -82,7 +82,7 @@ description: Validates all Terragrunt configuration files. entry: terragrunt_validate.sh language: script - files: (\.hcl)$ + files: (/terragrunt\.hcl)$ exclude: \.terraform\/.*$ - id: terraform_tfsec