Skip to content

Commit

Permalink
.pre-commit-config.yaml: Limit terragrunt validate to folders with te…
Browse files Browse the repository at this point in the history
…rragrunt.hcl file
  • Loading branch information
Wayneoween authored Oct 31, 2024
1 parent 10d14d6 commit fb79ccf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ repos:
hooks:
- id: terragrunt_fmt
- id: terragrunt_validate
files: ^environments/.*/.*/terragrunt.hcl$
- id: terraform_tflint
args:
- --args=--config=__GIT_WORKING_DIR__.tflint.hcl
- --args=--config=__GIT_WORKING_DIR__/.tflint.hcl
exclude: '/code_snippets/.*'

0 comments on commit fb79ccf

Please sign in to comment.