You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running cdk deploy the --require-approval enabled in an environment without tty, such as CI/CD or integration tests (terminal is not attached), the toolkit will not deploy and exit with exit status 0. We expect it to fail in this case
The text was updated successfully, but these errors were encountered:
If STDIN is not connected to a TTY (terminal), and scrutiny is enabled,
we expect the program to fail (exit with non-zero exit code).
This is especially important for CI/CD scenarios where you wouldn't want
to accidentally deploy changes that didn't pass a scrutiny check.
Fixes#1380
Tested manually.
If STDIN is not connected to a TTY (terminal), and scrutiny is enabled,
we expect the program to fail (exit with non-zero exit code).
This is especially important for CI/CD scenarios where you wouldn't want
to accidentally deploy changes that didn't pass a scrutiny check.
Added integration test.
Fixes#1380
When running
cdk deploy
the--require-approval
enabled in an environment without tty, such as CI/CD or integration tests (terminal is not attached), the toolkit will not deploy and exit with exit status 0. We expect it to fail in this caseThe text was updated successfully, but these errors were encountered: