Skip to content

Commit

Permalink
fix(terragrunt_validate): Only run terragrunt_validate in valid direc…
Browse files Browse the repository at this point in the history
…tories (antonbabenko#191)

The command fails if there is no terragrunt.hcl file in the directory.
  • Loading branch information
thetimbecker committed Jan 3, 2022
1 parent ac9299c commit 4a5e98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-hooks.yaml
Expand Up @@ -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
Expand Down

0 comments on commit 4a5e98c

Please sign in to comment.