We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2445bb1 commit 9feaf7dCopy full SHA for 9feaf7d
bin/run_cfn_lint.sh
@@ -11,10 +11,12 @@ fi
11
12
"${VENV}/bin/python" -m pip install cfn-lint --upgrade --quiet
13
# update cfn schema with retry logic (can fail due to network issues)
14
+# --regions us-east-1 avoids a cfn-lint bug where updating all regions causes a
15
+# multiprocessing pickle error. See https://github.com/aws-cloudformation/cfn-lint/issues/4379
16
MAX_RETRIES=3
17
RETRY_COUNT=0
18
while [ $RETRY_COUNT -lt $MAX_RETRIES ]; do
- if "${VENV}/bin/cfn-lint" -u; then
19
+ if "${VENV}/bin/cfn-lint" -u --regions us-east-1; then
20
echo "Successfully updated cfn-lint schema"
21
break
22
else
0 commit comments