We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b96cf0c commit f57ee4fCopy full SHA for f57ee4f
1 file changed
.pre-commit-config.yaml
@@ -34,27 +34,6 @@ repos:
34
verbose: true
35
files: \.tf(vars)?$
36
exclude: examples
37
- - id: tflock
38
- name: provider_locks
39
- entry: |
40
- bash -c '
41
- AWS_DEFAULT_REGION=us-east-1
42
- declare -a DIRS
43
- for FILE in "$@"
44
- do
45
- DIRS+=($(dirname "$FILE"))
46
- done
47
- for DIR in $(printf "%s\n" "${DIRS[@]}" | sort -u)
48
49
- cd $(dirname "$FILE")
50
- terraform providers lock -platform=windows_amd64 -platform=darwin_amd64 -platform=linux_amd64
51
- cd ..
52
53
- '
54
- language: system
55
- verbose: true
56
- files: \.tf(vars)?$
57
- exclude: examples
58
- repo: https://github.com/pre-commit/pre-commit-hooks
59
rev: v4.0.1
60
hooks:
0 commit comments