Skip to content

Commit 7403416

Browse files
committed
Create auto var files as symlinks
1 parent 94a9607 commit 7403416

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

image/actions.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,7 @@ 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-
ln -s "$file_path" "$INPUT_PATH/zzzz-dflook-terraform-github-actions-$AUTO_TFVARS_COUNTER.$name.auto.tfvars"
406-
debug_cmd ls -la "$INPUT_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"
407406
AUTO_TFVARS_COUNTER=$(printf "%02d\n" "$((AUTO_TFVARS_COUNTER + 1))")
408407
done
409408
fi

0 commit comments

Comments
 (0)