@cdkd/cli 0.373.5 → 0.373.6
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-D2ziUucm.js → ambient-client-defaults-BqOg0I6e.js} +3 -3
- package/dist/{ambient-client-defaults-D2ziUucm.js.map → ambient-client-defaults-BqOg0I6e.js.map} +1 -1
- package/dist/{asg-provider-DXerSmY8.js → asg-provider-DkhAcikX.js} +31 -14
- package/dist/{asg-provider-DXerSmY8.js.map → asg-provider-DkhAcikX.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-Z0UesGu4.js → custom-resource-runtime-CLjuWVBC.js} +6 -6
- package/dist/{custom-resource-runtime-Z0UesGu4.js.map → custom-resource-runtime-CLjuWVBC.js.map} +1 -1
- package/dist/{db-associated-roles-BVE6a5hy.js → db-associated-roles-CCgL0Loo.js} +2 -2
- package/dist/{db-associated-roles-BVE6a5hy.js.map → db-associated-roles-CCgL0Loo.js.map} +1 -1
- package/dist/{delete-started-C-Fplb9I.js → delete-started-C9z4Yf_c.js} +4 -4
- package/dist/{delete-started-C-Fplb9I.js.map → delete-started-C9z4Yf_c.js.map} +1 -1
- package/dist/{deploy-engine-7gPM_z0r.js → deploy-engine-DNEAZMj7.js} +692 -278
- package/dist/deploy-engine-DNEAZMj7.js.map +1 -0
- package/dist/{ec2-termination-protection-C3bNJVAK.js → ec2-termination-protection-zaan5pi0.js} +3 -3
- package/dist/{ec2-termination-protection-C3bNJVAK.js.map → ec2-termination-protection-zaan5pi0.js.map} +1 -1
- package/dist/{ecr-uri-Dy7a2hEI.js → ecr-uri-CrQgKKRC.js} +2 -2
- package/dist/{ecr-uri-Dy7a2hEI.js.map → ecr-uri-CrQgKKRC.js.map} +1 -1
- package/dist/{emr-cluster-provider-DpzQ2tXe.js → emr-cluster-provider-Dkg4vDao.js} +10 -10
- package/dist/{emr-cluster-provider-DpzQ2tXe.js.map → emr-cluster-provider-Dkg4vDao.js.map} +1 -1
- package/dist/{expected-bucket-owner-NU2Veqhr.js → expected-bucket-owner-DIMD36_h.js} +2 -2
- package/dist/{expected-bucket-owner-NU2Veqhr.js.map → expected-bucket-owner-DIMD36_h.js.map} +1 -1
- package/dist/{iam-role-provider-BK7LqipH.js → iam-role-provider-CkIQ7vmu.js} +12 -12
- package/dist/{iam-role-provider-BK7LqipH.js.map → iam-role-provider-CkIQ7vmu.js.map} +1 -1
- package/dist/{identity-read-denied-BnZ-p9kt.js → identity-read-denied-DU0YqxNk.js} +4 -4
- package/dist/{identity-read-denied-BnZ-p9kt.js.map → identity-read-denied-DU0YqxNk.js.map} +1 -1
- package/dist/{image-plan-7isjcxk3.js → image-plan-B1CAuiek.js} +8 -8
- package/dist/{image-plan-7isjcxk3.js.map → image-plan-B1CAuiek.js.map} +1 -1
- package/dist/index.d.ts +19 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CC9C99az.js → logger-IjQ12QWZ.js} +2 -2
- package/dist/{logger-CC9C99az.js.map → logger-IjQ12QWZ.js.map} +1 -1
- package/dist/{neptune-provider-CjjpqzLj.js → neptune-provider-2O6bzLTH.js} +9 -9
- package/dist/{neptune-provider-CjjpqzLj.js.map → neptune-provider-2O6bzLTH.js.map} +1 -1
- package/dist/{program-Ce2id6tt.js → program-DnMYJ4--.js} +82 -42
- package/dist/program-DnMYJ4--.js.map +1 -0
- package/dist/{provider-classes-BesMsi8i.js → provider-classes-BuCH49t_.js} +52 -34
- package/dist/{provider-classes-BesMsi8i.js.map → provider-classes-BuCH49t_.js.map} +1 -1
- package/dist/{rds-provider-j7YCssyt.js → rds-provider-BSeLwUR8.js} +13 -13
- package/dist/{rds-provider-j7YCssyt.js.map → rds-provider-BSeLwUR8.js.map} +1 -1
- package/dist/{read-replica-B3tUZd7q.js → read-replica-FMRYAHg6.js} +3 -3
- package/dist/{read-replica-B3tUZd7q.js.map → read-replica-FMRYAHg6.js.map} +1 -1
- package/dist/{redacted-delete-address-DAZayV8w.js → redacted-delete-address-DGHv9GNm.js} +4 -4
- package/dist/{redacted-delete-address-DAZayV8w.js.map → redacted-delete-address-DGHv9GNm.js.map} +1 -1
- package/dist/{replacement-rules-bf4K_Yka.js → replacement-rules-BAJWgr5f.js} +3 -3
- package/dist/{replacement-rules-bf4K_Yka.js.map → replacement-rules-BAJWgr5f.js.map} +1 -1
- package/dist/{resource-deadline-D6p4x_pl.js → resource-deadline-DB1HaWnD.js} +12 -5
- package/dist/{resource-deadline-D6p4x_pl.js.map → resource-deadline-DB1HaWnD.js.map} +1 -1
- package/dist/{restore-source-guard-DRxM4nEI.js → restore-source-guard-BL2O_O6r.js} +4 -4
- package/dist/{restore-source-guard-DRxM4nEI.js.map → restore-source-guard-BL2O_O6r.js.map} +1 -1
- package/dist/{run-cli-B1pXbQh9.js → run-cli-CtrPRsbm.js} +2 -2
- package/dist/{run-cli-B1pXbQh9.js.map → run-cli-CtrPRsbm.js.map} +1 -1
- package/dist/{secret-reference-immutable-CGZO-iyw.js → secret-reference-immutable-XFEdCfNg.js} +6 -6
- package/dist/{secret-reference-immutable-CGZO-iyw.js.map → secret-reference-immutable-XFEdCfNg.js.map} +1 -1
- package/dist/{settle-own-write-members-WuNz0klP.js → settle-own-write-members-DzUentwR.js} +10 -10
- package/dist/{settle-own-write-members-WuNz0klP.js.map → settle-own-write-members-DzUentwR.js.map} +1 -1
- package/dist/{tag-list-DiQb3Tm9.js → tag-list-Bye2zxAF.js} +4 -4
- package/dist/{tag-list-DiQb3Tm9.js.map → tag-list-Bye2zxAF.js.map} +1 -1
- package/dist/{update-removal-CBAhk3SI.js → update-removal-BpxPxmQR.js} +2 -2
- package/dist/{update-removal-CBAhk3SI.js.map → update-removal-BpxPxmQR.js.map} +1 -1
- package/dist/{version-CdLI5JxZ.js → version-nXXjUmZl.js} +2 -2
- package/dist/{version-CdLI5JxZ.js.map → version-nXXjUmZl.js.map} +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-7gPM_z0r.js.map +0 -1
- package/dist/program-Ce2id6tt.js.map +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
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, d as describeAwsStatusReason, 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 { $ as AccountIdUnavailableError, A as stripControlChars, B as isTransientServerError, C as isNameCooldownError, F as isAmbiguousOutcomeError, G as markNonRetryable, J as CrossAccountSecretRefusalError, K as markRedactedCause, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as SelectOutOfBoundsRefusalError, R as isIamPropagationError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isMarkedNonRetryable, W as isThrottlingError, X as IntrinsicResolutionRefusalError, Y as DynamicReferenceRegionAmbiguousError, Z as MalformedProducerRecordRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, b as isUpdateUnsupportedError, ct as StateError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, ot as ProvisioningError, q as wrapMaskedAwsError, r as clientDefaultsFor, rt as DeploymentNotApprovedError, st as ResourceTimeoutError, t as ambientClientDefaults, tt as CdkdError, w as isRecreateRetryableError, z as isRetryableTransientError } 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-nXXjUmZl.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, d as describeAwsStatusReason, 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-IjQ12QWZ.js";
|
|
3
|
+
import { $ as AccountIdUnavailableError, A as stripControlChars, B as isTransientServerError, C as isNameCooldownError, F as isAmbiguousOutcomeError, G as markNonRetryable, J as CrossAccountSecretRefusalError, K as markRedactedCause, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as SelectOutOfBoundsRefusalError, R as isIamPropagationError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isMarkedNonRetryable, W as isThrottlingError, X as IntrinsicResolutionRefusalError, Y as DynamicReferenceRegionAmbiguousError, Z as MalformedProducerRecordRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, b as isUpdateUnsupportedError, ct as StateError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, ot as ProvisioningError, q as wrapMaskedAwsError, r as clientDefaultsFor, rt as DeploymentNotApprovedError, st as ResourceTimeoutError, t as ambientClientDefaults, tt as CdkdError, w as isRecreateRetryableError, z as isRetryableTransientError } from "./ambient-client-defaults-BqOg0I6e.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 parseJsonNamingNoBody, C as recordPhase, D as describeJsonParseFailure, E as timePhaseSync, O as jsonParseFailureStandIn, S as phaseTimingsEnabled, T as timePhase, _ as IAM_PROPAGATION_MAX_DELAY_MS, a as getCreateOnlyPropertyPaths, b as PhaseClock, c as templateResourceTypes, d as parseCreateOnlyPropertyPointers, f as describeTypeWithThrottleRetry, g as scheduleDescribeType, h as reportAwsEmulatorRegistryMiss, i as createOnlyChangeRequiresReplacement, j as utf8ByteLength, k as parseFailureDebugDetail, l as SPEC_REPLACEMENT_CFN_KEEPS_NAME, m as isAwsEmulatorRegistryMiss, n as unchangedBehindSecretReference, o as isIntrinsicShaped, p as hasNoRegistrySchema, r as cachedCreateOnlyPropertyPaths, s as prefetchCreateOnlyPropertyPaths, t as onlySecretReferencesDiffer, u as SPEC_REPLACEMENT_CFN_MEASURED, v as withRetry, x as phaseScopeForStack, y as CREATE_ONLY_PATHS_SNAPSHOT } from "./secret-reference-immutable-
|
|
6
|
+
import { A as parseJsonNamingNoBody, C as recordPhase, D as describeJsonParseFailure, E as timePhaseSync, O as jsonParseFailureStandIn, S as phaseTimingsEnabled, T as timePhase, _ as IAM_PROPAGATION_MAX_DELAY_MS, a as getCreateOnlyPropertyPaths, b as PhaseClock, c as templateResourceTypes, d as parseCreateOnlyPropertyPointers, f as describeTypeWithThrottleRetry, g as scheduleDescribeType, h as reportAwsEmulatorRegistryMiss, i as createOnlyChangeRequiresReplacement, j as utf8ByteLength, k as parseFailureDebugDetail, l as SPEC_REPLACEMENT_CFN_KEEPS_NAME, m as isAwsEmulatorRegistryMiss, n as unchangedBehindSecretReference, o as isIntrinsicShaped, p as hasNoRegistrySchema, r as cachedCreateOnlyPropertyPaths, s as prefetchCreateOnlyPropertyPaths, t as onlySecretReferencesDiffer, u as SPEC_REPLACEMENT_CFN_MEASURED, v as withRetry, x as phaseScopeForStack, y as CREATE_ONLY_PATHS_SNAPSHOT } from "./secret-reference-immutable-XFEdCfNg.js";
|
|
7
7
|
import { i as sameRegion, n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
8
|
-
import { $n as
|
|
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 { A as isStaleNoEchoLeaf, D as canonicalCoordinates, F as noEchoComparison, G as replaceAtCoordinates, H as readsNoEchoSource, I as noEchoCoordinatesOf, K as valueAtCoordinate, L as noEchoLeavesOf, M as maskReadbackAtCoordinates, N as maskWholeValue, O as canonicalJson$7, P as maskedLeafCoordinatesOf, R as noEchoParameterNodesAt, T as withoutObservedMaskedLeaves, U as recordPassedNoEchoParameters, V as readbackPathFor, W as recordedNoEchoValuesOf, a as liveHoldsFreshLeaves, b as templateGetAttNamesOf, g as withStoredReferencePositionsMasked, i as keyOrderFreeJson, j as maskAtCoordinates, k as isMarkedCoordinate, m as parseLambdaFunctionAddress, n as grantSentence, o as outputMapsEqual, q as witnessNormalize, r as isReplacementCeiling, s as readDenialOf, t as ReplacementRulesRegistry, w as withOffTemplateEchoesMasked, x as withSecretAttributeKeysDropped, y as wholeNoEchoEchoTest, z as noEchoParametersReadBy } from "./replacement-rules-
|
|
12
|
-
import { S as willReplaceGroup, _ as INSTANCE_REFRESH_TRIGGER_PROPERTIES, a as reDisableInstanceApiTermination, b as ignoresUnmodifiedGroupSize, c as resolvedResourceTimeoutMs, d as isRefusedBeforeApplying, f as markRefusedBeforeApplying, g as withPriorAttempts, h as provenOrphanIdsInJournal, i as observeThenDisableInstanceApiTermination, m as priorAttemptsInJournal, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as priorAttemptLookup, r as isTerminationProtectionPropagationError, v as REPLACEMENT_TRIGGER_PROPERTIES, x as rollingUpdatePolicy, y as changedTriggers } from "./ec2-termination-protection-
|
|
13
|
-
import { C as withUnsettledItems, S as unsettledPropertiesOf, T as withoutUnsettledProperties, _ as isUsableAttemptedName, b as unsettledItemsOf, c as definedAttributes, d as awaitDeferredResource, f as awaitUpstreamReadiness, g as withDeferredReadinessScope, i as refuseRestoreFromItself, p as currentDeferredReadinessScope, v as unsettledContextOf, w as withUnsettledProperties, x as unsettledItemsTopKey, y as unsettledItemsField } from "./restore-source-guard-
|
|
14
|
-
import { S as isoTimestampAttribute, _ as isRecordedIdentityAttribute, a as lookupEachName, b as newCopyDeleteAttributes, d as identityWarner, h as attributesAfterUpdate, i as isAccessDeniedError, l as assertRecordedIdentity, m as SURVIVOR_IDENTITY_ATTRIBUTES, p as recordedIdentityId, t as deniedIdentityReadRefusal, u as differingIdentityWarning, v as isUsableIdentityValue, x as replaceDeadIdentity, y as keepRecordedIdentity } from "./identity-read-denied-
|
|
15
|
-
import { a as refuseMalformedDesiredTags, i as readTagList, r as planTagDiff, s as tagPlanWarning } from "./tag-list-
|
|
16
|
-
import { n as prepareRemovalForUpdate, o as withoutInjectedRemovals, r as removalWarning } from "./update-removal-
|
|
17
|
-
import { n as isRedactedRecordedValue } from "./redacted-delete-address-
|
|
8
|
+
import { $n as unionOfSecretBags, $r as attributionRefusedParameters, $t as markAuxiliaryFailure, Ai as wholeStringLeavesOf, An as redactForState, Ar as templateRereadsAccountId, At as canonicalizeRoute53QueryName, B as isMarkedNotGone, Bn as carryLogOnlyValues, Br as freshNoEchoLeafPositions, Bt as createMaskedRetryLogger, C as withoutServerErrorRetries, Ci as recordDerivedMaskOnlyValue, Cn as recordIntrinsicLeafResolution, Cr as arrayPairsWhateverDrops, Di as recordNoEchoAttributeValues, Dn as literalTextHoldsSubFloorSecret, Dr as standsForInheritedSecret, E as assertRegionMatch, En as resolvedPlaintextOf, Er as splitOutsideDynamicReferences, F as quotedRemedyLogicalId, Fi as isSingleDynamicReferenceToken, Fn as passProvenanceFor, Fr as recordInheritedParameterValue, G as observeThenDisableProtection, Gi as sanitizeRecoveryValue, Gn as literalSplitDelimitersOf, Gr as staticTemplateText, Gt as RETRY_AUXILIARY_OWNER, H as compensateProtectionFlip, Hn as createUnionSecretMasker, Hr as recoverMaskedOutput, Ht as maskDeep, Ii as maskMatchSpans, In as passReadVersionsFor, Ir as redactInheritedParameterValue, It as resourceTypeShown, Ji as WAIT_CONDITION_SIGNAL_PREFIX, Jn as printingCorpusOf, Jt as createdBeforeFailure, Ki as CUSTOM_RESOURCE_RESPONSE_PREFIX, Kn as logOnlyValueCount, Kr as recordDroppedArrayElements, L as refusalTypeShown, Ln as recordReferenceProvenanceEntry, Lr as withdrawRenderedParameterSpelling, Lt as segmentAfterAnchor, Mn as openRecordingScope, Mr as inheritedParameterExpression, Mt as compositeIdSeparatorRefusal, N as isQuotableImportValue, Ni as isDynamicReferenceString, Nn as recordSecretResolution, Nr as inheritedRenderedToken, Oi as recordNoEchoParameterFreshValue, On as mixedLiteralAnswered, Or as inheritedPseudoValue, Ot as isInterruptedWaitError, P as normalizeAwsTagsToCfn, Pn as hasPassProvenance, Pr as recordInheritedParameterRead, Pt as logicalIdShown, Qi as injectiveKey, Qn as shareLogOnlyValues, Qr as recordPhysicalNameCopy, Qt as isAuxiliaryMarkOf, Rn as recordReferenceResolution, Rr as carriesFreshNoEchoValue, Rt as stateOrphanRecordRemedy, Si as provenPublicValue, Sn as mergeResolvedPairs, T as RESOURCE_NOT_FOUND, Tn as redactionClaimOf, Tr as rereadParameterExpression, U as deleteWithProtectionCompensation, Un as hasLogOnlyValues, Ur as recordNestedStackParameterExpressions, Ut as maskerOrIdentity, V as markNotGone, Vn as carryLogOnlyValuesCarriedBy, Vr as recordRecoverableMaskedOutput, Vt as isSecretDerivedValue, Wi as recoveryCommandFlags, Wn as hasMaskableValues, Wr as nestedStackRowTagSpellingOf, Wt as withDerivedNameMasks, Xn as recordLogOnlySplitFragments, Xr as physicalNameCopiesOf, Yn as recordLogOnlyParameterValue, Yr as secretRerenderPairs, Yt as createdResourceIdentityBeforeFailure, Zi as withPasteableAwsProfile, Zn as recordLogOnlyValue, Zt as isAuxiliaryFailure, _i as isScopedSecretVerdict, _n as carryRedactionMarks, _r as withoutPhysicalNameCopies, a as whileEnclosingDeadlinesPaused, ai as withConsumptionScope, an as dynamicReferenceOpeners, ar as differingStringLeaves, at as ElapsedBudget, bi as noEchoParameterPlaintextsOf, bn as markLeafCertifiedBag, c as clearCreatedReport, ci as recordCrossStackExpression, cn as isMaskRun, cr as overlapRuleAnswered, ct as DELETION_PROTECTION_DOC_POINTER, di as carryFreshNoEchoMark, dn as mentionsMask, dr as embeddedPhysicalNameRewrites, ei as DYNAMIC_REFERENCE_TOKEN_SCAN, en as markCreatedBeforeFailure, er as createSecretMasker, f as retractCreatedResource, fi as contradictProvenPublicExpression, fn as mentionsMaskedIdSegment, fr as repairEmbeddedPhysicalNamesTowards, ft as pasteableAwsCommand, gi as isRecordedSecretExpression, gn as valueMentionsDynamicReference, gr as withPhysicalNameCopies, hi as isNoEchoParameterPlaintext, hn as usableRecordedName, hr as scrubResourceRecord, i as outsideEnclosingDeadlines, ii as noteReferenceConsumed, in as dynamicReferenceBody, ir as maskSecretsInText, it as runDeleteAttempt, ji as withoutNoEchoParameterEntries, jn as foldRecording, jr as inheritNestedStackParameterAssociations, ki as recordProvenPublicExpression, kn as withLegacyMixedScan, kr as recordInheritedPseudoParameters, kt as startInterruptWatch, l as collectCreatedResources, li as splitGetAttStringForm, ln as mentionsDynamicReference, lr as replaceWholeLeaves, mi as isMaskOnlyPlaintext, mr as replaceEmbeddedPhysicalNameRewrites, n as enclosingDeadlineRemainingMs, ni as dynamicReferenceTokens, nr as maskRecordedSecretsInText, nt as isTerminalDeleteFailure, o as withResourceDeadline, oi as withoutConsumptionStamps, on as holdsMaskLeaf, or as legacyLeavesWithoutMask, ot as ElapsedBudgetRegistry, pi as freshNoEchoValuesOf, pr as repairPhysicalNameCopyLeaves, pt as protectedReplacementAdvice, qi as DEFAULT_STATE_PREFIX, qn as logOnlyValuesOf, qr as recordTakenIfBranch, r as formatWarnElapsed, ri as consumptionScopeOpenFor, rr as maskSecretsInError, rt as protectionFlipKey, s as CreatedResourceSink, si as crossStackSourceKey, sn as isMaskLeaf, sr as legacyReferenceLeavesOnly, st as monotonicNowMs, t as enclosingDeadlineExpired, ta as producerRecordKey, ti as dynamicReferenceSpans, tr as errorCauseChain, tt as ProtectionFlipRegistry, u as reportCreatedResource, ui as carriesSecretMask, un as mentionsDynamicReferenceTo, ur as withLegacyOverlapScan, vi as isSecretExpressionByVerdictOrSpelling, vn as intrinsicLeafResolutionOf, vr as SPELLED_SECRET_REFERENCE_PREFIXES, wi as recordFreshNoEchoValuesIn, wn as recordIntrinsicLeafResolutionAs, wt as withUnchangedSecretPrincipalLists, xi as pinScopedSecretVerdict, xn as markSameGenerationBag, yi as markNoEchoParameterClass, yn as isSameGenerationBag, yr as spanNamesResolvableService, z as resolveExplicitPhysicalId, zr as embedsFreshNoEchoValue, zt as createMaskedLogSinks } from "./resource-deadline-DB1HaWnD.js";
|
|
9
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-DIMD36_h.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-C9z4Yf_c.js";
|
|
11
|
+
import { A as isStaleNoEchoLeaf, D as canonicalCoordinates, F as noEchoComparison, G as replaceAtCoordinates, H as readsNoEchoSource, I as noEchoCoordinatesOf, K as valueAtCoordinate, L as noEchoLeavesOf, M as maskReadbackAtCoordinates, N as maskWholeValue, O as canonicalJson$7, P as maskedLeafCoordinatesOf, R as noEchoParameterNodesAt, T as withoutObservedMaskedLeaves, U as recordPassedNoEchoParameters, V as readbackPathFor, W as recordedNoEchoValuesOf, a as liveHoldsFreshLeaves, b as templateGetAttNamesOf, g as withStoredReferencePositionsMasked, i as keyOrderFreeJson, j as maskAtCoordinates, k as isMarkedCoordinate, m as parseLambdaFunctionAddress, n as grantSentence, o as outputMapsEqual, q as witnessNormalize, r as isReplacementCeiling, s as readDenialOf, t as ReplacementRulesRegistry, w as withOffTemplateEchoesMasked, x as withSecretAttributeKeysDropped, y as wholeNoEchoEchoTest, z as noEchoParametersReadBy } from "./replacement-rules-BAJWgr5f.js";
|
|
12
|
+
import { S as willReplaceGroup, _ as INSTANCE_REFRESH_TRIGGER_PROPERTIES, a as reDisableInstanceApiTermination, b as ignoresUnmodifiedGroupSize, c as resolvedResourceTimeoutMs, d as isRefusedBeforeApplying, f as markRefusedBeforeApplying, g as withPriorAttempts, h as provenOrphanIdsInJournal, i as observeThenDisableInstanceApiTermination, m as priorAttemptsInJournal, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as priorAttemptLookup, r as isTerminationProtectionPropagationError, v as REPLACEMENT_TRIGGER_PROPERTIES, x as rollingUpdatePolicy, y as changedTriggers } from "./ec2-termination-protection-zaan5pi0.js";
|
|
13
|
+
import { C as withUnsettledItems, S as unsettledPropertiesOf, T as withoutUnsettledProperties, _ as isUsableAttemptedName, b as unsettledItemsOf, c as definedAttributes, d as awaitDeferredResource, f as awaitUpstreamReadiness, g as withDeferredReadinessScope, i as refuseRestoreFromItself, p as currentDeferredReadinessScope, v as unsettledContextOf, w as withUnsettledProperties, x as unsettledItemsTopKey, y as unsettledItemsField } from "./restore-source-guard-BL2O_O6r.js";
|
|
14
|
+
import { S as isoTimestampAttribute, _ as isRecordedIdentityAttribute, a as lookupEachName, b as newCopyDeleteAttributes, d as identityWarner, h as attributesAfterUpdate, i as isAccessDeniedError, l as assertRecordedIdentity, m as SURVIVOR_IDENTITY_ATTRIBUTES, p as recordedIdentityId, t as deniedIdentityReadRefusal, u as differingIdentityWarning, v as isUsableIdentityValue, x as replaceDeadIdentity, y as keepRecordedIdentity } from "./identity-read-denied-DU0YqxNk.js";
|
|
15
|
+
import { a as refuseMalformedDesiredTags, i as readTagList, r as planTagDiff, s as tagPlanWarning } from "./tag-list-Bye2zxAF.js";
|
|
16
|
+
import { n as prepareRemovalForUpdate, o as withoutInjectedRemovals, r as removalWarning } from "./update-removal-BpxPxmQR.js";
|
|
17
|
+
import { n as isRedactedRecordedValue } from "./redacted-delete-address-DGHv9GNm.js";
|
|
18
18
|
import { createHash, randomUUID, timingSafeEqual } from "node:crypto";
|
|
19
19
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
20
20
|
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";
|
|
@@ -90,7 +90,7 @@ async function resolveBucketRegion(bucketName, opts = {}) {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
try {
|
|
93
|
-
const { expectedOwnerParam } = await import("./expected-bucket-owner-
|
|
93
|
+
const { expectedOwnerParam } = await import("./expected-bucket-owner-DIMD36_h.js").then((n) => n.n);
|
|
94
94
|
return (await client.send(new GetBucketLocationCommand({
|
|
95
95
|
Bucket: bucketName,
|
|
96
96
|
...await expectedOwnerParam(client)
|
|
@@ -24308,6 +24308,28 @@ function withListenerRuleConditionOps(resourceType, patch, desired) {
|
|
|
24308
24308
|
|
|
24309
24309
|
// src/provisioning/cc-read-back-default-paths.ts
|
|
24310
24310
|
const CC_READ_BACK_DEFAULT_PATHS = {
|
|
24311
|
+
"AWS::AutoScaling::ScheduledAction": [{
|
|
24312
|
+
path: ["EndTime"],
|
|
24313
|
+
value: "null"
|
|
24314
|
+
}, {
|
|
24315
|
+
path: ["StartTime"],
|
|
24316
|
+
anyValueWhenUndeclared: true
|
|
24317
|
+
}],
|
|
24318
|
+
"AWS::CloudFront::ResponseHeadersPolicy": [
|
|
24319
|
+
"ContentSecurityPolicy",
|
|
24320
|
+
"ContentTypeOptions",
|
|
24321
|
+
"ReferrerPolicy",
|
|
24322
|
+
"StrictTransportSecurity",
|
|
24323
|
+
"XSSProtection"
|
|
24324
|
+
].map((member) => ({
|
|
24325
|
+
path: [
|
|
24326
|
+
"ResponseHeadersPolicyConfig",
|
|
24327
|
+
"SecurityHeadersConfig",
|
|
24328
|
+
member
|
|
24329
|
+
],
|
|
24330
|
+
value: {},
|
|
24331
|
+
pruneWhateverLive: true
|
|
24332
|
+
})),
|
|
24311
24333
|
"AWS::Connect::User": [{
|
|
24312
24334
|
path: ["VoiceEnhancementConfigs"],
|
|
24313
24335
|
value: [{ Channel: "VOICE" }]
|
|
@@ -24339,19 +24361,52 @@ function valueAt$1(bag, path) {
|
|
|
24339
24361
|
function withCcReadBackDefaultRemovals(resourceType, patch, desired, liveModel) {
|
|
24340
24362
|
const defaults = hasCcReadBackDefaultPaths(resourceType) ? CC_READ_BACK_DEFAULT_PATHS[resourceType] : [];
|
|
24341
24363
|
if (defaults.length === 0 || patch.length === 0 || liveModel === void 0) return patch;
|
|
24364
|
+
let out = patch;
|
|
24342
24365
|
const extra = [];
|
|
24343
|
-
for (const
|
|
24366
|
+
for (const entry of defaults) {
|
|
24367
|
+
const { path } = entry;
|
|
24344
24368
|
const pointer = `/${path.map(escapeJsonPointer$2).join("/")}`;
|
|
24345
|
-
|
|
24346
|
-
if (
|
|
24369
|
+
const ancestor = out.findIndex((op) => pointer.startsWith(`${op.path}/`));
|
|
24370
|
+
if (ancestor !== -1) {
|
|
24371
|
+
if (entry.anyValueWhenUndeclared) continue;
|
|
24372
|
+
const op = out[ancestor];
|
|
24373
|
+
if (op.op !== "add" && op.op !== "replace") continue;
|
|
24374
|
+
const rest = path.slice(pointerSegments(op.path).length);
|
|
24375
|
+
if (!isDeepStrictEqual(valueAt$1(op.value, rest), entry.value)) continue;
|
|
24376
|
+
if (!entry.pruneWhateverLive && !isDeepStrictEqual(valueAt$1(liveModel, path), entry.value)) continue;
|
|
24377
|
+
const pruned = {
|
|
24378
|
+
...op,
|
|
24379
|
+
value: withoutPath(op.value, rest)
|
|
24380
|
+
};
|
|
24381
|
+
out = out.map((o, i) => i === ancestor ? pruned : o);
|
|
24382
|
+
continue;
|
|
24383
|
+
}
|
|
24384
|
+
if (out.some((op) => op.path === pointer || op.path.startsWith(`${pointer}/`))) continue;
|
|
24385
|
+
const live = valueAt$1(liveModel, path);
|
|
24386
|
+
if (live === ABSENT$1) continue;
|
|
24387
|
+
if (!entry.anyValueWhenUndeclared && !isDeepStrictEqual(live, entry.value)) continue;
|
|
24347
24388
|
const declared = valueAt$1(desired, path);
|
|
24348
|
-
if (
|
|
24389
|
+
if (entry.anyValueWhenUndeclared) {
|
|
24390
|
+
if (declared !== ABSENT$1) continue;
|
|
24391
|
+
} else if (declared !== ABSENT$1 && !isDeepStrictEqual(declared, entry.value)) continue;
|
|
24349
24392
|
extra.push({
|
|
24350
24393
|
op: "remove",
|
|
24351
24394
|
path: pointer
|
|
24352
24395
|
});
|
|
24353
24396
|
}
|
|
24354
|
-
return extra.length === 0 ? patch : [...
|
|
24397
|
+
return extra.length === 0 && out === patch ? patch : [...out, ...extra];
|
|
24398
|
+
}
|
|
24399
|
+
function pointerSegments(pointer) {
|
|
24400
|
+
return pointer.slice(1).split("/").map((seg) => seg.replace(/~1/g, "/").replace(/~0/g, "~"));
|
|
24401
|
+
}
|
|
24402
|
+
function withoutPath(value, path) {
|
|
24403
|
+
if (path.length === 0 || value === null || typeof value !== "object" || Array.isArray(value)) return value;
|
|
24404
|
+
const [head, ...rest] = path;
|
|
24405
|
+
const { [head]: child, ...others } = value;
|
|
24406
|
+
return rest.length === 0 ? others : {
|
|
24407
|
+
...others,
|
|
24408
|
+
[head]: withoutPath(child, rest)
|
|
24409
|
+
};
|
|
24355
24410
|
}
|
|
24356
24411
|
function escapeJsonPointer$2(key) {
|
|
24357
24412
|
return key.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
@@ -26486,7 +26541,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
26486
26541
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
26487
26542
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
26488
26543
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
26489
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
26544
|
+
const { ASGProvider } = await import("./asg-provider-DkhAcikX.js");
|
|
26490
26545
|
const delegateRegion = ambientRegion();
|
|
26491
26546
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
26492
26547
|
if (asgProvider === void 0) {
|
|
@@ -26497,7 +26552,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
26497
26552
|
}
|
|
26498
26553
|
if (context?.removeProtection === true && resourceType === "AWS::EMR::Cluster") {
|
|
26499
26554
|
this.logger.debug(safeMsg`Delegating protected EMR cluster ${logicalId} delete to the SDK EMRClusterProvider (Cloud Control cannot lift termination protection)`);
|
|
26500
|
-
const { EMRClusterProvider } = await import("./emr-cluster-provider-
|
|
26555
|
+
const { EMRClusterProvider } = await import("./emr-cluster-provider-Dkg4vDao.js");
|
|
26501
26556
|
return withIndeterminateGuard(await new EMRClusterProvider().delete(logicalId, physicalId, resourceType, properties, context), indeterminateGuard);
|
|
26502
26557
|
}
|
|
26503
26558
|
await assertRecordedIdentityBeforeCcDelete.call(this, logicalId, resourceType, physicalId, context);
|
|
@@ -26646,7 +26701,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
|
|
|
26646
26701
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
26647
26702
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
26648
26703
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
26649
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
26704
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-BSeLwUR8.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-2O6bzLTH.js"))).NeptuneProvider({ region: ccRegion });
|
|
26650
26705
|
this.sdkDeleteDelegates.set(family, {
|
|
26651
26706
|
region: ccRegion,
|
|
26652
26707
|
provider
|
|
@@ -29205,7 +29260,7 @@ async function publishToSns(topicArn, request) {
|
|
|
29205
29260
|
}
|
|
29206
29261
|
async function invokeLambda(serviceToken, request) {
|
|
29207
29262
|
if (localCustomResourceRuntimeActive()) {
|
|
29208
|
-
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-
|
|
29263
|
+
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-CLjuWVBC.js");
|
|
29209
29264
|
const local = await invokeCustomResourceFunctionLocally({
|
|
29210
29265
|
lambda: this.lambdaClient,
|
|
29211
29266
|
s3: this.s3Client
|
|
@@ -33942,7 +33997,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
|
|
|
33942
33997
|
if (resourceType !== "AWS::RDS::DBInstance") return false;
|
|
33943
33998
|
if (region === void 0 || region === "") return false;
|
|
33944
33999
|
const mask = input.mask ?? ((text) => text);
|
|
33945
|
-
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-
|
|
34000
|
+
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-FMRYAHg6.js").then((n) => n.l);
|
|
33946
34001
|
let reason;
|
|
33947
34002
|
try {
|
|
33948
34003
|
const live = await describeDBInstanceInRegion(physicalId, region);
|
|
@@ -35998,12 +36053,14 @@ const EQUAL_ID_HOOK_TYPES = /* @__PURE__ */ new Set([
|
|
|
35998
36053
|
"AWS::Lambda::Permission",
|
|
35999
36054
|
"AWS::EC2::SecurityGroupIngress",
|
|
36000
36055
|
"AWS::ApiGateway::Stage",
|
|
36001
|
-
"AWS::ApiGatewayV2::Stage"
|
|
36056
|
+
"AWS::ApiGatewayV2::Stage",
|
|
36057
|
+
"AWS::Scheduler::Schedule"
|
|
36002
36058
|
]);
|
|
36003
36059
|
function equalIdNamesDifferentResources(input) {
|
|
36004
36060
|
if (!EQUAL_ID_HOOK_TYPES.has(input.resourceType)) return false;
|
|
36005
36061
|
if (input.resourceType === "AWS::Lambda::Permission") return permissionsOnDifferentFunctions(input.oldProperties, input.newProperties);
|
|
36006
36062
|
if (input.resourceType === "AWS::EC2::SecurityGroupIngress") return ingressRulesFromDifferentSources(input.oldProperties, input.newProperties);
|
|
36063
|
+
if (input.resourceType === "AWS::Scheduler::Schedule") return schedulesInDifferentGroups(input.oldProperties, input.newProperties);
|
|
36007
36064
|
const parentKey = STAGE_PARENT_KEYS[input.resourceType];
|
|
36008
36065
|
if (parentKey !== void 0) return stagesOnDifferentApis(input.oldProperties, input.newProperties, parentKey);
|
|
36009
36066
|
if (input.resourceType !== "AWS::Glue::Table" || input.physicalId === void 0) return false;
|
|
@@ -36039,6 +36096,14 @@ function stagesOnDifferentApis(oldProperties, newProperties, parentKey) {
|
|
|
36039
36096
|
if (!isUsableIdentityValue(oldApi) || !isUsableIdentityValue(newApi)) return false;
|
|
36040
36097
|
return oldApi !== newApi;
|
|
36041
36098
|
}
|
|
36099
|
+
function schedulesInDifferentGroups(oldProperties, newProperties) {
|
|
36100
|
+
if (oldProperties === void 0 || newProperties === void 0) return false;
|
|
36101
|
+
const group = (props) => props["GroupName"] === void 0 ? "default" : props["GroupName"];
|
|
36102
|
+
const oldGroup = group(oldProperties);
|
|
36103
|
+
const newGroup = group(newProperties);
|
|
36104
|
+
if (!isUsableIdentityValue(oldGroup) || !isUsableIdentityValue(newGroup)) return false;
|
|
36105
|
+
return oldGroup !== newGroup;
|
|
36106
|
+
}
|
|
36042
36107
|
function recordedIdsNameDifferentResources(resourceType, oldAttributes, newAttributes) {
|
|
36043
36108
|
if (resourceType !== "AWS::EC2::SecurityGroupIngress") return false;
|
|
36044
36109
|
const oldId = recordedSgRuleId(oldAttributes);
|
|
@@ -36720,6 +36785,7 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
|
|
|
36720
36785
|
failureMessage: void 0,
|
|
36721
36786
|
cleanupPhase: true,
|
|
36722
36787
|
...currentResource.dependencies !== void 0 && { dependencies: currentResource.dependencies },
|
|
36788
|
+
properties: currentResource.properties,
|
|
36723
36789
|
retry: () => deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType, currentResource, deleteProvider, deleteProperties, finalSnapshotIdentifier, updateReplacePolicy, secrets, deleteProvisionedBy, noEchoDeleteValues, true)
|
|
36724
36790
|
});
|
|
36725
36791
|
deps.logger.info(safeMsg` Old ${logicalId} (${displayPhysicalId(oldResourceType, currentResource.physicalId)}) is deleted after the rest of the deploy succeeds`);
|
|
@@ -36769,6 +36835,7 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
|
|
|
36769
36835
|
provisionedBy: deleteProvisionedBy,
|
|
36770
36836
|
failureMessage: deleteMsg,
|
|
36771
36837
|
...currentResource.dependencies !== void 0 && { dependencies: currentResource.dependencies },
|
|
36838
|
+
properties: currentResource.properties,
|
|
36772
36839
|
retry: () => deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType, currentResource, deleteProvider, deleteProperties, sentSnapshotIdentifier, updateReplacePolicy, secrets, deleteProvisionedBy, noEchoDeleteValues, true)
|
|
36773
36840
|
});
|
|
36774
36841
|
return;
|
|
@@ -36941,29 +37008,377 @@ async function createFirstThenDeleteOld(run, deps, input) {
|
|
|
36941
37008
|
return createResult;
|
|
36942
37009
|
}
|
|
36943
37010
|
|
|
37011
|
+
// src/deployment/dag-executor.ts
|
|
37012
|
+
var DagExecutor = class {
|
|
37013
|
+
nodes = /* @__PURE__ */ new Map();
|
|
37014
|
+
logger = getLogger().child("DagExecutor");
|
|
37015
|
+
priorityById = null;
|
|
37016
|
+
timingScope;
|
|
37017
|
+
constructor(timingScope) {
|
|
37018
|
+
this.timingScope = timingScope;
|
|
37019
|
+
}
|
|
37020
|
+
add(node) {
|
|
37021
|
+
this.nodes.set(node.id, node);
|
|
37022
|
+
}
|
|
37023
|
+
computePriorities() {
|
|
37024
|
+
if (this.priorityById) return this.priorityById;
|
|
37025
|
+
const dependentsOf = /* @__PURE__ */ new Map();
|
|
37026
|
+
for (const node of this.nodes.values()) for (const depId of node.dependencies) {
|
|
37027
|
+
if (!this.nodes.has(depId)) continue;
|
|
37028
|
+
let set = dependentsOf.get(depId);
|
|
37029
|
+
if (!set) {
|
|
37030
|
+
set = /* @__PURE__ */ new Set();
|
|
37031
|
+
dependentsOf.set(depId, set);
|
|
37032
|
+
}
|
|
37033
|
+
set.add(node.id);
|
|
37034
|
+
}
|
|
37035
|
+
const memo = /* @__PURE__ */ new Map();
|
|
37036
|
+
const visiting = /* @__PURE__ */ new Set();
|
|
37037
|
+
const collect = (id) => {
|
|
37038
|
+
const cached = memo.get(id);
|
|
37039
|
+
if (cached) return cached;
|
|
37040
|
+
const acc = /* @__PURE__ */ new Set();
|
|
37041
|
+
if (visiting.has(id)) return acc;
|
|
37042
|
+
visiting.add(id);
|
|
37043
|
+
for (const dependent of dependentsOf.get(id) ?? []) {
|
|
37044
|
+
acc.add(dependent);
|
|
37045
|
+
for (const t of collect(dependent)) acc.add(t);
|
|
37046
|
+
}
|
|
37047
|
+
visiting.delete(id);
|
|
37048
|
+
memo.set(id, acc);
|
|
37049
|
+
return acc;
|
|
37050
|
+
};
|
|
37051
|
+
const priorities = /* @__PURE__ */ new Map();
|
|
37052
|
+
for (const id of this.nodes.keys()) priorities.set(id, collect(id).size);
|
|
37053
|
+
this.priorityById = priorities;
|
|
37054
|
+
return priorities;
|
|
37055
|
+
}
|
|
37056
|
+
has(id) {
|
|
37057
|
+
return this.nodes.has(id);
|
|
37058
|
+
}
|
|
37059
|
+
size() {
|
|
37060
|
+
return this.nodes.size;
|
|
37061
|
+
}
|
|
37062
|
+
values() {
|
|
37063
|
+
return this.nodes.values();
|
|
37064
|
+
}
|
|
37065
|
+
async execute(concurrency, fn, cancelled = () => false) {
|
|
37066
|
+
let active = 0;
|
|
37067
|
+
const errors = [];
|
|
37068
|
+
const priority = this.computePriorities();
|
|
37069
|
+
const timingScope = phaseTimingsEnabled() ? this.timingScope : void 0;
|
|
37070
|
+
const readySince = /* @__PURE__ */ new Map();
|
|
37071
|
+
return new Promise((resolve, reject) => {
|
|
37072
|
+
const dispatch = () => {
|
|
37073
|
+
let changed = true;
|
|
37074
|
+
while (changed) {
|
|
37075
|
+
changed = false;
|
|
37076
|
+
for (const node of this.nodes.values()) {
|
|
37077
|
+
if (node.state !== "pending") continue;
|
|
37078
|
+
if ([...node.dependencies].some((depId) => {
|
|
37079
|
+
const dep = this.nodes.get(depId);
|
|
37080
|
+
return dep && (dep.state === "failed" || dep.state === "skipped");
|
|
37081
|
+
})) {
|
|
37082
|
+
node.state = "skipped";
|
|
37083
|
+
changed = true;
|
|
37084
|
+
this.logger.debug(`Skipped ${node.id}: dependency failed or was skipped`);
|
|
37085
|
+
}
|
|
37086
|
+
}
|
|
37087
|
+
}
|
|
37088
|
+
const ready = [];
|
|
37089
|
+
for (const node of this.nodes.values()) {
|
|
37090
|
+
if (node.state !== "pending") continue;
|
|
37091
|
+
if ([...node.dependencies].every((depId) => {
|
|
37092
|
+
const dep = this.nodes.get(depId);
|
|
37093
|
+
return !dep || dep.state === "completed";
|
|
37094
|
+
})) ready.push(node);
|
|
37095
|
+
}
|
|
37096
|
+
ready.sort((a, b) => (priority.get(b.id) ?? 0) - (priority.get(a.id) ?? 0));
|
|
37097
|
+
if (timingScope !== void 0) {
|
|
37098
|
+
const now = performance.now();
|
|
37099
|
+
for (const node of ready) if (!readySince.has(node.id)) readySince.set(node.id, now);
|
|
37100
|
+
}
|
|
37101
|
+
if (!cancelled()) for (const node of ready) {
|
|
37102
|
+
if (active >= concurrency) break;
|
|
37103
|
+
node.state = "running";
|
|
37104
|
+
active++;
|
|
37105
|
+
if (timingScope !== void 0) recordPhase(timingScope, "ready, waiting for a --concurrency slot", performance.now() - (readySince.get(node.id) ?? performance.now()), node.id);
|
|
37106
|
+
fn(node).then(() => {
|
|
37107
|
+
node.state = "completed";
|
|
37108
|
+
}).catch((error) => {
|
|
37109
|
+
node.state = "failed";
|
|
37110
|
+
errors.push({
|
|
37111
|
+
id: node.id,
|
|
37112
|
+
error
|
|
37113
|
+
});
|
|
37114
|
+
}).finally(() => {
|
|
37115
|
+
active--;
|
|
37116
|
+
dispatch();
|
|
37117
|
+
});
|
|
37118
|
+
}
|
|
37119
|
+
if (active === 0) {
|
|
37120
|
+
if (errors.length > 0) {
|
|
37121
|
+
reject(errors[0].error);
|
|
37122
|
+
return;
|
|
37123
|
+
}
|
|
37124
|
+
if ([...this.nodes.values()].some((n) => n.state === "pending") && !cancelled()) {
|
|
37125
|
+
const pending = [...this.nodes.values()].filter((n) => n.state === "pending").map((n) => n.id);
|
|
37126
|
+
reject(/* @__PURE__ */ new Error(`Deadlock detected: ${pending.length} node(s) stuck with unresolvable dependencies (${pending.join(", ")})`));
|
|
37127
|
+
return;
|
|
37128
|
+
}
|
|
37129
|
+
resolve();
|
|
37130
|
+
}
|
|
37131
|
+
};
|
|
37132
|
+
dispatch();
|
|
37133
|
+
});
|
|
37134
|
+
}
|
|
37135
|
+
};
|
|
37136
|
+
|
|
37137
|
+
// src/analyzer/implicit-delete-deps.ts
|
|
37138
|
+
const IMPLICIT_DELETE_DEPENDENCIES = {
|
|
37139
|
+
"AWS::EC2::InternetGateway": ["AWS::EC2::VPCGatewayAttachment", "AWS::EC2::NatGateway"],
|
|
37140
|
+
"AWS::EC2::VPCGatewayAttachment": ["AWS::EC2::NatGateway"],
|
|
37141
|
+
"AWS::Events::EventBus": ["AWS::Events::Rule"],
|
|
37142
|
+
"AWS::Athena::WorkGroup": ["AWS::Athena::NamedQuery"],
|
|
37143
|
+
"AWS::CloudFront::ResponseHeadersPolicy": ["AWS::CloudFront::Distribution"],
|
|
37144
|
+
"AWS::CloudFront::CachePolicy": ["AWS::CloudFront::Distribution"],
|
|
37145
|
+
"AWS::CloudFront::OriginAccessControl": ["AWS::CloudFront::Distribution"],
|
|
37146
|
+
"AWS::EC2::VPC": [
|
|
37147
|
+
"AWS::EC2::Subnet",
|
|
37148
|
+
"AWS::EC2::SecurityGroup",
|
|
37149
|
+
"AWS::EC2::InternetGateway",
|
|
37150
|
+
"AWS::EC2::EgressOnlyInternetGateway",
|
|
37151
|
+
"AWS::EC2::VPCGatewayAttachment",
|
|
37152
|
+
"AWS::EC2::RouteTable"
|
|
37153
|
+
],
|
|
37154
|
+
"AWS::EC2::Subnet": ["AWS::EC2::SubnetRouteTableAssociation", "AWS::Lambda::Function"],
|
|
37155
|
+
"AWS::EC2::RouteTable": ["AWS::EC2::Route", "AWS::EC2::SubnetRouteTableAssociation"],
|
|
37156
|
+
"AWS::EC2::SecurityGroup": [
|
|
37157
|
+
"AWS::EC2::SecurityGroupIngress",
|
|
37158
|
+
"AWS::EC2::SecurityGroupEgress",
|
|
37159
|
+
"AWS::Lambda::Function"
|
|
37160
|
+
]
|
|
37161
|
+
};
|
|
37162
|
+
function typesDeletedBefore(type) {
|
|
37163
|
+
return Object.prototype.hasOwnProperty.call(IMPLICIT_DELETE_DEPENDENCIES, type) ? IMPLICIT_DELETE_DEPENDENCIES[type] : [];
|
|
37164
|
+
}
|
|
37165
|
+
const ALARM_RULE_FUNCTION_REGEX = /\b(?:ALARM|OK|INSUFFICIENT_DATA)\s*\(\s*([^)]*?)\s*\)/gi;
|
|
37166
|
+
function extractReferencedAlarmNames(alarmRule) {
|
|
37167
|
+
const names = /* @__PURE__ */ new Set();
|
|
37168
|
+
for (const match of alarmRule.matchAll(ALARM_RULE_FUNCTION_REGEX)) {
|
|
37169
|
+
let arg = (match[1] ?? "").trim();
|
|
37170
|
+
if (arg.length === 0) continue;
|
|
37171
|
+
if (arg.startsWith("\"") && arg.endsWith("\"") || arg.startsWith("'") && arg.endsWith("'")) arg = arg.slice(1, -1);
|
|
37172
|
+
if (arg.length === 0) continue;
|
|
37173
|
+
const arnAlarmMatch = /:alarm:(.+)$/.exec(arg);
|
|
37174
|
+
if (arnAlarmMatch?.[1]) names.add(arnAlarmMatch[1]);
|
|
37175
|
+
else names.add(arg);
|
|
37176
|
+
}
|
|
37177
|
+
return [...names];
|
|
37178
|
+
}
|
|
37179
|
+
function computeImplicitDeleteEdges(resources) {
|
|
37180
|
+
const edges = [];
|
|
37181
|
+
const alarmTypes = /* @__PURE__ */ new Set(["AWS::CloudWatch::Alarm", "AWS::CloudWatch::CompositeAlarm"]);
|
|
37182
|
+
const nameToLogicalId = /* @__PURE__ */ new Map();
|
|
37183
|
+
for (const [logicalId, resource] of Object.entries(resources)) {
|
|
37184
|
+
if (!alarmTypes.has(resource.resourceType)) continue;
|
|
37185
|
+
const alarmName = typeof resource.properties?.["AlarmName"] === "string" ? resource.properties["AlarmName"] : resource.physicalId;
|
|
37186
|
+
if (alarmName) nameToLogicalId.set(alarmName, logicalId);
|
|
37187
|
+
}
|
|
37188
|
+
for (const [logicalId, resource] of Object.entries(resources)) {
|
|
37189
|
+
if (resource.resourceType !== "AWS::CloudWatch::CompositeAlarm") continue;
|
|
37190
|
+
const alarmRule = resource.properties?.["AlarmRule"];
|
|
37191
|
+
if (typeof alarmRule !== "string") continue;
|
|
37192
|
+
for (const referencedName of extractReferencedAlarmNames(alarmRule)) {
|
|
37193
|
+
const referencedLogicalId = nameToLogicalId.get(referencedName);
|
|
37194
|
+
if (!referencedLogicalId || referencedLogicalId === logicalId) continue;
|
|
37195
|
+
edges.push({
|
|
37196
|
+
before: logicalId,
|
|
37197
|
+
after: referencedLogicalId
|
|
37198
|
+
});
|
|
37199
|
+
}
|
|
37200
|
+
}
|
|
37201
|
+
return edges;
|
|
37202
|
+
}
|
|
37203
|
+
|
|
37204
|
+
// src/deployment/deploy-engine/replacement/cleanup-order.ts
|
|
37205
|
+
const emptyEdges = (nodes) => new Map(nodes.map((node) => [node.id, /* @__PURE__ */ new Set()]));
|
|
37206
|
+
function cleanupDeleteOrder(nodes) {
|
|
37207
|
+
const strong = emptyEdges(nodes);
|
|
37208
|
+
const typed = emptyEdges(nodes);
|
|
37209
|
+
const byLogicalId = /* @__PURE__ */ new Map();
|
|
37210
|
+
const byType = /* @__PURE__ */ new Map();
|
|
37211
|
+
const index = (map, key, node) => {
|
|
37212
|
+
const list = map.get(key);
|
|
37213
|
+
if (list === void 0) map.set(key, [node]);
|
|
37214
|
+
else list.push(node);
|
|
37215
|
+
};
|
|
37216
|
+
for (const node of nodes) {
|
|
37217
|
+
index(byLogicalId, node.logicalId, node);
|
|
37218
|
+
index(byType, node.resourceType, node);
|
|
37219
|
+
}
|
|
37220
|
+
for (const user of nodes) for (const dep of user.dependencies) {
|
|
37221
|
+
if (dep === user.logicalId) continue;
|
|
37222
|
+
for (const used of byLogicalId.get(dep) ?? []) strong.get(used.id).add(user.id);
|
|
37223
|
+
}
|
|
37224
|
+
const records = Object.fromEntries(nodes.map((node) => [node.id, {
|
|
37225
|
+
resourceType: node.resourceType,
|
|
37226
|
+
...node.physicalId !== void 0 && { physicalId: node.physicalId },
|
|
37227
|
+
...node.properties !== void 0 && { properties: node.properties }
|
|
37228
|
+
}]));
|
|
37229
|
+
for (const { before, after } of computeImplicitDeleteEdges(records)) if (before !== after && strong.has(before) && strong.has(after)) strong.get(after).add(before);
|
|
37230
|
+
for (const [type, later] of byType) for (const earlierType of typesDeletedBefore(type)) {
|
|
37231
|
+
if (earlierType === type) continue;
|
|
37232
|
+
for (const earlier of byType.get(earlierType) ?? []) for (const node of later) if (!strong.get(node.id).has(earlier.id)) typed.get(node.id).add(earlier.id);
|
|
37233
|
+
}
|
|
37234
|
+
for (const cycle of cyclesOf(union(strong, typed))) for (const id of cycle) for (const other of cycle) typed.get(id).delete(other);
|
|
37235
|
+
const waitsFor = union(strong, typed);
|
|
37236
|
+
for (const cycle of cyclesOf(waitsFor)) for (const id of cycle) for (const other of cycle) waitsFor.get(id).delete(other);
|
|
37237
|
+
addWeakCarriedOrder(nodes, waitsFor);
|
|
37238
|
+
return waitsFor;
|
|
37239
|
+
}
|
|
37240
|
+
function union(a, b) {
|
|
37241
|
+
const out = /* @__PURE__ */ new Map();
|
|
37242
|
+
for (const [id, edges] of a) out.set(id, /* @__PURE__ */ new Set([...edges, ...b.get(id) ?? []]));
|
|
37243
|
+
return out;
|
|
37244
|
+
}
|
|
37245
|
+
function addWeakCarriedOrder(nodes, waitsFor) {
|
|
37246
|
+
const touched = /* @__PURE__ */ new Set();
|
|
37247
|
+
for (const [id, edges] of waitsFor) {
|
|
37248
|
+
if (edges.size === 0) continue;
|
|
37249
|
+
touched.add(id);
|
|
37250
|
+
for (const other of edges) touched.add(other);
|
|
37251
|
+
}
|
|
37252
|
+
const deferred = nodes.filter((node) => node.kind === "deferred").map((node) => node.id);
|
|
37253
|
+
if (deferred.length === 0) return;
|
|
37254
|
+
for (const node of nodes) {
|
|
37255
|
+
if (node.kind !== "carried" || touched.has(node.id)) continue;
|
|
37256
|
+
for (const id of deferred) waitsFor.get(node.id).add(id);
|
|
37257
|
+
}
|
|
37258
|
+
}
|
|
37259
|
+
function cyclesOf(waitsFor) {
|
|
37260
|
+
const index = /* @__PURE__ */ new Map();
|
|
37261
|
+
const low = /* @__PURE__ */ new Map();
|
|
37262
|
+
const onStack = /* @__PURE__ */ new Set();
|
|
37263
|
+
const stack = [];
|
|
37264
|
+
const cycles = [];
|
|
37265
|
+
let next = 0;
|
|
37266
|
+
for (const root of waitsFor.keys()) {
|
|
37267
|
+
if (index.has(root)) continue;
|
|
37268
|
+
const frames = [];
|
|
37269
|
+
const open = (id) => {
|
|
37270
|
+
index.set(id, next);
|
|
37271
|
+
low.set(id, next);
|
|
37272
|
+
next++;
|
|
37273
|
+
stack.push(id);
|
|
37274
|
+
onStack.add(id);
|
|
37275
|
+
frames.push({
|
|
37276
|
+
id,
|
|
37277
|
+
edges: (waitsFor.get(id) ?? /* @__PURE__ */ new Set()).values()
|
|
37278
|
+
});
|
|
37279
|
+
};
|
|
37280
|
+
open(root);
|
|
37281
|
+
while (frames.length > 0) {
|
|
37282
|
+
const frame = frames[frames.length - 1];
|
|
37283
|
+
const step = frame.edges.next();
|
|
37284
|
+
if (!step.done) {
|
|
37285
|
+
const to = step.value;
|
|
37286
|
+
if (!waitsFor.has(to)) continue;
|
|
37287
|
+
if (!index.has(to)) open(to);
|
|
37288
|
+
else if (onStack.has(to)) low.set(frame.id, Math.min(low.get(frame.id), index.get(to)));
|
|
37289
|
+
continue;
|
|
37290
|
+
}
|
|
37291
|
+
frames.pop();
|
|
37292
|
+
const parent = frames[frames.length - 1];
|
|
37293
|
+
if (parent !== void 0) low.set(parent.id, Math.min(low.get(parent.id), low.get(frame.id)));
|
|
37294
|
+
if (low.get(frame.id) !== index.get(frame.id)) continue;
|
|
37295
|
+
const component = /* @__PURE__ */ new Set();
|
|
37296
|
+
for (let member = stack.pop(); member !== void 0; member = stack.pop()) {
|
|
37297
|
+
onStack.delete(member);
|
|
37298
|
+
component.add(member);
|
|
37299
|
+
if (member === frame.id) break;
|
|
37300
|
+
}
|
|
37301
|
+
if (component.size > 1) cycles.push(component);
|
|
37302
|
+
}
|
|
37303
|
+
}
|
|
37304
|
+
return cycles;
|
|
37305
|
+
}
|
|
37306
|
+
|
|
36944
37307
|
// src/deployment/deploy-engine/replacement/deferred-deletes.ts
|
|
36945
|
-
async function retryDeferredReplacedDeletes(run, deps, stackName, counts) {
|
|
37308
|
+
async function retryDeferredReplacedDeletes(run, deps, stackName, counts, carried = [], slots) {
|
|
36946
37309
|
const deferred = run.deferredReplacedDeletes;
|
|
36947
37310
|
run.deferredReplacedDeletes = void 0;
|
|
36948
|
-
if (deferred === void 0 || deferred.size === 0) return;
|
|
36949
|
-
const entries = [...deferred
|
|
37311
|
+
if ((deferred === void 0 || deferred.size === 0) && carried.length === 0) return;
|
|
37312
|
+
const entries = [...deferred?.values() ?? []];
|
|
36950
37313
|
const retried = entries.filter((entry) => entry.failureMessage !== void 0).length;
|
|
36951
37314
|
const cleanup = entries.filter((entry) => entry.cleanupPhase === true).length;
|
|
36952
37315
|
const movedIds = entries.length - retried - cleanup;
|
|
36953
37316
|
if (retried > 0) deps.logger.info(safeMsg`Retrying the delete of ${retried} replaced resource(s)`);
|
|
36954
37317
|
if (cleanup > 0) deps.logger.info(safeMsg`Deleting the old resource of ${cleanup} replaced resource(s)`);
|
|
36955
37318
|
if (movedIds > 0) deps.logger.info(safeMsg`Deleting the old physical id of ${movedIds} replaced custom resource(s)`);
|
|
36956
|
-
const pending = new Map(deferred);
|
|
36957
|
-
await
|
|
37319
|
+
const pending = new Map(deferred ?? []);
|
|
37320
|
+
await runCleanupDag(run, deps, stackName, counts, pending, carried, slots);
|
|
36958
37321
|
if (pending.size > 0) warnUnsentUntracked(run, deps, pending);
|
|
36959
37322
|
}
|
|
36960
|
-
async function
|
|
37323
|
+
async function runCleanupDag(run, deps, stackName, counts, pending, carried, slots) {
|
|
37324
|
+
const jobs = /* @__PURE__ */ new Map();
|
|
37325
|
+
const order = [];
|
|
37326
|
+
for (const [logicalId, entry] of pending) {
|
|
37327
|
+
const id = `deferred#${logicalId}`;
|
|
37328
|
+
jobs.set(id, {
|
|
37329
|
+
kind: "deferred",
|
|
37330
|
+
logicalId,
|
|
37331
|
+
entry
|
|
37332
|
+
});
|
|
37333
|
+
order.push({
|
|
37334
|
+
id,
|
|
37335
|
+
kind: "deferred",
|
|
37336
|
+
logicalId,
|
|
37337
|
+
resourceType: entry.resourceType,
|
|
37338
|
+
dependencies: entry.dependencies ?? [],
|
|
37339
|
+
physicalId: entry.physicalId,
|
|
37340
|
+
...entry.properties !== void 0 && { properties: entry.properties }
|
|
37341
|
+
});
|
|
37342
|
+
}
|
|
37343
|
+
carried.forEach((copy, index) => {
|
|
37344
|
+
const id = `carried#${index}#${copy.logicalId}`;
|
|
37345
|
+
jobs.set(id, {
|
|
37346
|
+
kind: "carried",
|
|
37347
|
+
copy
|
|
37348
|
+
});
|
|
37349
|
+
order.push({
|
|
37350
|
+
id,
|
|
37351
|
+
kind: "carried",
|
|
37352
|
+
logicalId: copy.logicalId,
|
|
37353
|
+
resourceType: copy.resourceType,
|
|
37354
|
+
dependencies: copy.dependencies,
|
|
37355
|
+
physicalId: copy.physicalId,
|
|
37356
|
+
properties: copy.properties
|
|
37357
|
+
});
|
|
37358
|
+
});
|
|
37359
|
+
const dag = new DagExecutor();
|
|
37360
|
+
for (const [id, waitsFor] of cleanupDeleteOrder(order)) dag.add({
|
|
37361
|
+
id,
|
|
37362
|
+
dependencies: waitsFor,
|
|
37363
|
+
state: "pending",
|
|
37364
|
+
data: jobs.get(id)
|
|
37365
|
+
});
|
|
37366
|
+
const send = async (job) => {
|
|
37367
|
+
if (deps.interrupted()) return;
|
|
37368
|
+
if (job.kind === "carried") return job.copy.remove();
|
|
37369
|
+
pending.delete(job.logicalId);
|
|
37370
|
+
return retryOne(run, deps, stackName, counts, job.logicalId, job.entry);
|
|
37371
|
+
};
|
|
37372
|
+
await dag.execute(Math.max(1, deps.options.concurrency ?? 1), (node) => slots === void 0 ? send(node.data) : slots.run(() => send(node.data)), () => deps.interrupted());
|
|
37373
|
+
}
|
|
37374
|
+
async function deleteDeferredUsersOfRemovals(run, deps, stackName, counts, removedIds, removedDependencies, heldElsewhere) {
|
|
37375
|
+
const none = /* @__PURE__ */ new Map();
|
|
36961
37376
|
const deferred = run.deferredReplacedDeletes;
|
|
36962
|
-
if (deferred === void 0 || deferred.size === 0 || removedIds.size === 0) return;
|
|
37377
|
+
if (deferred === void 0 || deferred.size === 0 || removedIds.size === 0) return none;
|
|
36963
37378
|
const users = (entry, ids) => (entry.dependencies ?? []).some((dep) => ids.has(dep));
|
|
36964
37379
|
const taken = /* @__PURE__ */ new Map();
|
|
36965
37380
|
for (const [logicalId, entry] of deferred) if (!removedIds.has(logicalId) && users(entry, removedIds)) taken.set(logicalId, entry);
|
|
36966
|
-
if (taken.size === 0) return;
|
|
37381
|
+
if (taken.size === 0) return none;
|
|
36967
37382
|
for (let grew = true; grew;) {
|
|
36968
37383
|
grew = false;
|
|
36969
37384
|
for (const [logicalId, entry] of deferred) {
|
|
@@ -36972,11 +37387,17 @@ async function deleteDeferredUsersOfRemovals(run, deps, stackName, counts, remov
|
|
|
36972
37387
|
grew = true;
|
|
36973
37388
|
}
|
|
36974
37389
|
}
|
|
36975
|
-
for (const removed of removedIds) if (removedDependencies(removed).some((dep) => dep !== removed && taken.has(dep))) return;
|
|
37390
|
+
for (const removed of removedIds) if (removedDependencies(removed).some((dep) => dep !== removed && taken.has(dep))) return none;
|
|
37391
|
+
if (heldElsewhere !== void 0 && await heldElsewhere(new Set(taken.keys()))) {
|
|
37392
|
+
const held = /* @__PURE__ */ new Map();
|
|
37393
|
+
for (const [logicalId, entry] of taken) for (const dep of entry.dependencies ?? []) if (removedIds.has(dep) && !held.has(dep)) held.set(dep, logicalId);
|
|
37394
|
+
return held;
|
|
37395
|
+
}
|
|
36976
37396
|
for (const logicalId of taken.keys()) deferred.delete(logicalId);
|
|
36977
37397
|
deps.logger.info(safeMsg`Deleting the old resource of ${taken.size} replaced resource(s) first: they use a resource removed from the template`);
|
|
36978
37398
|
await runInWaves(run, deps, stackName, counts, taken);
|
|
36979
37399
|
for (const [logicalId, entry] of taken) deferred.set(logicalId, entry);
|
|
37400
|
+
return none;
|
|
36980
37401
|
}
|
|
36981
37402
|
async function runInWaves(run, deps, stackName, counts, pending) {
|
|
36982
37403
|
while (pending.size > 0) {
|
|
@@ -38582,199 +39003,6 @@ function attemptUsesCompletedCreate(attemptedProperties, completedOps) {
|
|
|
38582
39003
|
return completedOps.some((op) => op.changeType === "CREATE" && typeof op.physicalId === "string" && op.physicalId !== "" && text.includes(op.physicalId));
|
|
38583
39004
|
}
|
|
38584
39005
|
|
|
38585
|
-
// src/analyzer/implicit-delete-deps.ts
|
|
38586
|
-
const IMPLICIT_DELETE_DEPENDENCIES = {
|
|
38587
|
-
"AWS::EC2::InternetGateway": ["AWS::EC2::VPCGatewayAttachment", "AWS::EC2::NatGateway"],
|
|
38588
|
-
"AWS::EC2::VPCGatewayAttachment": ["AWS::EC2::NatGateway"],
|
|
38589
|
-
"AWS::Events::EventBus": ["AWS::Events::Rule"],
|
|
38590
|
-
"AWS::Athena::WorkGroup": ["AWS::Athena::NamedQuery"],
|
|
38591
|
-
"AWS::CloudFront::ResponseHeadersPolicy": ["AWS::CloudFront::Distribution"],
|
|
38592
|
-
"AWS::CloudFront::CachePolicy": ["AWS::CloudFront::Distribution"],
|
|
38593
|
-
"AWS::CloudFront::OriginAccessControl": ["AWS::CloudFront::Distribution"],
|
|
38594
|
-
"AWS::EC2::VPC": [
|
|
38595
|
-
"AWS::EC2::Subnet",
|
|
38596
|
-
"AWS::EC2::SecurityGroup",
|
|
38597
|
-
"AWS::EC2::InternetGateway",
|
|
38598
|
-
"AWS::EC2::EgressOnlyInternetGateway",
|
|
38599
|
-
"AWS::EC2::VPCGatewayAttachment",
|
|
38600
|
-
"AWS::EC2::RouteTable"
|
|
38601
|
-
],
|
|
38602
|
-
"AWS::EC2::Subnet": ["AWS::EC2::SubnetRouteTableAssociation", "AWS::Lambda::Function"],
|
|
38603
|
-
"AWS::EC2::RouteTable": ["AWS::EC2::Route", "AWS::EC2::SubnetRouteTableAssociation"],
|
|
38604
|
-
"AWS::EC2::SecurityGroup": [
|
|
38605
|
-
"AWS::EC2::SecurityGroupIngress",
|
|
38606
|
-
"AWS::EC2::SecurityGroupEgress",
|
|
38607
|
-
"AWS::Lambda::Function"
|
|
38608
|
-
]
|
|
38609
|
-
};
|
|
38610
|
-
function typesDeletedBefore(type) {
|
|
38611
|
-
return Object.prototype.hasOwnProperty.call(IMPLICIT_DELETE_DEPENDENCIES, type) ? IMPLICIT_DELETE_DEPENDENCIES[type] : [];
|
|
38612
|
-
}
|
|
38613
|
-
const ALARM_RULE_FUNCTION_REGEX = /\b(?:ALARM|OK|INSUFFICIENT_DATA)\s*\(\s*([^)]*?)\s*\)/gi;
|
|
38614
|
-
function extractReferencedAlarmNames(alarmRule) {
|
|
38615
|
-
const names = /* @__PURE__ */ new Set();
|
|
38616
|
-
for (const match of alarmRule.matchAll(ALARM_RULE_FUNCTION_REGEX)) {
|
|
38617
|
-
let arg = (match[1] ?? "").trim();
|
|
38618
|
-
if (arg.length === 0) continue;
|
|
38619
|
-
if (arg.startsWith("\"") && arg.endsWith("\"") || arg.startsWith("'") && arg.endsWith("'")) arg = arg.slice(1, -1);
|
|
38620
|
-
if (arg.length === 0) continue;
|
|
38621
|
-
const arnAlarmMatch = /:alarm:(.+)$/.exec(arg);
|
|
38622
|
-
if (arnAlarmMatch?.[1]) names.add(arnAlarmMatch[1]);
|
|
38623
|
-
else names.add(arg);
|
|
38624
|
-
}
|
|
38625
|
-
return [...names];
|
|
38626
|
-
}
|
|
38627
|
-
function computeImplicitDeleteEdges(resources) {
|
|
38628
|
-
const edges = [];
|
|
38629
|
-
const alarmTypes = /* @__PURE__ */ new Set(["AWS::CloudWatch::Alarm", "AWS::CloudWatch::CompositeAlarm"]);
|
|
38630
|
-
const nameToLogicalId = /* @__PURE__ */ new Map();
|
|
38631
|
-
for (const [logicalId, resource] of Object.entries(resources)) {
|
|
38632
|
-
if (!alarmTypes.has(resource.resourceType)) continue;
|
|
38633
|
-
const alarmName = typeof resource.properties?.["AlarmName"] === "string" ? resource.properties["AlarmName"] : resource.physicalId;
|
|
38634
|
-
if (alarmName) nameToLogicalId.set(alarmName, logicalId);
|
|
38635
|
-
}
|
|
38636
|
-
for (const [logicalId, resource] of Object.entries(resources)) {
|
|
38637
|
-
if (resource.resourceType !== "AWS::CloudWatch::CompositeAlarm") continue;
|
|
38638
|
-
const alarmRule = resource.properties?.["AlarmRule"];
|
|
38639
|
-
if (typeof alarmRule !== "string") continue;
|
|
38640
|
-
for (const referencedName of extractReferencedAlarmNames(alarmRule)) {
|
|
38641
|
-
const referencedLogicalId = nameToLogicalId.get(referencedName);
|
|
38642
|
-
if (!referencedLogicalId || referencedLogicalId === logicalId) continue;
|
|
38643
|
-
edges.push({
|
|
38644
|
-
before: logicalId,
|
|
38645
|
-
after: referencedLogicalId
|
|
38646
|
-
});
|
|
38647
|
-
}
|
|
38648
|
-
}
|
|
38649
|
-
return edges;
|
|
38650
|
-
}
|
|
38651
|
-
|
|
38652
|
-
// src/deployment/dag-executor.ts
|
|
38653
|
-
var DagExecutor = class {
|
|
38654
|
-
nodes = /* @__PURE__ */ new Map();
|
|
38655
|
-
logger = getLogger().child("DagExecutor");
|
|
38656
|
-
priorityById = null;
|
|
38657
|
-
timingScope;
|
|
38658
|
-
constructor(timingScope) {
|
|
38659
|
-
this.timingScope = timingScope;
|
|
38660
|
-
}
|
|
38661
|
-
add(node) {
|
|
38662
|
-
this.nodes.set(node.id, node);
|
|
38663
|
-
}
|
|
38664
|
-
computePriorities() {
|
|
38665
|
-
if (this.priorityById) return this.priorityById;
|
|
38666
|
-
const dependentsOf = /* @__PURE__ */ new Map();
|
|
38667
|
-
for (const node of this.nodes.values()) for (const depId of node.dependencies) {
|
|
38668
|
-
if (!this.nodes.has(depId)) continue;
|
|
38669
|
-
let set = dependentsOf.get(depId);
|
|
38670
|
-
if (!set) {
|
|
38671
|
-
set = /* @__PURE__ */ new Set();
|
|
38672
|
-
dependentsOf.set(depId, set);
|
|
38673
|
-
}
|
|
38674
|
-
set.add(node.id);
|
|
38675
|
-
}
|
|
38676
|
-
const memo = /* @__PURE__ */ new Map();
|
|
38677
|
-
const visiting = /* @__PURE__ */ new Set();
|
|
38678
|
-
const collect = (id) => {
|
|
38679
|
-
const cached = memo.get(id);
|
|
38680
|
-
if (cached) return cached;
|
|
38681
|
-
const acc = /* @__PURE__ */ new Set();
|
|
38682
|
-
if (visiting.has(id)) return acc;
|
|
38683
|
-
visiting.add(id);
|
|
38684
|
-
for (const dependent of dependentsOf.get(id) ?? []) {
|
|
38685
|
-
acc.add(dependent);
|
|
38686
|
-
for (const t of collect(dependent)) acc.add(t);
|
|
38687
|
-
}
|
|
38688
|
-
visiting.delete(id);
|
|
38689
|
-
memo.set(id, acc);
|
|
38690
|
-
return acc;
|
|
38691
|
-
};
|
|
38692
|
-
const priorities = /* @__PURE__ */ new Map();
|
|
38693
|
-
for (const id of this.nodes.keys()) priorities.set(id, collect(id).size);
|
|
38694
|
-
this.priorityById = priorities;
|
|
38695
|
-
return priorities;
|
|
38696
|
-
}
|
|
38697
|
-
has(id) {
|
|
38698
|
-
return this.nodes.has(id);
|
|
38699
|
-
}
|
|
38700
|
-
size() {
|
|
38701
|
-
return this.nodes.size;
|
|
38702
|
-
}
|
|
38703
|
-
values() {
|
|
38704
|
-
return this.nodes.values();
|
|
38705
|
-
}
|
|
38706
|
-
async execute(concurrency, fn, cancelled = () => false) {
|
|
38707
|
-
let active = 0;
|
|
38708
|
-
const errors = [];
|
|
38709
|
-
const priority = this.computePriorities();
|
|
38710
|
-
const timingScope = phaseTimingsEnabled() ? this.timingScope : void 0;
|
|
38711
|
-
const readySince = /* @__PURE__ */ new Map();
|
|
38712
|
-
return new Promise((resolve, reject) => {
|
|
38713
|
-
const dispatch = () => {
|
|
38714
|
-
let changed = true;
|
|
38715
|
-
while (changed) {
|
|
38716
|
-
changed = false;
|
|
38717
|
-
for (const node of this.nodes.values()) {
|
|
38718
|
-
if (node.state !== "pending") continue;
|
|
38719
|
-
if ([...node.dependencies].some((depId) => {
|
|
38720
|
-
const dep = this.nodes.get(depId);
|
|
38721
|
-
return dep && (dep.state === "failed" || dep.state === "skipped");
|
|
38722
|
-
})) {
|
|
38723
|
-
node.state = "skipped";
|
|
38724
|
-
changed = true;
|
|
38725
|
-
this.logger.debug(`Skipped ${node.id}: dependency failed or was skipped`);
|
|
38726
|
-
}
|
|
38727
|
-
}
|
|
38728
|
-
}
|
|
38729
|
-
const ready = [];
|
|
38730
|
-
for (const node of this.nodes.values()) {
|
|
38731
|
-
if (node.state !== "pending") continue;
|
|
38732
|
-
if ([...node.dependencies].every((depId) => {
|
|
38733
|
-
const dep = this.nodes.get(depId);
|
|
38734
|
-
return !dep || dep.state === "completed";
|
|
38735
|
-
})) ready.push(node);
|
|
38736
|
-
}
|
|
38737
|
-
ready.sort((a, b) => (priority.get(b.id) ?? 0) - (priority.get(a.id) ?? 0));
|
|
38738
|
-
if (timingScope !== void 0) {
|
|
38739
|
-
const now = performance.now();
|
|
38740
|
-
for (const node of ready) if (!readySince.has(node.id)) readySince.set(node.id, now);
|
|
38741
|
-
}
|
|
38742
|
-
if (!cancelled()) for (const node of ready) {
|
|
38743
|
-
if (active >= concurrency) break;
|
|
38744
|
-
node.state = "running";
|
|
38745
|
-
active++;
|
|
38746
|
-
if (timingScope !== void 0) recordPhase(timingScope, "ready, waiting for a --concurrency slot", performance.now() - (readySince.get(node.id) ?? performance.now()), node.id);
|
|
38747
|
-
fn(node).then(() => {
|
|
38748
|
-
node.state = "completed";
|
|
38749
|
-
}).catch((error) => {
|
|
38750
|
-
node.state = "failed";
|
|
38751
|
-
errors.push({
|
|
38752
|
-
id: node.id,
|
|
38753
|
-
error
|
|
38754
|
-
});
|
|
38755
|
-
}).finally(() => {
|
|
38756
|
-
active--;
|
|
38757
|
-
dispatch();
|
|
38758
|
-
});
|
|
38759
|
-
}
|
|
38760
|
-
if (active === 0) {
|
|
38761
|
-
if (errors.length > 0) {
|
|
38762
|
-
reject(errors[0].error);
|
|
38763
|
-
return;
|
|
38764
|
-
}
|
|
38765
|
-
if ([...this.nodes.values()].some((n) => n.state === "pending") && !cancelled()) {
|
|
38766
|
-
const pending = [...this.nodes.values()].filter((n) => n.state === "pending").map((n) => n.id);
|
|
38767
|
-
reject(/* @__PURE__ */ new Error(`Deadlock detected: ${pending.length} node(s) stuck with unresolvable dependencies (${pending.join(", ")})`));
|
|
38768
|
-
return;
|
|
38769
|
-
}
|
|
38770
|
-
resolve();
|
|
38771
|
-
}
|
|
38772
|
-
};
|
|
38773
|
-
dispatch();
|
|
38774
|
-
});
|
|
38775
|
-
}
|
|
38776
|
-
};
|
|
38777
|
-
|
|
38778
39006
|
// src/deployment/deploy-engine/dependencies.ts
|
|
38779
39007
|
function hasPending(executor) {
|
|
38780
39008
|
for (const node of executor.values()) if (node.state === "pending") return true;
|
|
@@ -44950,7 +45178,7 @@ function redactStateForPersist(state) {
|
|
|
44950
45178
|
const sameResource = this.secretsRun.perResourceResolvedType.get(entry.logicalId) === entry.state.resourceType;
|
|
44951
45179
|
const orphanTemplateProps = sameResource ? this.secretsRun.perResourceTemplateProps.get(entry.logicalId) : void 0;
|
|
44952
45180
|
const orphanSecrets = sameResource ? this.secretsRun.perResourceSecrets.get(entry.logicalId) : void 0;
|
|
44953
|
-
return withMaskedPropertyFingerprints(withSecretAttributeKeysDropped(withOffTemplateEchoesMasked(applyNoEchoPersist(this.noEchoRun, this.noEchoDeps(), entry.logicalId, entry.state, withStoredReferencePositionsMasked(scrubResourceRecord(entry.state, orphanSecrets ?? /* @__PURE__ */ new Map(), orphanTemplateProps, void 0, sameGenerationClaimsOf(entry.state))), orphanTemplateProps, state.resources), {
|
|
45181
|
+
return withMaskedPropertyFingerprints(withSecretAttributeKeysDropped(withOffTemplateEchoesMasked(applyNoEchoPersist(this.noEchoRun, this.noEchoDeps(), entry.logicalId, entry.state, withStoredReferencePositionsMasked(scrubResourceRecord(entry.state, orphanSecrets ?? /* @__PURE__ */ new Map(), orphanTemplateProps, void 0, sameGenerationClaimsOf(entry.state))), orphanTemplateProps, state.resources, void 0, false, sameResource), {
|
|
44954
45182
|
properties: entry.state.properties,
|
|
44955
45183
|
...entry.state.observedProperties !== void 0 && { readback: entry.state.observedProperties }
|
|
44956
45184
|
}, publicTokens), entry.state, orphanSecrets, template === void 0 ? void 0 : templateGetAttNamesOf(template, entry.logicalId), publicTokens), entry.state.properties, orphanTemplateProps, orphanSecrets, sameResource ? this.secretsRun.fingerprintNoEchoValues : void 0, sameResource ? this.secretsRun.perResourceInputFingerprints.get(entry.logicalId) : void 0, sameResource ? this.secretsRun.perResourceReferenceFingerprints.get(entry.logicalId) : void 0);
|
|
@@ -45544,7 +45772,7 @@ var DeferredReadinessRun = class {
|
|
|
45544
45772
|
const deadlineOptions = {
|
|
45545
45773
|
warnAfterMs,
|
|
45546
45774
|
timeoutMs,
|
|
45547
|
-
onWarn: (elapsedMs) => this.deps.logger.info(this.mask(logicalId, safeMsg`Still waiting for ${logicalId} (${resourceType}) to be ready after ${
|
|
45775
|
+
onWarn: (elapsedMs) => this.deps.logger.info(this.mask(logicalId, safeMsg`Still waiting for ${logicalId} (${resourceType}) to be ready after ${formatWarnElapsed(elapsedMs)}`)),
|
|
45548
45776
|
onTimeout: (elapsedMs) => new ResourceTimeoutError(logicalId, resourceType, this.deps.region, elapsedMs, operation, timeoutMs)
|
|
45549
45777
|
};
|
|
45550
45778
|
try {
|
|
@@ -50666,6 +50894,28 @@ function plannedChangesLine(counts) {
|
|
|
50666
50894
|
}
|
|
50667
50895
|
|
|
50668
50896
|
// src/deployment/nested-cleanup-scope.ts
|
|
50897
|
+
var CleanupDeleteSlots = class {
|
|
50898
|
+
active = 0;
|
|
50899
|
+
waiters = [];
|
|
50900
|
+
limit;
|
|
50901
|
+
constructor(limit) {
|
|
50902
|
+
this.limit = limit;
|
|
50903
|
+
}
|
|
50904
|
+
async run(fn) {
|
|
50905
|
+
if (this.active < this.limit) this.active++;
|
|
50906
|
+
else await new Promise((resolve) => this.waiters.push(resolve));
|
|
50907
|
+
try {
|
|
50908
|
+
return await fn();
|
|
50909
|
+
} finally {
|
|
50910
|
+
const next = this.waiters.shift();
|
|
50911
|
+
if (next !== void 0) next();
|
|
50912
|
+
else this.active--;
|
|
50913
|
+
}
|
|
50914
|
+
}
|
|
50915
|
+
};
|
|
50916
|
+
function isDescendantStack(stackName, ancestor) {
|
|
50917
|
+
return stackName.startsWith(`${ancestor}~`);
|
|
50918
|
+
}
|
|
50669
50919
|
var NestedCleanupQueue = class {
|
|
50670
50920
|
entries = [];
|
|
50671
50921
|
open = true;
|
|
@@ -50688,31 +50938,66 @@ var NestedCleanupQueue = class {
|
|
|
50688
50938
|
if (!other.enqueue(moved)) entry.abandon("failed");
|
|
50689
50939
|
}
|
|
50690
50940
|
}
|
|
50691
|
-
async runAll(context, logger) {
|
|
50941
|
+
async runAll(context, logger, concurrency = 1) {
|
|
50692
50942
|
this.open = false;
|
|
50943
|
+
const limit = Number.isFinite(concurrency) && concurrency >= 1 ? Math.floor(concurrency) : 1;
|
|
50944
|
+
const waiting = this.entries.splice(0);
|
|
50945
|
+
const passContext = {
|
|
50946
|
+
...context,
|
|
50947
|
+
deleteSlots: context.deleteSlots ?? new CleanupDeleteSlots(limit)
|
|
50948
|
+
};
|
|
50693
50949
|
let updatePartial = 0;
|
|
50694
50950
|
let nestedUpdatePartial = 0;
|
|
50695
|
-
|
|
50696
|
-
|
|
50697
|
-
entry.abandon("interrupted");
|
|
50698
|
-
for (const rest of this.entries.splice(0)) rest.abandon("interrupted");
|
|
50699
|
-
break;
|
|
50700
|
-
}
|
|
50951
|
+
let updatedToPartial = 0;
|
|
50952
|
+
const runOne = async (entry) => {
|
|
50701
50953
|
const kind = entry.producer === true ? "stack" : "nested stack";
|
|
50702
50954
|
logger.info(safeMsg`Deleting the replaced resources of ${kind} ${displayStackName(entry.stackName)}`);
|
|
50703
|
-
let
|
|
50955
|
+
let outcome;
|
|
50704
50956
|
try {
|
|
50705
|
-
|
|
50957
|
+
outcome = await entry.run(passContext);
|
|
50706
50958
|
} catch (error) {
|
|
50707
50959
|
logger.warn(safeMsg` ⚠ The cleanup of ${kind} ${displayStackName(entry.stackName)} failed: ${asIsMessage(describeAwsFailure(error).summary)}. Its old resources were not deleted`);
|
|
50708
|
-
|
|
50960
|
+
outcome = entry.fail();
|
|
50709
50961
|
}
|
|
50710
|
-
updatePartial +=
|
|
50711
|
-
if (entry.producer !== true) nestedUpdatePartial +=
|
|
50962
|
+
updatePartial += outcome.updatePartial;
|
|
50963
|
+
if (entry.producer !== true) nestedUpdatePartial += outcome.updatePartial;
|
|
50964
|
+
else updatedToPartial += outcome.updatedToPartial ?? 0;
|
|
50965
|
+
};
|
|
50966
|
+
const inFlight = /* @__PURE__ */ new Map();
|
|
50967
|
+
const mustWait = (entry) => waiting.some((other) => isDescendantStack(other.stackName, entry.stackName)) || [...inFlight.values()].some((running) => running === entry.stackName || isDescendantStack(running, entry.stackName));
|
|
50968
|
+
let failure;
|
|
50969
|
+
const record = (error) => {
|
|
50970
|
+
failure ??= { error };
|
|
50971
|
+
};
|
|
50972
|
+
const start = (index) => {
|
|
50973
|
+
const [entry] = waiting.splice(index, 1);
|
|
50974
|
+
const task = runOne(entry).catch(record).finally(() => inFlight.delete(task));
|
|
50975
|
+
inFlight.set(task, entry.stackName);
|
|
50976
|
+
};
|
|
50977
|
+
while (inFlight.size > 0 || failure === void 0 && waiting.length > 0) {
|
|
50978
|
+
if (failure === void 0) try {
|
|
50979
|
+
for (let index = 0; index < waiting.length && inFlight.size < limit;) {
|
|
50980
|
+
if (context.interrupted()) {
|
|
50981
|
+
for (const rest of waiting.splice(0)) rest.abandon("interrupted");
|
|
50982
|
+
break;
|
|
50983
|
+
}
|
|
50984
|
+
if (mustWait(waiting[index])) index++;
|
|
50985
|
+
else start(index);
|
|
50986
|
+
}
|
|
50987
|
+
if (inFlight.size === 0 && waiting.length > 0) start(0);
|
|
50988
|
+
} catch (error) {
|
|
50989
|
+
record(error);
|
|
50990
|
+
}
|
|
50991
|
+
if (inFlight.size > 0) await Promise.race(inFlight.keys());
|
|
50992
|
+
}
|
|
50993
|
+
if (failure !== void 0) {
|
|
50994
|
+
this.entries.unshift(...waiting);
|
|
50995
|
+
throw failure.error;
|
|
50712
50996
|
}
|
|
50713
50997
|
return {
|
|
50714
50998
|
updatePartial,
|
|
50715
|
-
nestedUpdatePartial
|
|
50999
|
+
nestedUpdatePartial,
|
|
51000
|
+
updatedToPartial
|
|
50716
51001
|
};
|
|
50717
51002
|
}
|
|
50718
51003
|
abandon(why) {
|
|
@@ -50727,17 +51012,32 @@ function withNestedCleanupQueue(queue, fn) {
|
|
|
50727
51012
|
function getNestedCleanupQueue() {
|
|
50728
51013
|
return nestedCleanupStore.getStore();
|
|
50729
51014
|
}
|
|
51015
|
+
const cleanupDeleteSlotsStore = new AsyncLocalStorage();
|
|
51016
|
+
function withCleanupDeleteSlots(slots, fn) {
|
|
51017
|
+
return cleanupDeleteSlotsStore.run(slots, fn);
|
|
51018
|
+
}
|
|
51019
|
+
function currentCleanupDeleteSlots() {
|
|
51020
|
+
return cleanupDeleteSlotsStore.getStore();
|
|
51021
|
+
}
|
|
50730
51022
|
|
|
50731
51023
|
// src/deployment/deploy-engine/superseded-retry.ts
|
|
50732
51024
|
async function retryCarriedSupersededResources(engine, host, carried, resources, options = {}) {
|
|
50733
51025
|
let changed = false;
|
|
50734
51026
|
if (carried.length === 0) return changed;
|
|
51027
|
+
const retryOne = carriedSupersededRetrier(engine, host, resources, options);
|
|
51028
|
+
for (const entry of supersededDependentsFirst(carried)) {
|
|
51029
|
+
if (engine.interrupted) break;
|
|
51030
|
+
if (await retryOne(entry)) changed = true;
|
|
51031
|
+
}
|
|
51032
|
+
return changed;
|
|
51033
|
+
}
|
|
51034
|
+
function carriedSupersededRetrier(engine, host, resources, options = {}) {
|
|
50735
51035
|
const view = {
|
|
50736
51036
|
live: () => Object.entries(resources),
|
|
50737
51037
|
survivors: () => Object.entries(resources)
|
|
50738
51038
|
};
|
|
50739
|
-
|
|
50740
|
-
|
|
51039
|
+
return async (entry) => {
|
|
51040
|
+
let changed = false;
|
|
50741
51041
|
const { logicalId } = entry;
|
|
50742
51042
|
const { physicalId, resourceType } = entry.state;
|
|
50743
51043
|
const bag = unionOfSecretBags([secretNameBagFor(engine.secretsRun, logicalId), orphanRecordsPrintingBag([entry])]);
|
|
@@ -50747,10 +51047,10 @@ async function retryCarriedSupersededResources(engine, host, carried, resources,
|
|
|
50747
51047
|
changed = true;
|
|
50748
51048
|
if (holder.resourceType !== resourceType) {
|
|
50749
51049
|
withPrintingSecrets(bag, () => engine.logger.warn(safeMsg` ⚠ ${supersededHeldByOtherTypeWarning(entry, holder.resourceType)}`));
|
|
50750
|
-
|
|
51050
|
+
return changed;
|
|
50751
51051
|
}
|
|
50752
51052
|
withPrintingSecrets(bag, () => engine.logger.debug(safeMsg`Superseded ${logicalId} (${displayPhysicalId(resourceType, physicalId)}) is held by a record again; not deleting it`));
|
|
50753
|
-
|
|
51053
|
+
return changed;
|
|
50754
51054
|
}
|
|
50755
51055
|
await withPrintingSecrets(bag, () => withStackRecords(view, async () => {
|
|
50756
51056
|
engine.logger.info(safeMsg` Deleting old ${logicalId} (${displayPhysicalId(resourceType, physicalId)}), superseded by an earlier deploy...`);
|
|
@@ -50808,8 +51108,8 @@ async function retryCarriedSupersededResources(engine, host, carried, resources,
|
|
|
50808
51108
|
}
|
|
50809
51109
|
engine.logger.info(safeMsg` ${green("✓")} Old ${logicalId} (${displayPhysicalId(resourceType, physicalId)}) deleted`);
|
|
50810
51110
|
}));
|
|
50811
|
-
|
|
50812
|
-
|
|
51111
|
+
return changed;
|
|
51112
|
+
};
|
|
50813
51113
|
}
|
|
50814
51114
|
|
|
50815
51115
|
// src/deployment/deploy-engine/consumer-held-superseded.ts
|
|
@@ -50836,7 +51136,19 @@ async function carriedNotHeldByConsumers(engine, stackName, carried, live) {
|
|
|
50836
51136
|
}
|
|
50837
51137
|
return carried.filter((entry) => !kept.has(entry));
|
|
50838
51138
|
}
|
|
50839
|
-
async function
|
|
51139
|
+
async function oldCopiesHeldByConsumers(engine, stackName, entries, live, only) {
|
|
51140
|
+
const recorded = entries.filter((entry) => entry !== void 0);
|
|
51141
|
+
if (recorded.length < entries.length) {
|
|
51142
|
+
engine.logger.info(safeMsg` An old copy of a replaced resource is not recorded in state, so cdkd cannot tell whether a stack importing this stack's outputs still uses it: it is deleted after those stacks deploy, not before the removed resources it uses`);
|
|
51143
|
+
return true;
|
|
51144
|
+
}
|
|
51145
|
+
const holders = await consumersNaming(engine, stackName, recorded, live, only);
|
|
51146
|
+
const names = [...new Set([...holders.values()].flat())];
|
|
51147
|
+
if (names.length === 0) return false;
|
|
51148
|
+
withPrintingSecrets(orphanRecordsPrintingBag(recorded), () => engine.logger.info(safeMsg` ${names.join(", ")} (importing this stack's outputs) still uses an old copy of a replaced resource, so it is deleted after those stacks deploy, not before the removed resources it uses`));
|
|
51149
|
+
return true;
|
|
51150
|
+
}
|
|
51151
|
+
async function consumersNaming(engine, stackName, entries, live, only) {
|
|
50840
51152
|
const region = canonicalizeRegion(engine.stackRegion);
|
|
50841
51153
|
const holders = /* @__PURE__ */ new Map();
|
|
50842
51154
|
const holdAll = (why) => {
|
|
@@ -50845,7 +51157,7 @@ async function consumersNaming(engine, stackName, entries, live) {
|
|
|
50845
51157
|
};
|
|
50846
51158
|
let refs;
|
|
50847
51159
|
try {
|
|
50848
|
-
refs = await engine.stateBackend.listStacks();
|
|
51160
|
+
refs = only !== void 0 ? [...only] : await engine.stateBackend.listStacks();
|
|
50849
51161
|
} catch {
|
|
50850
51162
|
return holdAll("a stack cdkd could not list");
|
|
50851
51163
|
}
|
|
@@ -50903,17 +51215,33 @@ function names(leaf, needle) {
|
|
|
50903
51215
|
|
|
50904
51216
|
// src/deployment/deploy-engine/nested-cleanup.ts
|
|
50905
51217
|
async function runCleanupPhase(engine, { stackName, counts, completedOperations, host, carried, resources, releasedSomething }) {
|
|
51218
|
+
const sendable = carried.length === 0 ? [] : await carriedNotHeldByConsumers(engine, stackName, carried, resources);
|
|
51219
|
+
const retryCarried = sendable.length === 0 ? void 0 : carriedSupersededRetrier(engine, host, resources, { waitInUse: releasedSomething });
|
|
51220
|
+
const carriedCopies = sendable.map((entry) => ({
|
|
51221
|
+
logicalId: entry.logicalId,
|
|
51222
|
+
resourceType: entry.state.resourceType,
|
|
51223
|
+
dependencies: recordDependencies(entry),
|
|
51224
|
+
physicalId: entry.state.physicalId,
|
|
51225
|
+
properties: entry.state.properties,
|
|
51226
|
+
remove: async () => {
|
|
51227
|
+
await retryCarried(entry);
|
|
51228
|
+
}
|
|
51229
|
+
}));
|
|
50906
51230
|
try {
|
|
50907
|
-
await retryDeferredReplacedDeletes(engine.replacementRun, engine.replacementDeps(), stackName, counts);
|
|
51231
|
+
await retryDeferredReplacedDeletes(engine.replacementRun, engine.replacementDeps(), stackName, counts, carriedCopies, currentCleanupDeleteSlots());
|
|
50908
51232
|
} finally {
|
|
50909
51233
|
restampReplacedVerdicts(engine, completedOperations);
|
|
50910
51234
|
}
|
|
50911
|
-
const sendable = await carriedNotHeldByConsumers(engine, stackName, carried, resources);
|
|
50912
|
-
await retryCarriedSupersededResources(engine, host, sendable, resources, { waitInUse: releasedSomething });
|
|
50913
51235
|
}
|
|
50914
|
-
|
|
51236
|
+
function recordDependencies(entry) {
|
|
51237
|
+
const deps = entry.state.dependencies;
|
|
51238
|
+
return Array.isArray(deps) ? deps.filter((dep) => typeof dep === "string") : [];
|
|
51239
|
+
}
|
|
51240
|
+
async function deleteUsersOfRemovalsFirst(engine, stackName, counts, removedIds, currentState, completedOperations, live) {
|
|
51241
|
+
const held = engine.options.consumerCleanupQueue !== void 0;
|
|
51242
|
+
const producer = stackName.split("~")[0];
|
|
50915
51243
|
try {
|
|
50916
|
-
await deleteDeferredUsersOfRemovals(engine.replacementRun, engine.replacementDeps(), stackName, counts, removedIds, recordedDependencies(currentState.resources));
|
|
51244
|
+
return await deleteDeferredUsersOfRemovals(engine.replacementRun, engine.replacementDeps(), stackName, counts, removedIds, recordedDependencies(currentState.resources), held ? (taken) => oldCopiesHeldByConsumers(engine, producer, [...taken].map((id) => engine.replacementRun.supersededEntries.get(id)), live, engine.options.consumerStacks) : void 0);
|
|
50917
51245
|
} finally {
|
|
50918
51246
|
restampReplacedVerdicts(engine, completedOperations);
|
|
50919
51247
|
}
|
|
@@ -50931,7 +51259,7 @@ async function runOrQueueCleanups(engine, stackName, host, nestedCleanups, actua
|
|
|
50931
51259
|
const held = engine.options.parentStackInfo === void 0 ? engine.options.consumerCleanupQueue : void 0;
|
|
50932
51260
|
if (nestedCleanups !== void 0 && held !== void 0 && nestedCleanups.size > 0) nestedCleanups.drainInto(held);
|
|
50933
51261
|
else if (nestedCleanups !== void 0) {
|
|
50934
|
-
const { updatePartial, nestedUpdatePartial } = await nestedCleanups.runAll({ interrupted: () => engine.interrupted }, engine.logger);
|
|
51262
|
+
const { updatePartial, nestedUpdatePartial } = await nestedCleanups.runAll({ interrupted: () => engine.interrupted }, engine.logger, engine.options.concurrency);
|
|
50935
51263
|
actualCounts.updatePartial += updatePartial;
|
|
50936
51264
|
actualCounts.nestedUpdatePartial += nestedUpdatePartial;
|
|
50937
51265
|
}
|
|
@@ -51004,16 +51332,20 @@ async function runQueuedNestedCleanup(engine, stackName, host, pass, context) {
|
|
|
51004
51332
|
}
|
|
51005
51333
|
}
|
|
51006
51334
|
const before = supersededResourcesOf(host);
|
|
51335
|
+
const seeded = run.deferredReplacedDeletes?.size ?? 0;
|
|
51007
51336
|
const counts = {
|
|
51008
|
-
updated:
|
|
51337
|
+
updated: seeded,
|
|
51009
51338
|
updatePartial: 0
|
|
51010
51339
|
};
|
|
51011
|
-
await pass(stillOwed, counts);
|
|
51340
|
+
await withCleanupDeleteSlots(context.deleteSlots, () => pass(stillOwed, counts));
|
|
51012
51341
|
const after = supersededResourcesOf(host);
|
|
51013
51342
|
const dropped = before.filter((entry) => !after.some((row) => sameSuperseded(row, entry)));
|
|
51014
51343
|
const replaced = after.filter((row) => !before.includes(row) && before.some((entry) => sameSuperseded(row, entry)));
|
|
51015
51344
|
const unrecorded = dropped.length > 0 || replaced.length > 0 ? await persistDropped(engine, stackName, read, dropped, replaced) : 0;
|
|
51016
|
-
return {
|
|
51345
|
+
return {
|
|
51346
|
+
updatePartial: counts.updatePartial + unrecorded,
|
|
51347
|
+
updatedToPartial: seeded - counts.updated
|
|
51348
|
+
};
|
|
51017
51349
|
} finally {
|
|
51018
51350
|
try {
|
|
51019
51351
|
await engine.lockManager.releaseLock(stackName, region);
|
|
@@ -51076,7 +51408,7 @@ function isEtagConflict(error) {
|
|
|
51076
51408
|
}
|
|
51077
51409
|
|
|
51078
51410
|
// src/deployment/deploy-engine/carried-users-of-removals.ts
|
|
51079
|
-
function carriedUsersOfRemovals(carried, resources, removedIds) {
|
|
51411
|
+
function carriedUsersOfRemovals(carried, resources, removedIds, released = /* @__PURE__ */ new Set()) {
|
|
51080
51412
|
if (carried.length === 0 || removedIds.size === 0) return [];
|
|
51081
51413
|
const recordOf = (id) => {
|
|
51082
51414
|
const record = hasOwnKey(resources, id) ? resources[id] : void 0;
|
|
@@ -51091,7 +51423,7 @@ function carriedUsersOfRemovals(carried, resources, removedIds) {
|
|
|
51091
51423
|
const record = recordOf(id);
|
|
51092
51424
|
if (record !== void 0) removedTypes.add(record.resourceType);
|
|
51093
51425
|
}
|
|
51094
|
-
const candidates = carried.filter((row) => row.heldForConsumers !== true);
|
|
51426
|
+
const candidates = carried.filter((row) => row.heldForConsumers !== true || released.has(row));
|
|
51095
51427
|
const taken = /* @__PURE__ */ new Set();
|
|
51096
51428
|
for (const row of candidates) {
|
|
51097
51429
|
const rowType = row.state.resourceType;
|
|
@@ -51123,10 +51455,13 @@ function carriedUsersOfRemovals(carried, resources, removedIds) {
|
|
|
51123
51455
|
}
|
|
51124
51456
|
return carried.filter((row) => taken.has(row));
|
|
51125
51457
|
}
|
|
51126
|
-
async function deleteCarriedUsersOfRemovalsFirst(run, carried) {
|
|
51458
|
+
async function deleteCarriedUsersOfRemovalsFirst(run, carried, held = /* @__PURE__ */ new Map()) {
|
|
51127
51459
|
const { engine, currentState, deleteChanges, newResources } = run;
|
|
51128
|
-
|
|
51129
|
-
|
|
51460
|
+
const waits = engine.options.consumerCleanupQueue !== void 0;
|
|
51461
|
+
if (engine.options.parentStackInfo !== void 0 && !waits) return carried;
|
|
51462
|
+
const released = await holdRemovalsOfNamedRows(engine, currentState, carried, deleteChanges, newResources, held);
|
|
51463
|
+
if (waits) return carried;
|
|
51464
|
+
const taken = carriedUsersOfRemovals(carried, currentState.resources, deleteChanges, released);
|
|
51130
51465
|
if (taken.length === 0) return carried;
|
|
51131
51466
|
engine.logger.info(safeMsg`Deleting ${taken.length} old resource(s) an earlier deploy kept first: they use a resource removed from the template`);
|
|
51132
51467
|
await retryCarriedSupersededResources(engine, currentState, taken, newResources, { keptRemedy: "cdkd sends it again after the removed resources are deleted" });
|
|
@@ -51138,6 +51473,47 @@ async function deleteCarriedUsersOfRemovalsFirst(run, carried) {
|
|
|
51138
51473
|
const owed = new Set(carried.map(key));
|
|
51139
51474
|
return supersededResourcesOf(currentState).filter((row) => owed.has(key(row)));
|
|
51140
51475
|
}
|
|
51476
|
+
function removedDepsOf(row, removedIds, resources) {
|
|
51477
|
+
const deps = row.state.dependencies;
|
|
51478
|
+
const named = Array.isArray(deps) ? deps.filter((dep) => typeof dep === "string" && dep !== row.logicalId) : [];
|
|
51479
|
+
if (named.length > 0) return named.filter((dep) => removedIds.has(dep));
|
|
51480
|
+
return [...removedIds].filter((id) => {
|
|
51481
|
+
const record = hasOwnKey(resources, id) ? resources[id] : void 0;
|
|
51482
|
+
const type = typeof record === "object" && record !== null ? record.resourceType : void 0;
|
|
51483
|
+
return type !== void 0 && typesDeletedBefore(type).includes(row.state.resourceType);
|
|
51484
|
+
});
|
|
51485
|
+
}
|
|
51486
|
+
async function holdRemovalsOfNamedRows(engine, currentState, carried, removedIds, live, held) {
|
|
51487
|
+
const released = /* @__PURE__ */ new Set();
|
|
51488
|
+
const waits = engine.options.consumerCleanupQueue !== void 0;
|
|
51489
|
+
const users = carried.filter((row) => (waits || row.heldForConsumers === true) && removedDepsOf(row, removedIds, currentState.resources).length > 0);
|
|
51490
|
+
if (users.length === 0) return released;
|
|
51491
|
+
const producer = engine.options.parentStackInfo === void 0 ? currentState.stackName : currentState.stackName.split("~")[0];
|
|
51492
|
+
const marked = users.filter((row) => row.heldForConsumers === true);
|
|
51493
|
+
const unmarked = users.filter((row) => row.heldForConsumers !== true);
|
|
51494
|
+
const named = /* @__PURE__ */ new Set();
|
|
51495
|
+
const ask = async (rows, only) => {
|
|
51496
|
+
if (rows.length === 0) return;
|
|
51497
|
+
const holders = await consumersNaming(engine, producer, rows, live, only);
|
|
51498
|
+
for (const row of rows) if ((holders.get(row)?.length ?? 0) > 0) named.add(row);
|
|
51499
|
+
};
|
|
51500
|
+
await ask(marked, void 0);
|
|
51501
|
+
await ask(unmarked, engine.options.consumerStacks);
|
|
51502
|
+
for (const row of users) if (named.has(row)) {
|
|
51503
|
+
for (const dep of removedDepsOf(row, removedIds, currentState.resources)) if (!held.has(dep)) held.set(dep, row.logicalId);
|
|
51504
|
+
} else if (!waits && row.heldForConsumers === true) released.add(row);
|
|
51505
|
+
const stays = carried.filter((row) => row.heldForConsumers === true && !released.has(row));
|
|
51506
|
+
while (stays.length > 0) {
|
|
51507
|
+
const deps = stays.pop().state.dependencies;
|
|
51508
|
+
if (!Array.isArray(deps)) continue;
|
|
51509
|
+
for (const row of [...released]) {
|
|
51510
|
+
if (!deps.includes(row.logicalId)) continue;
|
|
51511
|
+
released.delete(row);
|
|
51512
|
+
stays.push(row);
|
|
51513
|
+
}
|
|
51514
|
+
}
|
|
51515
|
+
return released;
|
|
51516
|
+
}
|
|
51141
51517
|
|
|
51142
51518
|
// src/provisioning/changed-properties-consumers.ts
|
|
51143
51519
|
const CHANGED_PROPERTIES_CONSUMER_TYPES = /* @__PURE__ */ new Set(["AWS::ServiceDiscovery::Service"]);
|
|
@@ -60478,13 +60854,13 @@ async function provisionResource(engine, logicalId, change, stateResources, stac
|
|
|
60478
60854
|
warnAfterMs,
|
|
60479
60855
|
timeoutMs,
|
|
60480
60856
|
onWarn: (elapsedMs) => {
|
|
60481
|
-
const
|
|
60482
|
-
const warnSuffix = ` [taking longer than expected, ${
|
|
60857
|
+
const elapsed = formatWarnElapsed(elapsedMs);
|
|
60858
|
+
const warnSuffix = ` [taking longer than expected, ${elapsed}+]`;
|
|
60483
60859
|
const current = engine.liveTaskLabels.get(logicalId);
|
|
60484
60860
|
if (current !== void 0) current.warnSuffix = warnSuffix;
|
|
60485
60861
|
renderer.updateTaskLabel(logicalId, `${current?.label ?? baseLabel}${warnSuffix}`);
|
|
60486
60862
|
renderer.printAbove(() => {
|
|
60487
|
-
engine.logger.warn(safeMsg`${logicalId} (${resourceType}) has been ${operationKind === "CREATE" ? "creating" : operationKind === "DELETE" ? "deleting" : "updating"} for ${
|
|
60863
|
+
engine.logger.warn(safeMsg`${logicalId} (${resourceType}) has been ${operationKind === "CREATE" ? "creating" : operationKind === "DELETE" ? "deleting" : "updating"} for ${elapsed} — still waiting`);
|
|
60488
60864
|
});
|
|
60489
60865
|
},
|
|
60490
60866
|
onTimeout: (elapsedMs) => new ResourceTimeoutError(logicalId, resourceType, engine.stackRegion, elapsedMs, operationKind, timeoutMs)
|
|
@@ -60946,6 +61322,43 @@ function notInvokedError(run, logicalId, resourceType, error) {
|
|
|
60946
61322
|
// src/deployment/deploy-engine/execute/removal-delete-kept.ts
|
|
60947
61323
|
var RemovalDeletesKept = class {
|
|
60948
61324
|
keptBy = /* @__PURE__ */ new Map();
|
|
61325
|
+
constructor(heldForOldCopies = /* @__PURE__ */ new Map()) {
|
|
61326
|
+
this.heldForOldCopies = heldForOldCopies;
|
|
61327
|
+
}
|
|
61328
|
+
heldForOldCopies;
|
|
61329
|
+
keepUnsent(engine, node, stackName, counts, progress) {
|
|
61330
|
+
const { logicalId, change, record } = node;
|
|
61331
|
+
const oldCopy = this.heldOldCopyOf(logicalId);
|
|
61332
|
+
if (oldCopy !== void 0) {
|
|
61333
|
+
this.keepHeld(engine, logicalId, change, oldCopy, record, stackName, counts, progress);
|
|
61334
|
+
return true;
|
|
61335
|
+
}
|
|
61336
|
+
const blocker = this.blockerOf(node.dependencies);
|
|
61337
|
+
if (blocker === void 0) return false;
|
|
61338
|
+
this.keepBlocked(engine, logicalId, change, blocker, record, stackName, counts, progress);
|
|
61339
|
+
return true;
|
|
61340
|
+
}
|
|
61341
|
+
heldOldCopyOf(logicalId) {
|
|
61342
|
+
return this.heldForOldCopies.get(logicalId);
|
|
61343
|
+
}
|
|
61344
|
+
keepHeld(engine, logicalId, change, oldCopy, record, stackName, counts, progress) {
|
|
61345
|
+
this.keptBy.set(logicalId, logicalId);
|
|
61346
|
+
if (progress) progress.current++;
|
|
61347
|
+
counts.deleteSkipped++;
|
|
61348
|
+
const reason = `the old ${oldCopy} still uses it and waits for the stacks importing this stack's outputs`;
|
|
61349
|
+
getLiveRenderer().removeTask(logicalId);
|
|
61350
|
+
engine.logger.warn(safeMsg`${logicalId} (${change.resourceType}) was removed from the template, but ${reason}, so it stays in AWS and its cdkd state record was KEPT: the next 'cdkd deploy' deletes it.`);
|
|
61351
|
+
engine.recordEvent({
|
|
61352
|
+
eventType: "RESOURCE_SKIPPED",
|
|
61353
|
+
stackName,
|
|
61354
|
+
operation: "DELETE",
|
|
61355
|
+
logicalId,
|
|
61356
|
+
resourceType: change.resourceType,
|
|
61357
|
+
...record?.provisionedBy && { provisionedBy: record.provisionedBy },
|
|
61358
|
+
...record?.physicalId && { physicalId: record.physicalId },
|
|
61359
|
+
reason
|
|
61360
|
+
});
|
|
61361
|
+
}
|
|
60949
61362
|
keepFailure(engine, logicalId, change, error, counts, progress) {
|
|
60950
61363
|
if (engine.interrupted || isInterruptedWaitError(error) || deadlineFiredFor(error, logicalId)) return false;
|
|
60951
61364
|
this.keptBy.set(logicalId, logicalId);
|
|
@@ -61782,13 +62195,13 @@ async function executeDeploymentBody(registerForceQuitFlush, engine, template, c
|
|
|
61782
62195
|
}
|
|
61783
62196
|
});
|
|
61784
62197
|
if (deleteChanges.size > 0) {
|
|
61785
|
-
await deleteUsersOfRemovalsFirst(engine, stackName, actualCounts, deleteChanges, currentState, completedOperations);
|
|
61786
|
-
carriedSuperseded = await deleteCarriedUsersOfRemovalsFirst(run, carriedSuperseded);
|
|
62198
|
+
const heldForOldCopies = new Map(await deleteUsersOfRemovalsFirst(engine, stackName, actualCounts, deleteChanges, currentState, completedOperations, newResources));
|
|
62199
|
+
carriedSuperseded = await deleteCarriedUsersOfRemovalsFirst(run, carriedSuperseded, heldForOldCopies);
|
|
61787
62200
|
engine.logger.info(safeMsg`${red("Deleting")} ${red(deleteChanges.size)} resource(s)`);
|
|
61788
62201
|
const deleteDeps = buildDeletionDependencies(deleteChanges, currentState, engine.logger);
|
|
61789
62202
|
const deletes = new DagExecutor(phaseScope);
|
|
61790
62203
|
deleteExecutor = deletes;
|
|
61791
|
-
const removalKept = new RemovalDeletesKept();
|
|
62204
|
+
const removalKept = new RemovalDeletesKept(heldForOldCopies);
|
|
61792
62205
|
for (const id of deleteChanges) deletes.add({
|
|
61793
62206
|
id,
|
|
61794
62207
|
dependencies: deleteDeps.get(id) ?? /* @__PURE__ */ new Set(),
|
|
@@ -61800,11 +62213,12 @@ async function executeDeploymentBody(registerForceQuitFlush, engine, template, c
|
|
|
61800
62213
|
const logicalId = node.id;
|
|
61801
62214
|
const change = node.data;
|
|
61802
62215
|
const previousState = currentState.resources[logicalId] ? { ...currentState.resources[logicalId] } : void 0;
|
|
61803
|
-
|
|
61804
|
-
|
|
61805
|
-
|
|
61806
|
-
|
|
61807
|
-
|
|
62216
|
+
if (removalKept.keepUnsent(engine, {
|
|
62217
|
+
logicalId,
|
|
62218
|
+
change,
|
|
62219
|
+
dependencies: node.dependencies,
|
|
62220
|
+
record: previousState
|
|
62221
|
+
}, stackName, actualCounts, progress)) return;
|
|
61808
62222
|
let deleteOutcome;
|
|
61809
62223
|
try {
|
|
61810
62224
|
deleteOutcome = await timePhase(phaseScope, "resource delete", () => provisionResource(engine, logicalId, change, newResources, stackName, template, parameterValues, conditions, actualCounts, progress), `${logicalId} ${change.resourceType}`);
|
|
@@ -63943,5 +64357,5 @@ var DeployEngine = class {
|
|
|
63943
64357
|
}
|
|
63944
64358
|
};
|
|
63945
64359
|
|
|
63946
|
-
export { streamTagsMatchDeclared as $, maskEventTextWithBoundBags as $a, yellow as $c, createLazyAssetModeContext as $d, getCurrentProducerRegions as $i, repairMalformedOrphanRecordsForReadOnly as $l, NESTED_PENDING_PARENT_REASON as $n, WaitConditionSignalStore as $o, recordedRuleIdOf as $r, classifyReplaySecretRegion as $s, contributorInsightsRefusals as $t, UNREADABLE_RESOURCES_MAP_ROW as $u, renderUnreplacedTarget as A, supersededResourcesOf as Aa, recordedValuesOf as Ac, isSecretValuedAttribute as Ad, nullPrototypeRecord as Af, demoteSupersededOrphans as Ai, maskedSecretSegment as Al, refactorMarkerMovesOf as An, verifiedIdentityCache as Ao, movedToHint as Ar, DiffCalculator as As, tableNameReleaseWait as At, malformedExportNamesWarning as Au, readProtection as B, sgCidrKey as Ba, parseCfnTemplateWithFormat as Bc, isListParameterType as Bd, resolveBucketRegion as Bf, attemptUsesCompletedCreate as Bi, maskedInputProof as Bl, settleStackTagChildRuns as Bn, memberReadFailure as Bo, parseMappingFile as Br, refuseUnreadableCdkCrossAccountRefs as Bs, waitForKinesisEnableActive as Bt, refuseDivergentRecordRegionForDestroy as Bu, healSlashedSsmParameterNames as C, deleteSupersededEntry as Ca, maskPassedSecretChanges as Cc, CrossPrefixScanCache as Cd, validateContainerRepoName as Cf, earliestDefined as Ci, isStatefulRecreateTargetSync as Cl, hasCdkAutoDeleteTag as Cn, isStoredExpression as Co, constructPathOf as Cr, deleteIndeterminateGuards as Cs, mapSSESpecification as Ct, UNREADABLE_ORPHANS_CONTAINER_ROW as Cu, scanActiveConsumers as D, supersededDependentsFirst as Da, mixedSecretTagKeys as Dc, isNotImplemented as Dd, defineOwnKey as Df, acquireIdempotencyToken as Di, toFiniteNumber as Dl, recordRetainedForReadoption as Dn, destroyStackRecordsView as Do, orphanedLogicalIds as Dr, getReadOnlyPropertyPaths as Ds, sseSpecificationRefusal as Dt, refuseMalformedOrphans as Du, slashedSsmNameHealPendingNote as E, supersededAfterRollback as Ea, mixedSecretRowKeys as Ec, isAccessDenied$1 as Ed, getCdkdContainerRepoName as Ef, withCreateTokenLedger as Ei, toCfnInteger as El, keptForRetainedRecord as En, awaitInFlightSibling as Eo, formatDestructiveChange as Er, withIndeterminateGuard as Es, readCapacityNumber as Et, malformedOrphansWarning as Eu, recordedProtectionEvidence as F, withPreviousPolicies as Fa, prepareCloudFormationStackRetirement as Fc, isAbsoluteAssetPath as Fd, displayAssemblyPath as Ff, recordUnderIdIsNotOwn as Fi, getTopLevelKeysHoldingUnreadableCreateOnly as Fl, deleteSignalReceiver as Fn, SNS_DEFAULT_POLICY_ID as Fo, changedReferenceReason as Fr, stackIdTailOf as Fs, recordTagWrite as Ft, refuseMalformedNestedChildOutputs as Fu, declaredStreamTagsMember as G, noEchoAttributeNamesOf as Ga, promptYesNo as Gc, uploadCfnTemplate as Gd, orphanNeedsIdentity as Gi, isReadableOrphanRecord as Gl, readsOnlyNoEchoParameters as Gn, verbatimEchoDriftKeys as Go, createNoEchoValueMacs as Gr, isIamRoleArn as Gs, sendTtlWaitingOutRateLimit as Gt, refuseMalformedResourcesForDestroy as Gu, STREAM_POLICY_KEY as H, canonicalizeIpv6Cidr as Ha, SUPERSEDED_COPY_HINT as Hc, CFN_TEMPLATE_BODY_LIMIT as Hd, segmentCleanupOptions as Hi, declaresNoEcho as Hl, childStackTags as Hn, reReadUntilSettled as Ho, proposeRenames as Hr, assertFlagRoleArn as Hs, isTtlRateLimited as Ht, malformedResourcesWarning as Hu, recordedProtectionNote as I, findNestedStackTypeChanges as Ia, findReplacedCfnResources as Ic, listNestedTemplateRows as Id, namesTheSameDirectory as If, replacementNeverSwapped as Ii, tryGetTopLevelWriteOnlyProperties as Il, isReceiver as In, declaredMemberDocument as Io, differingRemedy as Ir, isSettledInstanceState as Is, settleWrittenTags as It, refuseMalformedOutputs as Iu, reverseMapStreamPolicy as J, withAttemptedItemsMasked as Ja, bold as Jc, decodeListingKey as Jd, nameScopeOf as Ji, malformedOrphanRowsKeptWarning as Jl, startForceQuitFlushes as Jn, CC_BROKEN_REASON as Jo, noEchoMacVerdict as Jr, AWS_CREDENTIAL_ENV_KEYS as Js, vectorIndexesForCreate as Jt, repairMalformedResourcesForReadOnly as Ju, planStreamMemberOps as K, noEchoComparisonForTemplate as Ka, serializePrompt as Kc, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Kd, nameGenerationCarriedFrom as Ki, malformedOrphanRecordsRefusalMessage as Kl, licensedNameHolder as Kn, attemptedPolicyDocument as Ko, noEchoMacBinding as Kr, parseIamRoleArn as Ks, planVectorIndexUpdates as Kt, refuseMalformedResourcesForExport as Ku, PROTECTION_PROPERTY_BY_TYPE as L, SG_RULE_ID_PATTERN as La, getCloudFormationResourceTree as Lc, renderNestedTemplateTreeDefect as Ld, renderAssemblyPathEscape as Lf, IMPLICIT_DELETE_DEPENDENCIES as Li, publicReferencesOf as Ll, removeSignalReceiverNamed as Ln, declaredPolicyDocument as Lo, isPairableType as Lr, connectInstanceIdOf as Ls, tagsMatchDeclared as Lt, refuseMalformedOutputsForDestroy as Lu, findServiceTokenRefusals as M, replacedDeleteFailureVerdict as Ma, taintedNamesOf as Mc, stringifyValue as Md, absoluteAssemblyPathEscape as Mf, isReplacementOrphan as Mi, secretSegmentsOfState as Ml, refuseRefactorMarker as Mn, KMS_DEFAULT_KEY_POLICY_ID as Mo, withMovedTo as Mr, isSelectOutOfBounds as Ms, clearTagWrites as Mt, malformedLocalOutputsWarning as Mu, serviceTokenBlockingReason as N, snapshotSegmentSurvivors as Na, templateMixesDynamicReference as Nc, missingStateBucketRemedy as Nd, assemblyPathEscape as Nf, planFailedOps as Ni, withSecretPhysicalIdsMaskedInState as Nl, sameMove as Nn, LAMBDA_PERMISSION_STATEMENT_KEYS as No, changedReferenceInDiff as Nr, isAlwaysLiveAttribute as Ns, declaredTagsReadback as Nt, malformedOutputsRefusalMessage as Nu, planReplaceResourceTargets as O, supersededHeldByOtherTypeWarning as Oa, mixesDynamicReference as Oc, stackInstanceIdOf as Od, hasOwnKey as Of, planRollback as Oi, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Ol, readRefactorMarker as On, getStackRecords as Oo, findRefactorHints as Or, isWaitAbandonedError as Os, sseSpecificationToSend as Ot, refuseMalformedOrphansForDestroy as Ou, diffSecurity as P, resolveReplacementOldType as Pa, deleteRetiredCloudFormationStack as Pc, findNestedTemplateTreeDefect as Pd, describeFileReadFailure as Pf, recheckFailedPlan as Pi, getSettledWriteOnlyPropertyPaths as Pl, updateRefactorMarker as Pn, OWN_WRITE_REREAD_DELAYS_MS as Po, changedReferencePath as Pr, poisonRenderedSpellingsCollidingIn as Ps, isDynamoDBTableArnIn as Pt, malformedOutputsWarning as Pu, streamPolicyMatchesDeclared as Q, journaledOrphanPrintingBag as Qa, red as Qc, createAssetRedirectResolver as Qd, withNameGenerationReached as Qi, refuseMalformedOrphansForOrphan as Ql, planOrphanAdoption as Qn, wouldReturnToSdkProvider as Qo, undeclaredGrantSiblingMembers as Qr, classifyRecordedSecretRegion as Qs, completeTableContributorInsightsBaseline as Qt, STATE_RESOURCES_MALFORMED as Qu, isProtectionValueActive as R, cfnIngressPortValue as Ra, tryGetCloudFormationResourceMap as Rc, templateIdentity as Rd, resolveAssemblyPath as Rf, computeImplicitDeleteEdges as Ri, maskedPropertyFingerprintsOf as Rl, childTemplateLoader as Rn, efsPolicyMatchesDeclared as Ro, looselyEqual as Rr, resolveDynamicReferences as Rs, takeTagWrite as Rt, repairMalformedOutputsForReadOnly as Ru, warnLegacySpelling as S, maskingRetryLogger as Sa, crossStackTaintSeeds as Sc, CrossPrefixReadError as Sd, validateAssetBucketName as Sf, replacementCreateRoutesToCloudControl as Si, isStatefulRecreateTargetForReplace as Sl, S3_AUTO_DELETE_OBJECTS_TAG as Sn, collectPrincipalsAttachingPolicy as So, crossStackReadsForPartialSave as Sr, UNSPECIFIED_SKIP_REASON as Ss, isTableName as St, repairMalformedResourcePropertiesForReadOnly as Su, slashedSsmNameHealNote as T, isSupersededResourceRecord as Ta, maskPassedSecretReasons as Tc, crossPrefixDeniedWarning as Td, getCdkdAssetBucketName as Tf, reserveStackCreateToken as Ti, isWarmThroughputDecrease as Tl, NestedCleanupQueue as Tn, withoutSiblingOwned as To, formatChangeCounts as Tr, deleteSkipReason as Ts, pointInTimeRecoveryRefusal as Tt, malformedOrphansRefusalMessage as Tu, STREAM_TAGS_KEY as U, canonicalizeIpv4Cidr as Ua, cfnFailureText as Uc, CFN_TEMPLATE_URL_LIMIT as Ud, removeProtectionTypeList as Ui, maskedPropertyFingerprint as Ul, literalRowTags as Un, settleDeclaredMember as Uo, referencedLogicalIds as Ur, assertSendableRoleArn as Us, planTimeToLive as Ut, malformedStateRefusalMessage as Uu, DynamoDBGlobalTableProvider as V, sgProtocolKey as Va, stringifyCfnTemplate as Vc, ssmResolvedValueType as Vd, readsRegeneratingSecret as Vi, passedParameterClassesOf as Vl, childRowTags as Vn, policyDocumentMatchesDeclared as Vo, propertiesChangedReason as Vr, applyRoleArnIfSet as Vs, isTtlAlreadyDisabled as Vt, malformedRenderedContainersWarning as Vu, declaredStreamPolicyMember as W, canonicalizeIpProtocolValue as Wa, confirmOrRefuse as Wc, findLargeInlineResources as Wd, removeProtectionTypes as Wi, deployRefusesOrphanRowsReason as Wl, macWriteOnlyKeys as Wn, warnUnsettledMember as Wo, NOECHO_MAC_KEY_ALIAS as Wr, explicitRoleArnOrThrow as Ws, readTtlSpec as Wt, refuseMalformedResourcesForDeploy as Wu, streamDeclaresTags as X, createReadOnlyAttributeHealerFactory as Xa, gray as Xc, synthesizedStacks as Xd, retiredNameGenerationsAfter as Xi, refuseMalformedOrphanRecords as Xl, resolvePendingCloudControlRequests as Xn, ccBrokenReason as Xo, siblingOwnedRevertDesired as Xr, callerEnvCredentials as Xs, vectorIndexesShapeDetail as Xt, accountArgs as Xu, streamDeclaresPolicy as Y, noEchoExactEchoLeavesOf as Ya, cyan as Yc, rememberSynthesizedStacks as Yd, retiredAfterRollback as Yi, previewableOrphanRecords as Yl, pendingRequestCount as Yn, ProviderRegistry as Yo, noEchoValueMacsOf as Yr, applyCallerIdentityCredentials as Ys, vectorIndexesSettled as Yt, JSON_LISTING_HOLE_VALUE as Yu, streamMemberRefusals as Z, completedReplayEntries as Za, green as Zc, buildAssetRedirectMap as Zd, retiredNameGenerationsLeaving as Zi, refuseMalformedOrphanRecordsForDestroy as Zl, makeSiblingClaimReader as Zn, isCustomResource as Zo, stripSiblingOwnedParentMembers as Zr, envCredentialsAreAssumedRole as Zs, CONTRIBUTOR_INSIGHTS_KEY as Zt, withheldAccountClause as Zu, readRecordedConditionVerdicts as _, collectPublishedOutputNames as _a, lacksRecordedRefArn as _c, splitImportedOps as _d, assertAssetBucketRegion as _f, equalModuloMask as _i, isLegacyHandleId as _l, deleteTableWithIndexBusyRetry as _n, unsupportedFinalSnapshotError as _o, loadJournaledOrphans as _r, withCustomResourceStack as _s, KINESIS_DESTINATION_SETTLE_POLL_MS as _t, malformedResourcePropertiesWarning as _u, mergeNoChangeOutputs as a, WITHHELD_NAME_DISPLAY as aa, s3BucketArn as ac, findSdkUnwiredProperties as ad, redirectFileAsset as af, replayFailedOperations as ai, recordedReferenceRegions as al, reverseMapTableContributorInsights as an, secretNamedRecordNeedles as ao, recordDisplacedSkips as ar, customResourceResponseExpirationWarning as as, localSecondaryIndexesKey as at, malformedResourceEntriesWarning as au, pendingMovesRefusalMessage as b, DEFAULT_RESOURCE_TIMEOUT_MS as ba, SECURITY_TABLE_WITHHELD as bc, hasUnverifiableParameterRefusal as bd, parseBootstrapMarker as bf, updatePartialReason as bi, shownType as bl, waitForIndexesSettled as bn, collectGroupsAddedBySiblings as bo, DeploymentEventsReader as br, waitForGoneAfterDelete as bs, hasUsableDeclaredCapacity as bt, refuseMalformedResourcePropertiesForExport as bu, nestedSsmNameRowNote as c, secretBearing as ca, s3BucketRegionalDomainName as cc, NO_CC_HANDLERS_REASON as cd, getDockerImageBySourceHash as cf, PLANNED_EARLY_DELETE_CONSEQUENCE as ci, isImpossibleEmptyStoredAttribute as cl, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as cn, storedSecretNameNeedles as co, withNestedRevertRun as cr, readsNoEchoDeleteValues as cs, sameJsonValue as ct, refuseMalformedResourceEntries as cu, makeCanonicalizePropertiesFn as d, carriedExportAliasExposure as da, isUnboundTemplateParameter as dc, providerReplacementOldDeleted as dd, resolveFileAssetSourcePath as df, buildReadCurrentStateContext as di, carriesDynamicReference as dl, deleteBudgetKey as dn, PRE_DELETE_SNAPSHOT_TYPES as do, withNestedStackContext as dr, customResourceStackName as ds, desiredBagIsInformative as dt, refuseMalformedResourceEntriesForImport as du, inheritProducerRegions as ea, producerRegionsFromState as ec, displayLogicalId as ed, flattenAssetPlaceholders as ef, sgRuleOwnershipIdentity as ei, getCurrentResourceSecrets as el, indexDeclaresContributorInsights as en, namingSecretsWithRecordedNoEcho as eo, displacedOpClause as er, classifyHandleUrl as es, canonicalizeStaleIndexDescription as et, unpreviewableOrphanRecords as eu, readDbInstanceAvailabilityZone as f, exportNameNoEchoParameters as fa, parameterTypeMayLoseSecretIdentity as fc, normalizeRecordName as fd, warnAbsoluteAssetPath as ff, recordAfterRollbackUpdate as fi, keepsSecretReferenceToken as fl, resolveDynamoDbDeleteBudgetClock as fn, ccRoutedFinalSnapshotError as fo, deleteJournaledOrphans as fr, customResourcesFailedWithoutApp as fs, isRefusedWarmThroughput as ft, refuseMalformedResourceEntriesForImportSave as fu, parentSuppliedValues as g, collectDeclaredOutputNames as ga, refStateLookupFromResource as gc, S3StateBackend as gd, buildDenyExternalAccessPolicy as gf, equalModuloMarkedMask as gi, LEGACY_HANDLE_ID_PREFIX as gl, TABLE_INDEX_NOUN as gn, refusesFinalSnapshot as go, journaledOrphanLines as gr, setLocalCustomResourceRuntimeEnabled as gs, warmThroughputAlreadyMatches as gt, malformedDriftResourcePropertiesWarning as gu, conditionInputsFrom as h, noEchoParameterValueSeed as ha, isStalePlaceholderArnAttribute as hc, TemplateParser as hd, ensureAssetStorage as hf, calculateResourceDrift as hi, LEGACY_HANDLE_HEAL_REASON as hl, INDEX_SETTLE_POLL_INTERVAL_MS as hn, isFinalSnapshotError as ho, isHandledOrphan as hr, localCustomResourceRuntimeActive as hs, trimUnsentWarmMembers as ht, unreadableResourceEntries as hu, keptWholeReasonText as i, resourcesNamingDeclaredParameter as ia, dnsEntryStrings as ic, findHandledUnwrittenCreateOnly as id, redirectDockerAsset as if, withoutSiblingOwnedSgRules as ii, recordedOutputReferenceRegions as il, reverseMapIndexContributorInsights as in, secretNamedAttributeNamesOf as io, nestedChildStackName as ir, applyCustomResourceResponseExpiration as is, gsiUnsendableChangeRefusal as it, malformedLocalResourcesWarning as iu, deferredServiceTokenWarning as j, withoutSuperseded as ja, securityDiffWithPassedSecretWithheld as jc, isSensitiveAttributeName as jd, ownValue as jf, isJournaledOrphan as ji, secretPhysicalIdSegment as jl, refactorMarkerRefusalMessage as jn, withStackRecords as jo, rollbackOrphanIds as jr, IntrinsicFunctionResolver as js, TAGS_BASELINE_REREAD_DELAYS_MS as jt, malformedExportSourceWarning as ju, refuseStatefulReplaceResourceTargets as k, supersededHolderOf as ka, readsTainted as kc, withStackInstanceIdWithheld as kd, hasPlainPrototype as kf, seedsDeleteFirstGuard as ki, displayPhysicalId as kl, readRefactorMarkerOnce as kn, revertStackRecordsView as ko, hintSidesOf as kr, markWaitAbandoned as ks, tableDeleteGoneWait as kt, repairMalformedOrphansForReadOnly as ku, crossStackOutputProvenanceSource as l, secretBearingStateKeyWarning as la, s3BucketWebsiteUrl as lc, hasNoCloudControlHandlers as ld, isCfnTemplateAssetPath as lf, earlyDeleteWhen as li, carriesFetchableDynamicReference as ll, beginDeleteWait as ln, extractDeploymentEventError as lo, collectNestedChildUnaddressed as lr, isCustomResourceType$1 as ls, coerceWarmThroughput as lt, refuseMalformedResourceEntriesForDeploy as lu, conditionFingerprint as m, isWholeDynamicReferenceValue as ma, cfnRefValueFromPhysicalId as mc, wireAttributeValue as md, AssetModeResolver as mf, withUnprovenUnsettled as mi, INTRINSIC_KEYS as ml, DELETE_INDEX_WAIT_PROCEED_NOTE as mn, effectiveDeletionPolicy as mo, dropFailedHint as mr, localCustomResourceCommand as ms, sentWarmThroughputMembers as mt, repairMalformedResourceEntriesForReadOnly as mu, applyStackTagsToTemplate as n, namesAnyDeclaredParameter as na, withoutLapsedStaleShapeStamp as nc, hasReadableResources as nd, isDefaultBootstrapRepoName as nf, siblingOwnedSgRuleIdentities as ni, keepHeldTokenProvenance as nl, planIndexContributorInsightsOps as nn, secretNamePrintingBag as no, dropSettledNestedJournals as nr, isSignalKey as ns, deletionProtectionRefusal as nt, isReadableResourceEntry as nu, checkNestedSsmNames as o, displayTextOrWithheld as oa, s3BucketDomainName as oc, unwrittenCreateOnlyReplacement as od, rewriteTemplateAssetReferences as of, replayRollback as oi, withoutVersionAttestation as ol, stripIndexContributorInsights as on, stackSecretNamesMasker as oo, revertNestedChildFromJournal as or, responsePresignClient as os, projectIndexesOnto as ot, malformedScrubResourceEntriesRefusalMessage as ou, healZonelessDbInstanceRecords as p, exportNameSecretExposure as pa, AWS_NO_VALUE as pc, planSubscriptionAttributes as pd, warnWholeAssemblyAsSource as pf, settleUnsettledPrevious as pi, withSharedDrainBudget as pl, resolveDynamoDbDeleteBudgetMs as pn, ccRoutedInstanceTakesNoSnapshot as po, dropFailedCommands as pr, customResourcesRunWithoutApp as ps, readbackWarmThroughput as pt, refuseMalformedResourceEntriesForOrphan as pu, readStreamPolicy as q, noEchoParameterNamesOf as qa, NESTED_STACK_RESOURCE_TYPE$2 as qc, purgeNoncurrentKeyVersions as qd, nameGenerationHighWaterOf as qi, malformedOrphanRecordsWarning as ql, formatResourceLine as qn, policyContentKey as qo, noEchoMacParametersOf as qr, sendableAssumeRoleCommand as qs, readbackVectorIndexes as qt, refuseMalformedState as qu, isSecretBearingReferenceString as r, reachableDivergentParameters as ra, isUnexposedRecordedIdentity as rc, findActionableSdkUnwired as rd, loadPublishableAssetManifest as rf, siblingRecordedSgRuleIds as ri, outputReferenceProvenanceOf as rl, readContributorInsightsSpec as rn, secretNamePrintingBags as ro, getNestedRevertRun as rr, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as rs, desiredIndexEntriesByName as rt, malformedLocalResourceEntriesWarning as ru, nestedSsmNameDeferredNote as s, exportAliasCollisionScrubWarning as sa, s3BucketDualStackDomainName as sc, withoutSdkUnwiredProperties as sd, AssetManifestLoader as sf, DELETED_RESOURCE_REMEDY as si, getAccountInfo as sl, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as sn, stateSecretNameNeedles as so, revertedNestedRowIds as sr, TemplateNoEchoReresolver as ss, reverseMapSecondaryIndex as st, refuseMalformedResourceAttributesForOrphan as su, DeployEngine as t, computeParameterTaint as ta, regionLessSecretName as tc, hasReadableOutputs as td, isDefaultBootstrapBucketName as tf, sgSiblingDecidedById as ti, withPrintingSecrets as tl, planContributorInsightsOp as tn, orphanRecordsPrintingBag as to, displacedPhysicalIdShown as tr, evaluateSignals as ts, declaresIndexList as tt, unreadableOrphanRecords as tu, inheritedProvenanceForChildDiff as u, secretSafeKeyDisplay as ua, coerceParameterTypedValue as uc, PROPERTY_COVERAGE_BY_TYPE as ud, parseAssetManifestBody as uf, earlyDeletedOld as ui, isNamelessDynamicReferenceError as ul, compensateRemovedDeletionProtection as un, ATOMIC_FINAL_SNAPSHOT_TYPES as uo, getCurrentNestedStackContext as ur, NO_LOCAL_CUSTOM_RESOURCES_FLAG as us, declaresWarmThroughput as ut, refuseMalformedResourceEntriesForDestroy as uu, hasPendingMovesOut as v, isExportAliasCollision as va, lacksRecordedTableArn as vc, readOnlyStateVersionOf as vd, isCrossRegionRedirect as vf, undeclaredEmptyObservedKeys as vi, findReplacedReadersOfRecreateTargets as vl, maskedLogger as vn, createPreDeleteFinalSnapshot as vo, sameJournaledOrphans as vr, waitForLambdaFunctionActive as vs, KINESIS_DISABLE_PENDING_STATUSES as vt, refuseMalformedResourcePropertiesForDestroy as vu, slashedSsmNameHealAdoptedNote as w, holdsSupersededResources as wa, maskPassedSecretOutputs as wc, applyCrossPrefixScan as wd, BOOTSTRAP_MARKER_PREFIX as wf, ledgerForStack as wi, renderStatefulReason as wl, isTruthyCfnBoolean as wn, withoutSiblingAttachedArns as wo, findDestructiveChanges as wr, deleteLeftInPlace as ws, maskLeafValue as wt, hasReadableOrphans as wu, refusePendingMovesOut as x, DEFAULT_RESOURCE_WARN_AFTER_MS as xa, calculatorMaskingPassedSecretLines as xc, rebuildClientForBucketRegion as xd, readBootstrapMarkerBody as xf, findUpdatePolicyReplacementRefusals as xi, MULTI_REGION_RECREATE_BLOCKED_TYPES as xl, ECR_AUTO_DELETE_IMAGES_TAG as xn, collectManagedPolicyArnsAttachedBySiblings as xo, DeploymentEventsStore as xr, RollbackInlinePolicyWriters as xs, isPlainCapacityBlock as xt, refuseMalformedResourcePropertiesForOrphan as xu, pendingMovesOutOf as y, bindingSkippedOutputs as ya, parseWebACLArn as yc, hasReasonlessBaselineRefusal as yd, getBootstrapMarkerKey as yf, updatePartialMessage as yi, refuseStatefulReplacedReaders as yl, relayedIndexBusyDelete as yn, buildFinalSnapshotIdentifier as yo, makeForeignHolderScan as yr, CloudControlProvider as ys, deleteTableRetryDelays as yt, refuseMalformedResourcePropertiesForDrift as yu, perType as z, recordedSgRuleId as za, parseCfnTemplate as zc, SSM_PARAMETER_VALUE_PREFIX as zd, clearBucketRegionCache as zf, typesDeletedBefore as zi, parameterInputsFor as zl, inRunStackKey as zn, lambdaPermissionMatchesDeclared as zo, mappingPairs as zr, producerLookupOver as zs, waitForContributorInsightsSettled as zt, STATE_REGION_DIVERGED as zu };
|
|
63947
|
-
//# sourceMappingURL=deploy-engine-
|
|
64360
|
+
export { streamTagsMatchDeclared as $, maskEventTextWithBoundBags as $a, yellow as $c, createLazyAssetModeContext as $d, namesAnyDeclaredParameter as $i, repairMalformedOrphanRecordsForReadOnly as $l, NESTED_PENDING_PARENT_REASON as $n, WaitConditionSignalStore as $o, recordedRuleIdOf as $r, classifyReplaySecretRegion as $s, contributorInsightsRefusals as $t, UNREADABLE_RESOURCES_MAP_ROW as $u, renderUnreplacedTarget as A, supersededResourcesOf as Aa, recordedValuesOf as Ac, isSecretValuedAttribute as Ad, nullPrototypeRecord as Af, demoteSupersededOrphans as Ai, maskedSecretSegment as Al, refactorMarkerMovesOf as An, verifiedIdentityCache as Ao, movedToHint as Ar, DiffCalculator as As, tableNameReleaseWait as At, malformedExportNamesWarning as Au, readProtection as B, sgCidrKey as Ba, parseCfnTemplateWithFormat as Bc, isListParameterType as Bd, resolveBucketRegion as Bf, removeProtectionTypeList as Bi, maskedInputProof as Bl, settleStackTagChildRuns as Bn, memberReadFailure as Bo, parseMappingFile as Br, refuseUnreadableCdkCrossAccountRefs as Bs, waitForKinesisEnableActive as Bt, refuseDivergentRecordRegionForDestroy as Bu, healSlashedSsmParameterNames as C, deleteSupersededEntry as Ca, maskPassedSecretChanges as Cc, CrossPrefixScanCache as Cd, validateContainerRepoName as Cf, earliestDefined as Ci, isStatefulRecreateTargetSync as Cl, hasCdkAutoDeleteTag as Cn, isStoredExpression as Co, constructPathOf as Cr, deleteIndeterminateGuards as Cs, mapSSESpecification as Ct, UNREADABLE_ORPHANS_CONTAINER_ROW as Cu, scanActiveConsumers as D, supersededDependentsFirst as Da, mixedSecretTagKeys as Dc, isNotImplemented as Dd, defineOwnKey as Df, acquireIdempotencyToken as Di, toFiniteNumber as Dl, recordRetainedForReadoption as Dn, destroyStackRecordsView as Do, orphanedLogicalIds as Dr, getReadOnlyPropertyPaths as Ds, sseSpecificationRefusal as Dt, refuseMalformedOrphans as Du, slashedSsmNameHealPendingNote as E, supersededAfterRollback as Ea, mixedSecretRowKeys as Ec, isAccessDenied$1 as Ed, getCdkdContainerRepoName as Ef, withCreateTokenLedger as Ei, toCfnInteger as El, keptForRetainedRecord as En, awaitInFlightSibling as Eo, formatDestructiveChange as Er, withIndeterminateGuard as Es, readCapacityNumber as Et, malformedOrphansWarning as Eu, recordedProtectionEvidence as F, withPreviousPolicies as Fa, prepareCloudFormationStackRetirement as Fc, isAbsoluteAssetPath as Fd, displayAssemblyPath as Ff, recordUnderIdIsNotOwn as Fi, getTopLevelKeysHoldingUnreadableCreateOnly as Fl, deleteSignalReceiver as Fn, SNS_DEFAULT_POLICY_ID as Fo, changedReferenceReason as Fr, stackIdTailOf as Fs, recordTagWrite as Ft, refuseMalformedNestedChildOutputs as Fu, declaredStreamTagsMember as G, noEchoAttributeNamesOf as Ga, promptYesNo as Gc, uploadCfnTemplate as Gd, nameScopeOf as Gi, isReadableOrphanRecord as Gl, readsOnlyNoEchoParameters as Gn, verbatimEchoDriftKeys as Go, createNoEchoValueMacs as Gr, isIamRoleArn as Gs, sendTtlWaitingOutRateLimit as Gt, refuseMalformedResourcesForDestroy as Gu, STREAM_POLICY_KEY as H, canonicalizeIpv6Cidr as Ha, SUPERSEDED_COPY_HINT as Hc, CFN_TEMPLATE_BODY_LIMIT as Hd, orphanNeedsIdentity as Hi, declaresNoEcho as Hl, childStackTags as Hn, reReadUntilSettled as Ho, proposeRenames as Hr, assertFlagRoleArn as Hs, isTtlRateLimited as Ht, malformedResourcesWarning as Hu, recordedProtectionNote as I, findNestedStackTypeChanges as Ia, findReplacedCfnResources as Ic, listNestedTemplateRows as Id, namesTheSameDirectory as If, replacementNeverSwapped as Ii, tryGetTopLevelWriteOnlyProperties as Il, isReceiver as In, declaredMemberDocument as Io, differingRemedy as Ir, isSettledInstanceState as Is, settleWrittenTags as It, refuseMalformedOutputs as Iu, reverseMapStreamPolicy as J, withAttemptedItemsMasked as Ja, bold as Jc, decodeListingKey as Jd, retiredNameGenerationsLeaving as Ji, malformedOrphanRowsKeptWarning as Jl, startForceQuitFlushes as Jn, CC_BROKEN_REASON as Jo, noEchoMacVerdict as Jr, AWS_CREDENTIAL_ENV_KEYS as Js, vectorIndexesForCreate as Jt, repairMalformedResourcesForReadOnly as Ju, planStreamMemberOps as K, noEchoComparisonForTemplate as Ka, serializePrompt as Kc, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Kd, retiredAfterRollback as Ki, malformedOrphanRecordsRefusalMessage as Kl, licensedNameHolder as Kn, attemptedPolicyDocument as Ko, noEchoMacBinding as Kr, parseIamRoleArn as Ks, planVectorIndexUpdates as Kt, refuseMalformedResourcesForExport as Ku, PROTECTION_PROPERTY_BY_TYPE as L, SG_RULE_ID_PATTERN as La, getCloudFormationResourceTree as Lc, renderNestedTemplateTreeDefect as Ld, renderAssemblyPathEscape as Lf, attemptUsesCompletedCreate as Li, publicReferencesOf as Ll, removeSignalReceiverNamed as Ln, declaredPolicyDocument as Lo, isPairableType as Lr, connectInstanceIdOf as Ls, tagsMatchDeclared as Lt, refuseMalformedOutputsForDestroy as Lu, findServiceTokenRefusals as M, replacedDeleteFailureVerdict as Ma, taintedNamesOf as Mc, stringifyValue as Md, absoluteAssemblyPathEscape as Mf, isReplacementOrphan as Mi, secretSegmentsOfState as Ml, refuseRefactorMarker as Mn, KMS_DEFAULT_KEY_POLICY_ID as Mo, withMovedTo as Mr, isSelectOutOfBounds as Ms, clearTagWrites as Mt, malformedLocalOutputsWarning as Mu, serviceTokenBlockingReason as N, snapshotSegmentSurvivors as Na, templateMixesDynamicReference as Nc, missingStateBucketRemedy as Nd, assemblyPathEscape as Nf, planFailedOps as Ni, withSecretPhysicalIdsMaskedInState as Nl, sameMove as Nn, LAMBDA_PERMISSION_STATEMENT_KEYS as No, changedReferenceInDiff as Nr, isAlwaysLiveAttribute as Ns, declaredTagsReadback as Nt, malformedOutputsRefusalMessage as Nu, planReplaceResourceTargets as O, supersededHeldByOtherTypeWarning as Oa, mixesDynamicReference as Oc, stackInstanceIdOf as Od, hasOwnKey as Of, planRollback as Oi, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Ol, readRefactorMarker as On, getStackRecords as Oo, findRefactorHints as Or, isWaitAbandonedError as Os, sseSpecificationToSend as Ot, refuseMalformedOrphansForDestroy as Ou, diffSecurity as P, resolveReplacementOldType as Pa, deleteRetiredCloudFormationStack as Pc, findNestedTemplateTreeDefect as Pd, describeFileReadFailure as Pf, recheckFailedPlan as Pi, getSettledWriteOnlyPropertyPaths as Pl, updateRefactorMarker as Pn, OWN_WRITE_REREAD_DELAYS_MS as Po, changedReferencePath as Pr, poisonRenderedSpellingsCollidingIn as Ps, isDynamoDBTableArnIn as Pt, malformedOutputsWarning as Pu, streamPolicyMatchesDeclared as Q, journaledOrphanPrintingBag as Qa, red as Qc, createAssetRedirectResolver as Qd, computeParameterTaint as Qi, refuseMalformedOrphansForOrphan as Ql, planOrphanAdoption as Qn, wouldReturnToSdkProvider as Qo, undeclaredGrantSiblingMembers as Qr, classifyRecordedSecretRegion as Qs, completeTableContributorInsightsBaseline as Qt, STATE_RESOURCES_MALFORMED as Qu, isProtectionValueActive as R, cfnIngressPortValue as Ra, tryGetCloudFormationResourceMap as Rc, templateIdentity as Rd, resolveAssemblyPath as Rf, readsRegeneratingSecret as Ri, maskedPropertyFingerprintsOf as Rl, childTemplateLoader as Rn, efsPolicyMatchesDeclared as Ro, looselyEqual as Rr, resolveDynamicReferences as Rs, takeTagWrite as Rt, repairMalformedOutputsForReadOnly as Ru, warnLegacySpelling as S, typesDeletedBefore as Sa, crossStackTaintSeeds as Sc, CrossPrefixReadError as Sd, validateAssetBucketName as Sf, replacementCreateRoutesToCloudControl as Si, isStatefulRecreateTargetForReplace as Sl, S3_AUTO_DELETE_OBJECTS_TAG as Sn, collectPrincipalsAttachingPolicy as So, crossStackReadsForPartialSave as Sr, UNSPECIFIED_SKIP_REASON as Ss, isTableName as St, repairMalformedResourcePropertiesForReadOnly as Su, slashedSsmNameHealNote as T, isSupersededResourceRecord as Ta, maskPassedSecretReasons as Tc, crossPrefixDeniedWarning as Td, getCdkdAssetBucketName as Tf, reserveStackCreateToken as Ti, isWarmThroughputDecrease as Tl, NestedCleanupQueue as Tn, withoutSiblingOwned as To, formatChangeCounts as Tr, deleteSkipReason as Ts, pointInTimeRecoveryRefusal as Tt, malformedOrphansRefusalMessage as Tu, STREAM_TAGS_KEY as U, canonicalizeIpv4Cidr as Ua, cfnFailureText as Uc, CFN_TEMPLATE_URL_LIMIT as Ud, nameGenerationCarriedFrom as Ui, maskedPropertyFingerprint as Ul, literalRowTags as Un, settleDeclaredMember as Uo, referencedLogicalIds as Ur, assertSendableRoleArn as Us, planTimeToLive as Ut, malformedStateRefusalMessage as Uu, DynamoDBGlobalTableProvider as V, sgProtocolKey as Va, stringifyCfnTemplate as Vc, ssmResolvedValueType as Vd, removeProtectionTypes as Vi, passedParameterClassesOf as Vl, childRowTags as Vn, policyDocumentMatchesDeclared as Vo, propertiesChangedReason as Vr, applyRoleArnIfSet as Vs, isTtlAlreadyDisabled as Vt, malformedRenderedContainersWarning as Vu, declaredStreamPolicyMember as W, canonicalizeIpProtocolValue as Wa, confirmOrRefuse as Wc, findLargeInlineResources as Wd, nameGenerationHighWaterOf as Wi, deployRefusesOrphanRowsReason as Wl, macWriteOnlyKeys as Wn, warnUnsettledMember as Wo, NOECHO_MAC_KEY_ALIAS as Wr, explicitRoleArnOrThrow as Ws, readTtlSpec as Wt, refuseMalformedResourcesForDeploy as Wu, streamDeclaresTags as X, createReadOnlyAttributeHealerFactory as Xa, gray as Xc, synthesizedStacks as Xd, getCurrentProducerRegions as Xi, refuseMalformedOrphanRecords as Xl, resolvePendingCloudControlRequests as Xn, ccBrokenReason as Xo, siblingOwnedRevertDesired as Xr, callerEnvCredentials as Xs, vectorIndexesShapeDetail as Xt, accountArgs as Xu, streamDeclaresPolicy as Y, noEchoExactEchoLeavesOf as Ya, cyan as Yc, rememberSynthesizedStacks as Yd, withNameGenerationReached as Yi, previewableOrphanRecords as Yl, pendingRequestCount as Yn, ProviderRegistry as Yo, noEchoValueMacsOf as Yr, applyCallerIdentityCredentials as Ys, vectorIndexesSettled as Yt, JSON_LISTING_HOLE_VALUE as Yu, streamMemberRefusals as Z, completedReplayEntries as Za, green as Zc, buildAssetRedirectMap as Zd, inheritProducerRegions as Zi, refuseMalformedOrphanRecordsForDestroy as Zl, makeSiblingClaimReader as Zn, isCustomResource as Zo, stripSiblingOwnedParentMembers as Zr, envCredentialsAreAssumedRole as Zs, CONTRIBUTOR_INSIGHTS_KEY as Zt, withheldAccountClause as Zu, readRecordedConditionVerdicts as _, DEFAULT_RESOURCE_TIMEOUT_MS as _a, lacksRecordedRefArn as _c, splitImportedOps as _d, assertAssetBucketRegion as _f, equalModuloMask as _i, isLegacyHandleId as _l, deleteTableWithIndexBusyRetry as _n, unsupportedFinalSnapshotError as _o, loadJournaledOrphans as _r, withCustomResourceStack as _s, KINESIS_DESTINATION_SETTLE_POLL_MS as _t, malformedResourcePropertiesWarning as _u, mergeNoChangeOutputs as a, secretBearing as aa, s3BucketArn as ac, findSdkUnwiredProperties as ad, redirectFileAsset as af, replayFailedOperations as ai, recordedReferenceRegions as al, reverseMapTableContributorInsights as an, secretNamedRecordNeedles as ao, recordDisplacedSkips as ar, customResourceResponseExpirationWarning as as, localSecondaryIndexesKey as at, malformedResourceEntriesWarning as au, pendingMovesRefusalMessage as b, IMPLICIT_DELETE_DEPENDENCIES as ba, SECURITY_TABLE_WITHHELD as bc, hasUnverifiableParameterRefusal as bd, parseBootstrapMarker as bf, updatePartialReason as bi, shownType as bl, waitForIndexesSettled as bn, collectGroupsAddedBySiblings as bo, DeploymentEventsReader as br, waitForGoneAfterDelete as bs, hasUsableDeclaredCapacity as bt, refuseMalformedResourcePropertiesForExport as bu, nestedSsmNameRowNote as c, carriedExportAliasExposure as ca, s3BucketRegionalDomainName as cc, NO_CC_HANDLERS_REASON as cd, getDockerImageBySourceHash as cf, PLANNED_EARLY_DELETE_CONSEQUENCE as ci, isImpossibleEmptyStoredAttribute as cl, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as cn, storedSecretNameNeedles as co, withNestedRevertRun as cr, readsNoEchoDeleteValues as cs, sameJsonValue as ct, refuseMalformedResourceEntries as cu, makeCanonicalizePropertiesFn as d, isWholeDynamicReferenceValue as da, isUnboundTemplateParameter as dc, providerReplacementOldDeleted as dd, resolveFileAssetSourcePath as df, buildReadCurrentStateContext as di, carriesDynamicReference as dl, deleteBudgetKey as dn, PRE_DELETE_SNAPSHOT_TYPES as do, withNestedStackContext as dr, customResourceStackName as ds, desiredBagIsInformative as dt, refuseMalformedResourceEntriesForImport as du, reachableDivergentParameters as ea, producerRegionsFromState as ec, displayLogicalId as ed, flattenAssetPlaceholders as ef, sgRuleOwnershipIdentity as ei, getCurrentResourceSecrets as el, indexDeclaresContributorInsights as en, namingSecretsWithRecordedNoEcho as eo, displacedOpClause as er, classifyHandleUrl as es, canonicalizeStaleIndexDescription as et, unpreviewableOrphanRecords as eu, readDbInstanceAvailabilityZone as f, noEchoParameterValueSeed as fa, parameterTypeMayLoseSecretIdentity as fc, normalizeRecordName as fd, warnAbsoluteAssetPath as ff, recordAfterRollbackUpdate as fi, keepsSecretReferenceToken as fl, resolveDynamoDbDeleteBudgetClock as fn, ccRoutedFinalSnapshotError as fo, deleteJournaledOrphans as fr, customResourcesFailedWithoutApp as fs, isRefusedWarmThroughput as ft, refuseMalformedResourceEntriesForImportSave as fu, parentSuppliedValues as g, bindingSkippedOutputs as ga, refStateLookupFromResource as gc, S3StateBackend as gd, buildDenyExternalAccessPolicy as gf, equalModuloMarkedMask as gi, LEGACY_HANDLE_ID_PREFIX as gl, TABLE_INDEX_NOUN as gn, refusesFinalSnapshot as go, journaledOrphanLines as gr, setLocalCustomResourceRuntimeEnabled as gs, warmThroughputAlreadyMatches as gt, malformedDriftResourcePropertiesWarning as gu, conditionInputsFrom as h, isExportAliasCollision as ha, isStalePlaceholderArnAttribute as hc, TemplateParser as hd, ensureAssetStorage as hf, calculateResourceDrift as hi, LEGACY_HANDLE_HEAL_REASON as hl, INDEX_SETTLE_POLL_INTERVAL_MS as hn, isFinalSnapshotError as ho, isHandledOrphan as hr, localCustomResourceRuntimeActive as hs, trimUnsentWarmMembers as ht, unreadableResourceEntries as hu, keptWholeReasonText as i, exportAliasCollisionScrubWarning as ia, dnsEntryStrings as ic, findHandledUnwrittenCreateOnly as id, redirectDockerAsset as if, withoutSiblingOwnedSgRules as ii, recordedOutputReferenceRegions as il, reverseMapIndexContributorInsights as in, secretNamedAttributeNamesOf as io, nestedChildStackName as ir, applyCustomResourceResponseExpiration as is, gsiUnsendableChangeRefusal as it, malformedLocalResourcesWarning as iu, deferredServiceTokenWarning as j, withoutSuperseded as ja, securityDiffWithPassedSecretWithheld as jc, isSensitiveAttributeName as jd, ownValue as jf, isJournaledOrphan as ji, secretPhysicalIdSegment as jl, refactorMarkerRefusalMessage as jn, withStackRecords as jo, rollbackOrphanIds as jr, IntrinsicFunctionResolver as js, TAGS_BASELINE_REREAD_DELAYS_MS as jt, malformedExportSourceWarning as ju, refuseStatefulReplaceResourceTargets as k, supersededHolderOf as ka, readsTainted as kc, withStackInstanceIdWithheld as kd, hasPlainPrototype as kf, seedsDeleteFirstGuard as ki, displayPhysicalId as kl, readRefactorMarkerOnce as kn, revertStackRecordsView as ko, hintSidesOf as kr, markWaitAbandoned as ks, tableDeleteGoneWait as kt, repairMalformedOrphansForReadOnly as ku, crossStackOutputProvenanceSource as l, exportNameNoEchoParameters as la, s3BucketWebsiteUrl as lc, hasNoCloudControlHandlers as ld, isCfnTemplateAssetPath as lf, earlyDeleteWhen as li, carriesFetchableDynamicReference as ll, beginDeleteWait as ln, extractDeploymentEventError as lo, collectNestedChildUnaddressed as lr, isCustomResourceType$1 as ls, coerceWarmThroughput as lt, refuseMalformedResourceEntriesForDeploy as lu, conditionFingerprint as m, collectPublishedOutputNames as ma, cfnRefValueFromPhysicalId as mc, wireAttributeValue as md, AssetModeResolver as mf, withUnprovenUnsettled as mi, INTRINSIC_KEYS as ml, DELETE_INDEX_WAIT_PROCEED_NOTE as mn, effectiveDeletionPolicy as mo, dropFailedHint as mr, localCustomResourceCommand as ms, sentWarmThroughputMembers as mt, repairMalformedResourceEntriesForReadOnly as mu, applyStackTagsToTemplate as n, WITHHELD_NAME_DISPLAY as na, withoutLapsedStaleShapeStamp as nc, hasReadableResources as nd, isDefaultBootstrapRepoName as nf, siblingOwnedSgRuleIdentities as ni, keepHeldTokenProvenance as nl, planIndexContributorInsightsOps as nn, secretNamePrintingBag as no, dropSettledNestedJournals as nr, isSignalKey as ns, deletionProtectionRefusal as nt, isReadableResourceEntry as nu, checkNestedSsmNames as o, secretBearingStateKeyWarning as oa, s3BucketDomainName as oc, unwrittenCreateOnlyReplacement as od, rewriteTemplateAssetReferences as of, replayRollback as oi, withoutVersionAttestation as ol, stripIndexContributorInsights as on, stackSecretNamesMasker as oo, revertNestedChildFromJournal as or, responsePresignClient as os, projectIndexesOnto as ot, malformedScrubResourceEntriesRefusalMessage as ou, healZonelessDbInstanceRecords as p, collectDeclaredOutputNames as pa, AWS_NO_VALUE as pc, planSubscriptionAttributes as pd, warnWholeAssemblyAsSource as pf, settleUnsettledPrevious as pi, withSharedDrainBudget as pl, resolveDynamoDbDeleteBudgetMs as pn, ccRoutedInstanceTakesNoSnapshot as po, dropFailedCommands as pr, customResourcesRunWithoutApp as ps, readbackWarmThroughput as pt, refuseMalformedResourceEntriesForOrphan as pu, readStreamPolicy as q, noEchoParameterNamesOf as qa, NESTED_STACK_RESOURCE_TYPE$2 as qc, purgeNoncurrentKeyVersions as qd, retiredNameGenerationsAfter as qi, malformedOrphanRecordsWarning as ql, formatResourceLine as qn, policyContentKey as qo, noEchoMacParametersOf as qr, sendableAssumeRoleCommand as qs, readbackVectorIndexes as qt, refuseMalformedState as qu, isSecretBearingReferenceString as r, displayTextOrWithheld as ra, isUnexposedRecordedIdentity as rc, findActionableSdkUnwired as rd, loadPublishableAssetManifest as rf, siblingRecordedSgRuleIds as ri, outputReferenceProvenanceOf as rl, readContributorInsightsSpec as rn, secretNamePrintingBags as ro, getNestedRevertRun as rr, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as rs, desiredIndexEntriesByName as rt, malformedLocalResourceEntriesWarning as ru, nestedSsmNameDeferredNote as s, secretSafeKeyDisplay as sa, s3BucketDualStackDomainName as sc, withoutSdkUnwiredProperties as sd, AssetManifestLoader as sf, DELETED_RESOURCE_REMEDY as si, getAccountInfo as sl, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as sn, stateSecretNameNeedles as so, revertedNestedRowIds as sr, TemplateNoEchoReresolver as ss, reverseMapSecondaryIndex as st, refuseMalformedResourceAttributesForOrphan as su, DeployEngine as t, resourcesNamingDeclaredParameter as ta, regionLessSecretName as tc, hasReadableOutputs as td, isDefaultBootstrapBucketName as tf, sgSiblingDecidedById as ti, withPrintingSecrets as tl, planContributorInsightsOp as tn, orphanRecordsPrintingBag as to, displacedPhysicalIdShown as tr, evaluateSignals as ts, declaresIndexList as tt, unreadableOrphanRecords as tu, inheritedProvenanceForChildDiff as u, exportNameSecretExposure as ua, coerceParameterTypedValue as uc, PROPERTY_COVERAGE_BY_TYPE as ud, parseAssetManifestBody as uf, earlyDeletedOld as ui, isNamelessDynamicReferenceError as ul, compensateRemovedDeletionProtection as un, ATOMIC_FINAL_SNAPSHOT_TYPES as uo, getCurrentNestedStackContext as ur, NO_LOCAL_CUSTOM_RESOURCES_FLAG as us, declaresWarmThroughput as ut, refuseMalformedResourceEntriesForDestroy as uu, hasPendingMovesOut as v, DEFAULT_RESOURCE_WARN_AFTER_MS as va, lacksRecordedTableArn as vc, readOnlyStateVersionOf as vd, isCrossRegionRedirect as vf, undeclaredEmptyObservedKeys as vi, findReplacedReadersOfRecreateTargets as vl, maskedLogger as vn, createPreDeleteFinalSnapshot as vo, sameJournaledOrphans as vr, waitForLambdaFunctionActive as vs, KINESIS_DISABLE_PENDING_STATUSES as vt, refuseMalformedResourcePropertiesForDestroy as vu, slashedSsmNameHealAdoptedNote as w, holdsSupersededResources as wa, maskPassedSecretOutputs as wc, applyCrossPrefixScan as wd, BOOTSTRAP_MARKER_PREFIX as wf, ledgerForStack as wi, renderStatefulReason as wl, isTruthyCfnBoolean as wn, withoutSiblingAttachedArns as wo, findDestructiveChanges as wr, deleteLeftInPlace as ws, maskLeafValue as wt, hasReadableOrphans as wu, refusePendingMovesOut as x, computeImplicitDeleteEdges as xa, calculatorMaskingPassedSecretLines as xc, rebuildClientForBucketRegion as xd, readBootstrapMarkerBody as xf, findUpdatePolicyReplacementRefusals as xi, MULTI_REGION_RECREATE_BLOCKED_TYPES as xl, ECR_AUTO_DELETE_IMAGES_TAG as xn, collectManagedPolicyArnsAttachedBySiblings as xo, DeploymentEventsStore as xr, RollbackInlinePolicyWriters as xs, isPlainCapacityBlock as xt, refuseMalformedResourcePropertiesForOrphan as xu, pendingMovesOutOf as y, maskingRetryLogger as ya, parseWebACLArn as yc, hasReasonlessBaselineRefusal as yd, getBootstrapMarkerKey as yf, updatePartialMessage as yi, refuseStatefulReplacedReaders as yl, relayedIndexBusyDelete as yn, buildFinalSnapshotIdentifier as yo, makeForeignHolderScan as yr, CloudControlProvider as ys, deleteTableRetryDelays as yt, refuseMalformedResourcePropertiesForDrift as yu, perType as z, recordedSgRuleId as za, parseCfnTemplate as zc, SSM_PARAMETER_VALUE_PREFIX as zd, clearBucketRegionCache as zf, segmentCleanupOptions as zi, parameterInputsFor as zl, inRunStackKey as zn, lambdaPermissionMatchesDeclared as zo, mappingPairs as zr, producerLookupOver as zs, waitForContributorInsightsSettled as zt, STATE_REGION_DIVERGED as zu };
|
|
64361
|
+
//# sourceMappingURL=deploy-engine-DNEAZMj7.js.map
|