Skip to content

Commit 8a6e1e4

Browse files
committed
pass variables to workspace select
1 parent 9ab57d3 commit 8a6e1e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

image/actions.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,12 @@ function set-init-args() {
217217
done
218218
fi
219219

220-
set-variable-args
221-
222220
if [[ -v OPENTOFU && $TERRAFORM_VER_MINOR -ge 8 ]]; then
223221
debug "Preparing variables for early evaluation"
222+
set-variable-args
224223
INIT_ARGS="$INIT_ARGS $VARIABLE_ARGS"
224+
else
225+
VARIABLE_ARGS=""
225226
fi
226227

227228
export INIT_ARGS

0 commit comments

Comments
 (0)