Skip to content

Commit 6672884

Browse files
committed
Set variable args
1 parent a63d7f0 commit 6672884

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

image/entrypoints/refresh.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ source /usr/local/actions.sh
66
debug
77
setup
88
init-backend-workspace
9+
set-variable-args
910

1011
exec 3>&1
1112

1213
function refresh() {
1314
local REFRESH_EXIT
1415

16+
PARALLEL_ARG=""
1517
if [[ "$INPUT_PARALLELISM" -ne 0 ]]; then
1618
PARALLEL_ARG="-parallelism=$INPUT_PARALLELISM"
1719
fi
@@ -32,7 +34,6 @@ function refresh() {
3234
# shellcheck disable=SC2086
3335
(cd "$INPUT_PATH" && $TOOL_COMMAND_NAME refresh -input=false -no-color -lock-timeout=300s $PARALLEL_ARG $REFRESH_ARGS $VARIABLE_ARGS) \
3436
2>"$STEP_TMP_DIR/terraform_refresh.stderr" \
35-
| $TFMASK \
3637
| tee "$STEP_TMP_DIR/terraform_refresh.stdout"
3738
REFRESH_EXIT=${PIPESTATUS[0]}
3839
>&2 cat "$STEP_TMP_DIR/terraform_refresh.stderr"

0 commit comments

Comments
 (0)