Skip to content

Commit f57ee4f

Browse files
committed
remove provider lock
1 parent b96cf0c commit f57ee4f

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,6 @@ repos:
3434
verbose: true
3535
files: \.tf(vars)?$
3636
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-
do
49-
cd $(dirname "$FILE")
50-
terraform providers lock -platform=windows_amd64 -platform=darwin_amd64 -platform=linux_amd64
51-
cd ..
52-
done
53-
'
54-
language: system
55-
verbose: true
56-
files: \.tf(vars)?$
57-
exclude: examples
5837
- repo: https://github.com/pre-commit/pre-commit-hooks
5938
rev: v4.0.1
6039
hooks:

0 commit comments

Comments
 (0)