We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f57ee4f commit b64354eCopy full SHA for b64354e
1 file changed
.pre-commit-config.yaml
@@ -10,30 +10,6 @@ repos:
10
alias: terraform_tflint_nocreds
11
name: terraform_tflint_nocreds
12
- id: terraform_tfsec
13
- - repo: local
14
- hooks:
15
- - id: terraform_validate
16
- name: terraform_validate
17
- entry: |
18
- bash -c '
19
- AWS_DEFAULT_REGION=us-east-1
20
- declare -a DIRS
21
- for FILE in "$@"
22
- do
23
- DIRS+=($(dirname "$FILE"))
24
- done
25
- for DIR in $(printf "%s\n" "${DIRS[@]}" | sort -u)
26
27
- cd $(dirname "$FILE")
28
- terraform init --backend=false
29
- terraform validate .
30
- cd ..
31
32
- '
33
- language: system
34
- verbose: true
35
- files: \.tf(vars)?$
36
- exclude: examples
37
- repo: https://github.com/pre-commit/pre-commit-hooks
38
rev: v4.0.1
39
hooks:
0 commit comments