Skip to content

Commit

Permalink
pass variables to workspace select
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Dec 29, 2024
1 parent 9ab57d3 commit 8a6e1e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions image/actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,12 @@ function set-init-args() {
done
fi

set-variable-args

if [[ -v OPENTOFU && $TERRAFORM_VER_MINOR -ge 8 ]]; then
debug "Preparing variables for early evaluation"
set-variable-args
INIT_ARGS="$INIT_ARGS $VARIABLE_ARGS"
else
VARIABLE_ARGS=""
fi

export INIT_ARGS
Expand Down

0 comments on commit 8a6e1e4

Please sign in to comment.