fix(cli): make use of new cli argument
This commit is contained in:
parent
ce7251697b
commit
2c275da020
1 changed files with 2 additions and 4 deletions
|
|
@ -25,12 +25,10 @@ main() {
|
||||||
args+=("--dry-run")
|
args+=("--dry-run")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo Executing: "${cli_path}" apply "${args[@]}"
|
echo Executing: "${cli_path}" apply --auto-approve "${args[@]}"
|
||||||
|
|
||||||
# The CLI uses an interactive prompt, so we need to pipe "yes" to it.
|
# The CLI uses an interactive prompt, so we need to pipe "yes" to it.
|
||||||
yes | "${cli_path}" apply "${args[@]}"
|
"${cli_path}" apply --auto-approve "${args[@]}"
|
||||||
|
|
||||||
exit $?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue