@go-to-k/cdkd 0.133.0 → 0.134.0
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/dist/cli.js +26 -13
- package/dist/cli.js.map +1 -1
- package/dist/deploy-engine-Dn7oV5rA.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -34750,6 +34750,31 @@ function createStateCommand() {
|
|
|
34750
34750
|
return cmd;
|
|
34751
34751
|
}
|
|
34752
34752
|
|
|
34753
|
+
//#endregion
|
|
34754
|
+
//#region src/cli/cfn-stack-states.ts
|
|
34755
|
+
/**
|
|
34756
|
+
* Stable terminal CloudFormation stack states.
|
|
34757
|
+
*
|
|
34758
|
+
* Sourced from the AWS CloudFormation API documentation: a stack in any
|
|
34759
|
+
* of these states has settled (success or rolled-back) and is safe to
|
|
34760
|
+
* read / mutate. Every other status (`*_IN_PROGRESS`, `*_FAILED`,
|
|
34761
|
+
* `REVIEW_IN_PROGRESS`) means the stack is mid-operation or in an
|
|
34762
|
+
* unhealthy state — callers gate AWS-side mutations behind this set so
|
|
34763
|
+
* the user can settle the source before paying for further work.
|
|
34764
|
+
*
|
|
34765
|
+
* Single source of truth — consumed by both `cdkd migrate`'s pre-flight
|
|
34766
|
+
* check (`src/cli/commands/migrate/cfn-stack-prefetch.ts`) and the
|
|
34767
|
+
* `cdkd import --migrate-from-cloudformation` retirement flow
|
|
34768
|
+
* (`src/cli/commands/retire-cfn-stack.ts`).
|
|
34769
|
+
*/
|
|
34770
|
+
const STABLE_TERMINAL_STATUSES = new Set([
|
|
34771
|
+
"CREATE_COMPLETE",
|
|
34772
|
+
"UPDATE_COMPLETE",
|
|
34773
|
+
"UPDATE_ROLLBACK_COMPLETE",
|
|
34774
|
+
"IMPORT_COMPLETE",
|
|
34775
|
+
"IMPORT_ROLLBACK_COMPLETE"
|
|
34776
|
+
]);
|
|
34777
|
+
|
|
34753
34778
|
//#endregion
|
|
34754
34779
|
//#region src/cli/upload-cfn-template.ts
|
|
34755
34780
|
/**
|
|
@@ -35191,18 +35216,6 @@ function parseCfnTemplateWithFormat(text) {
|
|
|
35191
35216
|
//#endregion
|
|
35192
35217
|
//#region src/cli/commands/retire-cfn-stack.ts
|
|
35193
35218
|
/**
|
|
35194
|
-
* Stack states from which an UpdateStack call is safe. Anything else (an
|
|
35195
|
-
* IN_PROGRESS, FAILED, or REVIEW_IN_PROGRESS state) means the stack is
|
|
35196
|
-
* mid-operation or in an unhealthy state we should not touch.
|
|
35197
|
-
*/
|
|
35198
|
-
const STABLE_TERMINAL_STATUSES = new Set([
|
|
35199
|
-
"CREATE_COMPLETE",
|
|
35200
|
-
"UPDATE_COMPLETE",
|
|
35201
|
-
"UPDATE_ROLLBACK_COMPLETE",
|
|
35202
|
-
"IMPORT_COMPLETE",
|
|
35203
|
-
"IMPORT_ROLLBACK_COMPLETE"
|
|
35204
|
-
]);
|
|
35205
|
-
/**
|
|
35206
35219
|
* UpdateStack TemplateBody hard limit (51,200 bytes). Templates larger than
|
|
35207
35220
|
* this are uploaded to cdkd's state S3 bucket and submitted via `TemplateURL`
|
|
35208
35221
|
* instead — see {@link uploadTemplateForUpdateStack}.
|
|
@@ -51887,7 +51900,7 @@ function reorderArgs(argv) {
|
|
|
51887
51900
|
*/
|
|
51888
51901
|
async function main() {
|
|
51889
51902
|
const program = new Command();
|
|
51890
|
-
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.
|
|
51903
|
+
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.134.0");
|
|
51891
51904
|
program.addCommand(createBootstrapCommand());
|
|
51892
51905
|
program.addCommand(createSynthCommand());
|
|
51893
51906
|
program.addCommand(createListCommand());
|