Skip to content

Commit 389e412

Browse files
committed
Make early variables available for init without backend
1 parent d99f2bd commit 389e412

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

image/actions.sh

+4
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ function relative_to() {
170170
function init() {
171171
start_group "Initializing $TOOL_PRODUCT_NAME"
172172

173+
set-init-args
174+
173175
rm -rf "$TF_DATA_DIR"
174176
# shellcheck disable=SC2086
175177
debug_log "$TOOL_COMMAND_NAME" init -input=false -backend=false $EARLY_VARIABLE_ARGS
@@ -186,6 +188,8 @@ function init() {
186188
function init-test() {
187189
start_group "Initializing $TOOL_PRODUCT_NAME"
188190

191+
set-init-args
192+
189193
rm -rf "$TF_DATA_DIR"
190194

191195
if [[ -n "$INPUT_TEST_DIRECTORY" ]]; then

0 commit comments

Comments
 (0)