aws-cdk 2.1028.0 → 2.1029.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -3
- package/THIRD_PARTY_LICENSES +266 -86
- package/build-info.json +2 -2
- package/db.json.gz +0 -0
- package/lib/api/bootstrap/bootstrap-template.yaml +6 -2
- package/lib/cli/cdk-toolkit.d.ts +9 -1
- package/lib/cli/cdk-toolkit.js +3 -1
- package/lib/cli/cli-config.js +7 -2
- package/lib/cli/cli-type-registry.json +5 -0
- package/lib/cli/cli.js +34 -3
- package/lib/cli/convert-to-user-input.js +3 -1
- package/lib/cli/io-host/cli-io-host.js +3 -3
- package/lib/cli/parse-command-line-arguments.js +7 -2
- package/lib/cli/user-input.d.ts +6 -0
- package/lib/cli/user-input.js +1 -1
- package/lib/cli/util/yargs-helpers.d.ts +0 -10
- package/lib/cli/util/yargs-helpers.js +3 -18
- package/lib/commands/flag-operations.js +12 -2
- package/lib/index.js +1605 -1163
- package/lib/index_bg.wasm +0 -0
- package/lib/init-templates/.init-version.json +1 -1
- package/lib/init-templates/.recommended-feature-flags.json +1 -0
- package/package.json +14 -14
package/build-info.json
CHANGED
package/db.json.gz
CHANGED
|
Binary file
|
|
@@ -813,6 +813,7 @@ Resources:
|
|
|
813
813
|
Type: String
|
|
814
814
|
Name:
|
|
815
815
|
Fn::Sub: '/cdk-bootstrap/${Qualifier}/version'
|
|
816
|
+
# Also update this value below (see comment there)
|
|
816
817
|
Value: '29'
|
|
817
818
|
Outputs:
|
|
818
819
|
BucketName:
|
|
@@ -844,5 +845,8 @@ Outputs:
|
|
|
844
845
|
BootstrapVersion:
|
|
845
846
|
Description: The version of the bootstrap resources that are currently mastered
|
|
846
847
|
in this stack
|
|
847
|
-
|
|
848
|
-
|
|
848
|
+
# This value is purposely duplicated here from the AWS::SSM::Parameter value we define above.
|
|
849
|
+
# {Fn::GetAtt} on an SSM Parameter is eventually consistent, and can fail with "parameter
|
|
850
|
+
# doesn't exist" even after just having been created. To reduce our deploy failure rate, we
|
|
851
|
+
# duplicate the value here and use a build-time test to ensure the two values are the same.
|
|
852
|
+
Value: '29'
|
package/lib/cli/cdk-toolkit.d.ts
CHANGED
|
@@ -644,11 +644,15 @@ export interface RefactorOptions {
|
|
|
644
644
|
*/
|
|
645
645
|
overrideFile?: string;
|
|
646
646
|
/**
|
|
647
|
-
* Modifies the behavior of the `
|
|
647
|
+
* Modifies the behavior of the `overrideFile` option by swapping source and
|
|
648
648
|
* destination locations. This is useful when you want to undo a refactor
|
|
649
649
|
* that was previously applied.
|
|
650
650
|
*/
|
|
651
651
|
revert?: boolean;
|
|
652
|
+
/**
|
|
653
|
+
* Whether to do the refactor without prompting the user for confirmation.
|
|
654
|
+
*/
|
|
655
|
+
force?: boolean;
|
|
652
656
|
/**
|
|
653
657
|
* Criteria for selecting stacks to compare with the deployed stacks in the
|
|
654
658
|
* target environment.
|
|
@@ -658,6 +662,10 @@ export interface RefactorOptions {
|
|
|
658
662
|
* A list of names of additional deployed stacks to be included in the comparison.
|
|
659
663
|
*/
|
|
660
664
|
additionalStackNames?: string[];
|
|
665
|
+
/**
|
|
666
|
+
* Role to assume in the target environment before performing the refactor.
|
|
667
|
+
*/
|
|
668
|
+
roleArn?: string;
|
|
661
669
|
}
|
|
662
670
|
/**
|
|
663
671
|
* Options for the drift command
|