@cdkd/cli 0.353.1 → 0.353.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.
- package/dist/{ambient-client-defaults-h8ixkiue.js → ambient-client-defaults-C5srQQ9o.js} +3 -3
- package/dist/{ambient-client-defaults-h8ixkiue.js.map → ambient-client-defaults-C5srQQ9o.js.map} +1 -1
- package/dist/{asg-provider-CFMML6H9.js → asg-provider-tB1k8Uwh.js} +159 -11
- package/dist/asg-provider-tB1k8Uwh.js.map +1 -0
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-vIwRLRCc.js → custom-resource-runtime-D4u5m0jm.js} +6 -6
- package/dist/{custom-resource-runtime-vIwRLRCc.js.map → custom-resource-runtime-D4u5m0jm.js.map} +1 -1
- package/dist/{db-associated-roles-BOWEXIwA.js → db-associated-roles-BnaNi5RN.js} +2 -2
- package/dist/{db-associated-roles-BOWEXIwA.js.map → db-associated-roles-BnaNi5RN.js.map} +1 -1
- package/dist/{delete-started-CA0GUpa5.js → delete-started-C2CSl-I6.js} +4 -4
- package/dist/{delete-started-CA0GUpa5.js.map → delete-started-C2CSl-I6.js.map} +1 -1
- package/dist/{deploy-engine-kBlRX5bV.js → deploy-engine-BVpckkRS.js} +187 -67
- package/dist/{deploy-engine-kBlRX5bV.js.map → deploy-engine-BVpckkRS.js.map} +1 -1
- package/dist/{diff-calculator-B27goVtT.js → diff-calculator-BCU775Mq.js} +12 -12
- package/dist/{diff-calculator-B27goVtT.js.map → diff-calculator-BCU775Mq.js.map} +1 -1
- package/dist/{ecr-uri-Bxw9go60.js → ecr-uri-XUGi32Yg.js} +2 -2
- package/dist/{ecr-uri-Bxw9go60.js.map → ecr-uri-XUGi32Yg.js.map} +1 -1
- package/dist/{expected-bucket-owner-_SU3t-M3.js → expected-bucket-owner-C4dNW0qP.js} +2 -2
- package/dist/{expected-bucket-owner-_SU3t-M3.js.map → expected-bucket-owner-C4dNW0qP.js.map} +1 -1
- package/dist/{iam-role-provider-H2azN9R_.js → iam-role-provider-DJEUwSEl.js} +8 -8
- package/dist/{iam-role-provider-H2azN9R_.js.map → iam-role-provider-DJEUwSEl.js.map} +1 -1
- package/dist/{image-plan-BQ_Bj_Yq.js → image-plan-DzYuesLu.js} +8 -8
- package/dist/{image-plan-BQ_Bj_Yq.js.map → image-plan-DzYuesLu.js.map} +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-B9LfZ4ql.js → logger-DPzmJjGz.js} +2 -2
- package/dist/{logger-B9LfZ4ql.js.map → logger-DPzmJjGz.js.map} +1 -1
- package/dist/{neptune-provider-DWNWWc-2.js → neptune-provider-BOGkXyqL.js} +7 -7
- package/dist/{neptune-provider-DWNWWc-2.js.map → neptune-provider-BOGkXyqL.js.map} +1 -1
- package/dist/{program-Ds1TxEFq.js → program-BiexuIhK.js} +23 -17
- package/dist/program-BiexuIhK.js.map +1 -0
- package/dist/{provider-classes-CmEldSZf.js → provider-classes-DQeVpjrY.js} +15 -15
- package/dist/{provider-classes-CmEldSZf.js.map → provider-classes-DQeVpjrY.js.map} +1 -1
- package/dist/{rds-provider-XLe5GAkJ.js → rds-provider-DAsMfyF7.js} +10 -10
- package/dist/{rds-provider-XLe5GAkJ.js.map → rds-provider-DAsMfyF7.js.map} +1 -1
- package/dist/{read-replica-8gTidOhd.js → read-replica-CsjvBe-D.js} +3 -3
- package/dist/{read-replica-8gTidOhd.js.map → read-replica-CsjvBe-D.js.map} +1 -1
- package/dist/{replacement-rules-C1-cIFeb.js → replacement-rules-p8Qw0DJO.js} +3 -3
- package/dist/{replacement-rules-C1-cIFeb.js.map → replacement-rules-p8Qw0DJO.js.map} +1 -1
- package/dist/{update-removal-B8LsUvH3.js → resource-deadline-CM7iQyoh.js} +105 -5
- package/dist/resource-deadline-CM7iQyoh.js.map +1 -0
- package/dist/{resource-deadline-D9y5BEyS.js → restore-source-guard-DISHGYsK.js} +5 -106
- package/dist/restore-source-guard-DISHGYsK.js.map +1 -0
- package/dist/{run-cli-B2eIy7GJ.js → run-cli-BVB8mILG.js} +2 -2
- package/dist/{run-cli-B2eIy7GJ.js.map → run-cli-BVB8mILG.js.map} +1 -1
- package/dist/{update-policy-BSuSFGI1.js → update-policy-CwlmV_Gu.js} +6 -6
- package/dist/{update-policy-BSuSFGI1.js.map → update-policy-CwlmV_Gu.js.map} +1 -1
- package/dist/{version-DiT480kG.js → version-Be5vs808.js} +2 -2
- package/dist/{version-DiT480kG.js.map → version-Be5vs808.js.map} +1 -1
- package/package.json +1 -1
- package/dist/asg-provider-CFMML6H9.js.map +0 -1
- package/dist/program-Ds1TxEFq.js.map +0 -1
- package/dist/resource-deadline-D9y5BEyS.js.map +0 -1
- package/dist/update-removal-B8LsUvH3.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, a as UNSHOWABLE_VALUE, c as deployReplaceCommand, d as pasteableCommand, f as physicalIdShownBesideCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE } from "./version-
|
|
2
|
-
import { $ as withStackScope, A as configStringRefusal, C as fallbackNamePropertyFor, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, G as currentNameGeneration, H as looksLikeCdkdGeneratedName, J as getCurrentStackName, K as getCurrentSkipPrefix, M as replayWarn, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, S as explicitNamePropertyFor, T as withoutGeneratedFallbackName, V as generateResourceNameWithFallback, W as stackInstanceNameSuffix, X as isNameGeneration, Z as withNameGeneration, _ as currentLogLineMasker, b as alternateNamePropertiesFor, c as VERBOSE_POINTER, et as withStackScopeBeforeStateRead, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, m as verboseAwareText, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, v as installLogLineMaskerSource, w as generatedNameFor, x as applyDefaultNameForFallback, y as getLiveRenderer } from "./logger-
|
|
3
|
-
import { A as stripControlChars, C as isNameCooldownError, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AccountIdUnavailableError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, et as CdkdError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, w as isRecreateRetryableError, z as isTransientServerError } from "./ambient-client-defaults-
|
|
1
|
+
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, a as UNSHOWABLE_VALUE, c as deployReplaceCommand, d as pasteableCommand, f as physicalIdShownBesideCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE } from "./version-Be5vs808.js";
|
|
2
|
+
import { $ as withStackScope, A as configStringRefusal, C as fallbackNamePropertyFor, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, G as currentNameGeneration, H as looksLikeCdkdGeneratedName, J as getCurrentStackName, K as getCurrentSkipPrefix, M as replayWarn, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, S as explicitNamePropertyFor, T as withoutGeneratedFallbackName, V as generateResourceNameWithFallback, W as stackInstanceNameSuffix, X as isNameGeneration, Z as withNameGeneration, _ as currentLogLineMasker, b as alternateNamePropertiesFor, c as VERBOSE_POINTER, et as withStackScopeBeforeStateRead, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, m as verboseAwareText, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, v as installLogLineMaskerSource, w as generatedNameFor, x as applyDefaultNameForFallback, y as getLiveRenderer } from "./logger-DPzmJjGz.js";
|
|
3
|
+
import { A as stripControlChars, C as isNameCooldownError, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AccountIdUnavailableError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, et as CdkdError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, w as isRecreateRetryableError, z as isTransientServerError } from "./ambient-client-defaults-C5srQQ9o.js";
|
|
4
4
|
import { a as getAssumedRoleCredentials, c as setAssumedRoleCredentials, d as quietS3Logger, f as ambientRegion, i as awsEndpointOverrideUrl, n as awsClientDefaults, o as getPreAssumeEnvCredentials, r as awsEndpointOverrideActive, t as SECOND_ROLE_PUBLISH_REFUSAL, u as setPreAssumeEnvCredentials } from "./aws-client-defaults-DAebi99J.js";
|
|
5
5
|
import { l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
|
|
6
|
-
import { A as timePhaseSync, C as CREATE_ONLY_PATHS_SNAPSHOT, D as recordPhase, E as phaseTimingsEnabled, F as utf8ByteLength, M as jsonParseFailureStandIn, N as parseFailureDebugDetail, P as parseJsonNamingNoBody, S as withRetry, T as phaseScopeForStack, _ as describeTypeWithThrottleRetry, a as observeThenDisableInstanceApiTermination, b as reportAwsEmulatorRegistryMiss, f as getCreateOnlyPropertyPaths, g as parseCreateOnlyPropertyPointers, h as templateResourceTypes, i as isTerminationProtectionPropagationError, j as describeJsonParseFailure, k as timePhase, l as unchangedBehindSecretReference, m as prefetchCreateOnlyPropertyPaths, o as reDisableInstanceApiTermination, p as isIntrinsicShaped, r as ec2InstanceProtectionSite, s as reEnableInstanceApiTermination, t as ignoresUnmodifiedGroupSize, u as cachedCreateOnlyPropertyPaths, v as hasNoRegistrySchema, w as PhaseClock, x as IAM_PROPAGATION_MAX_DELAY_MS, y as isAwsEmulatorRegistryMiss } from "./update-policy-
|
|
6
|
+
import { A as timePhaseSync, C as CREATE_ONLY_PATHS_SNAPSHOT, D as recordPhase, E as phaseTimingsEnabled, F as utf8ByteLength, M as jsonParseFailureStandIn, N as parseFailureDebugDetail, P as parseJsonNamingNoBody, S as withRetry, T as phaseScopeForStack, _ as describeTypeWithThrottleRetry, a as observeThenDisableInstanceApiTermination, b as reportAwsEmulatorRegistryMiss, f as getCreateOnlyPropertyPaths, g as parseCreateOnlyPropertyPointers, h as templateResourceTypes, i as isTerminationProtectionPropagationError, j as describeJsonParseFailure, k as timePhase, l as unchangedBehindSecretReference, m as prefetchCreateOnlyPropertyPaths, o as reDisableInstanceApiTermination, p as isIntrinsicShaped, r as ec2InstanceProtectionSite, s as reEnableInstanceApiTermination, t as ignoresUnmodifiedGroupSize, u as cachedCreateOnlyPropertyPaths, v as hasNoRegistrySchema, w as PhaseClock, x as IAM_PROPAGATION_MAX_DELAY_MS, y as isAwsEmulatorRegistryMiss } from "./update-policy-CwlmV_Gu.js";
|
|
7
7
|
import { i as sameRegion, n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
8
|
-
import {
|
|
9
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
10
|
-
import { Ct as isReadableBag, Dt as skippedOutputsCarriedFrom, Et as shouldRetainResource, Ot as stackInstanceIdCarriedFrom, St as importableOutputs, Tt as orphansCarriedFrom, _t as acceptedCreateOnlyDropsOf, gt as slowCcOperationTimeoutMs, ht as dbInstanceAttributes, i as dbClusterAttributes, n as isRefusedByName, r as markDeleteStarted, t as isDeleteStarted, vt as describeRegionValueKind, wt as orphansAfterRollback, xt as importableOutputKeys, yt as exportNamesCarriedFrom } from "./delete-started-
|
|
11
|
-
import { $t as recordInheritedParameterValue, A as witnessNormalize, An as recordNoEchoAttributeValues, At as withoutPhysicalNameCopies, B as redactionClaimOf, Cn as noEchoParameterPlaintextsOf, Ct as withLegacyOverlapScan, D as recordedNoEchoValuesOf, Dn as recordFreshNoEchoValuesIn, Dt as replaceEmbeddedPhysicalNameRewrites, E as recordPassedNoEchoParameters, En as recordDerivedMaskOnlyValue, Et as repairPhysicalNameCopyLeaves, F as markLeafCertifiedBag, G as foldRecording, Gt as recordTakenIfBranch, H as mixedLiteralAnswered, Ht as splitOutsideDynamicReferences, I as markSameGenerationBag, In as isDynamicReferenceString, It as secretRerenderPairs, J as hasPassProvenance, Jt as templateRereadsAccountId, K as openRecordingScope, Kt as inheritedPseudoValue, L as mergeResolvedPairs, Ln as isSingleDynamicReferenceToken, M as carryRedactionMarks, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, N as intrinsicLeafResolutionOf, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, O as replaceAtCoordinates, Ot as scrubResourceRecord, P as isSameGenerationBag, Pn as withoutNoEchoParameterEntries, Q as recordReferenceResolution, Qt as recordInheritedParameterRead, R as recordIntrinsicLeafResolution, Rn as maskMatchSpans, S as noEchoParametersReadBy, Sn as markNoEchoParameterClass, St as replaceWholeLeaves, Tt as repairEmbeddedPhysicalNamesTowards, U as withLegacyMixedScan, Ut as standsForInheritedSecret, V as resolvedPlaintextOf, Vt as rereadParameterExpression, W as redactForState, Wt as recordDroppedArrayElements, X as passReadVersionsFor, Xt as inheritedParameterExpression, Y as passProvenanceFor, Yt as inheritNestedStackParameterAssociations, Z as recordReferenceProvenanceEntry, Zt as inheritedRenderedToken, _ as noEchoComparison, _n as freshNoEchoValuesOf, _t as maskSecretsInText, an as recordRecoverableMaskedOutput, at as literalSplitDelimitersOf, bn as isScopedSecretVerdict, bt as legacyReferenceLeavesOnly, c as parseLambdaFunctionAddress, ct as recordLogOnlyParameterValue, d as canonicalJson$5, dn as crossStackSourceKey, dt as shareLogOnlyValues, en as redactInheritedParameterValue, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as recordCrossStackExpression, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gn as contradictProvenPublicExpression, gt as maskSecretsInError, h as maskWholeValue, hn as carryFreshNoEchoMark, ht as maskRecordedSecretsInText, in as freshNoEchoLeafPositions, it as hasMaskableValues, jn as recordNoEchoParameterFreshValue, jt as spanNamesResolvableService, k as valueAtCoordinate, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, lt as recordLogOnlySplitFragments, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nn as carriesFreshNoEchoValue, nt as createUnionSecretMasker, on as recoverMaskedOutput, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, q as recordSecretResolution, qt as recordInheritedPseudoParameters, rn as embedsFreshNoEchoValue, rt as hasLogOnlyValues, sn as physicalNameCopiesOf, st as printingCorpusOf, t as ReplacementRulesRegistry, tn as withdrawRenderedParameterSpelling, tt as carryLogOnlyValuesCarriedBy, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, vn as isMaskOnlyPlaintext, vt as differingStringLeaves, w as readbackPathFor, wn as pinScopedSecretVerdict, wt as embeddedPhysicalNameRewrites, x as noEchoParameterNodesAt, xn as isSecretExpressionByVerdictOrSpelling, xt as overlapRuleAnswered, y as noEchoLeavesOf, yn as isNoEchoParameterPlaintext, yt as legacyLeavesWithoutMask, z as recordIntrinsicLeafResolutionAs, zt as arrayPairsWhateverDrops } from "./replacement-rules-
|
|
12
|
-
import { C as
|
|
8
|
+
import { $t as markCreatedBeforeFailure, Bt as isSecretDerivedValue, Dt as isInterruptedWaitError, Ft as resourceTypeShown, H as normalizeAwsTagsToCfn, Ht as maskerOrIdentity, I as withoutServerErrorRetries, It as segmentAfterAnchor, J as assertRegionMatch, Jt as createdResourceIdentityBeforeFailure, K as resolveExplicitPhysicalId, Lt as stateOrphanRecordRemedy, Nt as logicalIdShown, Ot as startInterruptWatch, Q as deleteWithProtectionCompensation, Qt as markAuxiliaryFailure, Rt as createMaskedLogSinks, St as protectedReplacementAdvice, T as withUnchangedSecretPrincipalLists, U as quotedRemedyLogicalId, Ut as withDerivedNameMasks, V as isQuotableImportValue, Vt as maskDeep, W as refusalTypeShown, Wt as RETRY_AUXILIARY_OWNER, X as markNotGone, Xt as isAuxiliaryFailure, Y as isMarkedNotGone, Z as compensateProtectionFlip, Zt as isAuxiliaryMarkOf, _t as DELETION_PROTECTION_DOC_POINTER, d as CreatedResourceSink, dn as CUSTOM_RESOURCE_RESPONSE_PREFIX, dt as isTerminalDeleteFailure, et as observeThenDisableProtection, f as clearCreatedReport, fn as DEFAULT_STATE_PREFIX, ft as protectionFlipKey, g as retractCreatedResource, gn as injectiveKey, gt as monotonicNowMs, hn as withPasteableAwsProfile, ht as ElapsedBudgetRegistry, i as withResourceDeadline, jt as compositeIdSeparatorRefusal, kt as canonicalizeRoute53QueryName, ln as recoveryCommandFlags, m as reportCreatedResource, mt as ElapsedBudget, n as enclosingDeadlineRemainingMs, o as prepareRemovalForUpdate, p as collectCreatedResources, pt as runDeleteAttempt, q as RESOURCE_NOT_FOUND, qt as createdBeforeFailure, r as whileEnclosingDeadlinesPaused, s as removalWarning, t as enclosingDeadlineExpired, u as withoutInjectedRemovals, un as sanitizeRecoveryValue, ut as ProtectionFlipRegistry, xt as pasteableAwsCommand, yn as producerRecordKey, zt as createMaskedRetryLogger } from "./resource-deadline-CM7iQyoh.js";
|
|
9
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-C4dNW0qP.js";
|
|
10
|
+
import { Ct as isReadableBag, Dt as skippedOutputsCarriedFrom, Et as shouldRetainResource, Ot as stackInstanceIdCarriedFrom, St as importableOutputs, Tt as orphansCarriedFrom, _t as acceptedCreateOnlyDropsOf, gt as slowCcOperationTimeoutMs, ht as dbInstanceAttributes, i as dbClusterAttributes, n as isRefusedByName, r as markDeleteStarted, t as isDeleteStarted, vt as describeRegionValueKind, wt as orphansAfterRollback, xt as importableOutputKeys, yt as exportNamesCarriedFrom } from "./delete-started-C2CSl-I6.js";
|
|
11
|
+
import { $t as recordInheritedParameterValue, A as witnessNormalize, An as recordNoEchoAttributeValues, At as withoutPhysicalNameCopies, B as redactionClaimOf, Cn as noEchoParameterPlaintextsOf, Ct as withLegacyOverlapScan, D as recordedNoEchoValuesOf, Dn as recordFreshNoEchoValuesIn, Dt as replaceEmbeddedPhysicalNameRewrites, E as recordPassedNoEchoParameters, En as recordDerivedMaskOnlyValue, Et as repairPhysicalNameCopyLeaves, F as markLeafCertifiedBag, G as foldRecording, Gt as recordTakenIfBranch, H as mixedLiteralAnswered, Ht as splitOutsideDynamicReferences, I as markSameGenerationBag, In as isDynamicReferenceString, It as secretRerenderPairs, J as hasPassProvenance, Jt as templateRereadsAccountId, K as openRecordingScope, Kt as inheritedPseudoValue, L as mergeResolvedPairs, Ln as isSingleDynamicReferenceToken, M as carryRedactionMarks, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, N as intrinsicLeafResolutionOf, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, O as replaceAtCoordinates, Ot as scrubResourceRecord, P as isSameGenerationBag, Pn as withoutNoEchoParameterEntries, Q as recordReferenceResolution, Qt as recordInheritedParameterRead, R as recordIntrinsicLeafResolution, Rn as maskMatchSpans, S as noEchoParametersReadBy, Sn as markNoEchoParameterClass, St as replaceWholeLeaves, Tt as repairEmbeddedPhysicalNamesTowards, U as withLegacyMixedScan, Ut as standsForInheritedSecret, V as resolvedPlaintextOf, Vt as rereadParameterExpression, W as redactForState, Wt as recordDroppedArrayElements, X as passReadVersionsFor, Xt as inheritedParameterExpression, Y as passProvenanceFor, Yt as inheritNestedStackParameterAssociations, Z as recordReferenceProvenanceEntry, Zt as inheritedRenderedToken, _ as noEchoComparison, _n as freshNoEchoValuesOf, _t as maskSecretsInText, an as recordRecoverableMaskedOutput, at as literalSplitDelimitersOf, bn as isScopedSecretVerdict, bt as legacyReferenceLeavesOnly, c as parseLambdaFunctionAddress, ct as recordLogOnlyParameterValue, d as canonicalJson$5, dn as crossStackSourceKey, dt as shareLogOnlyValues, en as redactInheritedParameterValue, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as recordCrossStackExpression, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gn as contradictProvenPublicExpression, gt as maskSecretsInError, h as maskWholeValue, hn as carryFreshNoEchoMark, ht as maskRecordedSecretsInText, in as freshNoEchoLeafPositions, it as hasMaskableValues, jn as recordNoEchoParameterFreshValue, jt as spanNamesResolvableService, k as valueAtCoordinate, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, lt as recordLogOnlySplitFragments, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nn as carriesFreshNoEchoValue, nt as createUnionSecretMasker, on as recoverMaskedOutput, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, q as recordSecretResolution, qt as recordInheritedPseudoParameters, rn as embedsFreshNoEchoValue, rt as hasLogOnlyValues, sn as physicalNameCopiesOf, st as printingCorpusOf, t as ReplacementRulesRegistry, tn as withdrawRenderedParameterSpelling, tt as carryLogOnlyValuesCarriedBy, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, vn as isMaskOnlyPlaintext, vt as differingStringLeaves, w as readbackPathFor, wn as pinScopedSecretVerdict, wt as embeddedPhysicalNameRewrites, x as noEchoParameterNodesAt, xn as isSecretExpressionByVerdictOrSpelling, xt as overlapRuleAnswered, y as noEchoLeavesOf, yn as isNoEchoParameterPlaintext, yt as legacyLeavesWithoutMask, z as recordIntrinsicLeafResolutionAs, zt as arrayPairsWhateverDrops } from "./replacement-rules-p8Qw0DJO.js";
|
|
12
|
+
import { C as withUnsettledItems, S as unsettledPropertiesOf, T as withoutUnsettledProperties, _ as isUsableAttemptedName, b as unsettledItemsOf, c as planTagDiff, f as tagPlanWarning, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, u as refuseMalformedDesiredTags, v as unsettledContextOf, w as withUnsettledProperties, x as unsettledItemsTopKey, y as unsettledItemsField } from "./restore-source-guard-DISHGYsK.js";
|
|
13
13
|
import { createHash, randomUUID, timingSafeEqual } from "node:crypto";
|
|
14
14
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
15
15
|
import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client } from "@aws-sdk/client-s3";
|
|
@@ -82,7 +82,7 @@ async function resolveBucketRegion(bucketName, opts = {}) {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
try {
|
|
85
|
-
const { expectedOwnerParam } = await import("./expected-bucket-owner-
|
|
85
|
+
const { expectedOwnerParam } = await import("./expected-bucket-owner-C4dNW0qP.js").then((n) => n.n);
|
|
86
86
|
return (await client.send(new GetBucketLocationCommand({
|
|
87
87
|
Bucket: bucketName,
|
|
88
88
|
...await expectedOwnerParam(client)
|
|
@@ -19167,7 +19167,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
19167
19167
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
19168
19168
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
19169
19169
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
19170
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
19170
|
+
const { ASGProvider } = await import("./asg-provider-tB1k8Uwh.js");
|
|
19171
19171
|
const delegateRegion = ambientRegion();
|
|
19172
19172
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
19173
19173
|
if (asgProvider === void 0) {
|
|
@@ -19321,7 +19321,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
|
|
|
19321
19321
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
19322
19322
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
19323
19323
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
19324
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
19324
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-DAsMfyF7.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-BOGkXyqL.js"))).NeptuneProvider({ region: ccRegion });
|
|
19325
19325
|
this.sdkDeleteDelegates.set(family, {
|
|
19326
19326
|
region: ccRegion,
|
|
19327
19327
|
provider
|
|
@@ -22007,7 +22007,7 @@ async function publishToSns(topicArn, request) {
|
|
|
22007
22007
|
}
|
|
22008
22008
|
async function invokeLambda(serviceToken, request) {
|
|
22009
22009
|
if (localCustomResourceRuntimeActive()) {
|
|
22010
|
-
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-
|
|
22010
|
+
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-D4u5m0jm.js");
|
|
22011
22011
|
const local = await invokeCustomResourceFunctionLocally({
|
|
22012
22012
|
lambda: this.lambdaClient,
|
|
22013
22013
|
s3: this.s3Client
|
|
@@ -25338,24 +25338,42 @@ function finalSnapshotFailure(message, error) {
|
|
|
25338
25338
|
const thrown = new CdkdError(message, "FINAL_SNAPSHOT_FAILED", cause);
|
|
25339
25339
|
return cause !== void 0 && describeAwsFailure(cause).redacted ? markRedactedCause(thrown) : thrown;
|
|
25340
25340
|
}
|
|
25341
|
+
function startedAtOrAfter(started, bound) {
|
|
25342
|
+
if (bound === void 0) return true;
|
|
25343
|
+
return started !== void 0 && new Date(started).getTime() >= bound;
|
|
25344
|
+
}
|
|
25345
|
+
function finalSnapshotWaitStopped(snapshotId, logicalId, sourceId, noun) {
|
|
25346
|
+
return new CdkdError(safeMsg`Stopped waiting for final snapshot ${snapshotId} of ${logicalId} (${sourceId}): ` + `the run was interrupted. The ${noun} was NOT deleted; the snapshot continues in AWS and the next attempt resumes it while it is in progress.`, "FINAL_SNAPSHOT_FAILED");
|
|
25347
|
+
}
|
|
25341
25348
|
|
|
25342
25349
|
// src/provisioning/final-snapshot/ebs.ts
|
|
25350
|
+
const ATTEMPT_START_SKEW_MARGIN_MS = 3e5;
|
|
25343
25351
|
function isVolumeNotFound(error) {
|
|
25344
25352
|
return (error instanceof Error ? error.name : "") === "InvalidVolume.NotFound" || errMsg(error).includes("InvalidVolume.NotFound");
|
|
25345
25353
|
}
|
|
25346
|
-
async function createEbsFinalSnapshot(client, volumeId, logicalId, logger) {
|
|
25354
|
+
async function createEbsFinalSnapshot(client, volumeId, logicalId, logger, options = {}) {
|
|
25347
25355
|
let snapshotId;
|
|
25348
25356
|
try {
|
|
25349
|
-
|
|
25357
|
+
const existing = await client.send(new DescribeSnapshotsCommand({
|
|
25350
25358
|
OwnerIds: ["self"],
|
|
25351
|
-
Filters: [
|
|
25352
|
-
|
|
25353
|
-
|
|
25354
|
-
|
|
25355
|
-
|
|
25356
|
-
|
|
25357
|
-
|
|
25358
|
-
|
|
25359
|
+
Filters: [
|
|
25360
|
+
{
|
|
25361
|
+
Name: `tag:${EBS_FINAL_SNAPSHOT_TAG_KEY}`,
|
|
25362
|
+
Values: [volumeId]
|
|
25363
|
+
},
|
|
25364
|
+
{
|
|
25365
|
+
Name: "volume-id",
|
|
25366
|
+
Values: [volumeId]
|
|
25367
|
+
},
|
|
25368
|
+
{
|
|
25369
|
+
Name: "status",
|
|
25370
|
+
Values: ["pending", "completed"]
|
|
25371
|
+
}
|
|
25372
|
+
]
|
|
25373
|
+
}));
|
|
25374
|
+
const bound = options.reuseStartedAtOrAfter;
|
|
25375
|
+
const completedBound = bound ?? (options.attemptStartedAt ?? Date.now()) + 3e5;
|
|
25376
|
+
snapshotId = existing.Snapshots?.find((s) => startedAtOrAfter(s.StartTime, s.State === "pending" ? bound : completedBound))?.SnapshotId;
|
|
25359
25377
|
if (snapshotId) logger.debug(`Reusing existing final snapshot ${snapshotId} for ${logicalId} (${volumeId}) from a previous destroy attempt`);
|
|
25360
25378
|
} catch (probeError) {
|
|
25361
25379
|
logger.debug(`Final-snapshot reuse probe failed for ${volumeId}: ${errMsg(probeError)}`);
|
|
@@ -25393,7 +25411,7 @@ async function createEbsFinalSnapshot(client, volumeId, logicalId, logger) {
|
|
|
25393
25411
|
if (((pollError instanceof Error ? pollError.name : "") === "InvalidSnapshot.NotFound" || errMsg(pollError).includes("InvalidSnapshot.NotFound")) && ++notFoundPolls <= 24) state = void 0;
|
|
25394
25412
|
else {
|
|
25395
25413
|
const head = `Failed while waiting for final snapshot ${snapshotId} of ${logicalId} (${volumeId})`;
|
|
25396
|
-
throw finalSnapshotFailure(`${head}: ${failureSentence(logger, head, pollError)} The volume was NOT deleted; re-run the destroy (
|
|
25414
|
+
throw finalSnapshotFailure(`${head}: ${failureSentence(logger, head, pollError)} The volume was NOT deleted; re-run the destroy (a snapshot still in progress is resumed, not duplicated).`, pollError);
|
|
25397
25415
|
}
|
|
25398
25416
|
}
|
|
25399
25417
|
if (state === "completed") {
|
|
@@ -25401,17 +25419,18 @@ async function createEbsFinalSnapshot(client, volumeId, logicalId, logger) {
|
|
|
25401
25419
|
return snapshotId;
|
|
25402
25420
|
}
|
|
25403
25421
|
if (state === "error") throw new CdkdError(`Final snapshot ${snapshotId} for ${logicalId} (${volumeId}) entered 'error' state. The volume was NOT deleted.`, "FINAL_SNAPSHOT_FAILED");
|
|
25404
|
-
if (Date.now() >= deadline) throw new CdkdError(`Timed out waiting for final snapshot ${snapshotId} of ${logicalId} (${volumeId}) to complete. The volume was NOT deleted; the snapshot continues in AWS — re-run the destroy once
|
|
25422
|
+
if (Date.now() >= deadline) throw new CdkdError(`Timed out waiting for final snapshot ${snapshotId} of ${logicalId} (${volumeId}) to complete. The volume was NOT deleted; the snapshot continues in AWS — re-run the destroy (a snapshot still in progress is resumed; once completed, the re-run takes a fresh one, which holds any writes since).`, "FINAL_SNAPSHOT_TIMEOUT");
|
|
25423
|
+
if (options.stop?.() === true) throw finalSnapshotWaitStopped(snapshotId, logicalId, volumeId, "volume");
|
|
25405
25424
|
await finalSnapshotDelays.sleep(PRE_DELETE_SNAPSHOT_POLL_INTERVAL_MS);
|
|
25406
25425
|
}
|
|
25407
25426
|
}
|
|
25408
25427
|
|
|
25409
25428
|
// src/provisioning/final-snapshot/pre-delete.ts
|
|
25410
|
-
async function createPreDeleteFinalSnapshot(resourceType, physicalId, logicalId, clients, logger) {
|
|
25429
|
+
async function createPreDeleteFinalSnapshot(resourceType, physicalId, logicalId, clients, logger, options = {}) {
|
|
25411
25430
|
switch (resourceType) {
|
|
25412
|
-
case "AWS::EC2::Volume": return createEbsFinalSnapshot(clients.ec2, physicalId, logicalId, logger);
|
|
25413
|
-
case "AWS::Redshift::Cluster": return createRedshiftFinalSnapshot(clients.redshift, physicalId, logicalId, logger);
|
|
25414
|
-
case "AWS::ElastiCache::ReplicationGroup": return createReplicationGroupFinalSnapshot(clients.elastiCache, physicalId, logicalId, logger);
|
|
25431
|
+
case "AWS::EC2::Volume": return createEbsFinalSnapshot(clients.ec2, physicalId, logicalId, logger, options);
|
|
25432
|
+
case "AWS::Redshift::Cluster": return createRedshiftFinalSnapshot(clients.redshift, physicalId, logicalId, logger, options);
|
|
25433
|
+
case "AWS::ElastiCache::ReplicationGroup": return createReplicationGroupFinalSnapshot(clients.elastiCache, physicalId, logicalId, logger, options);
|
|
25415
25434
|
default: throw new CdkdError(`No pre-delete final-snapshot implementation for ${logicalId} (${resourceType}). The resource was NOT deleted.`, "FINAL_SNAPSHOT_FAILED");
|
|
25416
25435
|
}
|
|
25417
25436
|
}
|
|
@@ -25429,7 +25448,7 @@ async function waitForNamedSnapshot(opts) {
|
|
|
25429
25448
|
if (opts.isTransientNotFound(pollError) && ++notFoundPolls <= 24) status = void 0;
|
|
25430
25449
|
else {
|
|
25431
25450
|
const head = `Failed while waiting for final snapshot ${snapshotId} of ${logicalId} (${sourceId})`;
|
|
25432
|
-
throw finalSnapshotFailure(`${head}: ${failureSentence(logger, head, pollError)} The ${noun} was NOT deleted; re-run the delete (
|
|
25451
|
+
throw finalSnapshotFailure(`${head}: ${failureSentence(logger, head, pollError)} The ${noun} was NOT deleted; re-run the delete (a snapshot still in progress is resumed, not duplicated).`, pollError);
|
|
25433
25452
|
}
|
|
25434
25453
|
}
|
|
25435
25454
|
if (status === opts.readyStatus) {
|
|
@@ -25437,7 +25456,8 @@ async function waitForNamedSnapshot(opts) {
|
|
|
25437
25456
|
return snapshotId;
|
|
25438
25457
|
}
|
|
25439
25458
|
if (status !== void 0 && opts.failedStatuses.includes(status)) throw new CdkdError(`Final snapshot ${snapshotId} for ${logicalId} (${sourceId}) entered '${status}' state. The ${noun} was NOT deleted.`, "FINAL_SNAPSHOT_FAILED");
|
|
25440
|
-
if (Date.now() >= deadline) throw new CdkdError(`Timed out waiting for final snapshot ${snapshotId} of ${logicalId} (${sourceId}) to become ready. The ${noun} was NOT deleted; the snapshot continues in AWS — re-run the delete
|
|
25459
|
+
if (Date.now() >= deadline) throw new CdkdError(`Timed out waiting for final snapshot ${snapshotId} of ${logicalId} (${sourceId}) to become ready. The ${noun} was NOT deleted; the snapshot continues in AWS — re-run the delete (a snapshot still in progress is resumed; once ready, the re-run takes a fresh one).`, "FINAL_SNAPSHOT_TIMEOUT");
|
|
25460
|
+
if (opts.stop?.() === true) throw finalSnapshotWaitStopped(snapshotId, logicalId, sourceId, noun);
|
|
25441
25461
|
await finalSnapshotDelays.sleep(PRE_DELETE_SNAPSHOT_POLL_INTERVAL_MS);
|
|
25442
25462
|
}
|
|
25443
25463
|
}
|
|
@@ -25450,7 +25470,7 @@ function generatedSnapshotNameMatcher(physicalId, resourceType) {
|
|
|
25450
25470
|
return new RegExp(`^${escaped}\\d{8}-\\d{6}$`);
|
|
25451
25471
|
}
|
|
25452
25472
|
const RESUMABLE_SNAPSHOT_STATUS = "creating";
|
|
25453
|
-
async function createRedshiftFinalSnapshot(client, clusterId, logicalId, logger) {
|
|
25473
|
+
async function createRedshiftFinalSnapshot(client, clusterId, logicalId, logger, options = {}) {
|
|
25454
25474
|
const matches = generatedSnapshotNameMatcher(clusterId, "AWS::Redshift::Cluster");
|
|
25455
25475
|
let snapshotId;
|
|
25456
25476
|
try {
|
|
@@ -25461,7 +25481,7 @@ async function createRedshiftFinalSnapshot(client, clusterId, logicalId, logger)
|
|
|
25461
25481
|
SnapshotType: "manual",
|
|
25462
25482
|
...marker !== void 0 && { Marker: marker }
|
|
25463
25483
|
}));
|
|
25464
|
-
snapshotId = existing.Snapshots?.find((s) => s.SnapshotIdentifier !== void 0 && matches.test(s.SnapshotIdentifier) && s.Status === RESUMABLE_SNAPSHOT_STATUS)?.SnapshotIdentifier;
|
|
25484
|
+
snapshotId = existing.Snapshots?.find((s) => s.SnapshotIdentifier !== void 0 && matches.test(s.SnapshotIdentifier) && s.Status === RESUMABLE_SNAPSHOT_STATUS && startedAtOrAfter(s.SnapshotCreateTime, options.reuseStartedAtOrAfter))?.SnapshotIdentifier;
|
|
25465
25485
|
marker = existing.Marker;
|
|
25466
25486
|
if (marker === void 0) break;
|
|
25467
25487
|
}
|
|
@@ -25483,7 +25503,7 @@ async function createRedshiftFinalSnapshot(client, clusterId, logicalId, logger)
|
|
|
25483
25503
|
logger.debug(`Redshift cluster ${clusterId} no longer exists — skipping final snapshot for ${logicalId}`);
|
|
25484
25504
|
return null;
|
|
25485
25505
|
}
|
|
25486
|
-
if (errorNameOrMessageIncludes(createError, "InvalidClusterStateFault")) {
|
|
25506
|
+
if (options.refuseUnsnapshottableState !== true && errorNameOrMessageIncludes(createError, "InvalidClusterStateFault")) {
|
|
25487
25507
|
logger.info(`Redshift cluster ${clusterId} is not in a snapshottable state (likely already deleting) — skipping the final snapshot for ${logicalId}: ${errMsg(createError)}`);
|
|
25488
25508
|
return null;
|
|
25489
25509
|
}
|
|
@@ -25507,12 +25527,13 @@ async function createRedshiftFinalSnapshot(client, clusterId, logicalId, logger)
|
|
|
25507
25527
|
return (await client.send(new DescribeClusterSnapshotsCommand({ SnapshotIdentifier: snapshotId }))).Snapshots?.[0]?.Status;
|
|
25508
25528
|
},
|
|
25509
25529
|
isTransientNotFound: (e) => errorNameOrMessageIncludes(e, "ClusterSnapshotNotFoundFault"),
|
|
25510
|
-
logger
|
|
25530
|
+
logger,
|
|
25531
|
+
stop: options.stop
|
|
25511
25532
|
});
|
|
25512
|
-
await waitForRedshiftClusterSettled(client, clusterId, logicalId, logger);
|
|
25533
|
+
await waitForRedshiftClusterSettled(client, clusterId, logicalId, logger, options.stop);
|
|
25513
25534
|
return readySnapshotId;
|
|
25514
25535
|
}
|
|
25515
|
-
async function waitForRedshiftClusterSettled(client, clusterId, logicalId, logger) {
|
|
25536
|
+
async function waitForRedshiftClusterSettled(client, clusterId, logicalId, logger, stop) {
|
|
25516
25537
|
const deadline = Date.now() + REDSHIFT_CLUSTER_SETTLE_TIMEOUT_MS;
|
|
25517
25538
|
for (;;) {
|
|
25518
25539
|
let status;
|
|
@@ -25532,10 +25553,11 @@ async function waitForRedshiftClusterSettled(client, clusterId, logicalId, logge
|
|
|
25532
25553
|
return;
|
|
25533
25554
|
}
|
|
25534
25555
|
logger.debug(`Waiting for Redshift cluster ${clusterId} to settle (status: ${status})`);
|
|
25556
|
+
if (stop?.() === true) throw new CdkdError(`Stopped waiting for Redshift cluster ${clusterId} (${logicalId}) to settle after its final snapshot: the run was interrupted. The cluster was NOT deleted.`, "FINAL_SNAPSHOT_FAILED");
|
|
25535
25557
|
await finalSnapshotDelays.sleep(PRE_DELETE_SNAPSHOT_POLL_INTERVAL_MS);
|
|
25536
25558
|
}
|
|
25537
25559
|
}
|
|
25538
|
-
async function createReplicationGroupFinalSnapshot(client, replicationGroupId, logicalId, logger) {
|
|
25560
|
+
async function createReplicationGroupFinalSnapshot(client, replicationGroupId, logicalId, logger, options = {}) {
|
|
25539
25561
|
let snapshotSource;
|
|
25540
25562
|
try {
|
|
25541
25563
|
const group = (await client.send(new DescribeReplicationGroupsCommand({ ReplicationGroupId: replicationGroupId }))).ReplicationGroups?.[0];
|
|
@@ -25567,7 +25589,7 @@ async function createReplicationGroupFinalSnapshot(client, replicationGroupId, l
|
|
|
25567
25589
|
...snapshotSource,
|
|
25568
25590
|
...marker !== void 0 && { Marker: marker }
|
|
25569
25591
|
}));
|
|
25570
|
-
snapshotId = existing.Snapshots?.find((s) => s.SnapshotName !== void 0 && matches.test(s.SnapshotName) && s.SnapshotStatus === RESUMABLE_SNAPSHOT_STATUS)?.SnapshotName;
|
|
25592
|
+
snapshotId = existing.Snapshots?.find((s) => s.SnapshotName !== void 0 && matches.test(s.SnapshotName) && s.SnapshotStatus === RESUMABLE_SNAPSHOT_STATUS && startedAtOrAfter(s.NodeSnapshots?.[0]?.SnapshotCreateTime, options.reuseStartedAtOrAfter))?.SnapshotName;
|
|
25571
25593
|
marker = existing.Marker;
|
|
25572
25594
|
if (marker === void 0) break;
|
|
25573
25595
|
}
|
|
@@ -25589,7 +25611,7 @@ async function createReplicationGroupFinalSnapshot(client, replicationGroupId, l
|
|
|
25589
25611
|
logger.debug(`Replication group ${replicationGroupId} no longer exists — skipping final snapshot for ${logicalId}`);
|
|
25590
25612
|
return null;
|
|
25591
25613
|
}
|
|
25592
|
-
if (errorNameOrMessageIncludes(createError, "InvalidReplicationGroupStateFault")) {
|
|
25614
|
+
if (options.refuseUnsnapshottableState !== true && errorNameOrMessageIncludes(createError, "InvalidReplicationGroupStateFault")) {
|
|
25593
25615
|
logger.info(`Replication group ${replicationGroupId} is not in a snapshottable state (likely already deleting) — skipping the final snapshot for ${logicalId}: ${errMsg(createError)}`);
|
|
25594
25616
|
return null;
|
|
25595
25617
|
}
|
|
@@ -25609,7 +25631,8 @@ async function createReplicationGroupFinalSnapshot(client, replicationGroupId, l
|
|
|
25609
25631
|
return (await client.send(new DescribeSnapshotsCommand$1({ SnapshotName: snapshotId }))).Snapshots?.[0]?.SnapshotStatus;
|
|
25610
25632
|
},
|
|
25611
25633
|
isTransientNotFound: (e) => errorNameOrMessageIncludes(e, "SnapshotNotFoundFault"),
|
|
25612
|
-
logger
|
|
25634
|
+
logger,
|
|
25635
|
+
stop: options.stop
|
|
25613
25636
|
});
|
|
25614
25637
|
}
|
|
25615
25638
|
|
|
@@ -25654,7 +25677,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
|
|
|
25654
25677
|
if (resourceType !== "AWS::RDS::DBInstance") return false;
|
|
25655
25678
|
if (region === void 0 || region === "") return false;
|
|
25656
25679
|
const mask = input.mask ?? ((text) => text);
|
|
25657
|
-
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-
|
|
25680
|
+
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-CsjvBe-D.js").then((n) => n.l);
|
|
25658
25681
|
let reason;
|
|
25659
25682
|
try {
|
|
25660
25683
|
const live = await describeDBInstanceInRegion(physicalId, region);
|
|
@@ -25680,6 +25703,7 @@ function replacementDeleteContext(deps, updateReplacePolicy) {
|
|
|
25680
25703
|
};
|
|
25681
25704
|
}
|
|
25682
25705
|
async function prepareFinalSnapshotForDelete(deps, logicalId, resourceType, currentResource, policy, mask) {
|
|
25706
|
+
const attemptStartedAt = Date.now();
|
|
25683
25707
|
if (policy !== "Snapshot" || deps.options.skipFinalSnapshot === true) return void 0;
|
|
25684
25708
|
if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resourceType) && currentResource.provisionedBy !== "cc-api") return buildFinalSnapshotIdentifier(currentResource.physicalId, resourceType);
|
|
25685
25709
|
if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resourceType)) {
|
|
@@ -25694,14 +25718,26 @@ async function prepareFinalSnapshotForDelete(deps, logicalId, resourceType, curr
|
|
|
25694
25718
|
throw ccRoutedFinalSnapshotError(logicalId, resourceType, "--skip-final-snapshot");
|
|
25695
25719
|
}
|
|
25696
25720
|
if (PRE_DELETE_SNAPSHOT_TYPES.has(resourceType)) {
|
|
25697
|
-
await
|
|
25698
|
-
info: (message) => deps.logger.info(mask(message)),
|
|
25699
|
-
debug: (message) => deps.logger.debug(mask(message))
|
|
25700
|
-
});
|
|
25721
|
+
await takePreDeleteSnapshot(deps, logicalId, resourceType, currentResource.physicalId, mask, { attemptStartedAt });
|
|
25701
25722
|
return;
|
|
25702
25723
|
}
|
|
25703
25724
|
throw unsupportedFinalSnapshotError(logicalId, resourceType, "--skip-final-snapshot");
|
|
25704
25725
|
}
|
|
25726
|
+
async function prepareCreateFirstFinalSnapshot(deps, logicalId, resourceType, currentResource, policy, mask) {
|
|
25727
|
+
if (policy === "Snapshot" && deps.options.skipFinalSnapshot !== true && PRE_DELETE_SNAPSHOT_TYPES.has(resourceType)) return buildFinalSnapshotIdentifier(currentResource.physicalId, resourceType);
|
|
25728
|
+
return prepareFinalSnapshotForDelete(deps, logicalId, resourceType, currentResource, policy, mask);
|
|
25729
|
+
}
|
|
25730
|
+
function owesPreDeleteSnapshot(resourceType, finalSnapshotIdentifier) {
|
|
25731
|
+
return finalSnapshotIdentifier !== void 0 && PRE_DELETE_SNAPSHOT_TYPES.has(resourceType);
|
|
25732
|
+
}
|
|
25733
|
+
async function takePreDeleteSnapshot(deps, logicalId, resourceType, physicalId, mask, options) {
|
|
25734
|
+
const logger = mask === void 0 ? deps.logger : {
|
|
25735
|
+
info: (message) => deps.logger.info(mask(message)),
|
|
25736
|
+
debug: (message) => deps.logger.debug(mask(message))
|
|
25737
|
+
};
|
|
25738
|
+
const clients = deps.options.finalSnapshotClients ?? getAwsClients();
|
|
25739
|
+
await createPreDeleteFinalSnapshot(resourceType, physicalId, logicalId, clients, logger, options);
|
|
25740
|
+
}
|
|
25705
25741
|
|
|
25706
25742
|
// src/deployment/deploy-engine/masking/remedy.ts
|
|
25707
25743
|
function maskedRecordRemedyFor(reads, resources, causeScoped = false) {
|
|
@@ -26123,6 +26159,7 @@ function isRestorableBag(bag) {
|
|
|
26123
26159
|
return typeof bag === "object" && bag !== null && !Array.isArray(bag);
|
|
26124
26160
|
}
|
|
26125
26161
|
async function prepareCreateRollbackFinalSnapshot(op, provisionedBy, ctx, mask) {
|
|
26162
|
+
const attemptStartedAt = Date.now();
|
|
26126
26163
|
const { logicalId, resourceType } = op;
|
|
26127
26164
|
const physicalId = op.physicalId;
|
|
26128
26165
|
switch (finalSnapshotMechanism(resourceType, provisionedBy)) {
|
|
@@ -26131,7 +26168,7 @@ async function prepareCreateRollbackFinalSnapshot(op, provisionedBy, ctx, mask)
|
|
|
26131
26168
|
await createPreDeleteFinalSnapshot(resourceType, physicalId, logicalId, ctx.finalSnapshotClients ?? getAwsClients(), {
|
|
26132
26169
|
info: (message) => ctx.logger.info(mask(message)),
|
|
26133
26170
|
debug: (message) => ctx.logger.debug(mask(message))
|
|
26134
|
-
});
|
|
26171
|
+
}, { attemptStartedAt });
|
|
26135
26172
|
return;
|
|
26136
26173
|
case "refuse-cc-routed":
|
|
26137
26174
|
if (await ccRoutedInstanceTakesNoSnapshot({
|
|
@@ -27619,12 +27656,44 @@ function withoutSuperseded(state) {
|
|
|
27619
27656
|
}
|
|
27620
27657
|
async function deleteSupersededEntry(entry, input) {
|
|
27621
27658
|
const record = entry.state;
|
|
27659
|
+
const owesSnapshot = entry.skipFinalSnapshot !== true && entry.finalSnapshotIdentifier !== void 0 && PRE_DELETE_SNAPSHOT_TYPES.has(record.resourceType);
|
|
27660
|
+
if (owesSnapshot) {
|
|
27661
|
+
if (input.preDeleteSnapshot === void 0) return {
|
|
27662
|
+
kind: "failed",
|
|
27663
|
+
error: new CdkdError(`The final snapshot of ${entry.logicalId}'s superseded ${record.resourceType} could not be taken here. The resource was NOT deleted.`, "FINAL_SNAPSHOT_FAILED")
|
|
27664
|
+
};
|
|
27665
|
+
if (input.stop()) return {
|
|
27666
|
+
kind: "failed",
|
|
27667
|
+
error: new CdkdError(`The run was interrupted before the final snapshot of ${entry.logicalId}'s superseded ${record.resourceType}. The resource was NOT deleted.`, "FINAL_SNAPSHOT_FAILED")
|
|
27668
|
+
};
|
|
27669
|
+
try {
|
|
27670
|
+
await createPreDeleteFinalSnapshot(record.resourceType, record.physicalId, entry.logicalId, input.preDeleteSnapshot.clients, input.preDeleteSnapshot.logger, {
|
|
27671
|
+
refuseUnsnapshottableState: true,
|
|
27672
|
+
reuseStartedAtOrAfter: Number.isFinite(entry.supersededAt) ? entry.supersededAt : Date.now(),
|
|
27673
|
+
stop: input.stop
|
|
27674
|
+
});
|
|
27675
|
+
} catch (error) {
|
|
27676
|
+
return {
|
|
27677
|
+
kind: "failed",
|
|
27678
|
+
error
|
|
27679
|
+
};
|
|
27680
|
+
}
|
|
27681
|
+
}
|
|
27682
|
+
const { finalSnapshotIdentifier: _taken, ...snapshotTaken } = entry;
|
|
27683
|
+
const failed = (error) => owesSnapshot ? {
|
|
27684
|
+
kind: "failed",
|
|
27685
|
+
error,
|
|
27686
|
+
replacement: snapshotTaken
|
|
27687
|
+
} : {
|
|
27688
|
+
kind: "failed",
|
|
27689
|
+
error
|
|
27690
|
+
};
|
|
27622
27691
|
let result;
|
|
27623
27692
|
try {
|
|
27624
27693
|
const send = () => input.provider.delete(entry.logicalId, record.physicalId, record.resourceType, record.properties, {
|
|
27625
27694
|
expectedRegion: input.region,
|
|
27626
27695
|
...entry.forceDataDelete === true && { forceDataDelete: true },
|
|
27627
|
-
...entry.finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier: entry.finalSnapshotIdentifier },
|
|
27696
|
+
...entry.finalSnapshotIdentifier !== void 0 && !PRE_DELETE_SNAPSHOT_TYPES.has(record.resourceType) && { finalSnapshotIdentifier: entry.finalSnapshotIdentifier },
|
|
27628
27697
|
deletionPolicy: replacementDeletePolicy(entry.updateReplacePolicy),
|
|
27629
27698
|
...entry.skipFinalSnapshot === true && { skipFinalSnapshot: true },
|
|
27630
27699
|
...input.removeProtection === true && { removeProtection: true },
|
|
@@ -27637,10 +27706,7 @@ async function deleteSupersededEntry(entry, input) {
|
|
|
27637
27706
|
});
|
|
27638
27707
|
result = input.once === true ? await send() : await retryWhileInUse(send, input.stop);
|
|
27639
27708
|
} catch (error) {
|
|
27640
|
-
return
|
|
27641
|
-
kind: "failed",
|
|
27642
|
-
error
|
|
27643
|
-
};
|
|
27709
|
+
return failed(error);
|
|
27644
27710
|
}
|
|
27645
27711
|
reportDeleteGuards(result, {
|
|
27646
27712
|
physicalId: record.physicalId,
|
|
@@ -27677,7 +27743,7 @@ async function retryWhileInUse(send, stop) {
|
|
|
27677
27743
|
for (let attempt = 1;; attempt++) try {
|
|
27678
27744
|
return await send();
|
|
27679
27745
|
} catch (error) {
|
|
27680
|
-
if (attempt >= supersededInUseRetry.attempts || stop() || !isInUseRefusal(error)) throw error;
|
|
27746
|
+
if (attempt >= supersededInUseRetry.attempts || stop() || !isInUseRefusal(error) || isMarkedNonRetryable(error)) throw error;
|
|
27681
27747
|
await new Promise((resolve) => setTimeout(resolve, supersededInUseRetry.delayMs));
|
|
27682
27748
|
if (stop()) throw error;
|
|
27683
27749
|
}
|
|
@@ -27787,6 +27853,11 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
|
|
|
27787
27853
|
return;
|
|
27788
27854
|
}
|
|
27789
27855
|
if (!isRetry) deps.logger.info(safeMsg` Deleting old ${logicalId} (${displayPhysicalId(currentResource.resourceType, currentResource.physicalId)})...`);
|
|
27856
|
+
let sentSnapshotIdentifier = finalSnapshotIdentifier;
|
|
27857
|
+
if (owesPreDeleteSnapshot(oldResourceType, finalSnapshotIdentifier)) {
|
|
27858
|
+
if (!await takeOwedSnapshot(run, deps, logicalId, currentResource, secrets, isRetry)) return;
|
|
27859
|
+
sentSnapshotIdentifier = void 0;
|
|
27860
|
+
}
|
|
27790
27861
|
let deleteResult = void 0;
|
|
27791
27862
|
let deleteFailed = false;
|
|
27792
27863
|
const inlinePolicyClaimed = isStandaloneInlinePolicyType(oldResourceType) ? deps.inlinePolicyClaimedFor(oldResourceType, logicalId, deps.deployStateResources()) : void 0;
|
|
@@ -27794,7 +27865,7 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
|
|
|
27794
27865
|
const sendDelete = () => deleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, deleteProperties, {
|
|
27795
27866
|
expectedRegion: deps.stackRegion,
|
|
27796
27867
|
forceDataDelete: deps.options.forceStatefulRecreation === true,
|
|
27797
|
-
...
|
|
27868
|
+
...sentSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier: sentSnapshotIdentifier },
|
|
27798
27869
|
...replacementDeleteContext(deps, updateReplacePolicy),
|
|
27799
27870
|
recordedAttributes: currentResource.attributes,
|
|
27800
27871
|
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
@@ -27814,7 +27885,7 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
|
|
|
27814
27885
|
deps.logger.info(safeMsg` Could not delete old ${logicalId} (${currentResource.physicalId}) yet: ${deleteMsg}. Retrying after the rest of the deploy.`);
|
|
27815
27886
|
recordSupersededForDeferral(run, deps, logicalId, currentResource, {
|
|
27816
27887
|
updateReplacePolicy,
|
|
27817
|
-
finalSnapshotIdentifier,
|
|
27888
|
+
finalSnapshotIdentifier: sentSnapshotIdentifier,
|
|
27818
27889
|
noEchoDeleteValues,
|
|
27819
27890
|
inlinePolicyClaimed
|
|
27820
27891
|
});
|
|
@@ -27824,7 +27895,7 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
|
|
|
27824
27895
|
provisionedBy: deleteProvisionedBy,
|
|
27825
27896
|
failureMessage: deleteMsg,
|
|
27826
27897
|
...currentResource.dependencies !== void 0 && { dependencies: currentResource.dependencies },
|
|
27827
|
-
retry: () => deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType, currentResource, deleteProvider, deleteProperties,
|
|
27898
|
+
retry: () => deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType, currentResource, deleteProvider, deleteProperties, sentSnapshotIdentifier, updateReplacePolicy, secrets, deleteProvisionedBy, noEchoDeleteValues, true)
|
|
27828
27899
|
});
|
|
27829
27900
|
return;
|
|
27830
27901
|
}
|
|
@@ -27851,9 +27922,38 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
|
|
|
27851
27922
|
deps.logger.info(isRetry ? safeMsg` ${green("✓")} Old ${logicalId} (${currentResource.physicalId}) deleted` : safeMsg` ${green("✓")} Old resource deleted`);
|
|
27852
27923
|
}
|
|
27853
27924
|
}
|
|
27925
|
+
async function takeOwedSnapshot(run, deps, logicalId, oldResource, secrets, isRetry) {
|
|
27926
|
+
const recorded = isRetry ? run.supersededEntries.get(logicalId) : void 0;
|
|
27927
|
+
const tracking = () => recorded !== void 0 ? "kept" : oldIdHeldByAnotherRecord(deps, logicalId, oldResource) ? "held" : "untracked";
|
|
27928
|
+
if (isRetry && deps.interrupted()) {
|
|
27929
|
+
deps.logger.warn(safeMsg` ⚠ Old ${logicalId} (${oldResource.physicalId}) was not deleted: the deploy was interrupted before its final snapshot (UpdateReplacePolicy: Snapshot). ` + (tracking() === "kept" ? safeMsg`${SUPERSEDED_KEPT_REMEDY}.` : tracking() === "held" ? "Another resource of this stack records the same physical id." : "Delete it manually once you have a snapshot; it is no longer tracked in state."));
|
|
27930
|
+
return false;
|
|
27931
|
+
}
|
|
27932
|
+
const snapshotMask = createUnionSecretMasker([secrets, secretNameBagFor(deps.secretsRun(), logicalId)]);
|
|
27933
|
+
try {
|
|
27934
|
+
await takePreDeleteSnapshot(deps, logicalId, oldResource.resourceType, oldResource.physicalId, snapshotMask, {
|
|
27935
|
+
refuseUnsnapshottableState: true,
|
|
27936
|
+
reuseStartedAtOrAfter: reuseBound(recorded),
|
|
27937
|
+
...isRetry && { stop: () => deps.interrupted() }
|
|
27938
|
+
});
|
|
27939
|
+
} catch (snapshotError) {
|
|
27940
|
+
if (!isRetry) run.replacedOldMaySurvive.set(logicalId, "kept");
|
|
27941
|
+
deps.logger.warn(safeMsg` ⚠ Final snapshot for old ${logicalId} (${oldResource.physicalId}) ` + safeMsg`failed: ${asIsMessage(snapshotMask(describeAwsFailure(snapshotError).detail))}. ` + `The old resource was NOT deleted (UpdateReplacePolicy: Snapshot). ` + (tracking() === "kept" ? safeMsg`${SUPERSEDED_KEPT_REMEDY}.` : tracking() === "held" ? "Another resource of this stack records the same physical id." : "Delete it manually once you have a snapshot; it is no longer tracked in state."));
|
|
27942
|
+
return false;
|
|
27943
|
+
}
|
|
27944
|
+
if (recorded?.finalSnapshotIdentifier !== void 0 && run.supersededHost !== void 0) {
|
|
27945
|
+
const { finalSnapshotIdentifier: _taken, ...taken } = recorded;
|
|
27946
|
+
addSuperseded(run.supersededHost, taken);
|
|
27947
|
+
run.supersededEntries.set(logicalId, taken);
|
|
27948
|
+
}
|
|
27949
|
+
return true;
|
|
27950
|
+
}
|
|
27951
|
+
function reuseBound(recorded) {
|
|
27952
|
+
return recorded !== void 0 && Number.isFinite(recorded.supersededAt) ? recorded.supersededAt : Date.now();
|
|
27953
|
+
}
|
|
27854
27954
|
function deferToCleanupPhase(run, deps, logicalId, oldResource, updateReplacePolicy, context) {
|
|
27855
27955
|
if (run.deferredReplacedDeletes === void 0) return false;
|
|
27856
|
-
if (updateReplacePolicy === "Snapshot" && deps.options.skipFinalSnapshot !== true && !ATOMIC_FINAL_SNAPSHOT_TYPES.has(oldResource.resourceType)) return false;
|
|
27956
|
+
if (updateReplacePolicy === "Snapshot" && deps.options.skipFinalSnapshot !== true && !ATOMIC_FINAL_SNAPSHOT_TYPES.has(oldResource.resourceType) && !owesPreDeleteSnapshot(oldResource.resourceType, context.finalSnapshotIdentifier)) return false;
|
|
27857
27957
|
if (isInlinePolicyType(oldResource.resourceType)) return false;
|
|
27858
27958
|
if (oldIdHeldByAnotherRecord(deps, logicalId, oldResource)) return false;
|
|
27859
27959
|
recordSupersededForDeferral(run, deps, logicalId, oldResource, {
|
|
@@ -27892,7 +27992,7 @@ function recordSupersededForDeferral(run, deps, logicalId, oldResource, context)
|
|
|
27892
27992
|
async function createFirstThenDeleteOld(run, deps, input) {
|
|
27893
27993
|
const { logicalId, resourceType, currentResource, secrets } = input;
|
|
27894
27994
|
const retainOld = input.retainOld === true;
|
|
27895
|
-
const finalSnapshotIdentifier = retainOld ? void 0 : await
|
|
27995
|
+
const finalSnapshotIdentifier = retainOld ? void 0 : await prepareCreateFirstFinalSnapshot(deps, logicalId, input.oldResourceType, currentResource, input.snapshotPolicy, createUnionSecretMasker([secrets, secretNameBagFor(deps.secretsRun(), logicalId)]));
|
|
27896
27996
|
deps.logger.info(retainOld ? safeMsg` ${logicalId}'s new name differs from the one the old resource holds — creating the new resource (the old one is retained)...` : safeMsg` ${logicalId}'s new name differs from the one the old resource holds — creating the new resource before deleting the old one...`);
|
|
27897
27997
|
const maskName = maskRewrittenSentName(resourceType, input.createProps, logicalId, (text) => maskSecretsInText(text, secrets));
|
|
27898
27998
|
let createResult;
|
|
@@ -38560,7 +38660,14 @@ async function retryCarriedSupersededResources(engine, host, carried, resources,
|
|
|
38560
38660
|
region: engine.stackRegion,
|
|
38561
38661
|
maskSecrets: createSecretMasker(bag),
|
|
38562
38662
|
stop: () => engine.interrupted,
|
|
38563
|
-
once: options.waitInUse !== true
|
|
38663
|
+
once: options.waitInUse !== true,
|
|
38664
|
+
preDeleteSnapshot: {
|
|
38665
|
+
clients: engine.options.finalSnapshotClients ?? getAwsClients(),
|
|
38666
|
+
logger: {
|
|
38667
|
+
info: (message) => engine.logger.info(maskSecretsInText(message, bag)),
|
|
38668
|
+
debug: (message) => engine.logger.debug(maskSecretsInText(message, bag))
|
|
38669
|
+
}
|
|
38670
|
+
}
|
|
38564
38671
|
});
|
|
38565
38672
|
} catch (error) {
|
|
38566
38673
|
outcome = {
|
|
@@ -38569,6 +38676,10 @@ async function retryCarriedSupersededResources(engine, host, carried, resources,
|
|
|
38569
38676
|
};
|
|
38570
38677
|
}
|
|
38571
38678
|
if (outcome.kind === "failed") {
|
|
38679
|
+
if (outcome.replacement !== void 0) {
|
|
38680
|
+
addSuperseded(host, outcome.replacement);
|
|
38681
|
+
changed = true;
|
|
38682
|
+
}
|
|
38572
38683
|
const detail = maskSecretsInText(describeAwsFailure(outcome.error).detail, bag);
|
|
38573
38684
|
engine.logger.warn(safeMsg` ⚠ Failed to delete old resource ${logicalId} (${physicalId}): ${detail}. ${SUPERSEDED_KEPT_REMEDY}.`);
|
|
38574
38685
|
return;
|
|
@@ -38665,9 +38776,10 @@ async function runQueuedNestedCleanup(engine, stackName, host, pass, context) {
|
|
|
38665
38776
|
updatePartial: 0
|
|
38666
38777
|
};
|
|
38667
38778
|
await pass(stillOwed, counts);
|
|
38668
|
-
const
|
|
38669
|
-
const dropped = before.filter((entry) => !
|
|
38670
|
-
const
|
|
38779
|
+
const after = supersededResourcesOf(host);
|
|
38780
|
+
const dropped = before.filter((entry) => !after.some((row) => sameSuperseded(row, entry)));
|
|
38781
|
+
const replaced = after.filter((row) => !before.includes(row) && before.some((entry) => sameSuperseded(row, entry)));
|
|
38782
|
+
const unrecorded = dropped.length > 0 || replaced.length > 0 ? await persistDropped(engine, stackName, read, dropped, replaced) : 0;
|
|
38671
38783
|
return { updatePartial: counts.updatePartial + unrecorded };
|
|
38672
38784
|
} finally {
|
|
38673
38785
|
try {
|
|
@@ -38684,14 +38796,22 @@ function sameSuperseded(row, entry) {
|
|
|
38684
38796
|
return row.logicalId === entry.logicalId && row.state.physicalId === entry.state.physicalId && row.state.resourceType === entry.state.resourceType;
|
|
38685
38797
|
}
|
|
38686
38798
|
const PERSIST_DROPPED_ATTEMPTS = 4;
|
|
38687
|
-
async function persistDropped(engine, stackName, fresh, dropped) {
|
|
38799
|
+
async function persistDropped(engine, stackName, fresh, dropped, replaced = []) {
|
|
38688
38800
|
const region = engine.stackRegion;
|
|
38689
38801
|
let current = fresh;
|
|
38690
38802
|
for (let attempt = 1;; attempt++) {
|
|
38691
38803
|
const rows = current.state.supersededResources;
|
|
38692
38804
|
if (!Array.isArray(rows)) return 0;
|
|
38693
|
-
|
|
38694
|
-
|
|
38805
|
+
let changed = false;
|
|
38806
|
+
const kept = rows.filter((row) => !isSupersededResourceRecord(row) || !dropped.some((entry) => sameSuperseded(row, entry))).map((row) => {
|
|
38807
|
+
if (!isSupersededResourceRecord(row)) return row;
|
|
38808
|
+
const replacement = replaced.find((entry) => sameSuperseded(row, entry));
|
|
38809
|
+
if (replacement === void 0 || replacement.finalSnapshotIdentifier !== void 0 || row.finalSnapshotIdentifier === void 0) return row;
|
|
38810
|
+
changed = true;
|
|
38811
|
+
const { finalSnapshotIdentifier: _taken, ...rest } = row;
|
|
38812
|
+
return rest;
|
|
38813
|
+
});
|
|
38814
|
+
if (kept.length === rows.length && !changed) return 0;
|
|
38695
38815
|
const { supersededResources: _rows, ...rest } = current.state;
|
|
38696
38816
|
const next = {
|
|
38697
38817
|
...rest,
|
|
@@ -46737,7 +46857,7 @@ async function replaceCreateFirst(engine, { currentResource, equalIdIsSameResour
|
|
|
46737
46857
|
let cleanupFinalSnapshotId;
|
|
46738
46858
|
let snapshotBlockedDelete = false;
|
|
46739
46859
|
try {
|
|
46740
|
-
cleanupFinalSnapshotId = await
|
|
46860
|
+
cleanupFinalSnapshotId = await prepareCreateFirstFinalSnapshot(engine.replacementDeps(), logicalId, oldResourceType, currentResource, updateReplacePolicy, createUnionSecretMasker([updateSecrets, secretNameBagFor(engine.secretsRun, logicalId)]));
|
|
46741
46861
|
} catch (snapshotError) {
|
|
46742
46862
|
if (snapshotError instanceof CdkdError && snapshotError.code === "FINAL_SNAPSHOT_UNSUPPORTED") throw snapshotError;
|
|
46743
46863
|
snapshotBlockedDelete = true;
|
|
@@ -50871,4 +50991,4 @@ var DeployEngine = class {
|
|
|
50871
50991
|
};
|
|
50872
50992
|
|
|
50873
50993
|
export { planVectorIndexUpdates as $, stackIdTailOf as $a, S3StateBackend as $c, ATOMIC_FINAL_SNAPSHOT_TYPES as $i, getBootstrapMarkerKey as $l, sgProtocolKey as $n, keepsSecretReferenceToken as $o, displayTextOrWithheld as $r, unreadableResourceEntries as $s, displacedOpClause as $t, recordedProtectionEvidence as A, customResourceStackName as Aa, refuseMalformedResourcesForDestroy as Ac, cyan as Ai, synthesizedStacks as Al, constructPathOf as An, isUnboundTemplateParameter as Ao, withPreviousPolicies as Ar, malformedOrphanRecordsRefusalMessage as As, hasCdkAutoDeleteTag as At, declaredStreamTagsMember as B, resolvedResourceTimeoutMs as Ba, hasReadableOutputs as Bc, createReadOnlyAttributeHealerFactory as Bi, rewriteTemplateAssetReferences as Bl, changedReferenceReason as Bn, promoteInPlaceAttributeDependents as Bo, nameGenerationHighWaterOf as Br, isReadableResourceEntry as Bs, updateRefactorMarker as Bt, pendingMovesOutOf as C, responsePresignClient as Ca, repairMalformedOutputsForReadOnly as Cc, isSupersededResourceRecord as Ci, SSM_PARAMETER_VALUE_PREFIX as Cl, crossStackReadsForPartialSave as Cn, regionLessSecretName as Co, planFailedOps as Cr, parameterInputsFor as Cs, TABLE_INDEX_NOUN as Ct, findServiceTokenRefusals as D, getCurrentResourceSecrets as Da, malformedResourcesWarning as Dc, supersededResourcesOf as Di, purgeNoncurrentKeyVersions as Dl, noEchoMacParametersOf as Dn, s3BucketRegionalDomainName as Do, IMPLICIT_DELETE_DEPENDENCIES as Dr, maskedPropertyFingerprint as Ds, waitForIndexesSettled as Dt, deferredServiceTokenWarning as E, isCustomResourceType as Ea, malformedRenderedContainersWarning as Ec, supersededHolderOf as Ei, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as El, noEchoMacBinding as En, s3BucketDualStackDomainName as Eo, replacementNeverSwapped as Er, declaresNoEcho as Es, relayedIndexBusyDelete as Et, readProtection as F, setLocalCustomResourceRuntimeEnabled as Fa, accountArgs as Fc, noEchoAttributeNamesOf as Fi, isDefaultBootstrapBucketName as Fl, movedToHint as Fn, refStateLookupFromResource as Fo, redactedDeleteAddressSkip as Fr, refuseMalformedOrphanRecordsForDestroy as Fs, readRefactorMarkerOnce as Ft, streamMemberRefusals as G, deleteLeftInPlace as Ga, unwrittenCreateOnlyReplacement as Gc, orphanRecordsPrintingBag as Gi, resolveFileAssetSourcePath as Gl, parseMappingFile as Gn, recordedReferenceRegions as Go, withNameGenerationReached as Gr, refuseMalformedResourceAttributesForOrphan as Gs, formatResourceLine as Gt, reverseMapStreamPolicy as H, RollbackInlinePolicyWriters as Ha, findActionableSdkUnwired as Hc, journaledOrphanPrintingBag as Hi, getDockerImageBySourceHash as Hl, isPairableType as Hn, outputReferenceProvenanceOf as Ho, retiredAfterRollback as Hr, malformedLocalResourcesWarning as Hs, readsOnlyNoEchoParameters as Ht, DynamoDBGlobalTableProvider as I, withCustomResourceStack as Ia, withheldAccountClause as Ic, noEchoComparisonForTemplate as Ii, isDefaultBootstrapRepoName as Il, rollbackOrphanIds as In, lacksRecordedRefArn as Io, segmentCleanupOptions as Ir, refuseMalformedOrphansForOrphan as Is, refactorMarkerMovesOf as It, isTtlAlreadyDisabled as J, isWaitAbandonedError as Ja, withoutUnwrittenSdkUnwiredProperties as Jc, secretNamedAttributeNamesOf as Ji, AssetModeResolver as Jl, referencedLogicalIds as Jn, getAccountInfo as Jo, computeParameterTaint as Jr, refuseMalformedResourceEntriesForDestroy as Js, lookupEachName as Jt, streamPolicyMatchesDeclared as K, deleteSkipReason as Ka, withoutAcceptedSdkUnwiredProperties as Kc, secretNamePrintingBag as Ki, warnAbsoluteAssetPath as Kl, propertiesChangedReason as Kn, referenceProvenanceOf as Ko, getCurrentProducerRegions as Kr, refuseMalformedResourceEntries as Ks, chunks as Kt, STREAM_POLICY_KEY as L, waitForLambdaFunctionActive as La, STATE_RESOURCES_MALFORMED as Lc, noEchoExactEchoLeavesOf as Li, loadPublishableAssetManifest as Ll, withMovedTo as Ln, lacksRecordedTableArn as Lo, removeProtectionTypeList as Lr, repairMalformedOrphanRecordsForReadOnly as Ls, refactorMarkerRefusalMessage as Lt, PROTECTION_PROPERTY_BY_TYPE as M, customResourcesRunWithoutApp as Ma, refuseMalformedState as Mc, green as Mi, createAssetRedirectResolver as Ml, formatDestructiveChange as Mn, AWS_NO_VALUE as Mo, REDACTED_DELETE_ADDRESS_SKIP_REASON as Mr, malformedOrphanRowsKeptWarning as Ms, keptForRetainedRecord as Mt, isProtectionValueActive as N, localCustomResourceCommand as Na, repairMalformedResourcesForReadOnly as Nc, red as Ni, createLazyAssetModeContext as Nl, findRefactorHints as Nn, cfnRefValueFromPhysicalId as No, isRedactedRecordedValue as Nr, previewableOrphanRecords as Ns, recordRetainedForReadoption as Nt, serviceTokenBlockingReason as O, withPrintingSecrets as Oa, malformedStateRefusalMessage as Oc, withoutSuperseded as Oi, decodeListingKey as Ol, noEchoMacVerdict as On, s3BucketWebsiteUrl as Oo, computeImplicitDeleteEdges as Or, deployRefusesOrphanRowsReason as Os, ECR_AUTO_DELETE_IMAGES_TAG as Ot, perType as P, localCustomResourceRuntimeActive as Pa, JSON_LISTING_HOLE_VALUE as Pc, yellow as Pi, flattenAssetPlaceholders as Pl, hintSidesOf as Pn, isStalePlaceholderArnAttribute as Po, redactedDeleteAddressFields as Pr, refuseMalformedOrphanRecords as Ps, readRefactorMarker as Pt, sendTtlWaitingOutRateLimit as Q, poisonRenderedSpellingsCollidingIn as Qa, TemplateParser as Qc, extractDeploymentEventError as Qi, isCrossRegionRedirect as Ql, cfnIngressPortValue as Qn, carriesDynamicReference as Qo, WITHHELD_NAME_DISPLAY as Qr, repairMalformedResourceEntriesForReadOnly as Qs, NESTED_PENDING_PARENT_REASON as Qt, STREAM_TAGS_KEY as R, CloudControlProvider as Ra, UNREADABLE_RESOURCES_MAP_ROW as Rc, noEchoParameterNamesOf as Ri, redirectDockerAsset as Rl, changedReferenceInDiff as Rn, parseWebACLArn as Ro, orphanNeedsIdentity as Rr, unpreviewableOrphanRecords as Rs, refuseRefactorMarker as Rt, hasPendingMovesOut as S, customResourceResponseExpirationWarning as Sa, refuseMalformedOutputsForDestroy as Sc, holdsSupersededResources as Si, templateIdentity as Sl, DeploymentEventsStore as Sn, producerRegionsFromState as So, isReplacementOrphan as Sr, movedMaskedProperties as Ss, INDEX_SETTLE_POLL_INTERVAL_MS as St, refusePendingMovesOut as T, readsNoEchoDeleteValues as Ta, refuseDivergentRecordRegionForDestroy as Tc, supersededHeldByOtherTypeWarning as Ti, ssmResolvedValueType as Tl, createNoEchoValueMacs as Tn, s3BucketDomainName as To, recordUnderIdIsNotOwn as Tr, passedParameterClassesOf as Ts, maskedLogger as Tt, streamDeclaresPolicy as U, UNSPECIFIED_SKIP_REASON as Ua, findHandledUnwrittenCreateOnly as Uc, maskEventTextWithBoundBags as Ui, isCfnTemplateAssetPath as Ul, looselyEqual as Un, recordedOutputReferenceRegions as Uo, retiredNameGenerationsAfter as Ur, malformedResourceEntriesWarning as Us, getPriorAttempts as Ut, planStreamMemberOps as V, setResolvedResourceTimeouts as Va, hasReadableResources as Vc, completedReplayEntries as Vi, AssetManifestLoader as Vl, differingRemedy as Vn, keepHeldTokenProvenance as Vo, nameScopeOf as Vr, malformedLocalResourceEntriesWarning as Vs, macWriteOnlyKeys as Vt, streamDeclaresTags as W, deleteIndeterminateGuards as Wa, findSdkUnwiredProperties as Wc, namingSecretsWithRecordedNoEcho as Wi, parseAssetManifestBody as Wl, mappingPairs as Wn, recordedProvenanceOf as Wo, retiredNameGenerationsLeaving as Wr, malformedScrubResourceEntriesRefusalMessage as Ws, markRefusedBeforeApplying as Wt, planTimeToLive as X, isSelectOutOfBounds as Xa, hasNoCloudControlHandlers as Xc, stateSecretNameNeedles as Xi, buildDenyExternalAccessPolicy as Xl, stripSiblingOwnedSgRules as Xn, carriesFetchableDynamicReference as Xo, reachableDivergentParameters as Xr, refuseMalformedResourceEntriesForImportSave as Xs, pendingRequestCount as Xt, isTtlRateLimited as Y, IntrinsicFunctionResolver as Ya, NO_CC_HANDLERS_REASON as Yc, secretNamedRecordNeedles as Yi, ensureAssetStorage as Yl, siblingOwnedSgRuleIdentities as Yn, isImpossibleEmptyStoredAttribute as Yo, namesAnyDeclaredParameter as Yr, refuseMalformedResourceEntriesForImport as Ys, withApiLimit as Yt, readTtlSpec as Z, isAlwaysLiveAttribute as Za, PROPERTY_COVERAGE_BY_TYPE as Zc, storedSecretNameNeedles as Zi, assertAssetBucketRegion as Zl, withoutSiblingOwnedSgRules as Zn, isNamelessDynamicReferenceError as Zo, resourcesNamingDeclaredParameter as Zr, refuseMalformedResourceEntriesForOrphan as Zs, resolvePendingCloudControlRequests as Zt, conditionFingerprint as _, ccBrokenReason as _a, malformedLocalOutputsWarning as _c, destroyStackRecordsView as _i, missingStateBucketRemedy as _l, sameJournaledOrphans as _n, applyCallerIdentityCredentials as _o, acquireIdempotencyToken as _r, toCfnInteger as _s, compensateRemovedDeletionProtection as _t, renderAssemblyPathEscape as _u, scanActiveConsumers as a, refusesFinalSnapshot as aa, refuseMalformedResourcePropertiesForExport as ac, exportNameNoEchoParameters as ai, rebuildClientForBucketRegion as al, revertNestedChildFromJournal as an, withSecretPhysicalIdsMaskedInState as ao, settleUnsettledPrevious as ar, replacementSidesForLog as as, contributorInsightsRefusals as at, getCdkdAssetBucketName as au, readRecordedConditionVerdicts as b, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ba, refuseMalformedNestedChildOutputs as bc, replacedDeleteFailureVerdict as bi, listNestedTemplateRows as bl, planOrphanAdoption as bn, classifyRecordedSecretRegion as bo, demoteSupersededOrphans as br, inputFingerprinter as bs, resolveDynamoDbDeleteBudgetMs as bt, resolveBucketRegion as bu, nestedSsmNameDeferredNote as c, buildFinalSnapshotIdentifier as ca, UNREADABLE_ORPHANS_CONTAINER_ROW as cc, noEchoParameterValueSeed as ci, applyCrossPrefixScan as cl, collectNestedChildUnaddressed as cn, refuseUnreadableCdkCrossAccountRefs as co, equalModuloMarkedMask as cr, isPlainReferenceTo as cs, planIndexContributorInsightsOps as ct, hasOwnKey as cu, slashedSsmNameHealAdoptedNote as d, collectPrincipalsAttachingPolicy as da, malformedOrphansWarning as dc, isExportAliasCollision as di, isNotImplemented as dl, deleteJournaledOrphans as dn, assertSendableRoleArn as do, updatePartialMessage as dr, isStatefulRecreateTargetForReplace as ds, reverseMapTableContributorInsights as dt, ownValue as du, PRE_DELETE_SNAPSHOT_TYPES as ea, malformedDriftResourcePropertiesWarning as ec, exportAliasCollisionScrubWarning as ei, splitImportedOps as el, displacedPhysicalIdShown as en, isSettledInstanceState as eo, canonicalizeIpProtocolValue as er, withSharedDrainBudget as es, readbackVectorIndexes as et, parseBootstrapMarker as eu, slashedSsmNameHealNote as f, stripSiblingOwnedMembers as fa, refuseMalformedOrphans as fc, bindingSkippedOutputs as fi, stackInstanceIdOf as fl, dropFailedCommands as fn, explicitRoleArnOrThrow as fo, updatePartialReason as fr, isStatefulRecreateTargetSync as fs, stripIndexContributorInsights as ft, absoluteAssemblyPathEscape as fu, makeCanonicalizePropertiesFn as g, ProviderRegistry as ga, malformedExportSourceWarning as gc, awaitInFlightSibling as gi, stringifyValue as gl, loadJournaledOrphans as gn, AWS_CREDENTIAL_ENV_KEYS as go, withCreateTokenLedger as gr, isWarmThroughputDecrease as gs, beginDeleteWait as gt, namesTheSameDirectory as gu, inheritedProvenanceForChildDiff as h, CC_BROKEN_REASON as ha, malformedExportNamesWarning as hc, maskingRetryLogger as hi, isSensitiveAttributeName as hl, journaledOrphanLines as hn, sendableAssumeRoleCommand as ho, reserveStackCreateToken as hr, coerceWarmThroughput as hs, DYNAMODB_DELETE_POLL_COST_MS as ht, displayAssemblyPath as hu, mergeNoChangeOutputs as i, isFinalSnapshotError as ia, refuseMalformedResourcePropertiesForDrift as ic, carriedExportAliasExposure as ii, hasUnverifiableParameterRefusal as il, recordDisplacedSkips as in, secretSegmentsOfState as io, recordAfterRollbackUpdate as ir, markNewValueKnownAfterDeploy as is, CONTRIBUTOR_INSIGHTS_KEY as it, BOOTSTRAP_MARKER_PREFIX as iu, recordedProtectionNote as j, customResourcesFailedWithoutApp as ja, refuseMalformedResourcesForExport as jc, gray as ji, buildAssetRedirectMap as jl, findDestructiveChanges as jn, parameterTypeMayLoseSecretIdentity as jo, findNestedStackTypeChanges as jr, malformedOrphanRecordsWarning as js, isTruthyCfnBoolean as jt, diffSecurity as k, NO_LOCAL_CUSTOM_RESOURCES_FLAG as ka, refuseMalformedResourcesForDeploy as kc, bold as ki, rememberSynthesizedStacks as kl, noEchoValueMacsOf as kn, coerceParameterTypedValue as ko, resolveReplacementOldType as kr, isReadableOrphanRecord as ks, S3_AUTO_DELETE_OBJECTS_TAG as kt, nestedSsmNameRowNote as l, collectGroupsAddedBySiblings as la, hasReadableOrphans as lc, collectDeclaredOutputNames as li, crossPrefixDeniedWarning as ll, getCurrentNestedStackContext as ln, applyRoleArnIfSet as lo, equalModuloMask as lr, shownType as ls, readContributorInsightsSpec as lt, hasPlainPrototype as lu, crossStackOutputProvenanceSource as m, withoutSiblingOwned as ma, repairMalformedOrphansForReadOnly as mc, DEFAULT_RESOURCE_WARN_AFTER_MS as mi, isSecretValuedAttribute as ml, isHandledOrphan as mn, parseIamRoleArn as mo, ledgerForStack as mr, WARM_THROUGHPUT_MEMBERS as ms, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as mt, describeFileReadFailure as mu, isSecretBearingReferenceString as n, ccRoutedInstanceTakesNoSnapshot as na, refuseMalformedResourceProperties as nc, secretBearingStateKeyWarning as ni, readOnlyStateVersionOf as nl, getNestedRevertRun as nn, maskedSecretSegment as no, replayRollback as nr, INTRINSIC_KEYS as ns, vectorIndexesSettled as nt, validateAssetBucketName as nu, inRunStackKey as o, unsupportedFinalSnapshotError as oa, refuseMalformedResourcePropertiesForOrphan as oc, exportNameSecretExposure as oi, CrossPrefixReadError as ol, revertedNestedRowIds as on, resolveDynamicReferences as oo, withUnprovenUnsettled as or, siblingsOf as os, indexDeclaresContributorInsights as ot, getCdkdContainerRepoName as ou, slashedSsmNameHealPendingNote as p, withoutSiblingAttachedArns as pa, refuseMalformedOrphansForDestroy as pc, DEFAULT_RESOURCE_TIMEOUT_MS as pi, withStackInstanceIdWithheld as pl, dropFailedHint as pn, isIamRoleArn as po, earliestDefined as pr, renderStatefulReason as ps, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as pt, assemblyPathEscape as pu, streamTagsMatchDeclared as q, withIndeterminateGuard as qa, withoutSdkUnwiredProperties as qc, secretNamePrintingBags as qi, warnWholeAssemblyAsSource as ql, proposeRenames as qn, referenceTokensIn as qo, inheritProducerRegions as qr, refuseMalformedResourceEntriesForDeploy as qs, isAccessDeniedError as qt, keptWholeReasonText as r, effectiveDeletionPolicy as ra, refuseMalformedResourcePropertiesForDestroy as rc, secretSafeKeyDisplay as ri, hasReasonlessBaselineRefusal as rl, nestedChildStackName as rn, secretPhysicalIdSegment as ro, DELETED_RESOURCE_REMEDY as rr, containsIntrinsic as rs, vectorIndexesShapeDetail as rt, validateContainerRepoName as ru, checkNestedSsmNames as s, createPreDeleteFinalSnapshot as sa, repairMalformedResourcePropertiesForReadOnly as sc, isWholeDynamicReferenceValue as si, CrossPrefixScanCache as sl, withNestedRevertRun as sn, producerLookupOver as so, calculateResourceDrift as sr, findReplacedReadersOfRecreateTargets as ss, planContributorInsightsOp as st, defineOwnKey as su, DeployEngine as t, ccRoutedFinalSnapshotError as ta, malformedResourcePropertiesWarning as tc, secretBearing as ti, isKnownTokenFreeState as tl, dropSettledNestedJournals as tn, APPSYNC_APIKEY_ARN_RESOURCE_PATH as to, replayFailedOperations as tr, namesRecreatedParent as ts, vectorIndexesForCreate as tt, readBootstrapMarkerBody as tu, healSlashedSsmParameterNames as u, collectManagedPolicyArnsAttachedBySiblings as ua, malformedOrphansRefusalMessage as uc, collectPublishedOutputNames as ui, isAccessDenied$1 as ul, withNestedStackContext as un, assertFlagRoleArn as uo, undeclaredEmptyObservedKeys as ur, MULTI_REGION_RECREATE_BLOCKED_TYPES as us, reverseMapIndexContributorInsights as ut, nullPrototypeRecord as uu, conditionInputsFrom as v, isCustomResource as va, malformedOutputsRefusalMessage as vc, getStackRecords as vi, findNestedTemplateTreeDefect as vl, makeForeignHolderScan as vn, callerEnvCredentials as vo, planRollback as vr, toFiniteNumber as vs, deleteBudgetKey as vt, resolveAssemblyPath as vu, pendingMovesRefusalMessage as w, TemplateNoEchoReresolver as wa, STATE_REGION_DIVERGED as wc, supersededAfterRollback as wi, isListParameterType as wl, NOECHO_MAC_KEY_ALIAS as wn, s3BucketArn as wo, recheckFailedPlan as wr, maskedInputProof as ws, deleteTableWithIndexBusyRetry as wt, childTemplateLoader as x, applyCustomResourceResponseExpiration as xa, refuseMalformedOutputs as xc, deleteSupersededEntry as xi, renderNestedTemplateTreeDefect as xl, DeploymentEventsReader as xn, classifyReplaySecretRegion as xo, isJournaledOrphan as xr, maskedPropertyFingerprintsOf as xs, DELETE_INDEX_WAIT_PROCEED_NOTE as xt, parentSuppliedValues as y, wouldReturnToSdkProvider as ya, malformedOutputsWarning as yc, withStackRecords as yi, isAbsoluteAssetPath as yl, makeSiblingClaimReader as yn, envCredentialsAreAssumedRole as yo, seedsDeleteFirstGuard as yr, tryGetTopLevelWriteOnlyProperties as ys, resolveDynamoDbDeleteBudgetClock as yt, clearBucketRegionCache as yu, declaredStreamPolicyMember as z, waitForGoneAfterDelete as za, displayLogicalId as zc, withAttemptedItemsMasked as zi, redirectFileAsset as zl, changedReferencePath as zn, extractGetAttRefs as zo, nameGenerationCarriedFrom as zr, unreadableOrphanRecords as zs, sameMove as zt };
|
|
50874
|
-
//# sourceMappingURL=deploy-engine-
|
|
50994
|
+
//# sourceMappingURL=deploy-engine-BVpckkRS.js.map
|