We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f904e1f commit a08804aCopy full SHA for a08804a
entrypoint.sh
@@ -19,12 +19,12 @@ for PREFIX in "${ARRAY[@]}"; do
19
if [[ "${INPUT_RUN_INIT}" == "true" ]]; then
20
terraform init
21
fi
22
- tflint -c "${WORK_DIR}/${INPUT_TFLINT_CONFIG}" || RET_CODE=1
+ tflint --init && tflint -c "${WORK_DIR}/${INPUT_TFLINT_CONFIG}" || RET_CODE=1
23
else
24
25
26
27
- tflint "${INPUT_TFLINT_PARAMS}" || RET_CODE=1
+ tflint --init && tflint "${INPUT_TFLINT_PARAMS}" || RET_CODE=1
28
29
cd "${WORK_DIR}" || RET_CODE=1
30
done
0 commit comments