We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389e412 commit 556203cCopy full SHA for 556203c
image/actions.sh
@@ -392,7 +392,7 @@ function set-common-plan-args() {
392
function set-variable-args() {
393
VARIABLE_ARGS=""
394
395
- if [[ -n "$INPUT_VAR_FILE" ]]; then
+ if [[ -n "${INPUT_VAR_FILE:-}" ]]; then
396
for file in $(echo "$INPUT_VAR_FILE" | tr ',' '\n'); do
397
398
if [[ ! -f "$file" ]]; then
@@ -404,7 +404,7 @@ function set-variable-args() {
404
done
405
fi
406
407
- if [[ -n "$INPUT_VARIABLES" ]]; then
+ if [[ -n "${INPUT_VARIABLES:-}" ]]; then
408
echo "$INPUT_VARIABLES" >"$STEP_TMP_DIR/variables.tfvars"
409
VARIABLE_ARGS="$VARIABLE_ARGS -var-file=$STEP_TMP_DIR/variables.tfvars"
410
0 commit comments