@go-to-k/cdkd 0.268.2 → 0.268.3

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.
@@ -7964,6 +7964,7 @@ async function withRetry(operation, logicalId, opts = {}) {
7964
7964
  const defaultSchedule = opts.maxRetries === void 0 && opts.initialDelayMs === void 0 && opts.maxDelayMs === void 0 && opts.isRetryable === void 0;
7965
7965
  const attemptCeiling = defaultSchedule ? Math.max(maxRetries, 26) : maxRetries;
7966
7966
  let lastError;
7967
+ let sawPropagation = false;
7967
7968
  for (let attempt = 0; attempt <= attemptCeiling; attempt++) try {
7968
7969
  return await operation();
7969
7970
  } catch (error) {
@@ -7971,7 +7972,8 @@ async function withRetry(operation, logicalId, opts = {}) {
7971
7972
  const message = error instanceof Error ? error.message : String(error);
7972
7973
  const retryable = opts.isRetryable ? opts.isRetryable(message, error) : isRetryableTransientError(error, message);
7973
7974
  const propagation = defaultSchedule && isIamPropagationError(message);
7974
- const attemptLimit = propagation ? 26 : maxRetries;
7975
+ if (propagation) sawPropagation = true;
7976
+ const attemptLimit = sawPropagation ? 26 : maxRetries;
7975
7977
  if (!retryable || attempt >= attemptLimit) throw error;
7976
7978
  const delay = propagation ? Math.min(250 * Math.pow(2, attempt), IAM_PROPAGATION_MAX_DELAY_MS) : Math.min(initialDelayMs * Math.pow(2, attempt), maxDelayMs);
7977
7979
  opts.logger?.debug(` ⏳ Retrying ${logicalId} in ${delay / 1e3}s (attempt ${attempt + 1}/${attemptLimit}) - ${message}`);
@@ -11939,7 +11941,7 @@ var CloudControlProvider = class {
11939
11941
  this.logger.debug(`Deleting resource ${logicalId} (${resourceType}), physical ID: ${physicalId}`);
11940
11942
  if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
11941
11943
  this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
11942
- const { ASGProvider } = await import("./asg-provider-gaXfXSH0.js").then((n) => n.n);
11944
+ const { ASGProvider } = await import("./asg-provider-bxS6B6Ja.js").then((n) => n.n);
11943
11945
  await new ASGProvider().delete(logicalId, physicalId, resourceType, _properties, context);
11944
11946
  return;
11945
11947
  }
@@ -17651,7 +17653,7 @@ const FLUSH_INTERVAL_MS = 2e3;
17651
17653
  const FLUSH_EVENT_THRESHOLD = 50;
17652
17654
  /** Build-time cdkd version, with a dev fallback for non-built contexts. */
17653
17655
  function getCdkdVersion() {
17654
- return "0.268.2";
17656
+ return "0.268.3";
17655
17657
  }
17656
17658
  /**
17657
17659
  * Generate a time-sortable unique run id, e.g.
@@ -19697,4 +19699,4 @@ var DeployEngine = class {
19697
19699
 
19698
19700
  //#endregion
19699
19701
  export { WorkGraph as $, LockError as $t, slowCcOperationTimeoutMs as A, warnDeprecatedNoPrefixCliFlag as At, applyRoleArnIfSet as B, resolveBucketRegion as Bt, yellow as C, resolveAutoAssetStorage as Ct, ProviderRegistry as D, resolveStateBucketWithDefaultAndSource as Dt, clearOnUpdateRemoval as E, resolveStateBucketWithDefault as Et, refStateLookupFromResource as F, uploadCfnTemplate as Ft, DagBuilder as G, AssetError as Gt, describeTypeWithThrottleRetry as H, getAwsClients as Ht, WAFv2WebACLProvider as I, expectedOwnerParam as It, S3StateBackend as J, DependencyError as Jt, TemplateParser as K, CdkdError as Kt, normalizeAwsTagsToCfn as L, AssemblyReader as Lt, isTerminationProtectionPropagationError as M, CFN_TEMPLATE_URL_LIMIT as Mt, IntrinsicFunctionResolver as N, MIGRATE_TMP_PREFIX as Nt, findActionableSilentDrops as O, resolveUseCdkBootstrapAssets as Ot, cfnRefValueFromPhysicalId as P, findLargeInlineResources as Pt, stringifyValue as Q, LocalStartServiceError as Qt, resolveExplicitPhysicalId as R, processStackMessages as Rt, red as S, resolveApp as St, collectInlinePolicyNamesManagedBySiblings as T, resolveSkipPrefix as Tt, withRetry as U, resetAwsClients as Ut, DiffCalculator as V, AwsClients as Vt, isRetryableTransientError as W, setAwsClients as Wt, shouldRetainResource as X, LocalInvokeBuildError as Xt, rebuildClientForBucketRegion as Y, DeployCancelledError as Yt, AssetPublisher as Z, LocalMigrateError as Zt, formatResourceLine as _, getDockerImageBySourceHash as _t, DeploymentEventsStore as a, ResourceUpdateNotSupportedError as an, BOOTSTRAP_MARKER_PREFIX as at, gray as b, getDefaultStateBucketName as bt, replayFailedOperations as c, StateError as cn, parseBootstrapMarker as ct, IMPLICIT_DELETE_DEPENDENCIES as d, isCdkdError as dn, buildDockerImage as dt, MissingCdkCliError as en, buildAssetRedirectMap as et, computeImplicitDeleteEdges as f, normalizeAwsError as fn, formatDockerLoginError as ft, renderStatefulReason as g, AssetManifestLoader as gt, isStatefulRecreateTargetSync as h, runDockerStreaming as ht, DeploymentEventsReader as i, ResourceTimeoutError as in, AssetModeResolver as it, disableInstanceApiTermination as j, CFN_TEMPLATE_BODY_LIMIT as jt, CloudControlProvider as k, stateBucketExistenceConfirmed as kt, replayRollback as l, SynthesisError as ln, validateAssetBucketName as lt, MULTI_REGION_RECREATE_BLOCKED_TYPES as m, __exportAll as mn, runDockerForeground as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, PartialFailureError as nn, loadPublishableAssetManifest as nt, planFailedOps as o, StackHasActiveImportsError as on, ensureAssetStorage as ot, extractDeploymentEventError as p, withErrorHandling as pn, getDockerCmd as pt, LockManager as q, ConfigError as qt, DeployEngine as r, ProvisioningError as rn, rewriteTemplateAssetReferences as rt, planRollback as s, StackTerminationProtectionError as sn, getBootstrapMarkerKey as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, NestedStackChildDirectDestroyError as tn, createAssetRedirectResolver as tt, withResourceDeadline as u, formatError as un, validateContainerRepoName as ut, bold as v, Synthesizer as vt, IAMRoleProvider as w, resolveCaptureObservedState as wt, green as x, getLegacyStateBucketName as xt, cyan as y, synthesisStatusMessage as yt, assertRegionMatch as z, clearBucketRegionCache as zt };
19700
- //# sourceMappingURL=deploy-engine-BEjF-h_6.js.map
19702
+ //# sourceMappingURL=deploy-engine-DEi5-8x-.js.map