Skip to content

Commit 183d626

Browse files
committed
fix: tofu command line args order
1 parent 46e7819 commit 183d626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ tofu *ARGS:
14731473

14741474
tofu init -reconfigure
14751475
tofu workspace select -or-create "$WORKSPACE"
1476-
tofu ${ARGS[@]} ${VAR_FILE:+-var-file=<("${SOPS[@]}" "$VAR_FILE")}
1476+
tofu "${ARGS[@]:0:1}" ${VAR_FILE:+-var-file=<("${SOPS[@]}" "$VAR_FILE")} "${ARGS[@]:1}"
14771477

14781478
# Truncate a select chain after slot
14791479
truncate-chain ENV SLOT:

0 commit comments

Comments
 (0)