@go-to-k/cdkd 0.139.0 → 0.141.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.
@@ -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: 5,
3544
+ version: 6,
3544
3545
  stackName,
3545
3546
  region
3546
3547
  };
@@ -8632,6 +8633,7 @@ const IMPLICIT_DELETE_DEPENDENCIES = {
8632
8633
  */
8633
8634
  const RETRYABLE_ERROR_MESSAGE_PATTERNS = [
8634
8635
  "cannot be assumed",
8636
+ "Firehose is unable to assume role",
8635
8637
  "role defined for the function",
8636
8638
  "not authorized to perform",
8637
8639
  "execution role",
@@ -9038,7 +9040,7 @@ var DeployEngine = class {
9038
9040
  try {
9039
9041
  const currentStateData = await this.stateBackend.getState(stackName, this.stackRegion);
9040
9042
  const currentState = currentStateData?.state ?? {
9041
- version: 5,
9043
+ version: 6,
9042
9044
  region: this.stackRegion,
9043
9045
  stackName,
9044
9046
  resources: {},
@@ -9079,7 +9081,7 @@ var DeployEngine = class {
9079
9081
  await this.drainObservedCaptures(currentState.resources);
9080
9082
  try {
9081
9083
  const refreshedState = {
9082
- version: 5,
9084
+ version: 6,
9083
9085
  region: this.stackRegion,
9084
9086
  stackName: currentState.stackName,
9085
9087
  resources: currentState.resources,
@@ -9179,7 +9181,7 @@ var DeployEngine = class {
9179
9181
  saveChain = saveChain.then(async () => {
9180
9182
  try {
9181
9183
  const partialState = {
9182
- version: 5,
9184
+ version: 6,
9183
9185
  region: this.stackRegion,
9184
9186
  stackName: currentState.stackName,
9185
9187
  resources: newResources,
@@ -9285,7 +9287,7 @@ var DeployEngine = class {
9285
9287
  } catch (error) {
9286
9288
  try {
9287
9289
  const preRollbackState = {
9288
- version: 5,
9290
+ version: 6,
9289
9291
  region: this.stackRegion,
9290
9292
  stackName: currentState.stackName,
9291
9293
  resources: newResources,
@@ -9314,7 +9316,7 @@ var DeployEngine = class {
9314
9316
  } else await this.performRollback(completedOperations, newResources, stackName);
9315
9317
  try {
9316
9318
  const postRollbackState = {
9317
- version: 5,
9319
+ version: 6,
9318
9320
  region: this.stackRegion,
9319
9321
  stackName: currentState.stackName,
9320
9322
  resources: newResources,
@@ -9329,7 +9331,7 @@ var DeployEngine = class {
9329
9331
  try {
9330
9332
  const freshEtag = (await this.stateBackend.getState(stackName, this.stackRegion))?.etag;
9331
9333
  const postRollbackState = {
9332
- version: 5,
9334
+ version: 6,
9333
9335
  region: this.stackRegion,
9334
9336
  stackName: currentState.stackName,
9335
9337
  resources: newResources,
@@ -9348,7 +9350,7 @@ var DeployEngine = class {
9348
9350
  const outputs = await this.resolveOutputs(template, newResources, stackName, parameterValues, conditions);
9349
9351
  return {
9350
9352
  state: {
9351
- version: 5,
9353
+ version: 6,
9352
9354
  region: this.stackRegion,
9353
9355
  stackName: currentState.stackName,
9354
9356
  resources: newResources,
@@ -9899,4 +9901,4 @@ var DeployEngine = class {
9899
9901
 
9900
9902
  //#endregion
9901
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 };
9902
- //# sourceMappingURL=deploy-engine-DZYchTh6.js.map
9904
+ //# sourceMappingURL=deploy-engine-Dff3_JMn.js.map