File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ function setup() {
150150 detect-tfmask
151151
152152 execute_run_commands
153+
154+ create-auto-tfvars
153155}
154156
155157function relative_to() {
@@ -181,8 +183,6 @@ function set-init-args() {
181183 INIT_ARGS=" $INIT_ARGS -backend-config=$config "
182184 done
183185 fi
184-
185- create-auto-tfvars
186186}
187187
188188# #
@@ -409,7 +409,8 @@ function create-auto-tfvars() {
409409
410410 if [[ -n " ${INPUT_VARIABLES:- } " ]]; then
411411 debug_log " Creating autoloading tfvars file for the variables input: zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER .auto.tfvars"
412- echo " $INPUT_VARIABLES " > " $INPUT_PATH /zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER .auto.tfvars"
412+ echo " $INPUT_VARIABLES " > " $STEP_TMP_DIR /zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER .auto.tfvars"
413+ ln -s " $STEP_TMP_DIR /zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER .auto.tfvars" " $INPUT_PATH /zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER .auto.tfvars"
413414 fi
414415}
415416
You can’t perform that action at this time.
0 commit comments