@cdkd/cli 0.352.7 → 0.352.9
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-Bkb7tmBu.js → ambient-client-defaults-DS39ijan.js} +3 -3
- package/dist/{ambient-client-defaults-Bkb7tmBu.js.map → ambient-client-defaults-DS39ijan.js.map} +1 -1
- package/dist/{asg-provider-Bh7ItmJQ.js → asg-provider-CdN_4Q8I.js} +6 -6
- package/dist/{asg-provider-Bh7ItmJQ.js.map → asg-provider-CdN_4Q8I.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-D2dldcXt.js → custom-resource-runtime-D8tMauOX.js} +6 -6
- package/dist/{custom-resource-runtime-D2dldcXt.js.map → custom-resource-runtime-D8tMauOX.js.map} +1 -1
- package/dist/{db-associated-roles-DGnaIk_A.js → db-associated-roles-75jpvcnj.js} +2 -2
- package/dist/{db-associated-roles-DGnaIk_A.js.map → db-associated-roles-75jpvcnj.js.map} +1 -1
- package/dist/{delete-started-CLEjcsQ3.js → delete-started-BxYvbSPL.js} +4 -4
- package/dist/{delete-started-CLEjcsQ3.js.map → delete-started-BxYvbSPL.js.map} +1 -1
- package/dist/{deploy-engine-DJeAtTj8.js → deploy-engine-CggQMj5g.js} +203 -173
- package/dist/deploy-engine-CggQMj5g.js.map +1 -0
- package/dist/{diff-calculator-r1e-2Y-A.js → diff-calculator-B10ge_3z.js} +162 -26
- package/dist/diff-calculator-B10ge_3z.js.map +1 -0
- package/dist/{ec2-termination-protection-BV8hz9MZ.js → ec2-termination-protection-CYtYJjZN.js} +6 -6
- package/dist/{ec2-termination-protection-BV8hz9MZ.js.map → ec2-termination-protection-CYtYJjZN.js.map} +1 -1
- package/dist/{ecr-uri-BlgB80sH.js → ecr-uri-ORIqBfxL.js} +2 -2
- package/dist/{ecr-uri-BlgB80sH.js.map → ecr-uri-ORIqBfxL.js.map} +1 -1
- package/dist/{expected-bucket-owner-27PSPNSP.js → expected-bucket-owner-4xKiol_b.js} +2 -2
- package/dist/{expected-bucket-owner-27PSPNSP.js.map → expected-bucket-owner-4xKiol_b.js.map} +1 -1
- package/dist/{iam-role-provider-ChvLDUjX.js → iam-role-provider-qonDX7PS.js} +8 -8
- package/dist/{iam-role-provider-ChvLDUjX.js.map → iam-role-provider-qonDX7PS.js.map} +1 -1
- package/dist/{image-plan-D14qiuGN.js → image-plan-CBEz3DUU.js} +8 -8
- package/dist/{image-plan-D14qiuGN.js.map → image-plan-CBEz3DUU.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-B9asIO9y.js → logger-BSUjqUxr.js} +2 -2
- package/dist/{logger-B9asIO9y.js.map → logger-BSUjqUxr.js.map} +1 -1
- package/dist/{neptune-provider-iJTmDn5p.js → neptune-provider-BEq5RoRa.js} +7 -7
- package/dist/{neptune-provider-iJTmDn5p.js.map → neptune-provider-BEq5RoRa.js.map} +1 -1
- package/dist/{program-DNuXtBgT.js → program-BYKrKrfu.js} +158 -17
- package/dist/program-BYKrKrfu.js.map +1 -0
- package/dist/{provider-classes-CEDAur3Q.js → provider-classes-Cm2xhu8_.js} +15 -15
- package/dist/{provider-classes-CEDAur3Q.js.map → provider-classes-Cm2xhu8_.js.map} +1 -1
- package/dist/{rds-provider-C36LIby2.js → rds-provider-D5J77Uj4.js} +10 -10
- package/dist/{rds-provider-C36LIby2.js.map → rds-provider-D5J77Uj4.js.map} +1 -1
- package/dist/{read-replica-BQJilR8S.js → read-replica-BUe2niyV.js} +3 -3
- package/dist/{read-replica-BQJilR8S.js.map → read-replica-BUe2niyV.js.map} +1 -1
- package/dist/{replacement-rules-I3zjGJT3.js → replacement-rules-PmcDSCRR.js} +3 -3
- package/dist/{replacement-rules-I3zjGJT3.js.map → replacement-rules-PmcDSCRR.js.map} +1 -1
- package/dist/{resource-deadline-BDevYZI1.js → resource-deadline-0stInMDR.js} +4 -4
- package/dist/{resource-deadline-BDevYZI1.js.map → resource-deadline-0stInMDR.js.map} +1 -1
- package/dist/{run-cli-B7sBleP8.js → run-cli-ccA7cSZU.js} +2 -2
- package/dist/{run-cli-B7sBleP8.js.map → run-cli-ccA7cSZU.js.map} +1 -1
- package/dist/{update-removal-BecVqdN2.js → update-removal-C4fghW_l.js} +4 -4
- package/dist/{update-removal-BecVqdN2.js.map → update-removal-C4fghW_l.js.map} +1 -1
- package/dist/{version-CDUEtMdM.js → version-D1PIz5NK.js} +2 -2
- package/dist/{version-CDUEtMdM.js.map → version-D1PIz5NK.js.map} +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-DJeAtTj8.js.map +0 -1
- package/dist/diff-calculator-r1e-2Y-A.js.map +0 -1
- package/dist/program-DNuXtBgT.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, a as UNSHOWABLE_VALUE, c as deployReplaceCommand, d as pasteableCommand, f as physicalIdShownBesideCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE } from "./version-
|
|
2
|
-
import { $ as withStackScope, A as configStringRefusal, C as fallbackNamePropertyFor, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, G as currentNameGeneration, H as looksLikeCdkdGeneratedName, J as getCurrentStackName, K as getCurrentSkipPrefix, M as replayWarn, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, S as explicitNamePropertyFor, T as withoutGeneratedFallbackName, V as generateResourceNameWithFallback, W as stackInstanceNameSuffix, X as isNameGeneration, Z as withNameGeneration, _ as currentLogLineMasker, b as alternateNamePropertiesFor, c as VERBOSE_POINTER, et as withStackScopeBeforeStateRead, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, m as verboseAwareText, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, v as installLogLineMaskerSource, w as generatedNameFor, x as applyDefaultNameForFallback, y as getLiveRenderer } from "./logger-
|
|
3
|
-
import { A as stripControlChars, C as isNameCooldownError, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AccountIdUnavailableError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, et as CdkdError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, w as isRecreateRetryableError, z as isTransientServerError } from "./ambient-client-defaults-
|
|
1
|
+
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, a as UNSHOWABLE_VALUE, c as deployReplaceCommand, d as pasteableCommand, f as physicalIdShownBesideCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE } from "./version-D1PIz5NK.js";
|
|
2
|
+
import { $ as withStackScope, A as configStringRefusal, C as fallbackNamePropertyFor, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, G as currentNameGeneration, H as looksLikeCdkdGeneratedName, J as getCurrentStackName, K as getCurrentSkipPrefix, M as replayWarn, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, S as explicitNamePropertyFor, T as withoutGeneratedFallbackName, V as generateResourceNameWithFallback, W as stackInstanceNameSuffix, X as isNameGeneration, Z as withNameGeneration, _ as currentLogLineMasker, b as alternateNamePropertiesFor, c as VERBOSE_POINTER, et as withStackScopeBeforeStateRead, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, m as verboseAwareText, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, v as installLogLineMaskerSource, w as generatedNameFor, x as applyDefaultNameForFallback, y as getLiveRenderer } from "./logger-BSUjqUxr.js";
|
|
3
|
+
import { A as stripControlChars, C as isNameCooldownError, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AccountIdUnavailableError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, et as CdkdError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, w as isRecreateRetryableError, z as isTransientServerError } from "./ambient-client-defaults-DS39ijan.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 describeJsonParseFailure, C as PhaseClock, E as recordPhase, M as parseFailureDebugDetail, N as parseJsonNamingNoBody, O as timePhase, P as utf8ByteLength, S as CREATE_ONLY_PATHS_SNAPSHOT, T as phaseTimingsEnabled, _ as hasNoRegistrySchema, a as reDisableInstanceApiTermination, b as IAM_PROPAGATION_MAX_DELAY_MS, c as unchangedBehindSecretReference, d as getCreateOnlyPropertyPaths, f as isIntrinsicShaped, g as describeTypeWithThrottleRetry, h as parseCreateOnlyPropertyPointers, i as observeThenDisableInstanceApiTermination, j as jsonParseFailureStandIn, k as timePhaseSync, l as cachedCreateOnlyPropertyPaths, m as templateResourceTypes, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as prefetchCreateOnlyPropertyPaths, r as isTerminationProtectionPropagationError, v as isAwsEmulatorRegistryMiss, w as phaseScopeForStack, x as withRetry, y as reportAwsEmulatorRegistryMiss } from "./ec2-termination-protection-
|
|
6
|
+
import { A as describeJsonParseFailure, C as PhaseClock, E as recordPhase, M as parseFailureDebugDetail, N as parseJsonNamingNoBody, O as timePhase, P as utf8ByteLength, S as CREATE_ONLY_PATHS_SNAPSHOT, T as phaseTimingsEnabled, _ as hasNoRegistrySchema, a as reDisableInstanceApiTermination, b as IAM_PROPAGATION_MAX_DELAY_MS, c as unchangedBehindSecretReference, d as getCreateOnlyPropertyPaths, f as isIntrinsicShaped, g as describeTypeWithThrottleRetry, h as parseCreateOnlyPropertyPointers, i as observeThenDisableInstanceApiTermination, j as jsonParseFailureStandIn, k as timePhaseSync, l as cachedCreateOnlyPropertyPaths, m as templateResourceTypes, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as prefetchCreateOnlyPropertyPaths, r as isTerminationProtectionPropagationError, v as isAwsEmulatorRegistryMiss, w as phaseScopeForStack, x as withRetry, y as reportAwsEmulatorRegistryMiss } from "./ec2-termination-protection-CYtYJjZN.js";
|
|
7
7
|
import { i as sameRegion, n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
8
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
9
|
-
import { B as refusalTypeShown, Bt as RETRY_AUXILIARY_OWNER, Ct as isInterruptedWaitError, Dt as compositeIdSeparatorRefusal, Ft as createMaskedRetryLogger, G as isMarkedNotGone, H as resolveExplicitPhysicalId, It as isSecretDerivedValue, J as deleteWithProtectionCompensation, Jt as markAuxiliaryFailure, K as markNotGone, Kt as isAuxiliaryFailure, L as isQuotableImportValue, Lt as maskDeep, M as withoutServerErrorRetries, Mt as segmentAfterAnchor, Nt as stateOrphanRecordRemedy, Pt as createMaskedLogSinks, R as normalizeAwsTagsToCfn, Rt as maskerOrIdentity, Tt as canonicalizeRoute53QueryName, U as RESOURCE_NOT_FOUND, Ut as createdBeforeFailure, W as assertRegionMatch, Wt as createdResourceIdentityBeforeFailure, X as observeThenDisableProtection, Yt as markCreatedBeforeFailure, _t as pasteableAwsCommand, an as recoveryCommandFlags, c as clearCreatedReport, cn as DEFAULT_STATE_PREFIX, ct as protectionFlipKey, dt as ElapsedBudgetRegistry, f as retractCreatedResource, fn as producerRecordKey, ft as monotonicNowMs, hn as withPasteableAwsProfile, jt as resourceTypeShown, kt as logicalIdShown, l as collectCreatedResources, ln as injectiveKey, lt as runDeleteAttempt, n as prepareRemovalForUpdate, o as withoutInjectedRemovals, on as sanitizeRecoveryValue, ot as ProtectionFlipRegistry, pt as DELETION_PROTECTION_DOC_POINTER, q as compensateProtectionFlip, qt as isAuxiliaryMarkOf, r as removalWarning, s as CreatedResourceSink, sn as CUSTOM_RESOURCE_RESPONSE_PREFIX, st as isTerminalDeleteFailure, u as reportCreatedResource, ut as ElapsedBudget, vt as protectedReplacementAdvice, wt as startInterruptWatch, x as withUnchangedSecretPrincipalLists, z as quotedRemedyLogicalId, zt as withDerivedNameMasks } from "./update-removal-
|
|
10
|
-
import { Ct as isReadableBag, Dt as skippedOutputsCarriedFrom, Et as shouldRetainResource, Ot as stackInstanceIdCarriedFrom, St as importableOutputs, Tt as orphansCarriedFrom, _t as acceptedCreateOnlyDropsOf, gt as slowCcOperationTimeoutMs, ht as dbInstanceAttributes, i as dbClusterAttributes, n as isRefusedByName, r as markDeleteStarted, t as isDeleteStarted, vt as describeRegionValueKind, wt as orphansAfterRollback, xt as importableOutputKeys, yt as exportNamesCarriedFrom } from "./delete-started-
|
|
11
|
-
import { $t as recordInheritedParameterValue, A as witnessNormalize, An as recordNoEchoAttributeValues, At as withoutPhysicalNameCopies, B as redactionClaimOf, Cn as noEchoParameterPlaintextsOf, Ct as withLegacyOverlapScan, D as recordedNoEchoValuesOf, Dn as recordFreshNoEchoValuesIn, Dt as replaceEmbeddedPhysicalNameRewrites, E as recordPassedNoEchoParameters, En as recordDerivedMaskOnlyValue, Et as repairPhysicalNameCopyLeaves, F as markLeafCertifiedBag, G as foldRecording, Gt as recordTakenIfBranch, H as mixedLiteralAnswered, Ht as splitOutsideDynamicReferences, I as markSameGenerationBag, In as isDynamicReferenceString, It as secretRerenderPairs, J as hasPassProvenance, Jt as templateRereadsAccountId, K as openRecordingScope, Kt as inheritedPseudoValue, L as mergeResolvedPairs, Ln as isSingleDynamicReferenceToken, M as carryRedactionMarks, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, N as intrinsicLeafResolutionOf, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, O as replaceAtCoordinates, Ot as scrubResourceRecord, P as isSameGenerationBag, Pn as withoutNoEchoParameterEntries, Q as recordReferenceResolution, Qt as recordInheritedParameterRead, R as recordIntrinsicLeafResolution, Rn as maskMatchSpans, S as noEchoParametersReadBy, Sn as markNoEchoParameterClass, St as replaceWholeLeaves, Tt as repairEmbeddedPhysicalNamesTowards, U as withLegacyMixedScan, Ut as standsForInheritedSecret, V as resolvedPlaintextOf, Vt as rereadParameterExpression, W as redactForState, Wt as recordDroppedArrayElements, X as passReadVersionsFor, Xt as inheritedParameterExpression, Y as passProvenanceFor, Yt as inheritNestedStackParameterAssociations, Z as recordReferenceProvenanceEntry, Zt as inheritedRenderedToken, _ as noEchoComparison, _n as freshNoEchoValuesOf, _t as maskSecretsInText, an as recordRecoverableMaskedOutput, at as literalSplitDelimitersOf, bn as isScopedSecretVerdict, bt as legacyReferenceLeavesOnly, c as parseLambdaFunctionAddress, ct as recordLogOnlyParameterValue, d as canonicalJson$5, dn as crossStackSourceKey, dt as shareLogOnlyValues, en as redactInheritedParameterValue, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as recordCrossStackExpression, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gn as contradictProvenPublicExpression, gt as maskSecretsInError, h as maskWholeValue, hn as carryFreshNoEchoMark, ht as maskRecordedSecretsInText, in as freshNoEchoLeafPositions, it as hasMaskableValues, jn as recordNoEchoParameterFreshValue, jt as spanNamesResolvableService, k as valueAtCoordinate, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, lt as recordLogOnlySplitFragments, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nn as carriesFreshNoEchoValue, nt as createUnionSecretMasker, on as recoverMaskedOutput, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, q as recordSecretResolution, qt as recordInheritedPseudoParameters, rn as embedsFreshNoEchoValue, rt as hasLogOnlyValues, sn as physicalNameCopiesOf, st as printingCorpusOf, t as ReplacementRulesRegistry, tn as withdrawRenderedParameterSpelling, tt as carryLogOnlyValuesCarriedBy, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, vn as isMaskOnlyPlaintext, vt as differingStringLeaves, w as readbackPathFor, wn as pinScopedSecretVerdict, wt as embeddedPhysicalNameRewrites, x as noEchoParameterNodesAt, xn as isSecretExpressionByVerdictOrSpelling, xt as overlapRuleAnswered, y as noEchoLeavesOf, yn as isNoEchoParameterPlaintext, yt as legacyLeavesWithoutMask, z as recordIntrinsicLeafResolutionAs, zt as arrayPairsWhateverDrops } from "./replacement-rules-
|
|
12
|
-
import { C as unsettledItemsField, D as withUnsettledItems, E as unsettledPropertiesOf, O as withUnsettledProperties, S as unsettledContextOf, T as unsettledItemsTopKey, c as refuseRestoreFromItself, f as planTagDiff, g as tagPlanWarning, i as withResourceDeadline, k as withoutUnsettledProperties, m as refuseMalformedDesiredTags, n as enclosingDeadlineRemainingMs, p as readTagList, r as whileEnclosingDeadlinesPaused, t as enclosingDeadlineExpired, w as unsettledItemsOf, x as isUsableAttemptedName, y as definedAttributes } from "./resource-deadline-
|
|
8
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-4xKiol_b.js";
|
|
9
|
+
import { B as refusalTypeShown, Bt as RETRY_AUXILIARY_OWNER, Ct as isInterruptedWaitError, Dt as compositeIdSeparatorRefusal, Ft as createMaskedRetryLogger, G as isMarkedNotGone, H as resolveExplicitPhysicalId, It as isSecretDerivedValue, J as deleteWithProtectionCompensation, Jt as markAuxiliaryFailure, K as markNotGone, Kt as isAuxiliaryFailure, L as isQuotableImportValue, Lt as maskDeep, M as withoutServerErrorRetries, Mt as segmentAfterAnchor, Nt as stateOrphanRecordRemedy, Pt as createMaskedLogSinks, R as normalizeAwsTagsToCfn, Rt as maskerOrIdentity, Tt as canonicalizeRoute53QueryName, U as RESOURCE_NOT_FOUND, Ut as createdBeforeFailure, W as assertRegionMatch, Wt as createdResourceIdentityBeforeFailure, X as observeThenDisableProtection, Yt as markCreatedBeforeFailure, _t as pasteableAwsCommand, an as recoveryCommandFlags, c as clearCreatedReport, cn as DEFAULT_STATE_PREFIX, ct as protectionFlipKey, dt as ElapsedBudgetRegistry, f as retractCreatedResource, fn as producerRecordKey, ft as monotonicNowMs, hn as withPasteableAwsProfile, jt as resourceTypeShown, kt as logicalIdShown, l as collectCreatedResources, ln as injectiveKey, lt as runDeleteAttempt, n as prepareRemovalForUpdate, o as withoutInjectedRemovals, on as sanitizeRecoveryValue, ot as ProtectionFlipRegistry, pt as DELETION_PROTECTION_DOC_POINTER, q as compensateProtectionFlip, qt as isAuxiliaryMarkOf, r as removalWarning, s as CreatedResourceSink, sn as CUSTOM_RESOURCE_RESPONSE_PREFIX, st as isTerminalDeleteFailure, u as reportCreatedResource, ut as ElapsedBudget, vt as protectedReplacementAdvice, wt as startInterruptWatch, x as withUnchangedSecretPrincipalLists, z as quotedRemedyLogicalId, zt as withDerivedNameMasks } from "./update-removal-C4fghW_l.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-BxYvbSPL.js";
|
|
11
|
+
import { $t as recordInheritedParameterValue, A as witnessNormalize, An as recordNoEchoAttributeValues, At as withoutPhysicalNameCopies, B as redactionClaimOf, Cn as noEchoParameterPlaintextsOf, Ct as withLegacyOverlapScan, D as recordedNoEchoValuesOf, Dn as recordFreshNoEchoValuesIn, Dt as replaceEmbeddedPhysicalNameRewrites, E as recordPassedNoEchoParameters, En as recordDerivedMaskOnlyValue, Et as repairPhysicalNameCopyLeaves, F as markLeafCertifiedBag, G as foldRecording, Gt as recordTakenIfBranch, H as mixedLiteralAnswered, Ht as splitOutsideDynamicReferences, I as markSameGenerationBag, In as isDynamicReferenceString, It as secretRerenderPairs, J as hasPassProvenance, Jt as templateRereadsAccountId, K as openRecordingScope, Kt as inheritedPseudoValue, L as mergeResolvedPairs, Ln as isSingleDynamicReferenceToken, M as carryRedactionMarks, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, N as intrinsicLeafResolutionOf, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, O as replaceAtCoordinates, Ot as scrubResourceRecord, P as isSameGenerationBag, Pn as withoutNoEchoParameterEntries, Q as recordReferenceResolution, Qt as recordInheritedParameterRead, R as recordIntrinsicLeafResolution, Rn as maskMatchSpans, S as noEchoParametersReadBy, Sn as markNoEchoParameterClass, St as replaceWholeLeaves, Tt as repairEmbeddedPhysicalNamesTowards, U as withLegacyMixedScan, Ut as standsForInheritedSecret, V as resolvedPlaintextOf, Vt as rereadParameterExpression, W as redactForState, Wt as recordDroppedArrayElements, X as passReadVersionsFor, Xt as inheritedParameterExpression, Y as passProvenanceFor, Yt as inheritNestedStackParameterAssociations, Z as recordReferenceProvenanceEntry, Zt as inheritedRenderedToken, _ as noEchoComparison, _n as freshNoEchoValuesOf, _t as maskSecretsInText, an as recordRecoverableMaskedOutput, at as literalSplitDelimitersOf, bn as isScopedSecretVerdict, bt as legacyReferenceLeavesOnly, c as parseLambdaFunctionAddress, ct as recordLogOnlyParameterValue, d as canonicalJson$5, dn as crossStackSourceKey, dt as shareLogOnlyValues, en as redactInheritedParameterValue, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as recordCrossStackExpression, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gn as contradictProvenPublicExpression, gt as maskSecretsInError, h as maskWholeValue, hn as carryFreshNoEchoMark, ht as maskRecordedSecretsInText, in as freshNoEchoLeafPositions, it as hasMaskableValues, jn as recordNoEchoParameterFreshValue, jt as spanNamesResolvableService, k as valueAtCoordinate, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, lt as recordLogOnlySplitFragments, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nn as carriesFreshNoEchoValue, nt as createUnionSecretMasker, on as recoverMaskedOutput, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, q as recordSecretResolution, qt as recordInheritedPseudoParameters, rn as embedsFreshNoEchoValue, rt as hasLogOnlyValues, sn as physicalNameCopiesOf, st as printingCorpusOf, t as ReplacementRulesRegistry, tn as withdrawRenderedParameterSpelling, tt as carryLogOnlyValuesCarriedBy, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, vn as isMaskOnlyPlaintext, vt as differingStringLeaves, w as readbackPathFor, wn as pinScopedSecretVerdict, wt as embeddedPhysicalNameRewrites, x as noEchoParameterNodesAt, xn as isSecretExpressionByVerdictOrSpelling, xt as overlapRuleAnswered, y as noEchoLeavesOf, yn as isNoEchoParameterPlaintext, yt as legacyLeavesWithoutMask, z as recordIntrinsicLeafResolutionAs, zt as arrayPairsWhateverDrops } from "./replacement-rules-PmcDSCRR.js";
|
|
12
|
+
import { C as unsettledItemsField, D as withUnsettledItems, E as unsettledPropertiesOf, O as withUnsettledProperties, S as unsettledContextOf, T as unsettledItemsTopKey, c as refuseRestoreFromItself, f as planTagDiff, g as tagPlanWarning, i as withResourceDeadline, k as withoutUnsettledProperties, m as refuseMalformedDesiredTags, n as enclosingDeadlineRemainingMs, p as readTagList, r as whileEnclosingDeadlinesPaused, t as enclosingDeadlineExpired, w as unsettledItemsOf, x as isUsableAttemptedName, y as definedAttributes } from "./resource-deadline-0stInMDR.js";
|
|
13
13
|
import { createHash, randomUUID, timingSafeEqual } from "node:crypto";
|
|
14
14
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
15
15
|
import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client } from "@aws-sdk/client-s3";
|
|
@@ -82,7 +82,7 @@ async function resolveBucketRegion(bucketName, opts = {}) {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
try {
|
|
85
|
-
const { expectedOwnerParam } = await import("./expected-bucket-owner-
|
|
85
|
+
const { expectedOwnerParam } = await import("./expected-bucket-owner-4xKiol_b.js").then((n) => n.n);
|
|
86
86
|
return (await client.send(new GetBucketLocationCommand({
|
|
87
87
|
Bucket: bucketName,
|
|
88
88
|
...await expectedOwnerParam(client)
|
|
@@ -615,6 +615,146 @@ function ssmResolvedValueType(type) {
|
|
|
615
615
|
return inner.length > 0 ? inner : void 0;
|
|
616
616
|
}
|
|
617
617
|
|
|
618
|
+
// src/utils/nested-template-cycle.ts
|
|
619
|
+
const NESTED_STACK_TYPE$5 = "AWS::CloudFormation::Stack";
|
|
620
|
+
function isAbsoluteAssetPath(p) {
|
|
621
|
+
return path.isAbsolute(p) || p.startsWith("/");
|
|
622
|
+
}
|
|
623
|
+
function templateIdentity(templatePath) {
|
|
624
|
+
const dir = path.dirname(templatePath);
|
|
625
|
+
let realDir;
|
|
626
|
+
try {
|
|
627
|
+
realDir = fs.realpathSync.native(dir);
|
|
628
|
+
} catch {
|
|
629
|
+
realDir = path.resolve(dir);
|
|
630
|
+
}
|
|
631
|
+
return path.join(realDir, path.basename(templatePath));
|
|
632
|
+
}
|
|
633
|
+
function listNestedTemplateRows(template) {
|
|
634
|
+
if (template === null || typeof template !== "object") return [];
|
|
635
|
+
const resources = template.Resources;
|
|
636
|
+
if (resources === null || resources === void 0) return [];
|
|
637
|
+
const rows = [];
|
|
638
|
+
for (const [logicalId, resource] of Object.entries(resources)) {
|
|
639
|
+
const row = resource;
|
|
640
|
+
if (row?.Type !== NESTED_STACK_TYPE$5) continue;
|
|
641
|
+
const assetPath = row.Metadata?.["aws:asset:path"];
|
|
642
|
+
if (typeof assetPath !== "string" || assetPath.length === 0) continue;
|
|
643
|
+
rows.push({
|
|
644
|
+
logicalId,
|
|
645
|
+
assetPath
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
return rows;
|
|
649
|
+
}
|
|
650
|
+
function readNestedRows(templatePath) {
|
|
651
|
+
let parsed;
|
|
652
|
+
try {
|
|
653
|
+
parsed = JSON.parse(fs.readFileSync(templatePath, "utf-8"));
|
|
654
|
+
} catch {
|
|
655
|
+
return;
|
|
656
|
+
}
|
|
657
|
+
return listNestedTemplateRows(parsed);
|
|
658
|
+
}
|
|
659
|
+
const MAX_NESTING_DEPTH = 512;
|
|
660
|
+
const MAX_ROWS_FOLLOWED = 1e4;
|
|
661
|
+
function findNestedTemplateTreeDefect(nestedTemplates, ancestorTemplatePaths = []) {
|
|
662
|
+
const onChain = /* @__PURE__ */ new Set();
|
|
663
|
+
for (const p of ancestorTemplatePaths) onChain.add(templateIdentity(p));
|
|
664
|
+
const clean = /* @__PURE__ */ new Set();
|
|
665
|
+
const chain = [];
|
|
666
|
+
let rowsFollowed = 0;
|
|
667
|
+
const visit = (logicalId, templatePath) => {
|
|
668
|
+
if (typeof templatePath !== "string") return void 0;
|
|
669
|
+
const identity = templateIdentity(templatePath);
|
|
670
|
+
const lexical = path.resolve(templatePath);
|
|
671
|
+
chain.push({
|
|
672
|
+
logicalId,
|
|
673
|
+
templatePath: identity
|
|
674
|
+
});
|
|
675
|
+
try {
|
|
676
|
+
if (onChain.has(identity)) return {
|
|
677
|
+
kind: "cycle",
|
|
678
|
+
chain: [...chain]
|
|
679
|
+
};
|
|
680
|
+
if (chain.length > 512) return {
|
|
681
|
+
kind: "too-deep",
|
|
682
|
+
chain: [...chain]
|
|
683
|
+
};
|
|
684
|
+
if (++rowsFollowed > 1e4) return {
|
|
685
|
+
kind: "too-large",
|
|
686
|
+
chain: [...chain]
|
|
687
|
+
};
|
|
688
|
+
if (clean.has(lexical)) return void 0;
|
|
689
|
+
const rows = readNestedRows(templatePath);
|
|
690
|
+
if (rows === void 0) return void 0;
|
|
691
|
+
onChain.add(identity);
|
|
692
|
+
try {
|
|
693
|
+
const dir = path.dirname(templatePath);
|
|
694
|
+
for (const row of rows) {
|
|
695
|
+
if (isAbsoluteAssetPath(row.assetPath)) return {
|
|
696
|
+
kind: "absolute-path",
|
|
697
|
+
chain: [...chain],
|
|
698
|
+
logicalId: row.logicalId,
|
|
699
|
+
assetPath: row.assetPath
|
|
700
|
+
};
|
|
701
|
+
const resolved = resolveAssemblyPath(dir, row.assetPath);
|
|
702
|
+
if (!resolved.contained) return {
|
|
703
|
+
kind: "escaping-path",
|
|
704
|
+
chain: [...chain],
|
|
705
|
+
logicalId: row.logicalId,
|
|
706
|
+
assetPath: row.assetPath,
|
|
707
|
+
escape: resolved,
|
|
708
|
+
dir
|
|
709
|
+
};
|
|
710
|
+
const defect = visit(row.logicalId, resolved.path);
|
|
711
|
+
if (defect) return defect;
|
|
712
|
+
}
|
|
713
|
+
} finally {
|
|
714
|
+
onChain.delete(identity);
|
|
715
|
+
}
|
|
716
|
+
clean.add(lexical);
|
|
717
|
+
return;
|
|
718
|
+
} finally {
|
|
719
|
+
chain.pop();
|
|
720
|
+
}
|
|
721
|
+
};
|
|
722
|
+
for (const [logicalId, templatePath] of Object.entries(nestedTemplates)) {
|
|
723
|
+
const defect = visit(logicalId, templatePath);
|
|
724
|
+
if (defect) return defect;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
const MAX_RENDERED_HOPS = 8;
|
|
728
|
+
function renderChain(chain) {
|
|
729
|
+
const hop = (h) => `${displayIdent(h.logicalId)} (${displayAssemblyPath(h.templatePath)})`;
|
|
730
|
+
if (chain.length <= MAX_RENDERED_HOPS) return chain.map(hop).join(" then ");
|
|
731
|
+
const keep = MAX_RENDERED_HOPS / 2;
|
|
732
|
+
return [
|
|
733
|
+
...chain.slice(0, keep).map(hop),
|
|
734
|
+
`... ${chain.length - 8} more ...`,
|
|
735
|
+
...chain.slice(-4).map(hop)
|
|
736
|
+
].join(" then ");
|
|
737
|
+
}
|
|
738
|
+
function renderNestedTemplateTreeDefect(defect, stackName, action) {
|
|
739
|
+
const provenance = `CDK emits an acyclic nested template tree with relative asset paths, so this indicates the synth output was hand-modified or generated by a non-CDK toolchain. Refusing to ${action}.`;
|
|
740
|
+
const owner = (chain) => {
|
|
741
|
+
const ids = chain.slice(0, -1).map((h) => h.logicalId);
|
|
742
|
+
const keep = MAX_RENDERED_HOPS / 2;
|
|
743
|
+
if (ids.length <= MAX_RENDERED_HOPS) return displayStackName([stackName, ...ids].join("~"));
|
|
744
|
+
const head = displayStackName([stackName, ...ids.slice(0, keep)].join("~"));
|
|
745
|
+
const tail = displayStackName(ids.slice(-4).join("~"));
|
|
746
|
+
return `${head}~...${ids.length - 8} more...~${tail}`;
|
|
747
|
+
};
|
|
748
|
+
if (defect.kind === "cycle") {
|
|
749
|
+
const closing = defect.chain[defect.chain.length - 1];
|
|
750
|
+
return `The nested template tree under stack ${displayStackName(stackName)} contains a cycle: ${renderChain(defect.chain)}. Nested stack ${displayIdent(closing.logicalId)} (declared in stack ${owner(defect.chain)}) resolves to a template that is already on that nesting chain, so its Metadata['aws:asset:path'] closes a cycle. ${provenance}`;
|
|
751
|
+
}
|
|
752
|
+
if (defect.kind === "too-large") return `The nested template tree under stack ${displayStackName(stackName)} has more than ${MAX_ROWS_FOLLOWED} nested-stack rows to follow (the walk stopped at ${renderChain(defect.chain)}). That is far beyond any CDK-generated assembly. Symlinked directories can give one template file many paths, which multiplies the tree without ever repeating on one chain. Refusing to ${action}.`;
|
|
753
|
+
if (defect.kind === "too-deep") return `The nested template tree under stack ${displayStackName(stackName)} nests more than ${512} levels deep: ${renderChain(defect.chain)}. No tree that deep can deploy, because each level lengthens the child's state key and S3 caps a key at 1024 bytes. ${provenance}`;
|
|
754
|
+
if (defect.kind === "escaping-path") return `The nested template tree under stack ${displayStackName(stackName)} has nested stack ${displayIdent(defect.logicalId)} (reached through ${renderChain(defect.chain)}) with Metadata['aws:asset:path']=${displayAssemblyPath(defect.assetPath)} which ${renderAssemblyPathEscape(defect.escape, defect.dir, action)}`;
|
|
755
|
+
return `The nested template tree under stack ${displayStackName(stackName)} has nested stack ${displayIdent(defect.logicalId)} (reached through ${renderChain(defect.chain)}) with Metadata['aws:asset:path']=${displayAssemblyPath(defect.assetPath)} which is absolute. ${provenance}`;
|
|
756
|
+
}
|
|
757
|
+
|
|
618
758
|
// src/utils/missing-state-bucket-remedy.ts
|
|
619
759
|
function missingStateBucketRemedy(what) {
|
|
620
760
|
if (!awsEndpointOverrideActive()) return `Run ${proseQuoted(cdkdRemedy("cdkd bootstrap"))} to create ${what}.`;
|
|
@@ -2577,10 +2717,10 @@ async function deleteLegacyState(stackName) {
|
|
|
2577
2717
|
}
|
|
2578
2718
|
|
|
2579
2719
|
// src/state/s3-state-backend/listing.ts
|
|
2580
|
-
async function listStacks() {
|
|
2720
|
+
async function listStacks(namePrefix = "") {
|
|
2581
2721
|
await this.ensureClientForBucket();
|
|
2582
2722
|
try {
|
|
2583
|
-
this.logger.debug("Listing all stacks");
|
|
2723
|
+
this.logger.debug(namePrefix === "" ? "Listing all stacks" : "Listing stacks by name prefix");
|
|
2584
2724
|
const prefix = `${this.config.prefix}/`;
|
|
2585
2725
|
const refs = [];
|
|
2586
2726
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -2589,7 +2729,7 @@ async function listStacks() {
|
|
|
2589
2729
|
const response = await this.s3Client.send(new ListObjectsV2Command({
|
|
2590
2730
|
Bucket: this.config.bucket,
|
|
2591
2731
|
...await this.ownerParam(),
|
|
2592
|
-
Prefix: prefix
|
|
2732
|
+
Prefix: `${prefix}${namePrefix}`,
|
|
2593
2733
|
EncodingType: "url",
|
|
2594
2734
|
...continuationToken && { ContinuationToken: continuationToken }
|
|
2595
2735
|
}));
|
|
@@ -3771,8 +3911,8 @@ var S3StateBackend = class S3StateBackend {
|
|
|
3771
3911
|
deleteLegacyState(stackName) {
|
|
3772
3912
|
return deleteLegacyState.call(this, stackName);
|
|
3773
3913
|
}
|
|
3774
|
-
listStacks() {
|
|
3775
|
-
return listStacks.call(this);
|
|
3914
|
+
listStacks(namePrefix) {
|
|
3915
|
+
return listStacks.call(this, namePrefix);
|
|
3776
3916
|
}
|
|
3777
3917
|
listTopLevelPrefixes() {
|
|
3778
3918
|
return listTopLevelPrefixes.call(this);
|
|
@@ -8955,7 +9095,7 @@ function isPlainObject$9(value) {
|
|
|
8955
9095
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
8956
9096
|
}
|
|
8957
9097
|
const DYNAMIC_REFERENCE_OPEN = "{{resolve:";
|
|
8958
|
-
const NESTED_STACK_TYPE$
|
|
9098
|
+
const NESTED_STACK_TYPE$4 = "AWS::CloudFormation::Stack";
|
|
8959
9099
|
const NESTED_OUTPUT_PREFIX = "Outputs.";
|
|
8960
9100
|
function carriesSecretValue(value, corpora) {
|
|
8961
9101
|
if (carriesSecretMask(value)) return true;
|
|
@@ -9039,7 +9179,7 @@ function intrinsicKey(value) {
|
|
|
9039
9179
|
const key = keys[0];
|
|
9040
9180
|
return key === "Ref" || key.startsWith("Fn::") ? key : void 0;
|
|
9041
9181
|
}
|
|
9042
|
-
const OPAQUE_ATTRIBUTE_TYPES = /* @__PURE__ */ new Set(["AWS::CloudFormation::CustomResource", NESTED_STACK_TYPE$
|
|
9182
|
+
const OPAQUE_ATTRIBUTE_TYPES = /* @__PURE__ */ new Set(["AWS::CloudFormation::CustomResource", NESTED_STACK_TYPE$4]);
|
|
9043
9183
|
function hasOpaqueAttributes(logicalId, walk) {
|
|
9044
9184
|
const definition = walk.resources[logicalId];
|
|
9045
9185
|
const type = isPlainObject$9(definition) ? definition["Type"] : void 0;
|
|
@@ -18984,7 +19124,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
18984
19124
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
18985
19125
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
18986
19126
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
18987
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
19127
|
+
const { ASGProvider } = await import("./asg-provider-CdN_4Q8I.js");
|
|
18988
19128
|
const delegateRegion = ambientRegion();
|
|
18989
19129
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
18990
19130
|
if (asgProvider === void 0) {
|
|
@@ -19138,7 +19278,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
|
|
|
19138
19278
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
19139
19279
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
19140
19280
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
19141
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
19281
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-D5J77Uj4.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-BEq5RoRa.js"))).NeptuneProvider({ region: ccRegion });
|
|
19142
19282
|
this.sdkDeleteDelegates.set(family, {
|
|
19143
19283
|
region: ccRegion,
|
|
19144
19284
|
provider
|
|
@@ -21806,7 +21946,7 @@ async function publishToSns(topicArn, request) {
|
|
|
21806
21946
|
}
|
|
21807
21947
|
async function invokeLambda(serviceToken, request) {
|
|
21808
21948
|
if (localCustomResourceRuntimeActive()) {
|
|
21809
|
-
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-
|
|
21949
|
+
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-D8tMauOX.js");
|
|
21810
21950
|
const local = await invokeCustomResourceFunctionLocally({
|
|
21811
21951
|
lambda: this.lambdaClient,
|
|
21812
21952
|
s3: this.s3Client
|
|
@@ -25325,7 +25465,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
|
|
|
25325
25465
|
if (resourceType !== "AWS::RDS::DBInstance") return false;
|
|
25326
25466
|
if (region === void 0 || region === "") return false;
|
|
25327
25467
|
const mask = input.mask ?? ((text) => text);
|
|
25328
|
-
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-
|
|
25468
|
+
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-BUe2niyV.js").then((n) => n.l);
|
|
25329
25469
|
let reason;
|
|
25330
25470
|
try {
|
|
25331
25471
|
const live = await describeDBInstanceInRegion(physicalId, region);
|
|
@@ -27370,6 +27510,7 @@ function replacedDeleteFailureVerdict(error) {
|
|
|
27370
27510
|
return isRefusedByName(error) ? "kept" : "unconfirmed";
|
|
27371
27511
|
}
|
|
27372
27512
|
const REPLACED_SURVIVOR_PROBE_TIMEOUT_MS = 3e4;
|
|
27513
|
+
const SURVIVOR_IDENTITY_ATTRIBUTES = { "AWS::IAM::Role": "RoleId" };
|
|
27373
27514
|
const INTERRUPT_POLL_MS = 250;
|
|
27374
27515
|
async function probeReplacedSurvivor(s, oldType, timeoutMs = REPLACED_SURVIVOR_PROBE_TIMEOUT_MS) {
|
|
27375
27516
|
if (s.isInterrupted?.() === true) return "interrupted";
|
|
@@ -27405,11 +27546,27 @@ async function readSurvivor(s, oldType) {
|
|
|
27405
27546
|
if (read === RESOURCE_NOT_FOUND) return "gone";
|
|
27406
27547
|
if (read === void 0) return "unreadable";
|
|
27407
27548
|
if (typeof read !== "object" || read === null || Array.isArray(read)) return "unknown";
|
|
27408
|
-
|
|
27549
|
+
if (Object.keys(read).length === 0) return "unreadable";
|
|
27550
|
+
return await identityVerdict(s, physicalId, oldType);
|
|
27409
27551
|
} catch {
|
|
27410
27552
|
return "unknown";
|
|
27411
27553
|
}
|
|
27412
27554
|
}
|
|
27555
|
+
async function identityVerdict(s, physicalId, oldType) {
|
|
27556
|
+
const key = SURVIVOR_IDENTITY_ATTRIBUTES[oldType];
|
|
27557
|
+
if (key === void 0) return "exists";
|
|
27558
|
+
const recorded = s.op.previousState?.attributes?.[key];
|
|
27559
|
+
if (typeof recorded !== "string" || recorded === "" || recorded.includes("***")) return "exists";
|
|
27560
|
+
try {
|
|
27561
|
+
const provider = s.ctx.providerRegistry.getProvider(oldType);
|
|
27562
|
+
if (typeof provider.resourceIdentity !== "function") return "exists";
|
|
27563
|
+
const live = await withReplayDeletePrinting(s, () => provider.resourceIdentity(physicalId, oldType, { expectedRegion: s.ctx.region }));
|
|
27564
|
+
if (live === RESOURCE_NOT_FOUND) return "gone";
|
|
27565
|
+
return typeof live === "string" && live !== "" && live !== recorded ? "foreign" : "exists";
|
|
27566
|
+
} catch {
|
|
27567
|
+
return "exists";
|
|
27568
|
+
}
|
|
27569
|
+
}
|
|
27413
27570
|
|
|
27414
27571
|
// src/deployment/deploy-engine/replacement/delete-replaced.ts
|
|
27415
27572
|
async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType, currentResource, deleteProvider, deleteProperties, finalSnapshotIdentifier, updateReplacePolicy, secrets, deleteProvisionedBy, noEchoDeleteValues, isRetry = false, newHoldsOldIdAndType = false) {
|
|
@@ -30449,7 +30606,7 @@ function updatePartialMessage(reason) {
|
|
|
30449
30606
|
|
|
30450
30607
|
// src/deployment/rollback-executor/replay-noecho.ts
|
|
30451
30608
|
const NOECHO_REPLAY_READBACK_TIMEOUT_MS = 3e4;
|
|
30452
|
-
const NESTED_STACK_TYPE$
|
|
30609
|
+
const NESTED_STACK_TYPE$3 = "AWS::CloudFormation::Stack";
|
|
30453
30610
|
function coordinatePath(coordinate) {
|
|
30454
30611
|
let path = "";
|
|
30455
30612
|
for (const segment of coordinate) path += typeof segment === "number" ? `[${segment}]` : path === "" ? segment : `.${segment}`;
|
|
@@ -30535,7 +30692,7 @@ async function substituteMarkedNoEchoLeaves(input) {
|
|
|
30535
30692
|
if (desired === void 0) return identity;
|
|
30536
30693
|
const pending = (noEchoLeavesOf(baseline) ?? []).filter((coordinate) => carriesSecretMask(valueAtCoordinate(desired, coordinate)));
|
|
30537
30694
|
if (pending.length === 0) return identity;
|
|
30538
|
-
if (live.resourceType === NESTED_STACK_TYPE$
|
|
30695
|
+
if (live.resourceType === NESTED_STACK_TYPE$3 && baseline.resourceType === NESTED_STACK_TYPE$3 && live.provisionedBy !== "cc-api" && !routedVia.includes("cc-api")) return {
|
|
30539
30696
|
...identity,
|
|
30540
30697
|
inert: pending
|
|
30541
30698
|
};
|
|
@@ -31759,8 +31916,9 @@ async function replayReverseReplacement(s) {
|
|
|
31759
31916
|
}
|
|
31760
31917
|
if (op.oldResourceMaySurvive !== void 0) {
|
|
31761
31918
|
const survivor = await probeReplacedSurvivor(s, oldType);
|
|
31919
|
+
if (survivor === "foreign") throw foreignSurvivorRefusal(s, oldType);
|
|
31762
31920
|
if (survivor === "exists" && op.oldResourceMaySurvive === "unconfirmed") throw survivorUnprovenRefusal(s, oldType, "maybe-deleting");
|
|
31763
|
-
if (op.oldResourceMaySurvive === "deferred" && survivor !== "gone" && survivor !== "interrupted") {
|
|
31921
|
+
if (op.oldResourceMaySurvive === "deferred" && survivor !== "gone" && survivor !== "interrupted" && (survivor === "exists" || deferredDeleteStillPending(ctx.supersededResources, prev, oldType))) {
|
|
31764
31922
|
logger.info(safeMsg` Rollback: the old resource of ${safe(op.logicalId)} (${mask(String(prev.physicalId))}) was not deleted yet — re-adopting it`);
|
|
31765
31923
|
return replayReadopt(s, {});
|
|
31766
31924
|
}
|
|
@@ -31867,6 +32025,17 @@ function survivorUnprovenRefusal(s, oldType, verdict) {
|
|
|
31867
32025
|
const why = verdict === "unreadable" ? "cdkd has no read for this resource type that can tell whether it does. Re-creating it could duplicate it or collide with it" : verdict === "interrupted" ? `the rollback was interrupted before cdkd could read whether it does; re-running ${rerun} reads it` : verdict === "unknown" ? `cdkd could not read whether it does (the read failed or did not answer in time); re-running ${rerun} reads it again. Re-creating it could duplicate it or collide with it` : `AWS still reports it, but its failed delete may have been accepted and still be running, or only partly ran. Re-adopting it could leave neither resource once a running delete finishes, or one that delete already stripped; once AWS reports it gone, re-running ${rerun} re-creates it. A refused delete is not running, so waiting does not help: if its delete was refused, delete it by hand, then re-run ${rerun}`;
|
|
31868
32026
|
return ownRemedyError(markNonRetryable(new CdkdError(`Cannot reverse the replacement of ${refusalLogicalId(op.logicalId)} (${refusalResourceType(oldType)}): the deploy did not confirm that it deleted the old resource (${oldShown}), so it may still exist, and ${why}. Nothing was sent and the journal is kept.` + (remedy.offered ? " To keep the new resource in its place instead, re-run with the command below, then delete the old resource by hand if it still exists." : "") + `${remedy.clause}${describedPhysicalIdPointer(oldShown)}` + remedy.line, "REPLACED_SURVIVOR_UNPROVEN")));
|
|
31869
32027
|
}
|
|
32028
|
+
function foreignSurvivorRefusal(s, oldType) {
|
|
32029
|
+
const { op, ctx, mask } = s;
|
|
32030
|
+
const remedy = orphanRemedy(op.logicalId, ctx);
|
|
32031
|
+
const oldShown = refusalPhysicalId(mask(String(op.previousState?.physicalId)));
|
|
32032
|
+
const rerun = rerunRollbackPhrase(ctx, cdkdRemedy("cdkd rollback"));
|
|
32033
|
+
return ownRemedyError(markNonRetryable(new CdkdError(`Cannot reverse the replacement of ${refusalLogicalId(op.logicalId)} (${refusalResourceType(oldType)}): AWS reports a resource under the old physical id (${oldShown}), but not the one this stack recorded (its ${SURVIVOR_IDENTITY_ATTRIBUTES[oldType] ?? "identity"} differs), so another resource took that name after the stack's was deleted. Re-adopting it would make it this stack's, and re-creating the old one would collide with it. Nothing was sent and the journal is kept. If that resource is not meant to be there, remove it, then re-run ${rerun}, which re-creates the old one.` + (remedy.offered ? " To keep the new resource in its place instead, re-run with the command below; leave the other resource alone." : "") + `${remedy.clause}${describedPhysicalIdPointer(oldShown)}` + remedy.line, "REPLACED_SURVIVOR_UNPROVEN")));
|
|
32034
|
+
}
|
|
32035
|
+
function deferredDeleteStillPending(superseded, prev, oldType) {
|
|
32036
|
+
if (superseded === void 0) return true;
|
|
32037
|
+
return superseded.some((entry) => entry.state.physicalId === prev.physicalId && entry.state.resourceType === oldType);
|
|
32038
|
+
}
|
|
31870
32039
|
|
|
31871
32040
|
// src/deployment/rollback-executor/replay-completed.ts
|
|
31872
32041
|
async function replayRollbackUnbound(operations, stateResources, stackName, ctx, options = {}) {
|
|
@@ -35007,7 +35176,7 @@ function secretNamedAttributesField(result, previous) {
|
|
|
35007
35176
|
|
|
35008
35177
|
// src/deployment/nested-child-journal.ts
|
|
35009
35178
|
const NESTED_PENDING_PARENT_REASON = "nested-pending-parent";
|
|
35010
|
-
const NESTED_STACK_TYPE$
|
|
35179
|
+
const NESTED_STACK_TYPE$2 = "AWS::CloudFormation::Stack";
|
|
35011
35180
|
const MAX_NESTED_WALK_DEPTH = 32;
|
|
35012
35181
|
function nestedChildStackName(parentStackName, logicalId) {
|
|
35013
35182
|
return `${parentStackName}~${logicalId}`;
|
|
@@ -35070,7 +35239,7 @@ function recordDisplacedSkips(recordEvent, stackName, ops) {
|
|
|
35070
35239
|
});
|
|
35071
35240
|
}
|
|
35072
35241
|
function revertedNestedRowIds(ops) {
|
|
35073
|
-
return ops.filter((op) => op.resourceType === NESTED_STACK_TYPE$
|
|
35242
|
+
return ops.filter((op) => op.resourceType === NESTED_STACK_TYPE$2 && op.changeType === "UPDATE").map((op) => op.logicalId);
|
|
35074
35243
|
}
|
|
35075
35244
|
const revertRunStorage = new AsyncLocalStorage();
|
|
35076
35245
|
function withNestedRevertRun(runId, fn) {
|
|
@@ -35096,7 +35265,7 @@ async function dropNestedChildJournals(args) {
|
|
|
35096
35265
|
if (!isPlainRecord(resources)) return;
|
|
35097
35266
|
if (depthExceeded(depth, parentStackName, logger)) return;
|
|
35098
35267
|
for (const [logicalId, record] of Object.entries(resources)) {
|
|
35099
|
-
if (!isPlainRecord(record) || record["resourceType"] !== NESTED_STACK_TYPE$
|
|
35268
|
+
if (!isPlainRecord(record) || record["resourceType"] !== NESTED_STACK_TYPE$2) continue;
|
|
35100
35269
|
const child = nestedChildStackName(parentStackName, logicalId);
|
|
35101
35270
|
try {
|
|
35102
35271
|
const data = await stateBackend.getState(child, region);
|
|
@@ -35282,6 +35451,7 @@ async function revertNestedChildFromJournal(args) {
|
|
|
35282
35451
|
}), args.inheritedProducerRegions);
|
|
35283
35452
|
const execCtx = {
|
|
35284
35453
|
providerRegistry: ctx.providerRegistry,
|
|
35454
|
+
supersededResources: supersededResourcesOf(base),
|
|
35285
35455
|
region,
|
|
35286
35456
|
logger,
|
|
35287
35457
|
...ctx.options?.eventRecorder && { recordEvent: (event) => ctx.options.eventRecorder.record(maskEventTextWithBoundBags(event)) },
|
|
@@ -45190,14 +45360,14 @@ function logicalIdToPath(records, template) {
|
|
|
45190
45360
|
}
|
|
45191
45361
|
|
|
45192
45362
|
// src/deployment/deployment-approval.ts
|
|
45193
|
-
const NESTED_STACK_TYPE$
|
|
45363
|
+
const NESTED_STACK_TYPE$1 = "AWS::CloudFormation::Stack";
|
|
45194
45364
|
async function requireDeploymentApproval(args) {
|
|
45195
45365
|
const level = args.options.requireApproval ?? "never";
|
|
45196
45366
|
const approve = args.options.approveDeployment;
|
|
45197
45367
|
if (level === "never" || approve === void 0) return false;
|
|
45198
45368
|
const changes = [...args.changes].filter((c) => c.changeType !== "NO_CHANGE" && !isNoEchoPromotionOnly(c));
|
|
45199
45369
|
const destructiveChanges = findDestructiveChanges(args.stackName, changes, args.records, args.template, new Set(args.recreateTargetIds ?? []));
|
|
45200
|
-
const onlyNestedUpdates = changes.every((c) => c.changeType === "UPDATE" && c.resourceType === NESTED_STACK_TYPE$
|
|
45370
|
+
const onlyNestedUpdates = changes.every((c) => c.changeType === "UPDATE" && c.resourceType === NESTED_STACK_TYPE$1);
|
|
45201
45371
|
const security = level === "broadening" ? await diffSecurity({
|
|
45202
45372
|
stackName: args.stackName,
|
|
45203
45373
|
changes,
|
|
@@ -45240,7 +45410,7 @@ async function checkDestructivePlan(args) {
|
|
|
45240
45410
|
if (hook === void 0) return;
|
|
45241
45411
|
const changes = [...args.changes].filter((c) => c.changeType !== "NO_CHANGE" && !isNoEchoPromotionOnly(c));
|
|
45242
45412
|
const destroying = findDestructiveChanges(args.stackName, changes, args.records, args.template, new Set(args.recreateTargetIds ?? [])).filter((c) => c.impact !== "WILL_ORPHAN");
|
|
45243
|
-
const nestedRowChanges = changes.some((c) => c.resourceType === NESTED_STACK_TYPE$
|
|
45413
|
+
const nestedRowChanges = changes.some((c) => c.resourceType === NESTED_STACK_TYPE$1 && (c.changeType === "CREATE" || c.changeType === "UPDATE"));
|
|
45244
45414
|
if (destroying.length === 0 && !nestedRowChanges) return;
|
|
45245
45415
|
await hook(args.stackName, destroying);
|
|
45246
45416
|
}
|
|
@@ -48155,146 +48325,6 @@ async function settleJournalAtStart(engine, { stackName, template, currentState,
|
|
|
48155
48325
|
} catch {}
|
|
48156
48326
|
}
|
|
48157
48327
|
|
|
48158
|
-
// src/utils/nested-template-cycle.ts
|
|
48159
|
-
const NESTED_STACK_TYPE$1 = "AWS::CloudFormation::Stack";
|
|
48160
|
-
function isAbsoluteAssetPath(p) {
|
|
48161
|
-
return path.isAbsolute(p) || p.startsWith("/");
|
|
48162
|
-
}
|
|
48163
|
-
function templateIdentity(templatePath) {
|
|
48164
|
-
const dir = path.dirname(templatePath);
|
|
48165
|
-
let realDir;
|
|
48166
|
-
try {
|
|
48167
|
-
realDir = fs.realpathSync.native(dir);
|
|
48168
|
-
} catch {
|
|
48169
|
-
realDir = path.resolve(dir);
|
|
48170
|
-
}
|
|
48171
|
-
return path.join(realDir, path.basename(templatePath));
|
|
48172
|
-
}
|
|
48173
|
-
function listNestedTemplateRows(template) {
|
|
48174
|
-
if (template === null || typeof template !== "object") return [];
|
|
48175
|
-
const resources = template.Resources;
|
|
48176
|
-
if (resources === null || resources === void 0) return [];
|
|
48177
|
-
const rows = [];
|
|
48178
|
-
for (const [logicalId, resource] of Object.entries(resources)) {
|
|
48179
|
-
const row = resource;
|
|
48180
|
-
if (row?.Type !== NESTED_STACK_TYPE$1) continue;
|
|
48181
|
-
const assetPath = row.Metadata?.["aws:asset:path"];
|
|
48182
|
-
if (typeof assetPath !== "string" || assetPath.length === 0) continue;
|
|
48183
|
-
rows.push({
|
|
48184
|
-
logicalId,
|
|
48185
|
-
assetPath
|
|
48186
|
-
});
|
|
48187
|
-
}
|
|
48188
|
-
return rows;
|
|
48189
|
-
}
|
|
48190
|
-
function readNestedRows(templatePath) {
|
|
48191
|
-
let parsed;
|
|
48192
|
-
try {
|
|
48193
|
-
parsed = JSON.parse(fs.readFileSync(templatePath, "utf-8"));
|
|
48194
|
-
} catch {
|
|
48195
|
-
return;
|
|
48196
|
-
}
|
|
48197
|
-
return listNestedTemplateRows(parsed);
|
|
48198
|
-
}
|
|
48199
|
-
const MAX_NESTING_DEPTH = 512;
|
|
48200
|
-
const MAX_ROWS_FOLLOWED = 1e4;
|
|
48201
|
-
function findNestedTemplateTreeDefect(nestedTemplates, ancestorTemplatePaths = []) {
|
|
48202
|
-
const onChain = /* @__PURE__ */ new Set();
|
|
48203
|
-
for (const p of ancestorTemplatePaths) onChain.add(templateIdentity(p));
|
|
48204
|
-
const clean = /* @__PURE__ */ new Set();
|
|
48205
|
-
const chain = [];
|
|
48206
|
-
let rowsFollowed = 0;
|
|
48207
|
-
const visit = (logicalId, templatePath) => {
|
|
48208
|
-
if (typeof templatePath !== "string") return void 0;
|
|
48209
|
-
const identity = templateIdentity(templatePath);
|
|
48210
|
-
const lexical = path.resolve(templatePath);
|
|
48211
|
-
chain.push({
|
|
48212
|
-
logicalId,
|
|
48213
|
-
templatePath: identity
|
|
48214
|
-
});
|
|
48215
|
-
try {
|
|
48216
|
-
if (onChain.has(identity)) return {
|
|
48217
|
-
kind: "cycle",
|
|
48218
|
-
chain: [...chain]
|
|
48219
|
-
};
|
|
48220
|
-
if (chain.length > 512) return {
|
|
48221
|
-
kind: "too-deep",
|
|
48222
|
-
chain: [...chain]
|
|
48223
|
-
};
|
|
48224
|
-
if (++rowsFollowed > 1e4) return {
|
|
48225
|
-
kind: "too-large",
|
|
48226
|
-
chain: [...chain]
|
|
48227
|
-
};
|
|
48228
|
-
if (clean.has(lexical)) return void 0;
|
|
48229
|
-
const rows = readNestedRows(templatePath);
|
|
48230
|
-
if (rows === void 0) return void 0;
|
|
48231
|
-
onChain.add(identity);
|
|
48232
|
-
try {
|
|
48233
|
-
const dir = path.dirname(templatePath);
|
|
48234
|
-
for (const row of rows) {
|
|
48235
|
-
if (isAbsoluteAssetPath(row.assetPath)) return {
|
|
48236
|
-
kind: "absolute-path",
|
|
48237
|
-
chain: [...chain],
|
|
48238
|
-
logicalId: row.logicalId,
|
|
48239
|
-
assetPath: row.assetPath
|
|
48240
|
-
};
|
|
48241
|
-
const resolved = resolveAssemblyPath(dir, row.assetPath);
|
|
48242
|
-
if (!resolved.contained) return {
|
|
48243
|
-
kind: "escaping-path",
|
|
48244
|
-
chain: [...chain],
|
|
48245
|
-
logicalId: row.logicalId,
|
|
48246
|
-
assetPath: row.assetPath,
|
|
48247
|
-
escape: resolved,
|
|
48248
|
-
dir
|
|
48249
|
-
};
|
|
48250
|
-
const defect = visit(row.logicalId, resolved.path);
|
|
48251
|
-
if (defect) return defect;
|
|
48252
|
-
}
|
|
48253
|
-
} finally {
|
|
48254
|
-
onChain.delete(identity);
|
|
48255
|
-
}
|
|
48256
|
-
clean.add(lexical);
|
|
48257
|
-
return;
|
|
48258
|
-
} finally {
|
|
48259
|
-
chain.pop();
|
|
48260
|
-
}
|
|
48261
|
-
};
|
|
48262
|
-
for (const [logicalId, templatePath] of Object.entries(nestedTemplates)) {
|
|
48263
|
-
const defect = visit(logicalId, templatePath);
|
|
48264
|
-
if (defect) return defect;
|
|
48265
|
-
}
|
|
48266
|
-
}
|
|
48267
|
-
const MAX_RENDERED_HOPS = 8;
|
|
48268
|
-
function renderChain(chain) {
|
|
48269
|
-
const hop = (h) => `${displayIdent(h.logicalId)} (${displayAssemblyPath(h.templatePath)})`;
|
|
48270
|
-
if (chain.length <= MAX_RENDERED_HOPS) return chain.map(hop).join(" then ");
|
|
48271
|
-
const keep = MAX_RENDERED_HOPS / 2;
|
|
48272
|
-
return [
|
|
48273
|
-
...chain.slice(0, keep).map(hop),
|
|
48274
|
-
`... ${chain.length - 8} more ...`,
|
|
48275
|
-
...chain.slice(-4).map(hop)
|
|
48276
|
-
].join(" then ");
|
|
48277
|
-
}
|
|
48278
|
-
function renderNestedTemplateTreeDefect(defect, stackName, action) {
|
|
48279
|
-
const provenance = `CDK emits an acyclic nested template tree with relative asset paths, so this indicates the synth output was hand-modified or generated by a non-CDK toolchain. Refusing to ${action}.`;
|
|
48280
|
-
const owner = (chain) => {
|
|
48281
|
-
const ids = chain.slice(0, -1).map((h) => h.logicalId);
|
|
48282
|
-
const keep = MAX_RENDERED_HOPS / 2;
|
|
48283
|
-
if (ids.length <= MAX_RENDERED_HOPS) return displayStackName([stackName, ...ids].join("~"));
|
|
48284
|
-
const head = displayStackName([stackName, ...ids.slice(0, keep)].join("~"));
|
|
48285
|
-
const tail = displayStackName(ids.slice(-4).join("~"));
|
|
48286
|
-
return `${head}~...${ids.length - 8} more...~${tail}`;
|
|
48287
|
-
};
|
|
48288
|
-
if (defect.kind === "cycle") {
|
|
48289
|
-
const closing = defect.chain[defect.chain.length - 1];
|
|
48290
|
-
return `The nested template tree under stack ${displayStackName(stackName)} contains a cycle: ${renderChain(defect.chain)}. Nested stack ${displayIdent(closing.logicalId)} (declared in stack ${owner(defect.chain)}) resolves to a template that is already on that nesting chain, so its Metadata['aws:asset:path'] closes a cycle. ${provenance}`;
|
|
48291
|
-
}
|
|
48292
|
-
if (defect.kind === "too-large") return `The nested template tree under stack ${displayStackName(stackName)} has more than ${MAX_ROWS_FOLLOWED} nested-stack rows to follow (the walk stopped at ${renderChain(defect.chain)}). That is far beyond any CDK-generated assembly. Symlinked directories can give one template file many paths, which multiplies the tree without ever repeating on one chain. Refusing to ${action}.`;
|
|
48293
|
-
if (defect.kind === "too-deep") return `The nested template tree under stack ${displayStackName(stackName)} nests more than ${512} levels deep: ${renderChain(defect.chain)}. No tree that deep can deploy, because each level lengthens the child's state key and S3 caps a key at 1024 bytes. ${provenance}`;
|
|
48294
|
-
if (defect.kind === "escaping-path") return `The nested template tree under stack ${displayStackName(stackName)} has nested stack ${displayIdent(defect.logicalId)} (reached through ${renderChain(defect.chain)}) with Metadata['aws:asset:path']=${displayAssemblyPath(defect.assetPath)} which ${renderAssemblyPathEscape(defect.escape, defect.dir, action)}`;
|
|
48295
|
-
return `The nested template tree under stack ${displayStackName(stackName)} has nested stack ${displayIdent(defect.logicalId)} (reached through ${renderChain(defect.chain)}) with Metadata['aws:asset:path']=${displayAssemblyPath(defect.assetPath)} which is absolute. ${provenance}`;
|
|
48296
|
-
}
|
|
48297
|
-
|
|
48298
48328
|
// src/deployment/nested-output-templates.ts
|
|
48299
48329
|
function childTemplateLoader(nestedTemplates) {
|
|
48300
48330
|
if (nestedTemplates === void 0) return void 0;
|
|
@@ -50078,5 +50108,5 @@ var DeployEngine = class {
|
|
|
50078
50108
|
}
|
|
50079
50109
|
};
|
|
50080
50110
|
|
|
50081
|
-
export { isTtlAlreadyDisabled as $, isSettledInstanceState as $a, isKnownTokenFreeState as $c, PRE_DELETE_SNAPSHOT_TYPES as $i, nullPrototypeRecord as $l, referencedLogicalIds as $n, withSharedDrainBudget as $o, exportAliasCollisionScrubWarning as $r, malformedDriftResourcePropertiesWarning as $s, lookupEachName as $t, refusePendingMovesOut as A, customResourcesFailedWithoutApp as Aa, refuseMalformedResourcesForExport as Ac, gray as Ai, readBootstrapMarkerBody as Al, createNoEchoValueMacs as An, parameterTypeMayLoseSecretIdentity as Ao, findNestedStackTypeChanges as Ar, malformedOrphanRecordsWarning as As, maskedLogger as At, readProtection as B, setResolvedResourceTimeouts as Ba, hasReadableResources as Bc, completedReplayEntries as Bi, warnWholeAssemblyAsSource as Bl, movedToHint as Bn, keepHeldTokenProvenance as Bo, nameScopeOf as Br, malformedLocalResourceEntriesWarning as Bs, readRefactorMarkerOnce as Bt, isAbsoluteAssetPath as C, TemplateNoEchoReresolver as Ca, STATE_REGION_DIVERGED as Cc, supersededAfterRollback as Ci, AssetModeResolver as Cl, makeForeignHolderScan as Cn, s3BucketArn as Co, recheckFailedPlan as Cr, maskedInputProof as Cs, deleteBudgetKey as Ct, hasPendingMovesOut as D, withPrintingSecrets as Da, malformedStateRefusalMessage as Dc, withoutSuperseded as Di, isCrossRegionRedirect as Dl, DeploymentEventsStore as Dn, s3BucketWebsiteUrl as Do, computeImplicitDeleteEdges as Dr, deployRefusesOrphanRowsReason as Ds, INDEX_SETTLE_POLL_INTERVAL_MS as Dt, templateIdentity as E, getCurrentResourceSecrets as Ea, malformedResourcesWarning as Ec, supersededResourcesOf as Ei, assertAssetBucketRegion as El, DeploymentEventsReader as En, s3BucketRegionalDomainName as Eo, IMPLICIT_DELETE_DEPENDENCIES as Er, maskedPropertyFingerprint as Es, DELETE_INDEX_WAIT_PROCEED_NOTE as Et, recordedProtectionEvidence as F, withCustomResourceStack as Fa, withheldAccountClause as Fc, noEchoComparisonForTemplate as Fi, getDockerImageBySourceHash as Fl, constructPathOf as Fn, lacksRecordedRefArn as Fo, segmentCleanupOptions as Fr, refuseMalformedOrphansForOrphan as Fs, hasCdkAutoDeleteTag as Ft, declaredStreamTagsMember as G, deleteSkipReason as Ga, withoutAcceptedSdkUnwiredProperties as Gc, secretNamePrintingBag as Gi, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Gl, changedReferenceReason as Gn, referenceProvenanceOf as Go, getCurrentProducerRegions as Gr, refuseMalformedResourceEntries as Gs, updateRefactorMarker as Gt, STREAM_POLICY_KEY as H, UNSPECIFIED_SKIP_REASON as Ha, findHandledUnwrittenCreateOnly as Hc, maskEventTextWithBoundBags as Hi, SSM_PARAMETER_VALUE_PREFIX as Hl, withMovedTo as Hn, recordedOutputReferenceRegions as Ho, retiredNameGenerationsAfter as Hr, malformedResourceEntriesWarning as Hs, refactorMarkerRefusalMessage as Ht, recordedProtectionNote as I, waitForLambdaFunctionActive as Ia, STATE_RESOURCES_MALFORMED as Ic, noEchoExactEchoLeavesOf as Ii, isCfnTemplateAssetPath as Il, findDestructiveChanges as In, lacksRecordedTableArn as Io, removeProtectionTypeList as Ir, repairMalformedOrphanRecordsForReadOnly as Is, isTruthyCfnBoolean as It, streamDeclaresPolicy as J, IntrinsicFunctionResolver as Ja, NO_CC_HANDLERS_REASON as Jc, secretNamedRecordNeedles as Ji, rememberSynthesizedStacks as Jl, looselyEqual as Jn, isImpossibleEmptyStoredAttribute as Jo, namesAnyDeclaredParameter as Jr, refuseMalformedResourceEntriesForImport as Js, getPriorAttempts as Jt, planStreamMemberOps as K, withIndeterminateGuard as Ka, withoutSdkUnwiredProperties as Kc, secretNamePrintingBags as Ki, purgeNoncurrentKeyVersions as Kl, differingRemedy as Kn, referenceTokensIn as Ko, inheritProducerRegions as Kr, refuseMalformedResourceEntriesForDeploy as Ks, macWriteOnlyKeys as Kt, PROTECTION_PROPERTY_BY_TYPE as L, CloudControlProvider as La, UNREADABLE_RESOURCES_MAP_ROW as Lc, noEchoParameterNamesOf as Li, parseAssetManifestBody as Ll, formatDestructiveChange as Ln, parseWebACLArn as Lo, orphanNeedsIdentity as Lr, unpreviewableOrphanRecords as Ls, keptForRetainedRecord as Lt, findServiceTokenRefusals as M, localCustomResourceCommand as Ma, repairMalformedResourcesForReadOnly as Mc, red as Mi, validateContainerRepoName as Ml, noEchoMacParametersOf as Mn, cfnRefValueFromPhysicalId as Mo, isRedactedRecordedValue as Mr, previewableOrphanRecords as Ms, waitForIndexesSettled as Mt, serviceTokenBlockingReason as N, localCustomResourceRuntimeActive as Na, JSON_LISTING_HOLE_VALUE as Nc, yellow as Ni, BOOTSTRAP_MARKER_PREFIX as Nl, noEchoMacVerdict as Nn, isStalePlaceholderArnAttribute as No, redactedDeleteAddressFields as Nr, refuseMalformedOrphanRecords as Ns, ECR_AUTO_DELETE_IMAGES_TAG as Nt, pendingMovesOutOf as O, NO_LOCAL_CUSTOM_RESOURCES_FLAG as Oa, refuseMalformedResourcesForDeploy as Oc, bold as Oi, getBootstrapMarkerKey as Ol, crossStackReadsForPartialSave as On, coerceParameterTypedValue as Oo, resolveReplacementOldType as Or, isReadableOrphanRecord as Os, TABLE_INDEX_NOUN as Ot, diffSecurity as P, setLocalCustomResourceRuntimeEnabled as Pa, accountArgs as Pc, noEchoAttributeNamesOf as Pi, AssetManifestLoader as Pl, noEchoValueMacsOf as Pn, refStateLookupFromResource as Po, redactedDeleteAddressSkip as Pr, refuseMalformedOrphanRecordsForDestroy as Ps, S3_AUTO_DELETE_OBJECTS_TAG as Pt, streamTagsMatchDeclared as Q, stackIdTailOf as Qa, splitImportedOps as Qc, ATOMIC_FINAL_SNAPSHOT_TYPES as Qi, hasPlainPrototype as Ql, proposeRenames as Qn, keepsSecretReferenceToken as Qo, displayTextOrWithheld as Qr, unreadableResourceEntries as Qs, isAccessDeniedError as Qt, isProtectionValueActive as R, waitForGoneAfterDelete as Ra, displayLogicalId as Rc, withAttemptedItemsMasked as Ri, resolveFileAssetSourcePath as Rl, findRefactorHints as Rn, extractGetAttRefs as Ro, nameGenerationCarriedFrom as Rr, unreadableOrphanRecords as Rs, recordRetainedForReadoption as Rt, findNestedTemplateTreeDefect as S, responsePresignClient as Sa, repairMalformedOutputsForReadOnly as Sc, isSupersededResourceRecord as Si, rewriteTemplateAssetReferences as Sl, sameJournaledOrphans as Sn, regionLessSecretName as So, planFailedOps as Sr, parameterInputsFor as Ss, compensateRemovedDeletionProtection as St, renderNestedTemplateTreeDefect as T, isCustomResourceType as Ta, malformedRenderedContainersWarning as Tc, supersededHolderOf as Ti, buildDenyExternalAccessPolicy as Tl, planOrphanAdoption as Tn, s3BucketDualStackDomainName as To, replacementNeverSwapped as Tr, declaresNoEcho as Ts, resolveDynamoDbDeleteBudgetMs as Tt, STREAM_TAGS_KEY as U, deleteIndeterminateGuards as Ua, findSdkUnwiredProperties as Uc, namingSecretsWithRecordedNoEcho as Ui, isListParameterType as Ul, changedReferenceInDiff as Un, recordedProvenanceOf as Uo, retiredNameGenerationsLeaving as Ur, malformedScrubResourceEntriesRefusalMessage as Us, refuseRefactorMarker as Ut, DynamoDBGlobalTableProvider as V, RollbackInlinePolicyWriters as Va, findActionableSdkUnwired as Vc, journaledOrphanPrintingBag as Vi, missingStateBucketRemedy as Vl, rollbackOrphanIds as Vn, outputReferenceProvenanceOf as Vo, retiredAfterRollback as Vr, malformedLocalResourcesWarning as Vs, refactorMarkerMovesOf as Vt, declaredStreamPolicyMember as W, deleteLeftInPlace as Wa, unwrittenCreateOnlyReplacement as Wc, orphanRecordsPrintingBag as Wi, ssmResolvedValueType as Wl, changedReferencePath as Wn, recordedReferenceRegions as Wo, withNameGenerationReached as Wr, refuseMalformedResourceAttributesForOrphan as Ws, sameMove as Wt, streamMemberRefusals as X, isAlwaysLiveAttribute as Xa, TemplateParser as Xc, storedSecretNameNeedles as Xi, defineOwnKey as Xl, parseMappingFile as Xn, isNamelessDynamicReferenceError as Xo, resourcesNamingDeclaredParameter as Xr, refuseMalformedResourceEntriesForOrphan as Xs, formatResourceLine as Xt, streamDeclaresTags as Y, isSelectOutOfBounds as Ya, hasNoCloudControlHandlers as Yc, stateSecretNameNeedles as Yi, synthesizedStacks as Yl, mappingPairs as Yn, carriesFetchableDynamicReference as Yo, reachableDivergentParameters as Yr, refuseMalformedResourceEntriesForImportSave as Ys, markRefusedBeforeApplying as Yt, streamPolicyMatchesDeclared as Z, poisonRenderedSpellingsCollidingIn as Za, S3StateBackend as Zc, extractDeploymentEventError as Zi, hasOwnKey as Zl, propertiesChangedReason as Zn, carriesDynamicReference as Zo, WITHHELD_NAME_DISPLAY as Zr, repairMalformedResourceEntriesForReadOnly as Zs, chunks as Zt, conditionFingerprint as _, isCustomResource as _a, malformedOutputsRefusalMessage as _c, getStackRecords as _i, isDefaultBootstrapBucketName as _l, dropFailedCommands as _n, callerEnvCredentials as _o, planRollback as _r, toFiniteNumber as _s, stripIndexContributorInsights as _t, scanActiveConsumers as a, unsupportedFinalSnapshotError as aa, refuseMalformedResourcePropertiesForOrphan as ac, exportNameSecretExposure as ai, applyCrossPrefixScan as al, displacedPhysicalIdShown as an, resolveDynamicReferences as ao, withUnprovenUnsettled as ar, siblingsOf as as, readbackVectorIndexes as at, namesTheSameDirectory as au, readRecordedConditionVerdicts as b, applyCustomResourceResponseExpiration as ba, refuseMalformedOutputs as bc, deleteSupersededEntry as bi, redirectDockerAsset as bl, journaledOrphanLines as bn, classifyReplaySecretRegion as bo, isJournaledOrphan as br, maskedPropertyFingerprintsOf as bs, DYNAMODB_DELETE_POLL_COST_MS as bt, nestedSsmNameDeferredNote as c, collectGroupsAddedBySiblings as ca, hasReadableOrphans as cc, collectDeclaredOutputNames as ci, isNotImplemented as cl, nestedChildStackName as cn, applyRoleArnIfSet as co, equalModuloMask as cr, shownType as cs, vectorIndexesShapeDetail as ct, clearBucketRegionCache as cu, slashedSsmNameHealAdoptedNote as d, stripSiblingOwnedMembers as da, refuseMalformedOrphans as dc, bindingSkippedOutputs as di, isSecretValuedAttribute as dl, revertedNestedRowIds as dn, explicitRoleArnOrThrow as do, updatePartialReason as dr, isStatefulRecreateTargetSync as ds, indexDeclaresContributorInsights as dt, ccRoutedFinalSnapshotError as ea, malformedResourcePropertiesWarning as ec, secretBearing as ei, hasReasonlessBaselineRefusal as el, withApiLimit as en, APPSYNC_APIKEY_ARN_RESOURCE_PATH as eo, replayFailedOperations as er, namesRecreatedParent as es, isTtlRateLimited as et, ownValue as eu, slashedSsmNameHealNote as f, withoutSiblingAttachedArns as fa, refuseMalformedOrphansForDestroy as fc, DEFAULT_RESOURCE_TIMEOUT_MS as fi, isSensitiveAttributeName as fl, withNestedRevertRun as fn, isIamRoleArn as fo, earliestDefined as fr, renderStatefulReason as fs, planContributorInsightsOp as ft, makeCanonicalizePropertiesFn as g, ccBrokenReason as ga, malformedLocalOutputsWarning as gc, destroyStackRecordsView as gi, flattenAssetPlaceholders as gl, deleteJournaledOrphans as gn, applyCallerIdentityCredentials as go, acquireIdempotencyToken as gr, toCfnInteger as gs, reverseMapTableContributorInsights as gt, inheritedProvenanceForChildDiff as h, ProviderRegistry as ha, malformedExportSourceWarning as hc, awaitInFlightSibling as hi, createAssetRedirectResolver as hl, withNestedStackContext as hn, AWS_CREDENTIAL_ENV_KEYS as ho, withCreateTokenLedger as hr, isWarmThroughputDecrease as hs, reverseMapIndexContributorInsights as ht, mergeNoChangeOutputs as i, refusesFinalSnapshot as ia, refuseMalformedResourcePropertiesForExport as ic, exportNameNoEchoParameters as ii, CrossPrefixScanCache as il, displacedOpClause as in, withSecretPhysicalIdsMaskedInState as io, settleUnsettledPrevious as ir, replacementSidesForLog as is, planVectorIndexUpdates as it, displayAssemblyPath as iu, deferredServiceTokenWarning as j, customResourcesRunWithoutApp as ja, refuseMalformedState as jc, green as ji, validateAssetBucketName as jl, noEchoMacBinding as jn, AWS_NO_VALUE as jo, REDACTED_DELETE_ADDRESS_SKIP_REASON as jr, malformedOrphanRowsKeptWarning as js, relayedIndexBusyDelete as jt, pendingMovesRefusalMessage as k, customResourceStackName as ka, refuseMalformedResourcesForDestroy as kc, cyan as ki, parseBootstrapMarker as kl, NOECHO_MAC_KEY_ALIAS as kn, isUnboundTemplateParameter as ko, withPreviousPolicies as kr, malformedOrphanRecordsRefusalMessage as ks, deleteTableWithIndexBusyRetry as kt, nestedSsmNameRowNote as l, collectManagedPolicyArnsAttachedBySiblings as la, malformedOrphansRefusalMessage as lc, collectPublishedOutputNames as li, stackInstanceIdOf as ll, recordDisplacedSkips as ln, assertFlagRoleArn as lo, undeclaredEmptyObservedKeys as lr, MULTI_REGION_RECREATE_BLOCKED_TYPES as ls, CONTRIBUTOR_INSIGHTS_KEY as lt, resolveBucketRegion as lu, crossStackOutputProvenanceSource as m, CC_BROKEN_REASON as ma, malformedExportNamesWarning as mc, maskingRetryLogger as mi, buildAssetRedirectMap as ml, getCurrentNestedStackContext as mn, sendableAssumeRoleCommand as mo, reserveStackCreateToken as mr, coerceWarmThroughput as ms, readContributorInsightsSpec as mt, isSecretBearingReferenceString as n, effectiveDeletionPolicy as na, refuseMalformedResourcePropertiesForDestroy as nc, secretSafeKeyDisplay as ni, rebuildClientForBucketRegion as nl, resolvePendingCloudControlRequests as nn, secretPhysicalIdSegment as no, DELETED_RESOURCE_REMEDY as nr, containsIntrinsic as ns, readTtlSpec as nt, assemblyPathEscape as nu, inRunStackKey as o, createPreDeleteFinalSnapshot as oa, repairMalformedResourcePropertiesForReadOnly as oc, isWholeDynamicReferenceValue as oi, crossPrefixDeniedWarning as ol, dropSettledNestedJournals as on, producerLookupOver as oo, calculateResourceDrift as or, findReplacedReadersOfRecreateTargets as os, vectorIndexesForCreate as ot, renderAssemblyPathEscape as ou, slashedSsmNameHealPendingNote as p, withoutSiblingOwned as pa, repairMalformedOrphansForReadOnly as pc, DEFAULT_RESOURCE_WARN_AFTER_MS as pi, stringifyValue as pl, collectNestedChildUnaddressed as pn, parseIamRoleArn as po, ledgerForStack as pr, WARM_THROUGHPUT_MEMBERS as ps, planIndexContributorInsightsOps as pt, reverseMapStreamPolicy as q, isWaitAbandonedError as qa, withoutUnwrittenSdkUnwiredProperties as qc, secretNamedAttributeNamesOf as qi, decodeListingKey as ql, isPairableType as qn, getAccountInfo as qo, computeParameterTaint as qr, refuseMalformedResourceEntriesForDestroy as qs, readsOnlyNoEchoParameters as qt, keptWholeReasonText as r, isFinalSnapshotError as ra, refuseMalformedResourcePropertiesForDrift as rc, carriedExportAliasExposure as ri, CrossPrefixReadError as rl, NESTED_PENDING_PARENT_REASON as rn, secretSegmentsOfState as ro, recordAfterRollbackUpdate as rr, markNewValueKnownAfterDeploy as rs, sendTtlWaitingOutRateLimit as rt, describeFileReadFailure as ru, checkNestedSsmNames as s, buildFinalSnapshotIdentifier as sa, UNREADABLE_ORPHANS_CONTAINER_ROW as sc, noEchoParameterValueSeed as si, isAccessDenied$1 as sl, getNestedRevertRun as sn, refuseUnreadableCdkCrossAccountRefs as so, equalModuloMarkedMask as sr, isPlainReferenceTo as ss, vectorIndexesSettled as st, resolveAssemblyPath as su, DeployEngine as t, ccRoutedInstanceTakesNoSnapshot as ta, refuseMalformedResourceProperties as tc, secretBearingStateKeyWarning as ti, hasUnverifiableParameterRefusal as tl, pendingRequestCount as tn, maskedSecretSegment as to, replayRollback as tr, INTRINSIC_KEYS as ts, planTimeToLive as tt, absoluteAssemblyPathEscape as tu, healSlashedSsmParameterNames as u, collectPrincipalsAttachingPolicy as ua, malformedOrphansWarning as uc, isExportAliasCollision as ui, withStackInstanceIdWithheld as ul, revertNestedChildFromJournal as un, assertSendableRoleArn as uo, updatePartialMessage as ur, isStatefulRecreateTargetForReplace as us, contributorInsightsRefusals as ut, conditionInputsFrom as v, wouldReturnToSdkProvider as va, malformedOutputsWarning as vc, withStackRecords as vi, isDefaultBootstrapRepoName as vl, dropFailedHint as vn, envCredentialsAreAssumedRole as vo, seedsDeleteFirstGuard as vr, tryGetTopLevelWriteOnlyProperties as vs, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as vt, listNestedTemplateRows as w, readsNoEchoDeleteValues as wa, refuseDivergentRecordRegionForDestroy as wc, supersededHeldByOtherTypeWarning as wi, ensureAssetStorage as wl, makeSiblingClaimReader as wn, s3BucketDomainName as wo, recordUnderIdIsNotOwn as wr, passedParameterClassesOf as ws, resolveDynamoDbDeleteBudgetClock as wt, childTemplateLoader as x, customResourceResponseExpirationWarning as xa, refuseMalformedOutputsForDestroy as xc, holdsSupersededResources as xi, redirectFileAsset as xl, loadJournaledOrphans as xn, producerRegionsFromState as xo, isReplacementOrphan as xr, movedMaskedProperties as xs, beginDeleteWait as xt, parentSuppliedValues as y, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ya, refuseMalformedNestedChildOutputs as yc, replacedDeleteFailureVerdict as yi, loadPublishableAssetManifest as yl, isHandledOrphan as yn, classifyRecordedSecretRegion as yo, demoteSupersededOrphans as yr, inputFingerprinter as ys, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as yt, perType as z, resolvedResourceTimeoutMs as za, hasReadableOutputs as zc, createReadOnlyAttributeHealerFactory as zi, warnAbsoluteAssetPath as zl, hintSidesOf as zn, promoteInPlaceAttributeDependents as zo, nameGenerationHighWaterOf as zr, isReadableResourceEntry as zs, readRefactorMarker as zt };
|
|
50082
|
-
//# sourceMappingURL=deploy-engine-
|
|
50111
|
+
export { planVectorIndexUpdates as $, withSecretPhysicalIdsMaskedInState as $a, CrossPrefixScanCache as $c, refusesFinalSnapshot as $i, nullPrototypeRecord as $l, settleUnsettledPrevious as $n, replacementSidesForLog as $o, exportNameNoEchoParameters as $r, refuseMalformedResourcePropertiesForExport as $s, displacedOpClause as $t, recordedProtectionEvidence as A, withCustomResourceStack as Aa, withheldAccountClause as Ac, noEchoComparisonForTemplate as Ai, getDockerImageBySourceHash as Al, constructPathOf as An, lacksRecordedRefArn as Ao, segmentCleanupOptions as Ar, refuseMalformedOrphansForOrphan as As, hasCdkAutoDeleteTag as At, declaredStreamTagsMember as B, deleteSkipReason as Ba, withoutAcceptedSdkUnwiredProperties as Bc, secretNamePrintingBag as Bi, renderNestedTemplateTreeDefect as Bl, changedReferenceReason as Bn, referenceProvenanceOf as Bo, getCurrentProducerRegions as Br, refuseMalformedResourceEntries as Bs, updateRefactorMarker as Bt, pendingMovesOutOf as C, NO_LOCAL_CUSTOM_RESOURCES_FLAG as Ca, refuseMalformedResourcesForDeploy as Cc, bold as Ci, getBootstrapMarkerKey as Cl, crossStackReadsForPartialSave as Cn, coerceParameterTypedValue as Co, resolveReplacementOldType as Cr, isReadableOrphanRecord as Cs, TABLE_INDEX_NOUN as Ct, findServiceTokenRefusals as D, localCustomResourceCommand as Da, repairMalformedResourcesForReadOnly as Dc, red as Di, validateContainerRepoName as Dl, noEchoMacParametersOf as Dn, cfnRefValueFromPhysicalId as Do, isRedactedRecordedValue as Dr, previewableOrphanRecords as Ds, waitForIndexesSettled as Dt, deferredServiceTokenWarning as E, customResourcesRunWithoutApp as Ea, refuseMalformedState as Ec, green as Ei, validateAssetBucketName as El, noEchoMacBinding as En, AWS_NO_VALUE as Eo, REDACTED_DELETE_ADDRESS_SKIP_REASON as Er, malformedOrphanRowsKeptWarning as Es, relayedIndexBusyDelete as Et, readProtection as F, setResolvedResourceTimeouts as Fa, hasReadableResources as Fc, completedReplayEntries as Fi, warnWholeAssemblyAsSource as Fl, movedToHint as Fn, keepHeldTokenProvenance as Fo, nameScopeOf as Fr, malformedLocalResourceEntriesWarning as Fs, readRefactorMarkerOnce as Ft, streamMemberRefusals as G, isAlwaysLiveAttribute as Ga, TemplateParser as Gc, storedSecretNameNeedles as Gi, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Gl, parseMappingFile as Gn, isNamelessDynamicReferenceError as Go, resourcesNamingDeclaredParameter as Gr, refuseMalformedResourceEntriesForOrphan as Gs, formatResourceLine as Gt, reverseMapStreamPolicy as H, isWaitAbandonedError as Ha, withoutUnwrittenSdkUnwiredProperties as Hc, secretNamedAttributeNamesOf as Hi, SSM_PARAMETER_VALUE_PREFIX as Hl, isPairableType as Hn, getAccountInfo as Ho, computeParameterTaint as Hr, refuseMalformedResourceEntriesForDestroy as Hs, readsOnlyNoEchoParameters as Ht, DynamoDBGlobalTableProvider as I, RollbackInlinePolicyWriters as Ia, findActionableSdkUnwired as Ic, journaledOrphanPrintingBag as Ii, missingStateBucketRemedy as Il, rollbackOrphanIds as In, outputReferenceProvenanceOf as Io, retiredAfterRollback as Ir, malformedLocalResourcesWarning as Is, refactorMarkerMovesOf as It, isTtlAlreadyDisabled as J, isSettledInstanceState as Ja, isKnownTokenFreeState as Jc, PRE_DELETE_SNAPSHOT_TYPES as Ji, rememberSynthesizedStacks as Jl, referencedLogicalIds as Jn, withSharedDrainBudget as Jo, exportAliasCollisionScrubWarning as Jr, malformedDriftResourcePropertiesWarning as Js, lookupEachName as Jt, streamPolicyMatchesDeclared as K, poisonRenderedSpellingsCollidingIn as Ka, S3StateBackend as Kc, extractDeploymentEventError as Ki, purgeNoncurrentKeyVersions as Kl, propertiesChangedReason as Kn, carriesDynamicReference as Ko, WITHHELD_NAME_DISPLAY as Kr, repairMalformedResourceEntriesForReadOnly as Ks, chunks as Kt, STREAM_POLICY_KEY as L, UNSPECIFIED_SKIP_REASON as La, findHandledUnwrittenCreateOnly as Lc, maskEventTextWithBoundBags as Li, findNestedTemplateTreeDefect as Ll, withMovedTo as Ln, recordedOutputReferenceRegions as Lo, retiredNameGenerationsAfter as Lr, malformedResourceEntriesWarning as Ls, refactorMarkerRefusalMessage as Lt, PROTECTION_PROPERTY_BY_TYPE as M, CloudControlProvider as Ma, UNREADABLE_RESOURCES_MAP_ROW as Mc, noEchoParameterNamesOf as Mi, parseAssetManifestBody as Ml, formatDestructiveChange as Mn, parseWebACLArn as Mo, orphanNeedsIdentity as Mr, unpreviewableOrphanRecords as Ms, keptForRetainedRecord as Mt, isProtectionValueActive as N, waitForGoneAfterDelete as Na, displayLogicalId as Nc, withAttemptedItemsMasked as Ni, resolveFileAssetSourcePath as Nl, findRefactorHints as Nn, extractGetAttRefs as No, nameGenerationCarriedFrom as Nr, unreadableOrphanRecords as Ns, recordRetainedForReadoption as Nt, serviceTokenBlockingReason as O, localCustomResourceRuntimeActive as Oa, JSON_LISTING_HOLE_VALUE as Oc, yellow as Oi, BOOTSTRAP_MARKER_PREFIX as Ol, noEchoMacVerdict as On, isStalePlaceholderArnAttribute as Oo, redactedDeleteAddressFields as Or, refuseMalformedOrphanRecords as Os, ECR_AUTO_DELETE_IMAGES_TAG as Ot, perType as P, resolvedResourceTimeoutMs as Pa, hasReadableOutputs as Pc, createReadOnlyAttributeHealerFactory as Pi, warnAbsoluteAssetPath as Pl, hintSidesOf as Pn, promoteInPlaceAttributeDependents as Po, nameGenerationHighWaterOf as Pr, isReadableResourceEntry as Ps, readRefactorMarker as Pt, sendTtlWaitingOutRateLimit as Q, secretSegmentsOfState as Qa, CrossPrefixReadError as Qc, isFinalSnapshotError as Qi, hasPlainPrototype as Ql, recordAfterRollbackUpdate as Qn, markNewValueKnownAfterDeploy as Qo, carriedExportAliasExposure as Qr, refuseMalformedResourcePropertiesForDrift as Qs, NESTED_PENDING_PARENT_REASON as Qt, STREAM_TAGS_KEY as R, deleteIndeterminateGuards as Ra, findSdkUnwiredProperties as Rc, namingSecretsWithRecordedNoEcho as Ri, isAbsoluteAssetPath as Rl, changedReferenceInDiff as Rn, recordedProvenanceOf as Ro, retiredNameGenerationsLeaving as Rr, malformedScrubResourceEntriesRefusalMessage as Rs, refuseRefactorMarker as Rt, hasPendingMovesOut as S, withPrintingSecrets as Sa, malformedStateRefusalMessage as Sc, withoutSuperseded as Si, isCrossRegionRedirect as Sl, DeploymentEventsStore as Sn, s3BucketWebsiteUrl as So, computeImplicitDeleteEdges as Sr, deployRefusesOrphanRowsReason as Ss, INDEX_SETTLE_POLL_INTERVAL_MS as St, refusePendingMovesOut as T, customResourcesFailedWithoutApp as Ta, refuseMalformedResourcesForExport as Tc, gray as Ti, readBootstrapMarkerBody as Tl, createNoEchoValueMacs as Tn, parameterTypeMayLoseSecretIdentity as To, findNestedStackTypeChanges as Tr, malformedOrphanRecordsWarning as Ts, maskedLogger as Tt, streamDeclaresPolicy as U, IntrinsicFunctionResolver as Ua, NO_CC_HANDLERS_REASON as Uc, secretNamedRecordNeedles as Ui, isListParameterType as Ul, looselyEqual as Un, isImpossibleEmptyStoredAttribute as Uo, namesAnyDeclaredParameter as Ur, refuseMalformedResourceEntriesForImport as Us, getPriorAttempts as Ut, planStreamMemberOps as V, withIndeterminateGuard as Va, withoutSdkUnwiredProperties as Vc, secretNamePrintingBags as Vi, templateIdentity as Vl, differingRemedy as Vn, referenceTokensIn as Vo, inheritProducerRegions as Vr, refuseMalformedResourceEntriesForDeploy as Vs, macWriteOnlyKeys as Vt, streamDeclaresTags as W, isSelectOutOfBounds as Wa, hasNoCloudControlHandlers as Wc, stateSecretNameNeedles as Wi, ssmResolvedValueType as Wl, mappingPairs as Wn, carriesFetchableDynamicReference as Wo, reachableDivergentParameters as Wr, refuseMalformedResourceEntriesForImportSave as Ws, markRefusedBeforeApplying as Wt, planTimeToLive as X, maskedSecretSegment as Xa, hasUnverifiableParameterRefusal as Xc, ccRoutedInstanceTakesNoSnapshot as Xi, defineOwnKey as Xl, replayRollback as Xn, INTRINSIC_KEYS as Xo, secretBearingStateKeyWarning as Xr, refuseMalformedResourceProperties as Xs, pendingRequestCount as Xt, isTtlRateLimited as Y, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Ya, hasReasonlessBaselineRefusal as Yc, ccRoutedFinalSnapshotError as Yi, synthesizedStacks as Yl, replayFailedOperations as Yn, namesRecreatedParent as Yo, secretBearing as Yr, malformedResourcePropertiesWarning as Ys, withApiLimit as Yt, readTtlSpec as Z, secretPhysicalIdSegment as Za, rebuildClientForBucketRegion as Zc, effectiveDeletionPolicy as Zi, hasOwnKey as Zl, DELETED_RESOURCE_REMEDY as Zn, containsIntrinsic as Zo, secretSafeKeyDisplay as Zr, refuseMalformedResourcePropertiesForDestroy as Zs, resolvePendingCloudControlRequests as Zt, conditionFingerprint as _, responsePresignClient as _a, repairMalformedOutputsForReadOnly as _c, isSupersededResourceRecord as _i, rewriteTemplateAssetReferences as _l, sameJournaledOrphans as _n, regionLessSecretName as _o, planFailedOps as _r, parameterInputsFor as _s, compensateRemovedDeletionProtection as _t, scanActiveConsumers as a, collectPrincipalsAttachingPolicy as aa, malformedOrphansWarning as ac, isExportAliasCollision as ai, withStackInstanceIdWithheld as al, revertNestedChildFromJournal as an, assertSendableRoleArn as ao, updatePartialMessage as ar, isStatefulRecreateTargetForReplace as as, contributorInsightsRefusals as at, namesTheSameDirectory as au, readRecordedConditionVerdicts as b, isCustomResourceType as ba, malformedRenderedContainersWarning as bc, supersededHolderOf as bi, buildDenyExternalAccessPolicy as bl, planOrphanAdoption as bn, s3BucketDualStackDomainName as bo, replacementNeverSwapped as br, declaresNoEcho as bs, resolveDynamoDbDeleteBudgetMs as bt, nestedSsmNameDeferredNote as c, withoutSiblingOwned as ca, repairMalformedOrphansForReadOnly as cc, DEFAULT_RESOURCE_WARN_AFTER_MS as ci, stringifyValue as cl, collectNestedChildUnaddressed as cn, parseIamRoleArn as co, ledgerForStack as cr, WARM_THROUGHPUT_MEMBERS as cs, planIndexContributorInsightsOps as ct, clearBucketRegionCache as cu, slashedSsmNameHealAdoptedNote as d, ccBrokenReason as da, malformedLocalOutputsWarning as dc, destroyStackRecordsView as di, flattenAssetPlaceholders as dl, deleteJournaledOrphans as dn, applyCallerIdentityCredentials as do, acquireIdempotencyToken as dr, toCfnInteger as ds, reverseMapTableContributorInsights as dt, unsupportedFinalSnapshotError as ea, refuseMalformedResourcePropertiesForOrphan as ec, exportNameSecretExposure as ei, applyCrossPrefixScan as el, displacedPhysicalIdShown as en, resolveDynamicReferences as eo, withUnprovenUnsettled as er, siblingsOf as es, readbackVectorIndexes as et, ownValue as eu, slashedSsmNameHealNote as f, isCustomResource as fa, malformedOutputsRefusalMessage as fc, getStackRecords as fi, isDefaultBootstrapBucketName as fl, dropFailedCommands as fn, callerEnvCredentials as fo, planRollback as fr, toFiniteNumber as fs, stripIndexContributorInsights as ft, makeCanonicalizePropertiesFn as g, customResourceResponseExpirationWarning as ga, refuseMalformedOutputsForDestroy as gc, holdsSupersededResources as gi, redirectFileAsset as gl, loadJournaledOrphans as gn, producerRegionsFromState as go, isReplacementOrphan as gr, movedMaskedProperties as gs, beginDeleteWait as gt, inheritedProvenanceForChildDiff as h, applyCustomResourceResponseExpiration as ha, refuseMalformedOutputs as hc, deleteSupersededEntry as hi, redirectDockerAsset as hl, journaledOrphanLines as hn, classifyReplaySecretRegion as ho, isJournaledOrphan as hr, maskedPropertyFingerprintsOf as hs, DYNAMODB_DELETE_POLL_COST_MS as ht, mergeNoChangeOutputs as i, collectManagedPolicyArnsAttachedBySiblings as ia, malformedOrphansRefusalMessage as ic, collectPublishedOutputNames as ii, stackInstanceIdOf as il, recordDisplacedSkips as in, assertFlagRoleArn as io, undeclaredEmptyObservedKeys as ir, MULTI_REGION_RECREATE_BLOCKED_TYPES as is, CONTRIBUTOR_INSIGHTS_KEY as it, displayAssemblyPath as iu, recordedProtectionNote as j, waitForLambdaFunctionActive as ja, STATE_RESOURCES_MALFORMED as jc, noEchoExactEchoLeavesOf as ji, isCfnTemplateAssetPath as jl, findDestructiveChanges as jn, lacksRecordedTableArn as jo, removeProtectionTypeList as jr, repairMalformedOrphanRecordsForReadOnly as js, isTruthyCfnBoolean as jt, diffSecurity as k, setLocalCustomResourceRuntimeEnabled as ka, accountArgs as kc, noEchoAttributeNamesOf as ki, AssetManifestLoader as kl, noEchoValueMacsOf as kn, refStateLookupFromResource as ko, redactedDeleteAddressSkip as kr, refuseMalformedOrphanRecordsForDestroy as ks, S3_AUTO_DELETE_OBJECTS_TAG as kt, nestedSsmNameRowNote as l, CC_BROKEN_REASON as la, malformedExportNamesWarning as lc, maskingRetryLogger as li, buildAssetRedirectMap as ll, getCurrentNestedStackContext as ln, sendableAssumeRoleCommand as lo, reserveStackCreateToken as lr, coerceWarmThroughput as ls, readContributorInsightsSpec as lt, resolveBucketRegion as lu, crossStackOutputProvenanceSource as m, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ma, refuseMalformedNestedChildOutputs as mc, replacedDeleteFailureVerdict as mi, loadPublishableAssetManifest as ml, isHandledOrphan as mn, classifyRecordedSecretRegion as mo, demoteSupersededOrphans as mr, inputFingerprinter as ms, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as mt, isSecretBearingReferenceString as n, buildFinalSnapshotIdentifier as na, UNREADABLE_ORPHANS_CONTAINER_ROW as nc, noEchoParameterValueSeed as ni, isAccessDenied$1 as nl, getNestedRevertRun as nn, refuseUnreadableCdkCrossAccountRefs as no, equalModuloMarkedMask as nr, isPlainReferenceTo as ns, vectorIndexesSettled as nt, assemblyPathEscape as nu, inRunStackKey as o, stripSiblingOwnedMembers as oa, refuseMalformedOrphans as oc, bindingSkippedOutputs as oi, isSecretValuedAttribute as ol, revertedNestedRowIds as on, explicitRoleArnOrThrow as oo, updatePartialReason as or, isStatefulRecreateTargetSync as os, indexDeclaresContributorInsights as ot, renderAssemblyPathEscape as ou, slashedSsmNameHealPendingNote as p, wouldReturnToSdkProvider as pa, malformedOutputsWarning as pc, withStackRecords as pi, isDefaultBootstrapRepoName as pl, dropFailedHint as pn, envCredentialsAreAssumedRole as po, seedsDeleteFirstGuard as pr, tryGetTopLevelWriteOnlyProperties as ps, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as pt, streamTagsMatchDeclared as q, stackIdTailOf as qa, splitImportedOps as qc, ATOMIC_FINAL_SNAPSHOT_TYPES as qi, decodeListingKey as ql, proposeRenames as qn, keepsSecretReferenceToken as qo, displayTextOrWithheld as qr, unreadableResourceEntries as qs, isAccessDeniedError as qt, keptWholeReasonText as r, collectGroupsAddedBySiblings as ra, hasReadableOrphans as rc, collectDeclaredOutputNames as ri, isNotImplemented as rl, nestedChildStackName as rn, applyRoleArnIfSet as ro, equalModuloMask as rr, shownType as rs, vectorIndexesShapeDetail as rt, describeFileReadFailure as ru, checkNestedSsmNames as s, withoutSiblingAttachedArns as sa, refuseMalformedOrphansForDestroy as sc, DEFAULT_RESOURCE_TIMEOUT_MS as si, isSensitiveAttributeName as sl, withNestedRevertRun as sn, isIamRoleArn as so, earliestDefined as sr, renderStatefulReason as ss, planContributorInsightsOp as st, resolveAssemblyPath as su, DeployEngine as t, createPreDeleteFinalSnapshot as ta, repairMalformedResourcePropertiesForReadOnly as tc, isWholeDynamicReferenceValue as ti, crossPrefixDeniedWarning as tl, dropSettledNestedJournals as tn, producerLookupOver as to, calculateResourceDrift as tr, findReplacedReadersOfRecreateTargets as ts, vectorIndexesForCreate as tt, absoluteAssemblyPathEscape as tu, healSlashedSsmParameterNames as u, ProviderRegistry as ua, malformedExportSourceWarning as uc, awaitInFlightSibling as ui, createAssetRedirectResolver as ul, withNestedStackContext as un, AWS_CREDENTIAL_ENV_KEYS as uo, withCreateTokenLedger as ur, isWarmThroughputDecrease as us, reverseMapIndexContributorInsights as ut, conditionInputsFrom as v, TemplateNoEchoReresolver as va, STATE_REGION_DIVERGED as vc, supersededAfterRollback as vi, AssetModeResolver as vl, makeForeignHolderScan as vn, s3BucketArn as vo, recheckFailedPlan as vr, maskedInputProof as vs, deleteBudgetKey as vt, pendingMovesRefusalMessage as w, customResourceStackName as wa, refuseMalformedResourcesForDestroy as wc, cyan as wi, parseBootstrapMarker as wl, NOECHO_MAC_KEY_ALIAS as wn, isUnboundTemplateParameter as wo, withPreviousPolicies as wr, malformedOrphanRecordsRefusalMessage as ws, deleteTableWithIndexBusyRetry as wt, childTemplateLoader as x, getCurrentResourceSecrets as xa, malformedResourcesWarning as xc, supersededResourcesOf as xi, assertAssetBucketRegion as xl, DeploymentEventsReader as xn, s3BucketRegionalDomainName as xo, IMPLICIT_DELETE_DEPENDENCIES as xr, maskedPropertyFingerprint as xs, DELETE_INDEX_WAIT_PROCEED_NOTE as xt, parentSuppliedValues as y, readsNoEchoDeleteValues as ya, refuseDivergentRecordRegionForDestroy as yc, supersededHeldByOtherTypeWarning as yi, ensureAssetStorage as yl, makeSiblingClaimReader as yn, s3BucketDomainName as yo, recordUnderIdIsNotOwn as yr, passedParameterClassesOf as ys, resolveDynamoDbDeleteBudgetClock as yt, declaredStreamPolicyMember as z, deleteLeftInPlace as za, unwrittenCreateOnlyReplacement as zc, orphanRecordsPrintingBag as zi, listNestedTemplateRows as zl, changedReferencePath as zn, recordedReferenceRegions as zo, withNameGenerationReached as zr, refuseMalformedResourceAttributesForOrphan as zs, sameMove as zt };
|
|
50112
|
+
//# sourceMappingURL=deploy-engine-CggQMj5g.js.map
|