File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -402,14 +402,15 @@ function create-auto-tfvars() {
402402 local name=" ${file_name% .tfvars} "
403403
404404 debug_log " Creating autoloading tfvars file for $file_path : zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER .$name .auto.tfvars"
405- cp " $file_path " " $INPUT_PATH /zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER .$name .auto.tfvars"
405+ ln -s " $file_path " " $INPUT_PATH /zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER .$name .auto.tfvars"
406406 AUTO_TFVARS_COUNTER=$( printf " %02d\n" " $(( AUTO_TFVARS_COUNTER + 1 )) " )
407407 done
408408 fi
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