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
refactor(cli): require approval is a part of the CliIoHost (#151)
`CliIoHost` now governs when to ask for approval or not. This was
previously passed into deploy via deployOptions.
- `deployOptions.requireApproval` was deprecated before, and now it is
no longer being used (this may have to be pulled into a different change
that removes the `requireApproval` option entirely in a minor version
bump of toolkit-lib.
- `CliIoHost` has a property, `requireApproval` that can be set. When
the `requestResponse` API is called, we check to see if the message code
is a known `requireApproval` code and if so, see if the request is
necessary or if the default can be used.
---
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license
---------
Signed-off-by: github-actions <[email protected]>
Co-authored-by: github-actions <[email protected]>
Copy file name to clipboardExpand all lines: packages/@aws-cdk/toolkit-lib/CODE_REGISTRY.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@
17
17
| CDK_TOOLKIT_W5022 | Empty existing stack, stack will be destroyed | warn | n/a |
18
18
| CDK_TOOLKIT_I5031 | Informs about any log groups that are traced as part of the deployment | info | n/a |
19
19
| CDK_TOOLKIT_I5050 | Confirm rollback during deployment | info |[ConfirmationRequest](https://docs.aws.amazon.com/cdk/api/toolkit-lib/interfaces/ConfirmationRequest.html)|
| CDK_TOOLKIT_I5100 | Stack deploy progress | info |[StackDeployProgress](https://docs.aws.amazon.com/cdk/api/toolkit-lib/interfaces/StackDeployProgress.html)|
22
22
| CDK_TOOLKIT_I5310 | The computed settings used for file watching | debug |[WatchSettings](https://docs.aws.amazon.com/cdk/api/toolkit-lib/interfaces/WatchSettings.html)|
23
23
| CDK_TOOLKIT_I5311 | File watching started | info |[FileWatchEvent](https://docs.aws.amazon.com/cdk/api/toolkit-lib/interfaces/FileWatchEvent.html)|
0 commit comments