Skip to content

Commit

Permalink
chore: correct require approval default (#152)
Browse files Browse the repository at this point in the history
---
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 <github-actions@github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Momo Kornher <kornherm@amazon.co.uk>
  • Loading branch information
3 people authored Feb 28, 2025
1 parent da25989 commit c9c2e20
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cdk-cli-wrapper/lib/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface DeployOptions extends DefaultCdkOptions {
/**
* What kind of security changes require approval
*
* @default RequireApproval.Never
* @default RequireApproval.NEVER
*/
readonly requireApproval?: RequireApproval;

Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cli-lib-alpha/API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/@aws-cdk/cli-lib-alpha/lib/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export interface DeployOptions extends SharedOptions {
/**
* What kind of security changes require approval
*
* @default RequireApproval.Never
* @default RequireApproval.NEVER
*/
readonly requireApproval?: RequireApproval;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface DeployOptions extends DefaultCdkOptions {
/**
* What kind of security changes require approval
*
* @default RequireApproval.Never
* @default RequireApproval.NEVER
*/
readonly requireApproval?: RequireApproval;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
}
},
"requireApproval": {
"description": "What kind of security changes require approval (Default RequireApproval.Never)",
"description": "What kind of security changes require approval (Default RequireApproval.NEVER)",
"enum": [
"any-change",
"broadening",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"schemaHash": "1063bafc562a50e6dafeb8664275f5d61ff631542d47992963bfaf5cf277ab6e",
"schemaHash": "4244f1ed6fcece9abcfb319c637fd2eb863a5deef9cc36f05f7d52377ce60012",
"revision": 40
}

0 comments on commit c9c2e20

Please sign in to comment.