@go-to-k/cdkd 0.140.0 → 0.141.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/dist/cli.js +32 -7
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-wdfQVR__.js → deploy-engine-Dff3_JMn.js} +11 -10
- package/dist/deploy-engine-Dff3_JMn.js.map +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-wdfQVR__.js.map +0 -1
|
@@ -3297,7 +3297,8 @@ const STATE_SCHEMA_VERSIONS_READABLE = [
|
|
|
3297
3297
|
2,
|
|
3298
3298
|
3,
|
|
3299
3299
|
4,
|
|
3300
|
-
5
|
|
3300
|
+
5,
|
|
3301
|
+
6
|
|
3301
3302
|
];
|
|
3302
3303
|
/**
|
|
3303
3304
|
* Returns true when a recorded `DeletionPolicy` should prevent cdkd from
|
|
@@ -3540,7 +3541,7 @@ var S3StateBackend = class {
|
|
|
3540
3541
|
const { expectedEtag, migrateLegacy } = options;
|
|
3541
3542
|
const body = {
|
|
3542
3543
|
...state,
|
|
3543
|
-
version:
|
|
3544
|
+
version: 6,
|
|
3544
3545
|
stackName,
|
|
3545
3546
|
region
|
|
3546
3547
|
};
|
|
@@ -9039,7 +9040,7 @@ var DeployEngine = class {
|
|
|
9039
9040
|
try {
|
|
9040
9041
|
const currentStateData = await this.stateBackend.getState(stackName, this.stackRegion);
|
|
9041
9042
|
const currentState = currentStateData?.state ?? {
|
|
9042
|
-
version:
|
|
9043
|
+
version: 6,
|
|
9043
9044
|
region: this.stackRegion,
|
|
9044
9045
|
stackName,
|
|
9045
9046
|
resources: {},
|
|
@@ -9080,7 +9081,7 @@ var DeployEngine = class {
|
|
|
9080
9081
|
await this.drainObservedCaptures(currentState.resources);
|
|
9081
9082
|
try {
|
|
9082
9083
|
const refreshedState = {
|
|
9083
|
-
version:
|
|
9084
|
+
version: 6,
|
|
9084
9085
|
region: this.stackRegion,
|
|
9085
9086
|
stackName: currentState.stackName,
|
|
9086
9087
|
resources: currentState.resources,
|
|
@@ -9180,7 +9181,7 @@ var DeployEngine = class {
|
|
|
9180
9181
|
saveChain = saveChain.then(async () => {
|
|
9181
9182
|
try {
|
|
9182
9183
|
const partialState = {
|
|
9183
|
-
version:
|
|
9184
|
+
version: 6,
|
|
9184
9185
|
region: this.stackRegion,
|
|
9185
9186
|
stackName: currentState.stackName,
|
|
9186
9187
|
resources: newResources,
|
|
@@ -9286,7 +9287,7 @@ var DeployEngine = class {
|
|
|
9286
9287
|
} catch (error) {
|
|
9287
9288
|
try {
|
|
9288
9289
|
const preRollbackState = {
|
|
9289
|
-
version:
|
|
9290
|
+
version: 6,
|
|
9290
9291
|
region: this.stackRegion,
|
|
9291
9292
|
stackName: currentState.stackName,
|
|
9292
9293
|
resources: newResources,
|
|
@@ -9315,7 +9316,7 @@ var DeployEngine = class {
|
|
|
9315
9316
|
} else await this.performRollback(completedOperations, newResources, stackName);
|
|
9316
9317
|
try {
|
|
9317
9318
|
const postRollbackState = {
|
|
9318
|
-
version:
|
|
9319
|
+
version: 6,
|
|
9319
9320
|
region: this.stackRegion,
|
|
9320
9321
|
stackName: currentState.stackName,
|
|
9321
9322
|
resources: newResources,
|
|
@@ -9330,7 +9331,7 @@ var DeployEngine = class {
|
|
|
9330
9331
|
try {
|
|
9331
9332
|
const freshEtag = (await this.stateBackend.getState(stackName, this.stackRegion))?.etag;
|
|
9332
9333
|
const postRollbackState = {
|
|
9333
|
-
version:
|
|
9334
|
+
version: 6,
|
|
9334
9335
|
region: this.stackRegion,
|
|
9335
9336
|
stackName: currentState.stackName,
|
|
9336
9337
|
resources: newResources,
|
|
@@ -9349,7 +9350,7 @@ var DeployEngine = class {
|
|
|
9349
9350
|
const outputs = await this.resolveOutputs(template, newResources, stackName, parameterValues, conditions);
|
|
9350
9351
|
return {
|
|
9351
9352
|
state: {
|
|
9352
|
-
version:
|
|
9353
|
+
version: 6,
|
|
9353
9354
|
region: this.stackRegion,
|
|
9354
9355
|
stackName: currentState.stackName,
|
|
9355
9356
|
resources: newResources,
|
|
@@ -9900,4 +9901,4 @@ var DeployEngine = class {
|
|
|
9900
9901
|
|
|
9901
9902
|
//#endregion
|
|
9902
9903
|
export { ConfigError as $, AssetPublisher as A, resolveStateBucketWithDefault as B, applyRoleArnIfSet as C, LockManager as D, TemplateParser as E, getDefaultStateBucketName as F, MIGRATE_TMP_PREFIX as G, warnDeprecatedNoPrefixCliFlag as H, getLegacyStateBucketName as I, AssemblyReader as J, findLargeInlineResources as K, resolveApp as L, WorkGraph as M, buildDockerImage as N, S3StateBackend as O, Synthesizer as P, CdkdError as Q, resolveCaptureObservedState as R, IntrinsicFunctionResolver as S, DagBuilder as T, CFN_TEMPLATE_BODY_LIMIT as U, resolveStateBucketWithDefaultAndSource as V, CFN_TEMPLATE_URL_LIMIT as W, resolveBucketRegion as X, clearBucketRegionCache as Y, AssetError as Z, normalizeAwsTagsToCfn as _, normalizeAwsError as _t, withRetry as a, MissingCdkCliError as at, CloudControlProvider as b, cyan as c, ResourceTimeoutError as ct, red as d, StackHasActiveImportsError as dt, DependencyError as et, yellow as f, StackTerminationProtectionError as ft, matchesCdkPath as g, isCdkdError as gt, CDK_PATH_TAG as h, formatError as ht, withResourceDeadline as i, LockError as it, stringifyValue as j, shouldRetainResource as k, gray as l, ResourceUpdateNotSupportedError as lt, collectInlinePolicyNamesManagedBySiblings as m, SynthesisError as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, LocalMigrateError as nt, IMPLICIT_DELETE_DEPENDENCIES as o, PartialFailureError as ot, IAMRoleProvider as p, StateError as pt, uploadCfnTemplate as q, DeployEngine as r, LocalStartServiceError as rt, bold as s, ProvisioningError as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, LocalInvokeBuildError as tt, green as u, RouteDiscoveryError as ut, resolveExplicitPhysicalId as v, withErrorHandling as vt, DiffCalculator as w, assertRegionMatch as x, ProviderRegistry as y, resolveSkipPrefix as z };
|
|
9903
|
-
//# sourceMappingURL=deploy-engine-
|
|
9904
|
+
//# sourceMappingURL=deploy-engine-Dff3_JMn.js.map
|