File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ jobs:
611611 run : |
612612 echo "The terraform version was $DETECTED_TERRAFORM_VERSION"
613613
614- if [[ "$DETECTED_TERRAFORM_VERSION" != *"1.11 "* ]]; then
614+ if [[ "$DETECTED_TERRAFORM_VERSION" != *"1.12 "* ]]; then
615615 echo "::error:: Latest version was not used"
616616 exit 1
617617 fi
@@ -632,7 +632,7 @@ jobs:
632632 run : |
633633 echo "The terraform version was $DETECTED_TERRAFORM_VERSION"
634634
635- if [[ "$DETECTED_TERRAFORM_VERSION" != *"1.11 "* ]]; then
635+ if [[ "$DETECTED_TERRAFORM_VERSION" != *"1.12 "* ]]; then
636636 echo "::error:: Latest version was not used"
637637 exit 1
638638 fi
Original file line number Diff line number Diff line change 1+ rules :
2+ unpinned-uses :
3+ config :
4+ policies :
5+ dflook/terraform-apply : ref-pin
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ function init-test() {
210210function set-init-args() {
211211 INIT_ARGS=" "
212212
213- if [[ -n " $INPUT_BACKEND_CONFIG_FILE " ]]; then
213+ if [[ -n " ${ INPUT_BACKEND_CONFIG_FILE:- } " ]]; then
214214 for file in $( echo " $INPUT_BACKEND_CONFIG_FILE " | tr ' ,' ' \n' ) ; do
215215
216216 if [[ ! -f " $file " ]]; then
@@ -222,7 +222,7 @@ function set-init-args() {
222222 done
223223 fi
224224
225- if [[ -n " $INPUT_BACKEND_CONFIG " ]]; then
225+ if [[ -n " ${ INPUT_BACKEND_CONFIG:- } " ]]; then
226226 for config in $( echo " $INPUT_BACKEND_CONFIG " | tr ' ,' ' \n' ) ; do
227227 INIT_ARGS=" $INIT_ARGS -backend-config=$config "
228228 done
You can’t perform that action at this time.
0 commit comments