@go-to-k/cdkd 0.290.13 → 0.290.15

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/index.d.ts CHANGED
@@ -202,6 +202,7 @@ interface SecretMaskingContext {
202
202
  }
203
203
  interface UpdateContext extends SecretMaskingContext {
204
204
  desiredFromAwsReadback?: boolean;
205
+ replayingState?: boolean;
205
206
  expectedRegion?: string | undefined;
206
207
  }
207
208
  interface CreateContext extends SecretMaskingContext {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/state.ts","../src/deployment/secret-redaction.ts","../src/provisioning/region-check.ts","../src/types/resource.ts","../src/types/config.ts","../src/utils/logger.ts","../src/utils/error-handler.ts","../src/utils/aws-clients.ts","../src/utils/aws-region-resolver.ts","../src/types/assembly.ts","../src/synthesis/stack-messages.ts","../src/synthesis/assembly-reader.ts","../src/cli/upload-cfn-template.ts","../src/synthesis/macro-expander.ts","../src/synthesis/synthesizer.ts","../src/types/deployment-events.ts","../src/provisioning/cloud-control-provider.ts","../src/provisioning/provider-registry.ts","../src/provisioning/final-snapshot.ts","../src/deployment/rollback-executor.ts","../src/types/rollback-journal.ts","../src/state/s3-noncurrent-version-purge.ts","../src/state/s3-state-backend.ts","../src/assets/asset-redirect.ts","../src/deployment/work-graph.ts","../src/assets/asset-publisher.ts","../src/state/lock-manager.ts","../src/analyzer/template-parser.ts","../src/analyzer/dag-builder.ts","../src/analyzer/diff-calculator.ts","../src/provisioning/providers/iam-role-provider.ts","../src/state/export-index-store.ts","../src/deployment/deploy-engine.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;KAiJY;UAyBK;EAEf;EAMA;EAEA;;UAsBe;EAEf;EAMA;EAEA;;UAMe;EAKf,SAAS;EAGT;EAMA;EAGA,WAAW,eAAe;EAG1B,SAAS;EAUT,UAAU;EAoBV,cAAc;EAqBd;EA0EA,iBAAiB;EAgBjB;EAcA;EAYA;EAwCA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B,SAAS,iCACT,qBACA,mBAAmB;EA+Bf,OAAO,mBAAmB,UAAU,yBAAyB,QAAQ;UA6DnE;UAkJA;UA2EA;UA2CA;UAiBA;UAyGA;iBA6GO;UAgMP;UAoFA;UAyDA;UA+FA;UA2BA;UAkCM;UAiGA;UAsGN;UA0IM;UAs8BA;UAsoBA;UA6FA;UAuDA;UAgCA;UA+BA;UAuCN;UA+BM;UA4CA;UA+UN;UAwBA;UAWA;UAkDA;UAmBA;UAwBA;UAyCM;UA0CA;UAyLA;UA4/DN;UA+CA;UA4DA;UA6FA;UA0IA;UAgCA;UAOA;UAoCA;UAgFA;UA4BM;UA6BN;UAiCA;UAmBA;UAgEA;UAiEM;UAkeN"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/state.ts","../src/deployment/secret-redaction.ts","../src/provisioning/region-check.ts","../src/types/resource.ts","../src/types/config.ts","../src/utils/logger.ts","../src/utils/error-handler.ts","../src/utils/aws-clients.ts","../src/utils/aws-region-resolver.ts","../src/types/assembly.ts","../src/synthesis/stack-messages.ts","../src/synthesis/assembly-reader.ts","../src/cli/upload-cfn-template.ts","../src/synthesis/macro-expander.ts","../src/synthesis/synthesizer.ts","../src/types/deployment-events.ts","../src/provisioning/cloud-control-provider.ts","../src/provisioning/provider-registry.ts","../src/provisioning/final-snapshot.ts","../src/deployment/rollback-executor.ts","../src/types/rollback-journal.ts","../src/state/s3-noncurrent-version-purge.ts","../src/state/s3-state-backend.ts","../src/assets/asset-redirect.ts","../src/deployment/work-graph.ts","../src/assets/asset-publisher.ts","../src/state/lock-manager.ts","../src/analyzer/template-parser.ts","../src/analyzer/dag-builder.ts","../src/analyzer/diff-calculator.ts","../src/provisioning/providers/iam-role-provider.ts","../src/state/export-index-store.ts","../src/deployment/deploy-engine.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;KAiJY;UAyBK;EAEf;EAMA;EAEA;;UAsBe;EAEf;EAMA;EAEA;;UAMe;EAKf,SAAS;EAGT;EA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AkBA;UAcA;UAYA;UAQA;UASA;UAkCA;UAOA;EAER,YACE,cAAc,gBACd,aAAa,aACb,YAAY,YACZ,gBAAgB,gBAChB,kBAAkB,kBAClB,SAAS,iCACT,qBACA,mBAAmB;EA+Bf,OAAO,mBAAmB,UAAU,yBAAyB,QAAQ;UA6DnE;UAkJA;UA2EA;UA2CA;UAiBA;UAyGA;iBA6GO;UAgMP;UAoFA;UAyDA;UA+FA;UA2BA;UAkCM;UAiGA;UAsGN;UA0IM;UAs8BA;UAsoBA;UA6FA;UAuDA;UAgCA;UA+BA;UAuCN;UA+BM;UA4CA;UA+UN;UAwBA;UAWA;UAkDA;UAmBA;UAwBA;UAyCM;UA0CA;UAyLA;UA8/DN;UA+CA;UA4DA;UA6FA;UA0IA;UAgCA;UAOA;UAoCA;UAgFA;UA4BM;UA6BN;UAiCA;UAmBA;UAgEA;UAiEM;UAkeN"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $r as getAwsClients, Ci as isCdkdError, Dn as LockManager, Gn as AssetPublisher, Jr as AssemblyReader, On as S3StateBackend, Qr as AwsClients, Si as formatError, Tr as Synthesizer, Xr as clearBucketRegionCache, Zr as resolveBucketRegion, bi as StateError, cn as DagBuilder, ei as resetAwsClients, fi as LockError, gt as CloudControlProvider, hi as ProvisioningError, ii as ConfigError, ln as TemplateParser, ni as AssetError, nn as DiffCalculator, oi as DependencyError, ot as ProviderRegistry, r as DeployEngine, ri as CdkdError, rt as IAMRoleProvider, ti as setAwsClients, wi as normalizeAwsError, xi as SynthesisError } from "./deploy-engine-omGpC16W.js";
1
+ import { $r as getAwsClients, Ci as isCdkdError, Dn as LockManager, Gn as AssetPublisher, Jr as AssemblyReader, On as S3StateBackend, Qr as AwsClients, Si as formatError, Tr as Synthesizer, Xr as clearBucketRegionCache, Zr as resolveBucketRegion, bi as StateError, cn as DagBuilder, ei as resetAwsClients, fi as LockError, gt as CloudControlProvider, hi as ProvisioningError, ii as ConfigError, ln as TemplateParser, ni as AssetError, nn as DiffCalculator, oi as DependencyError, ot as ProviderRegistry, r as DeployEngine, ri as CdkdError, rt as IAMRoleProvider, ti as setAwsClients, wi as normalizeAwsError, xi as SynthesisError } from "./deploy-engine-C2qLzc-5.js";
2
2
  import { a as setLogger, n as getLogger, t as ConsoleLogger } from "./logger-C17H06QA.js";
3
3
 
4
4
  export { AssemblyReader, AssetError, AssetPublisher, AwsClients, CdkdError, CloudControlProvider, ConfigError, ConsoleLogger, DagBuilder, DependencyError, DeployEngine, DiffCalculator, IAMRoleProvider, LockError, LockManager, ProviderRegistry, ProvisioningError, S3StateBackend, StateError, SynthesisError, Synthesizer, TemplateParser, clearBucketRegionCache, formatError, getAwsClients, getLogger, isCdkdError, normalizeAwsError, resetAwsClients, resolveBucketRegion, setAwsClients, setLogger };
@@ -1,8 +1,8 @@
1
- import { $ as secretBearing, $n as BOOTSTRAP_MARKER_PREFIX, $r as getAwsClients, $t as s3BucketRegionalDomainName, A as extractDeploymentEventError, Ai as markNonRetryable, An as buildForceUnlockCommand, Ar as resolveAutoAssetStorage, At as parameterTypeMayLoseSecretIdentity, B as toCfnInteger, Bn as importableOutputs, Br as MIGRATE_TMP_PREFIX, Bt as configIntegerRefusal, C as buildFinalSnapshotIdentifier, Cn as recordMaskOnlyValue, Cr as AssetManifestLoader, Ct as IntrinsicFunctionResolver, D as refusesFinalSnapshot, Di as isRetryableTransientError, Dn as LockManager, Dr as getDefaultStateBucketName, Dt as getAccountInfo, E as isFinalSnapshotError, Ei as isMarkedNonRetryable, En as scrubResourceRecord, Er as synthesisStatusMessage, Et as coerceParameterTypedValue, F as isStatefulRecreateTargetSync, Fn as CUSTOM_RESOURCE_RESPONSE_PREFIX, Fr as resolveUseCdkBootstrapAssets, Ft as resolveExplicitPhysicalId, G as gray, Gn as AssetPublisher, Gr as PARTITION_TABLE, Gt as requireConfigObject, H as formatResourceLine, Hn as orphansAfterRollback, Hr as uploadCfnTemplate, Ht as readConfigString, I as renderStatefulReason, In as DEFAULT_STATE_PREFIX, Ir as stateBucketExistenceConfirmed, It as assertRegionMatch, J as yellow, Jn as buildAssetRedirectMap, Jr as AssemblyReader, Jt as producerRegionsFromState, K as green, Kn as stringifyValue, Kr as canonicalizeRegion, Kt as requireConfigString, L as WARM_THROUGHPUT_MEMBERS, Ln as exportNamesCarriedFrom, Lr as warnDeprecatedNoPrefixCliFlag, Lt as coerceCfnBoolean, M as planOrphanAdoption, Mi as retryClassificationText, Mn as forceQuitRecoveryClause, Mr as resolveSkipPrefix, Mt as isSettledInstanceState, N as MULTI_REGION_RECREATE_BLOCKED_TYPES, Nn as formatLockExpiry, Nr as resolveStateBucketWithDefault, Nt as WAFv2WebACLProvider, O as unsupportedFinalSnapshotError, Oi as isThrottlingError, On as S3StateBackend, Or as getLegacyStateBucketName, Ot as isImpossibleEmptyStoredAttribute, P as isStatefulRecreateTargetForReplace, Pn as shellQuote, Pr as resolveStateBucketWithDefaultAndSource, Pt as normalizeAwsTagsToCfn, Q as isExportAliasCollision, Qn as AssetModeResolver, Qr as AwsClients, Qt as s3BucketDualStackDomainName, R as coerceWarmThroughput$1, Rn as hasReadableExportSet, Rr as CFN_TEMPLATE_BODY_LIMIT, Rt as coerceCfnInteger, S as PRE_DELETE_SNAPSHOT_TYPES, Sn as maskSecretsInText, Sr as stripControlChars, St as isTerminationProtectionPropagationError, T as createPreDeleteFinalSnapshot, Ti as withErrorHandling, Tn as redactSecretsForState, Tr as Synthesizer, Tt as cfnRefValueFromPhysicalId, U as bold, Un as orphansCarriedFrom, Ur as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Ut as replayWarn, V as toFiniteNumber, Vn as isReadableBag, Vr as findLargeInlineResources, Vt as configStringRefusal, W as cyan, Wn as shouldRetainResource, Wr as expectedOwnerParam, Wt as requireConfigArray, X as collectPublishedOutputNames, Xn as loadPublishableAssetManifest, Xt as s3BucketArn, Y as collectDeclaredOutputNames, Yn as createAssetRedirectResolver, Yr as processStackMessages, Yt as withSharedDrainBudget, Z as exportAliasCollisionScrubWarning, Zn as rewriteTemplateAssetReferences, Zr as resolveBucketRegion, Zt as s3BucketDomainName, _ as isSecretBearingReferenceString, _i as ResourceUpdateNotSupportedError, _n as errorCauseChain, _r as partitionSensitiveEnv, _t as slowCcOperationTimeoutMs, a as DeploymentEventsStore, ai as CrossAccountSecretRefusalError, an as findSilentDropProperties, ar as readBootstrapMarkerBody, at as clearOnUpdateRemoval, b as bindingSkippedOutputs, bn as markSameGenerationBag, br as runDockerStreaming, bt as deleteSkipReason, c as replayFailedOperations, ci as DynamicReferenceRegionAmbiguousError, cn as DagBuilder, cr as buildDenyExternalAccessPolicy, ct as createMaskedRetryLogger, d as updatePartialReason, di as LocalStartServiceError, dn as STATE_SOURCED_CROSS_GENERATION_RULES, dr as describeDockerCapturedOutput, dt as beginCommandInterruptScope, ei as resetAwsClients, en as s3BucketWebsiteUrl, er as assertAssetBucketRegion, et as secretBearingStateKeyWarning, f as withResourceDeadline, fn as STATE_SOURCED_READBACK_RULES, fr as describeDockerExecFailure, ft as endCommandInterruptScope, g as bagHoldsSecretExpression, gi as ResourceTimeoutError, gn as dynamicReferenceTokens, gr as getDockerCmd, gt as CloudControlProvider, h as computeImplicitDeleteEdges, hi as ProvisioningError, hn as createSecretMasker, hr as formatDockerLoginError, ht as startInterruptWatch, i as DeploymentEventsReader, in as findActionableSilentDrops, ir as parseBootstrapMarker, it as collectInlinePolicyNamesManagedBySiblings, j as makeSiblingClaimReader, ji as markRedactedCause, jn as buildLockContentionMessage, jr as resolveCaptureObservedState, jt as refStateLookupFromResource, k as makeCanonicalizePropertiesFn, ki as isTransientServerError, kn as rebuildClientForBucketRegion, kr as resolveApp, kt as isUnboundTemplateParameter, l as replayRollback, li as IntrinsicResolutionRefusalError, ln as TemplateParser, lr as describeAwsFailure, lt as maskDeep, m as IMPLICIT_DELETE_DEPENDENCIES, mi as PartialFailureError, mn as carriesSecretMask, mr as dockerSpawnEnvWithSensitive, mt as isInterruptedWaitError, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nn as DiffCalculator, nr as getBootstrapMarkerKey, nt as getCurrentResourceSecrets, o as planFailedOps, on as describeTypeWithThrottleRetry, or as validateAssetBucketName, ot as ProviderRegistry, p as maskingRetryLogger, pi as NestedStackChildDirectDestroyError, pn as TEMPLATE_SOURCED_RULES, pr as describeDockerFailure, pt as interruptWatchListenerCount, q as red, qn as WorkGraph, qr as derivePartitionAndUrlSuffix, qt as classifyReplaySecretRegion, r as DeployEngine, ri as CdkdError, rn as INTRINSIC_KEYS, rr as isCrossRegionRedirect, rt as IAMRoleProvider, s as planRollback, si as DeployCancelledError, sn as withRetry, sr as validateContainerRepoName, st as wouldReturnToSdkProvider, t as DEFAULT_RESOURCE_TIMEOUT_MS, ti as setAwsClients, tn as applyRoleArnIfSet, tr as ensureAssetStorage, tt as secretSafeKeyDisplay, u as updatePartialMessage, ui as LocalInvokeBuildError$1, un as STATE_SOURCED_BASELINE_RULES, ur as buildDockerImage, ut as maskerOrIdentity, v as keptWholeReasonText, vi as StackHasActiveImportsError, vn as identityKeyFor, vr as redactDockerArgvValues, vt as UNSPECIFIED_SKIP_REASON, w as ccRoutedFinalSnapshotError, wi as normalizeAwsError, wn as recoverMaskedOutput, wr as getDockerImageBySourceHash, wt as carriesDynamicReference, x as ATOMIC_FINAL_SNAPSHOT_TYPES, xn as maskSecretsInError, xr as escapeRegExp, xt as disableInstanceApiTermination, y as mergeNoChangeOutputs, yi as StackTerminationProtectionError, yn as isSingleDynamicReferenceToken, yr as runDockerForeground, yt as deleteIndeterminateGuards, z as isWarmThroughputDecrease, zn as importableOutputKeys, zr as CFN_TEMPLATE_URL_LIMIT, zt as configBooleanRefusal } from "./deploy-engine-omGpC16W.js";
1
+ import { $ as secretBearing, $n as BOOTSTRAP_MARKER_PREFIX, $r as getAwsClients, $t as s3BucketRegionalDomainName, A as extractDeploymentEventError, Ai as markNonRetryable, An as buildForceUnlockCommand, Ar as resolveAutoAssetStorage, At as parameterTypeMayLoseSecretIdentity, B as toCfnInteger, Bn as importableOutputs, Br as MIGRATE_TMP_PREFIX, Bt as configIntegerRefusal, C as buildFinalSnapshotIdentifier, Cn as recordMaskOnlyValue, Cr as AssetManifestLoader, Ct as IntrinsicFunctionResolver, D as refusesFinalSnapshot, Di as isRetryableTransientError, Dn as LockManager, Dr as getDefaultStateBucketName, Dt as getAccountInfo, E as isFinalSnapshotError, Ei as isMarkedNonRetryable, En as scrubResourceRecord, Er as synthesisStatusMessage, Et as coerceParameterTypedValue, F as isStatefulRecreateTargetSync, Fn as CUSTOM_RESOURCE_RESPONSE_PREFIX, Fr as resolveUseCdkBootstrapAssets, Ft as resolveExplicitPhysicalId, G as gray, Gn as AssetPublisher, Gr as PARTITION_TABLE, Gt as requireConfigObject, H as formatResourceLine, Hn as orphansAfterRollback, Hr as uploadCfnTemplate, Ht as readConfigString, I as renderStatefulReason, In as DEFAULT_STATE_PREFIX, Ir as stateBucketExistenceConfirmed, It as assertRegionMatch, J as yellow, Jn as buildAssetRedirectMap, Jr as AssemblyReader, Jt as producerRegionsFromState, K as green, Kn as stringifyValue, Kr as canonicalizeRegion, Kt as requireConfigString, L as WARM_THROUGHPUT_MEMBERS, Ln as exportNamesCarriedFrom, Lr as warnDeprecatedNoPrefixCliFlag, Lt as coerceCfnBoolean, M as planOrphanAdoption, Mi as retryClassificationText, Mn as forceQuitRecoveryClause, Mr as resolveSkipPrefix, Mt as isSettledInstanceState, N as MULTI_REGION_RECREATE_BLOCKED_TYPES, Nn as formatLockExpiry, Nr as resolveStateBucketWithDefault, Nt as WAFv2WebACLProvider, O as unsupportedFinalSnapshotError, Oi as isThrottlingError, On as S3StateBackend, Or as getLegacyStateBucketName, Ot as isImpossibleEmptyStoredAttribute, P as isStatefulRecreateTargetForReplace, Pn as shellQuote, Pr as resolveStateBucketWithDefaultAndSource, Pt as normalizeAwsTagsToCfn, Q as isExportAliasCollision, Qn as AssetModeResolver, Qr as AwsClients, Qt as s3BucketDualStackDomainName, R as coerceWarmThroughput$1, Rn as hasReadableExportSet, Rr as CFN_TEMPLATE_BODY_LIMIT, Rt as coerceCfnInteger, S as PRE_DELETE_SNAPSHOT_TYPES, Sn as maskSecretsInText, Sr as stripControlChars, St as isTerminationProtectionPropagationError, T as createPreDeleteFinalSnapshot, Ti as withErrorHandling, Tn as redactSecretsForState, Tr as Synthesizer, Tt as cfnRefValueFromPhysicalId, U as bold, Un as orphansCarriedFrom, Ur as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Ut as replayWarn, V as toFiniteNumber, Vn as isReadableBag, Vr as findLargeInlineResources, Vt as configStringRefusal, W as cyan, Wn as shouldRetainResource, Wr as expectedOwnerParam, Wt as requireConfigArray, X as collectPublishedOutputNames, Xn as loadPublishableAssetManifest, Xt as s3BucketArn, Y as collectDeclaredOutputNames, Yn as createAssetRedirectResolver, Yr as processStackMessages, Yt as withSharedDrainBudget, Z as exportAliasCollisionScrubWarning, Zn as rewriteTemplateAssetReferences, Zr as resolveBucketRegion, Zt as s3BucketDomainName, _ as isSecretBearingReferenceString, _i as ResourceUpdateNotSupportedError, _n as errorCauseChain, _r as partitionSensitiveEnv, _t as slowCcOperationTimeoutMs, a as DeploymentEventsStore, ai as CrossAccountSecretRefusalError, an as findSilentDropProperties, ar as readBootstrapMarkerBody, at as clearOnUpdateRemoval, b as bindingSkippedOutputs, bn as markSameGenerationBag, br as runDockerStreaming, bt as deleteSkipReason, c as replayFailedOperations, ci as DynamicReferenceRegionAmbiguousError, cn as DagBuilder, cr as buildDenyExternalAccessPolicy, ct as createMaskedRetryLogger, d as updatePartialReason, di as LocalStartServiceError, dn as STATE_SOURCED_CROSS_GENERATION_RULES, dr as describeDockerCapturedOutput, dt as beginCommandInterruptScope, ei as resetAwsClients, en as s3BucketWebsiteUrl, er as assertAssetBucketRegion, et as secretBearingStateKeyWarning, f as withResourceDeadline, fn as STATE_SOURCED_READBACK_RULES, fr as describeDockerExecFailure, ft as endCommandInterruptScope, g as bagHoldsSecretExpression, gi as ResourceTimeoutError, gn as dynamicReferenceTokens, gr as getDockerCmd, gt as CloudControlProvider, h as computeImplicitDeleteEdges, hi as ProvisioningError, hn as createSecretMasker, hr as formatDockerLoginError, ht as startInterruptWatch, i as DeploymentEventsReader, in as findActionableSilentDrops, ir as parseBootstrapMarker, it as collectInlinePolicyNamesManagedBySiblings, j as makeSiblingClaimReader, ji as markRedactedCause, jn as buildLockContentionMessage, jr as resolveCaptureObservedState, jt as refStateLookupFromResource, k as makeCanonicalizePropertiesFn, ki as isTransientServerError, kn as rebuildClientForBucketRegion, kr as resolveApp, kt as isUnboundTemplateParameter, l as replayRollback, li as IntrinsicResolutionRefusalError, ln as TemplateParser, lr as describeAwsFailure, lt as maskDeep, m as IMPLICIT_DELETE_DEPENDENCIES, mi as PartialFailureError, mn as carriesSecretMask, mr as dockerSpawnEnvWithSensitive, mt as isInterruptedWaitError, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nn as DiffCalculator, nr as getBootstrapMarkerKey, nt as getCurrentResourceSecrets, o as planFailedOps, on as describeTypeWithThrottleRetry, or as validateAssetBucketName, ot as ProviderRegistry, p as maskingRetryLogger, pi as NestedStackChildDirectDestroyError, pn as TEMPLATE_SOURCED_RULES, pr as describeDockerFailure, pt as interruptWatchListenerCount, q as red, qn as WorkGraph, qr as derivePartitionAndUrlSuffix, qt as classifyReplaySecretRegion, r as DeployEngine, ri as CdkdError, rn as INTRINSIC_KEYS, rr as isCrossRegionRedirect, rt as IAMRoleProvider, s as planRollback, si as DeployCancelledError, sn as withRetry, sr as validateContainerRepoName, st as wouldReturnToSdkProvider, t as DEFAULT_RESOURCE_TIMEOUT_MS, ti as setAwsClients, tn as applyRoleArnIfSet, tr as ensureAssetStorage, tt as secretSafeKeyDisplay, u as updatePartialMessage, ui as LocalInvokeBuildError$1, un as STATE_SOURCED_BASELINE_RULES, ur as buildDockerImage, ut as maskerOrIdentity, v as keptWholeReasonText, vi as StackHasActiveImportsError, vn as identityKeyFor, vr as redactDockerArgvValues, vt as UNSPECIFIED_SKIP_REASON, w as ccRoutedFinalSnapshotError, wi as normalizeAwsError, wn as recoverMaskedOutput, wr as getDockerImageBySourceHash, wt as carriesDynamicReference, x as ATOMIC_FINAL_SNAPSHOT_TYPES, xn as maskSecretsInError, xr as escapeRegExp, xt as disableInstanceApiTermination, y as mergeNoChangeOutputs, yi as StackTerminationProtectionError, yn as isSingleDynamicReferenceToken, yr as runDockerForeground, yt as deleteIndeterminateGuards, z as isWarmThroughputDecrease, zn as importableOutputKeys, zr as CFN_TEMPLATE_URL_LIMIT, zt as configBooleanRefusal } from "./deploy-engine-C2qLzc-5.js";
2
2
  import { C as displaySafe, S as displayIdent, _ as withSkipPrefix, b as STACK_REF_MAX_CODE_POINTS, c as PATTERN_B_NAME_OPTIONS, f as explicitNamePropertyFor, h as getCurrentStackName, i as reserveStdoutForPayload, l as PATTERN_B_NAME_PROPERTIES, m as generateResourceNameWithFallback, n as getLogger, o as runStackBuffered, p as generateResourceName, s as getLiveRenderer, u as PATTERN_B_RESOURCE_TYPES, v as withStackName, w as truncateCodePoints, x as UNRENDERABLE } from "./logger-C17H06QA.js";
3
3
  import { t as awsClientDefaults } from "./aws-client-defaults-D-iYiIJ6.js";
4
- import { t as getCdkdVersion } from "./version--dVnQSTI.js";
5
- import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-CpUSth0q.js";
4
+ import { t as getCdkdVersion } from "./version-BnegtHzZ.js";
5
+ import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-D5-3SGmd.js";
6
6
  import { AsyncLocalStorage } from "node:async_hooks";
7
7
  import { createHash, randomBytes, randomUUID } from "node:crypto";
8
8
  import { CopyObjectCommand, CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
@@ -17881,16 +17881,21 @@ function mapSSESpecification(raw) {
17881
17881
  * the index to the same warn-and-omit path an absent block takes, letting AWS
17882
17882
  * name it — the CFn-handler outcome.
17883
17883
  *
17884
- * CFn is stringly typed, so a numeric string is accepted and coerced; `NaN` /
17885
- * `Infinity` / objects / unresolved intrinsics are not.
17884
+ * CFn is stringly typed, so a numeric string is accepted and coerced — through
17885
+ * {@link coerceCfnInteger}, CloudFormation's MEASURED DynamoDB Integer grammar
17886
+ * (issue [#3147](https://github.com/go-to-k/cdkd/issues/3147); the table is on
17887
+ * `toCfnInteger` in `../dynamodb-warm-throughput.ts`): an optional sign and
17888
+ * decimal digits, with NO trim, so `" 7 "` / `"7 "` / `""` / `"0x9"` / `"1e1"`
17889
+ * / `"6.5"` are every one `undefined` here because CloudFormation refuses the
17890
+ * template that spells them. The pre-#3147 reader was `Number()`, which
17891
+ * forwarded `7` / `9` / `10` for the first four and deployed an index at a
17892
+ * capacity CloudFormation would not have accepted. `NaN` / `Infinity` / a
17893
+ * non-integer number / objects / unresolved intrinsics were never usable and
17894
+ * still are not.
17886
17895
  */
17887
17896
  function readCapacityNumber(block, member) {
17888
17897
  if (typeof block !== "object" || block === null || Array.isArray(block)) return void 0;
17889
- const raw = block[member];
17890
- if (raw === void 0 || raw === null || raw === "") return void 0;
17891
- if (typeof raw !== "number" && typeof raw !== "string") return void 0;
17892
- const value = Number(raw);
17893
- return Number.isFinite(value) ? value : void 0;
17898
+ return coerceCfnInteger(block[member]);
17894
17899
  }
17895
17900
  /**
17896
17901
  * Whether a desired `GlobalSecondaryIndexes[]` entry declares BOTH capacity
@@ -17901,19 +17906,39 @@ function readCapacityNumber(block, member) {
17901
17906
  * BOTH members are required, exactly as in the flip block: an entry declaring
17902
17907
  * only one is treated like an absent one there, so accepting it here would let
17903
17908
  * the pre-flip delete run ahead of a flip AWS still rejects.
17909
+ *
17910
+ * A MIRROR, so it calls {@link readCapacityNumber} — the function the flip's
17911
+ * per-index forwarder calls — rather than restating the rule. That is what kept
17912
+ * it correct across issue [#3147](https://github.com/go-to-k/cdkd/issues/3147):
17913
+ * the reader moved to CloudFormation's Integer grammar and this predicate moved
17914
+ * with it, so a padded `" 7 "` is "no usable declared capacity" here exactly
17915
+ * because the forwarder drops it there.
17904
17916
  */
17905
17917
  function hasUsableDeclaredCapacity(entry) {
17906
17918
  const declared = entry?.["ProvisionedThroughput"];
17907
17919
  return readCapacityNumber(declared, "ReadCapacityUnits") !== void 0 && readCapacityNumber(declared, "WriteCapacityUnits") !== void 0;
17908
17920
  }
17909
17921
  /**
17922
+ * The two TABLE-level `ProvisionedThroughput` members, in the order both
17923
+ * forwarders build them. Named once so {@link hasUsableTableCapacity} and
17924
+ * {@link tableCapacityForSend} cannot come to disagree about the membership.
17925
+ */
17926
+ const TABLE_CAPACITY_MEMBERS = ["ReadCapacityUnits", "WriteCapacityUnits"];
17927
+ /**
17928
+ * The capacity both TABLE-level forwarders substitute for a member the
17929
+ * template does not declare at all — `create()`'s `CreateTable` and the
17930
+ * BillingMode flip's `UpdateTable`. It is the pre-issue-#3147 `?? 5`, kept
17931
+ * BYTE-identical in behaviour for the absent case; what changed is only what a
17932
+ * DECLARED-but-unusable member does.
17933
+ */
17934
+ const DEFAULT_TABLE_CAPACITY_UNITS = 5;
17935
+ /**
17910
17936
  * Whether the desired TABLE-level `ProvisionedThroughput` is one the flip can
17911
17937
  * actually send (issue #1617 PR review).
17912
17938
  *
17913
17939
  * Deliberately NOT {@link hasUsableDeclaredCapacity}: the flip defaults each
17914
- * member to 5 when absent (`Number(pt['ReadCapacityUnits'] ?? 5)`), so a
17915
- * half-declared TABLE capacity is sendable while a half-declared per-INDEX one
17916
- * is not.
17940
+ * ABSENT member to 5 ({@link tableCapacityForSend}), so a half-declared TABLE
17941
+ * capacity is sendable while a half-declared per-INDEX one is not.
17917
17942
  *
17918
17943
  * It mirrors the flip's GATE as well as its arithmetic, which the first version
17919
17944
  * did not and a second review round caught — both halves of that miss are real:
@@ -17921,23 +17946,78 @@ function hasUsableDeclaredCapacity(entry) {
17921
17946
  * - the gate is plain TRUTHINESS (`properties['ProvisionedThroughput']`), so a
17922
17947
  * non-object truthy value sends `{5, 5}` and SUCCEEDS. Requiring a plain
17923
17948
  * object refused it and skipped a removal that would have been fine.
17924
- * - a DECLARED member that coerces to `0` (`''`, `false`, `[]`) is finite, so
17925
- * an arithmetic-only check accepted it — while AWS rejects a capacity below
17926
- * 1, which is precisely the deterministic rejection this predicate exists to
17927
- * keep a delete from running ahead of.
17949
+ * - a DECLARED member that coerces to `0` (`0`, `'0'`) is a capacity AWS
17950
+ * rejects (below 1), which is precisely the deterministic rejection this
17951
+ * predicate exists to keep a delete from running ahead of.
17952
+ *
17953
+ * It reads through {@link tableCapacityForSend}'s OWN reader since issue
17954
+ * [#3147](https://github.com/go-to-k/cdkd/issues/3147) — `coerceCfnInteger`,
17955
+ * plus the `< 1` rule AWS adds on top of the grammar — so the two cannot
17956
+ * answer differently. On the pre-#3147 `Number()` reader they DID, in both
17957
+ * directions: a padded `" 7 "` counted as usable here while the forwarder now
17958
+ * drops it, and a DECLARED `null` counted as UNUSABLE here while the
17959
+ * forwarder's `?? 5` sent 5 and AWS accepted the flip — so this predicate
17960
+ * refused a pre-flip removal on a flip that would have succeeded, warning that
17961
+ * "AWS rejects the flip either way" when it does not. `null` therefore takes
17962
+ * the ABSENT arm here, exactly as it does at the forwarder; `''` / `false` /
17963
+ * `[]`, which `Number()` read as **0**, are now dropped-and-named by the
17964
+ * forwarder, so they make the flip fail and stay UNUSABLE here.
17928
17965
  */
17929
17966
  function hasUsableTableCapacity(value) {
17930
17967
  if (!value) return false;
17931
17968
  if (typeof value !== "object" || Array.isArray(value)) return true;
17932
17969
  const pt = value;
17933
- for (const member of ["ReadCapacityUnits", "WriteCapacityUnits"]) {
17934
- if (pt[member] === void 0) continue;
17935
- const n = Number(pt[member]);
17936
- if (!Number.isFinite(n) || n < 1) return false;
17970
+ for (const member of TABLE_CAPACITY_MEMBERS) {
17971
+ const raw = pt[member];
17972
+ if (raw === void 0 || raw === null) continue;
17973
+ const n = coerceCfnInteger(raw);
17974
+ if (n === void 0 || n < 1) return false;
17937
17975
  }
17938
17976
  return true;
17939
17977
  }
17940
17978
  /**
17979
+ * Read one TABLE-level `ProvisionedThroughput` member for the wire (issue
17980
+ * [#3147](https://github.com/go-to-k/cdkd/issues/3147)).
17981
+ *
17982
+ * THREE answers, where the pre-#3147 `Number(pt[member] ?? 5)` had two:
17983
+ *
17984
+ * - ABSENT (`undefined` / `null`, matching `??`) -> the
17985
+ * {@link DEFAULT_TABLE_CAPACITY_UNITS} default, silently, exactly as before.
17986
+ * - a value {@link coerceCfnInteger} accepts -> that integer.
17987
+ * - anything else -> `undefined`, i.e. the member is OMITTED from the request,
17988
+ * and `onUnusable` announces it.
17989
+ *
17990
+ * The third answer is the decision this function exists for, and it is NOT the
17991
+ * announced-default one its `AWS::DynamoDB::GlobalTable` sibling takes. Two
17992
+ * reasons, both local to this type:
17993
+ *
17994
+ * - **This file's own precedent for the table-level capacity is "let AWS
17995
+ * reject it, by name".** A flip to PROVISIONED carrying NO
17996
+ * `ProvisionedThroughput` at all is deliberately left to fail at AWS as CFn
17997
+ * parity (see the comment at that gate), and the per-index arm below refuses
17998
+ * to invent a capacity in even stronger terms. Substituting 5 for a
17999
+ * DECLARED `" 7 "` would be the one place this type guesses.
18000
+ * - **A substituted capacity is invisible afterwards.** State records the
18001
+ * DESIRED bag, so a table created at 5 against a recorded `" 7 "` compares
18002
+ * EQUAL on every later `cdkd diff`: the divergence never surfaces and the
18003
+ * warning scrolls past once. Omitting the member fails the deploy with
18004
+ * DynamoDB naming the member, which is also what CloudFormation does with
18005
+ * this template (it refuses it at properties validation).
18006
+ *
18007
+ * `onUnusable` is called at most once per member and never for the absent case,
18008
+ * so an ordinary template is silent.
18009
+ */
18010
+ function tableCapacityForSend(pt, member, onUnusable) {
18011
+ const raw = pt?.[member];
18012
+ if (raw === void 0 || raw === null) return DEFAULT_TABLE_CAPACITY_UNITS;
18013
+ const coerced = coerceCfnInteger(raw);
18014
+ if (coerced === void 0) {
18015
+ onUnusable(member, raw);
18016
+ return;
18017
+ }
18018
+ return coerced;
18019
+ }
18020
+ /**
17941
18021
  * Does the capacity AWS currently holds for a GSI already equal the pair the
17942
18022
  * template requests? (issue #1630)
17943
18023
  *
@@ -18497,9 +18577,10 @@ var DynamoDBTableProvider = class {
18497
18577
  };
18498
18578
  if (billingMode === "PROVISIONED") {
18499
18579
  const pt = properties["ProvisionedThroughput"];
18580
+ const onUnusable = (member, raw) => this.warnUnusableTableCapacity(`AWS::DynamoDB::Table ${logicalId}`, member, raw, maskSecrets);
18500
18581
  createParams.ProvisionedThroughput = {
18501
- ReadCapacityUnits: Number(pt?.["ReadCapacityUnits"] ?? 5),
18502
- WriteCapacityUnits: Number(pt?.["WriteCapacityUnits"] ?? 5)
18582
+ ReadCapacityUnits: tableCapacityForSend(pt, "ReadCapacityUnits", onUnusable),
18583
+ WriteCapacityUnits: tableCapacityForSend(pt, "WriteCapacityUnits", onUnusable)
18503
18584
  };
18504
18585
  }
18505
18586
  if (properties["OnDemandThroughput"]) createParams.OnDemandThroughput = properties["OnDemandThroughput"];
@@ -18526,7 +18607,7 @@ var DynamoDBTableProvider = class {
18526
18607
  tableCreated = true;
18527
18608
  this.logger.debug(`CreateTable initiated for ${tableName}, waiting for ACTIVE status`);
18528
18609
  const tableInfo = await this.waitForTableActive(tableName);
18529
- await this.applyPointInTimeRecovery(tableName, properties["PointInTimeRecoverySpecification"]);
18610
+ await this.applyPointInTimeRecovery(tableName, properties["PointInTimeRecoverySpecification"], void 0, maskSecrets);
18530
18611
  await this.applyTimeToLive(tableName, properties["TimeToLiveSpecification"]);
18531
18612
  await this.applyKinesisStreamingDestination(tableName, properties["KinesisStreamSpecification"], void 0, maskSecrets);
18532
18613
  await this.applyContributorInsights(tableName, properties["ContributorInsightsSpecification"]);
@@ -18630,9 +18711,10 @@ var DynamoDBTableProvider = class {
18630
18711
  if (tableClassChanged) updateInput.TableClass = normalizeTableClass(properties["TableClass"]);
18631
18712
  if (billingOrThroughputChanged && billingMode !== "PAY_PER_REQUEST" && properties["ProvisionedThroughput"]) {
18632
18713
  const pt = properties["ProvisionedThroughput"];
18714
+ const onUnusable = (member, raw) => this.warnUnusableTableCapacity(`AWS::DynamoDB::Table ${logicalId}`, member, raw, maskSecrets);
18633
18715
  updateInput.ProvisionedThroughput = {
18634
- ReadCapacityUnits: Number(pt["ReadCapacityUnits"] ?? 5),
18635
- WriteCapacityUnits: Number(pt["WriteCapacityUnits"] ?? 5)
18716
+ ReadCapacityUnits: tableCapacityForSend(pt, "ReadCapacityUnits", onUnusable),
18717
+ WriteCapacityUnits: tableCapacityForSend(pt, "WriteCapacityUnits", onUnusable)
18636
18718
  };
18637
18719
  }
18638
18720
  const flipLiveIndexes = liveIndexes.filter((live) => typeof live.IndexName !== "string" || !preFlipDeletedIndexNames.has(live.IndexName));
@@ -18740,7 +18822,7 @@ var DynamoDBTableProvider = class {
18740
18822
  }
18741
18823
  }
18742
18824
  if (JSON.stringify(properties["GlobalSecondaryIndexes"]) !== JSON.stringify(previousProperties["GlobalSecondaryIndexes"])) await this.applyGsiUpdates(physicalId, resourceType, logicalId, previousProperties["GlobalSecondaryIndexes"], properties["GlobalSecondaryIndexes"], properties["AttributeDefinitions"], gsiHandledByBillingFlip, currentLiveIndexNames, currentLiveIndexByName, liveCapacityComparable, maskSecrets);
18743
- if (JSON.stringify(properties["PointInTimeRecoverySpecification"]) !== JSON.stringify(previousProperties["PointInTimeRecoverySpecification"])) await this.applyPointInTimeRecovery(physicalId, properties["PointInTimeRecoverySpecification"], previousProperties["PointInTimeRecoverySpecification"]);
18825
+ if (JSON.stringify(properties["PointInTimeRecoverySpecification"]) !== JSON.stringify(previousProperties["PointInTimeRecoverySpecification"])) await this.applyPointInTimeRecovery(physicalId, properties["PointInTimeRecoverySpecification"], previousProperties["PointInTimeRecoverySpecification"], maskSecrets);
18744
18826
  if (JSON.stringify(properties["TimeToLiveSpecification"]) !== JSON.stringify(previousProperties["TimeToLiveSpecification"])) {
18745
18827
  this.assertNoActiveTtlAttributeNameChange(logicalId, resourceType, physicalId, properties["TimeToLiveSpecification"], previousProperties["TimeToLiveSpecification"]);
18746
18828
  await this.applyTimeToLive(physicalId, properties["TimeToLiveSpecification"], previousProperties["TimeToLiveSpecification"]);
@@ -18933,13 +19015,20 @@ var DynamoDBTableProvider = class {
18933
19015
  * change", so a dropped block must be turned into an explicit
18934
19016
  * `PointInTimeRecoveryEnabled: false`).
18935
19017
  */
18936
- async applyPointInTimeRecovery(tableName, spec, previousSpec) {
19018
+ async applyPointInTimeRecovery(tableName, spec, previousSpec, maskSecrets = (text) => text) {
18937
19019
  let enabled;
18938
19020
  let recoveryPeriodInDays;
18939
19021
  if (spec !== void 0 && spec !== null) {
18940
19022
  const s = spec;
18941
19023
  enabled = Boolean(s["PointInTimeRecoveryEnabled"]);
18942
- if (enabled && s["RecoveryPeriodInDays"] !== void 0) recoveryPeriodInDays = Number(s["RecoveryPeriodInDays"]);
19024
+ if (enabled && s["RecoveryPeriodInDays"] !== void 0) {
19025
+ const rawRecoveryPeriod = s["RecoveryPeriodInDays"];
19026
+ recoveryPeriodInDays = coerceCfnInteger(rawRecoveryPeriod);
19027
+ if (recoveryPeriodInDays === void 0) {
19028
+ const warn = (message) => this.logger.warn(maskSecrets(message));
19029
+ warn(`DynamoDB table ${tableName}: PointInTimeRecoverySpecification.RecoveryPeriodInDays ${JSON.stringify(maskLeafValue$1(rawRecoveryPeriod, maskSecrets))} is not an Integer CloudFormation accepts (an optional sign and decimal digits only — no surrounding whitespace, hex, exponent or decimal point), so it was DROPPED from the UpdateContinuousBackups request: point-in-time recovery is enabled with DynamoDB's default recovery period instead of the declared one. Check for an unresolved intrinsic, or spell the value as a decimal integer.`);
19030
+ }
19031
+ }
18943
19032
  } else if (previousSpec !== void 0 && previousSpec !== null) enabled = false;
18944
19033
  if (enabled === void 0) return;
18945
19034
  const pitrSpec = { PointInTimeRecoveryEnabled: enabled };
@@ -19407,6 +19496,26 @@ var DynamoDBTableProvider = class {
19407
19496
  };
19408
19497
  }
19409
19498
  /**
19499
+ * Announce a TABLE-level `ProvisionedThroughput` member
19500
+ * {@link tableCapacityForSend} DROPPED (issue
19501
+ * [#3147](https://github.com/go-to-k/cdkd/issues/3147)).
19502
+ *
19503
+ * Called from BOTH table-level forwarders — `create()`'s `CreateTable` and
19504
+ * the BillingMode flip's `UpdateTable` — because the member vanishes at each
19505
+ * independently, and a drop that is never announced is the silent-narrowing
19506
+ * class this file's other warn arms exist to end.
19507
+ *
19508
+ * It says NO capacity was substituted, which is the whole decision: the
19509
+ * sibling `AWS::DynamoDB::GlobalTable` forwarders announce a 5/5 FALLBACK,
19510
+ * and saying the wrong one of those two would send a user looking for a
19511
+ * table that does not exist. {@link tableCapacityForSend}'s doc carries why
19512
+ * this type differs.
19513
+ */
19514
+ warnUnusableTableCapacity(scope, member, raw, maskSecrets = (text) => text) {
19515
+ const warn = (message) => this.logger.warn(maskSecrets(message));
19516
+ warn(`${scope}: ProvisionedThroughput.${member} ${JSON.stringify(maskLeafValue$1(raw, maskSecrets))} is not an Integer CloudFormation accepts (an optional sign and decimal digits only — no surrounding whitespace, hex, exponent or decimal point), so it was NOT sent and NO capacity was substituted for it. DynamoDB requires both members on a PROVISIONED table and will reject the request naming this one — CloudFormation refuses the same template at properties validation. Check for an unresolved intrinsic, or spell the value as a decimal integer.`);
19517
+ }
19518
+ /**
19410
19519
  * Announce a `WarmThroughput` the send rule REFUSES (PR review of issue
19411
19520
  * #1768) — the missing half of tightening {@link isSendableWarmThroughput}.
19412
19521
  *
@@ -23953,10 +24062,19 @@ var LogsLogGroupProvider = class {
23953
24062
  const rawPreviousRetention = previousProperties["RetentionInDays"];
23954
24063
  const renderedRetention = JSON.stringify(rawRetention);
23955
24064
  const sameRawRetention = Object.is(rawRetention, rawPreviousRetention) || renderedRetention !== void 0 && renderedRetention !== "null" && renderedRetention === JSON.stringify(rawPreviousRetention);
23956
- const retentionInDays = toCfnInteger(rawRetention);
24065
+ let retentionInDays = toCfnInteger(rawRetention);
23957
24066
  const oldRetentionInDays = toCfnInteger(rawPreviousRetention);
23958
24067
  const desiredFromAwsReadback = context?.desiredFromAwsReadback === true;
23959
- if (!sameRawRetention && !isAbsentRetention(rawRetention, desiredFromAwsReadback)) assertUsableRetention(rawRetention, retentionInDays, logicalId, resourceType);
24068
+ if (!sameRawRetention && !isAbsentRetention(rawRetention, desiredFromAwsReadback)) try {
24069
+ assertUsableRetention(rawRetention, retentionInDays, logicalId, resourceType);
24070
+ } catch (refusal) {
24071
+ if (context?.replayingState !== true || !(refusal instanceof ProvisioningError)) throw refusal;
24072
+ const legacyReading = toFiniteNumber(rawRetention);
24073
+ if (legacyReading !== void 0 && Number.isInteger(legacyReading) && legacyReading > 0) {
24074
+ retentionInDays = legacyReading;
24075
+ this.logger.warn(`${refusal.message}. This update replays a cdkd state record (rollback) written by a cdkd that read the value as ${legacyReading} and applied it, so the retention is RESTORED as ${legacyReading} days rather than refused. Fix the template spelling and re-deploy.`);
24076
+ } else this.logger.warn(`${refusal.message}. This update replays a cdkd state record (rollback), so the value is read as the "no retention" the record meant rather than refused: the log group's retention policy is REMOVED, which is what the cdkd that wrote the record left in place. Re-apply it by hand (aws logs put-retention-policy) or fix the template and re-deploy.`);
24077
+ }
23960
24078
  const newKmsKeyId = properties["KmsKeyId"];
23961
24079
  if (newKmsKeyId !== previousProperties["KmsKeyId"]) {
23962
24080
  if (newKmsKeyId) await this.logsClient.send(new AssociateKmsKeyCommand({
@@ -94054,4 +94172,4 @@ function buildProgram() {
94054
94172
 
94055
94173
  //#endregion
94056
94174
  export { buildProgram };
94057
- //# sourceMappingURL=program-BDNXyKp5.js.map
94175
+ //# sourceMappingURL=program-BBgCW2BX.js.map