@cdkd/cli 0.360.1 → 0.361.0
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-7ZUTgwyy.js → ambient-client-defaults-Bq5rj529.js} +3 -3
- package/dist/{ambient-client-defaults-7ZUTgwyy.js.map → ambient-client-defaults-Bq5rj529.js.map} +1 -1
- package/dist/{asg-provider-Bw8ajB1r.js → asg-provider-7c1iqoaI.js} +6 -6
- package/dist/{asg-provider-Bw8ajB1r.js.map → asg-provider-7c1iqoaI.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-CAP2Al4I.js → custom-resource-runtime-xE15oufB.js} +6 -6
- package/dist/{custom-resource-runtime-CAP2Al4I.js.map → custom-resource-runtime-xE15oufB.js.map} +1 -1
- package/dist/{db-associated-roles-DSeRoEq5.js → db-associated-roles-RCr0v8tz.js} +2 -2
- package/dist/{db-associated-roles-DSeRoEq5.js.map → db-associated-roles-RCr0v8tz.js.map} +1 -1
- package/dist/{delete-started-DHIp8imD.js → delete-started-BY94yU_N.js} +148 -6
- package/dist/delete-started-BY94yU_N.js.map +1 -0
- package/dist/{deploy-engine-Bo8PtTbG.js → deploy-engine-CkY2eTL9.js} +668 -145
- package/dist/deploy-engine-CkY2eTL9.js.map +1 -0
- package/dist/{ec2-termination-protection-CRkl8_Wy.js → ec2-termination-protection-C50H1PZO.js} +6 -6
- package/dist/{ec2-termination-protection-CRkl8_Wy.js.map → ec2-termination-protection-C50H1PZO.js.map} +1 -1
- package/dist/{ecr-uri-DaIBuz4E.js → ecr-uri-CHY7E5Ju.js} +2 -2
- package/dist/{ecr-uri-DaIBuz4E.js.map → ecr-uri-CHY7E5Ju.js.map} +1 -1
- package/dist/{expected-bucket-owner-BjRKj3hF.js → expected-bucket-owner-BeB-z8ED.js} +2 -2
- package/dist/{expected-bucket-owner-BjRKj3hF.js.map → expected-bucket-owner-BeB-z8ED.js.map} +1 -1
- package/dist/{iam-role-provider-CcK9C-mY.js → iam-role-provider-DzDXdyx5.js} +9 -9
- package/dist/{iam-role-provider-CcK9C-mY.js.map → iam-role-provider-DzDXdyx5.js.map} +1 -1
- package/dist/{image-plan-CwiLyeAj.js → image-plan-CKRVQgWU.js} +8 -8
- package/dist/{image-plan-CwiLyeAj.js.map → image-plan-CKRVQgWU.js.map} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CjGMINd9.js → logger-CZTXRggO.js} +2 -2
- package/dist/{logger-CjGMINd9.js.map → logger-CZTXRggO.js.map} +1 -1
- package/dist/{neptune-provider-D-jHbjCG.js → neptune-provider-BPnu4P-b.js} +7 -7
- package/dist/{neptune-provider-D-jHbjCG.js.map → neptune-provider-BPnu4P-b.js.map} +1 -1
- package/dist/{program-BHLjuXmA.js → program-uYb3oSBF.js} +49 -21
- package/dist/program-uYb3oSBF.js.map +1 -0
- package/dist/{provider-classes-D5IgG-fE.js → provider-classes-CpwN6g8B.js} +488 -71
- package/dist/provider-classes-CpwN6g8B.js.map +1 -0
- package/dist/{rds-provider-BSDygv5j.js → rds-provider-CjaaTJEe.js} +74 -14
- package/dist/rds-provider-CjaaTJEe.js.map +1 -0
- package/dist/{read-replica-a4eZWjUH.js → read-replica-8-Idke_l.js} +3 -3
- package/dist/{read-replica-a4eZWjUH.js.map → read-replica-8-Idke_l.js.map} +1 -1
- package/dist/{replacement-rules-JS1D0m-r.js → replacement-rules-Bs3dhR_O.js} +3 -3
- package/dist/{replacement-rules-JS1D0m-r.js.map → replacement-rules-Bs3dhR_O.js.map} +1 -1
- package/dist/{resource-deadline-DtW_JiNE.js → resource-deadline-CSd19ZNv.js} +21 -21
- package/dist/{resource-deadline-DtW_JiNE.js.map → resource-deadline-CSd19ZNv.js.map} +1 -1
- package/dist/{restore-source-guard-BPEKIvrh.js → restore-source-guard-D7zwBxYx.js} +4 -4
- package/dist/{restore-source-guard-BPEKIvrh.js.map → restore-source-guard-D7zwBxYx.js.map} +1 -1
- package/dist/{run-cli-F87YOoqR.js → run-cli-BD5KBGA1.js} +2 -2
- package/dist/{run-cli-F87YOoqR.js.map → run-cli-BD5KBGA1.js.map} +1 -1
- package/dist/{settle-own-write-members-DmDIpP0O.js → settle-own-write-members-B4h_lONt.js} +12 -12
- package/dist/{settle-own-write-members-DmDIpP0O.js.map → settle-own-write-members-B4h_lONt.js.map} +1 -1
- package/dist/{version-MMfHOVaa.js → version-BAoHSHRL.js} +2 -2
- package/dist/{version-MMfHOVaa.js.map → version-BAoHSHRL.js.map} +1 -1
- package/package.json +1 -1
- package/dist/delete-started-DHIp8imD.js.map +0 -1
- package/dist/deploy-engine-Bo8PtTbG.js.map +0 -1
- package/dist/program-BHLjuXmA.js.map +0 -1
- package/dist/provider-classes-D5IgG-fE.js.map +0 -1
- package/dist/rds-provider-BSDygv5j.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, R as isRetryableTransientError, 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-BAoHSHRL.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-CZTXRggO.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, R as isRetryableTransientError, 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-Bq5rj529.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 IAM_PROPAGATION_MAX_DELAY_MS, B as phaseScopeForStack, C as prefetchCreateOnlyPropertyPaths, D as hasNoRegistrySchema, E as describeTypeWithThrottleRetry, G as timePhaseSync, H as recordPhase, I as ignoresUnmodifiedGroupSize, J as parseFailureDebugDetail, K as describeJsonParseFailure, L as rollingUpdatePolicy, M as CREATE_ONLY_PATHS_SNAPSHOT, N as INSTANCE_REFRESH_TRIGGER_PROPERTIES, O as isAwsEmulatorRegistryMiss, P as REPLACEMENT_TRIGGER_PROPERTIES, R as willReplaceGroup, S as isIntrinsicShaped, T as parseCreateOnlyPropertyPointers, V as phaseTimingsEnabled, W as timePhase, X as utf8ByteLength, Y as parseJsonNamingNoBody, a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, d as isRefusedBeforeApplying, f as markRefusedBeforeApplying, g as withPriorAttempts, h as provenOrphanIdsInJournal, i as observeThenDisableInstanceApiTermination, j as withRetry, k as reportAwsEmulatorRegistryMiss, m as priorAttemptsInJournal, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as priorAttemptLookup, q as jsonParseFailureStandIn, r as isTerminationProtectionPropagationError, v as unchangedBehindSecretReference, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, y as cachedCreateOnlyPropertyPaths, z as PhaseClock } from "./ec2-termination-protection-
|
|
6
|
+
import { A as IAM_PROPAGATION_MAX_DELAY_MS, B as phaseScopeForStack, C as prefetchCreateOnlyPropertyPaths, D as hasNoRegistrySchema, E as describeTypeWithThrottleRetry, G as timePhaseSync, H as recordPhase, I as ignoresUnmodifiedGroupSize, J as parseFailureDebugDetail, K as describeJsonParseFailure, L as rollingUpdatePolicy, M as CREATE_ONLY_PATHS_SNAPSHOT, N as INSTANCE_REFRESH_TRIGGER_PROPERTIES, O as isAwsEmulatorRegistryMiss, P as REPLACEMENT_TRIGGER_PROPERTIES, R as willReplaceGroup, S as isIntrinsicShaped, T as parseCreateOnlyPropertyPointers, V as phaseTimingsEnabled, W as timePhase, X as utf8ByteLength, Y as parseJsonNamingNoBody, a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, d as isRefusedBeforeApplying, f as markRefusedBeforeApplying, g as withPriorAttempts, h as provenOrphanIdsInJournal, i as observeThenDisableInstanceApiTermination, j as withRetry, k as reportAwsEmulatorRegistryMiss, m as priorAttemptsInJournal, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as priorAttemptLookup, q as jsonParseFailureStandIn, r as isTerminationProtectionPropagationError, v as unchangedBehindSecretReference, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, y as cachedCreateOnlyPropertyPaths, z as PhaseClock } from "./ec2-termination-protection-C50H1PZO.js";
|
|
7
7
|
import { i as sameRegion, n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
8
|
-
import { $t as markAuxiliaryFailure, At as canonicalizeRoute53QueryName, B as
|
|
9
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
10
|
-
import { Ct as
|
|
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$7, 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, ot as logOnlyValueCount, 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 withUnsettledItems, S as unsettledPropertiesOf, T as withoutUnsettledProperties, _ as isUsableAttemptedName, b as unsettledItemsOf, c as planTagDiff, f as tagPlanWarning, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, u as refuseMalformedDesiredTags, v as unsettledContextOf, w as withUnsettledProperties, x as unsettledItemsTopKey, y as unsettledItemsField } from "./restore-source-guard-
|
|
8
|
+
import { $t as markAuxiliaryFailure, A as assertRegionMatch, At as canonicalizeRoute53QueryName, B as resolveExplicitPhysicalId, Bt as createMaskedRetryLogger, D as withoutServerErrorRetries, F as isQuotableImportValue, Gt as RETRY_AUXILIARY_OWNER, H as markNotGone, Ht as maskDeep, I as normalizeAwsTagsToCfn, It as resourceTypeShown, Jt as createdBeforeFailure, K as observeThenDisableProtection, L as quotedRemedyLogicalId, Lt as segmentAfterAnchor, Mt as compositeIdSeparatorRefusal, Pt as logicalIdShown, Qt as isAuxiliaryMarkOf, R as refusalTypeShown, Rt as stateOrphanRecordRemedy, U as compensateProtectionFlip, Ut as maskerOrIdentity, V as isMarkedNotGone, Vt as isSecretDerivedValue, W as deleteWithProtectionCompensation, Wt as withDerivedNameMasks, Yt as createdResourceIdentityBeforeFailure, Zt as isAuxiliaryFailure, _n as withPasteableAwsProfile, at as runDeleteAttempt, bt as startInterruptWatch, ct as monotonicNowMs, d as CreatedResourceSink, dn as sanitizeRecoveryValue, en as markCreatedBeforeFailure, f as clearCreatedReport, fn as CUSTOM_RESOURCE_RESPONSE_PREFIX, g as retractCreatedResource, i as withResourceDeadline, it as protectionFlipKey, k as RESOURCE_NOT_FOUND, kt as withUnchangedSecretPrincipalLists, lt as DELETION_PROTECTION_DOC_POINTER, m as reportCreatedResource, mn as WAIT_CONDITION_SIGNAL_PREFIX, mt as protectedReplacementAdvice, n as enclosingDeadlineRemainingMs, nt as ProtectionFlipRegistry, o as prepareRemovalForUpdate, ot as ElapsedBudget, p as collectCreatedResources, pn as DEFAULT_STATE_PREFIX, pt as pasteableAwsCommand, r as whileEnclosingDeadlinesPaused, rt as isTerminalDeleteFailure, s as removalWarning, st as ElapsedBudgetRegistry, t as enclosingDeadlineExpired, u as withoutInjectedRemovals, un as recoveryCommandFlags, vn as injectiveKey, xn as producerRecordKey, yt as isInterruptedWaitError, zt as createMaskedLogSinks } from "./resource-deadline-CSd19ZNv.js";
|
|
9
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-BeB-z8ED.js";
|
|
10
|
+
import { At as replaceDeadIdentity, Bt as orphansCarriedFrom, Ct as SURVIVOR_IDENTITY_ATTRIBUTES, Dt as isUsableIdentityValue, Et as isRecordedIdentityAttribute, Ht as skippedOutputsCarriedFrom, It as importableOutputKeys, Lt as importableOutputs, Mt as acceptedCreateOnlyDropsOf, Nt as describeRegionValueKind, Ot as keepRecordedIdentity, Pt as exportNamesCarriedFrom, Rt as isReadableBag, St as slowCcOperationTimeoutMs, Ut as stackInstanceIdCarriedFrom, Vt as shouldRetainResource, bt as identityWarner, ht as dbInstanceAttributes, i as dbClusterAttributes, kt as newCopyDeleteAttributes, n as isRefusedByName, r as markDeleteStarted, t as isDeleteStarted, vt as assertRecordedIdentity, wt as attributesAfterUpdate, xt as recordedIdentityId, yt as differingIdentityWarning, zt as orphansAfterRollback } from "./delete-started-BY94yU_N.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$7, 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, ot as logOnlyValueCount, 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-Bs3dhR_O.js";
|
|
12
|
+
import { C as withUnsettledItems, S as unsettledPropertiesOf, T as withoutUnsettledProperties, _ as isUsableAttemptedName, b as unsettledItemsOf, c as planTagDiff, f as tagPlanWarning, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, u as refuseMalformedDesiredTags, v as unsettledContextOf, w as withUnsettledProperties, x as unsettledItemsTopKey, y as unsettledItemsField } from "./restore-source-guard-D7zwBxYx.js";
|
|
13
13
|
import { createHash, randomUUID, timingSafeEqual } from "node:crypto";
|
|
14
14
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
15
15
|
import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client } from "@aws-sdk/client-s3";
|
|
@@ -19,7 +19,7 @@ import { GetFunctionCommand, GetFunctionConfigurationCommand, GetFunctionUrlConf
|
|
|
19
19
|
import { AssumeRoleCommand, GetCallerIdentityCommand, STSClient } from "@aws-sdk/client-sts";
|
|
20
20
|
import { CreateSnapshotCommand, DeleteVolumeCommand, DescribeAvailabilityZonesCommand, DescribeInstancesCommand, DescribeLaunchTemplatesCommand, DescribeNatGatewaysCommand, DescribeNetworkAclsCommand, DescribeSecurityGroupsCommand, DescribeSnapshotsCommand, DescribeSubnetsCommand, DescribeVolumesCommand, DescribeVpcsCommand, GetIpamPoolAllocationsCommand } from "@aws-sdk/client-ec2";
|
|
21
21
|
import { CreateTableCommand, DeleteResourcePolicyCommand, DeleteTableCommand, DescribeContinuousBackupsCommand, DescribeContributorInsightsCommand, DescribeKinesisStreamingDestinationCommand, DescribeTableCommand, DescribeTimeToLiveCommand, DisableKinesisStreamingDestinationCommand, DynamoDBClient, EnableKinesisStreamingDestinationCommand, GetResourcePolicyCommand, ListTagsOfResourceCommand, PolicyNotFoundException, PutResourcePolicyCommand, ResourceNotFoundException as ResourceNotFoundException$1, TagResourceCommand as TagResourceCommand$2, UntagResourceCommand as UntagResourceCommand$2, UpdateContinuousBackupsCommand, UpdateContributorInsightsCommand, UpdateKinesisStreamingDestinationCommand, UpdateTableCommand, UpdateTimeToLiveCommand } from "@aws-sdk/client-dynamodb";
|
|
22
|
-
import { CloudFormationClient, DescribeStacksCommand, ListExportsCommand } from "@aws-sdk/client-cloudformation";
|
|
22
|
+
import { CancelUpdateStackCommand, CloudFormationClient, ContinueUpdateRollbackCommand, CreateStackCommand, DeleteStackCommand, DescribeStackEventsCommand, DescribeStackResourceCommand, DescribeStacksCommand, GetTemplateCommand, ListExportsCommand, UpdateStackCommand } from "@aws-sdk/client-cloudformation";
|
|
23
23
|
import { GetRestApiCommand } from "@aws-sdk/client-api-gateway";
|
|
24
24
|
import { DescribeApiDestinationCommand, DescribeConnectionCommand } from "@aws-sdk/client-eventbridge";
|
|
25
25
|
import { GetSecretValueCommand } from "@aws-sdk/client-secrets-manager";
|
|
@@ -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-BeB-z8ED.js").then((n) => n.n);
|
|
86
86
|
return (await client.send(new GetBucketLocationCommand({
|
|
87
87
|
Bucket: bucketName,
|
|
88
88
|
...await expectedOwnerParam(client)
|
|
@@ -11433,7 +11433,7 @@ function mayBeStoredIn(childType, parentType) {
|
|
|
11433
11433
|
const entry = CHILD_STORED_IN_PARENT[childType];
|
|
11434
11434
|
return entry.properties.some((property) => typesFor(entry, property).includes(parentType));
|
|
11435
11435
|
}
|
|
11436
|
-
let parser;
|
|
11436
|
+
let parser$1;
|
|
11437
11437
|
function childLostWithRecreatedParent(input) {
|
|
11438
11438
|
if (input.recreatedUnderSameId.size === 0) return void 0;
|
|
11439
11439
|
if (!Object.hasOwn(CHILD_STORED_IN_PARENT, input.resourceType)) return void 0;
|
|
@@ -11442,8 +11442,8 @@ function childLostWithRecreatedParent(input) {
|
|
|
11442
11442
|
for (const property of entry.properties) {
|
|
11443
11443
|
if (!Object.hasOwn(properties, property)) continue;
|
|
11444
11444
|
const value = input.conditions === void 0 ? properties[property] : takenFnIfArms(properties[property], input.conditions);
|
|
11445
|
-
parser ??= new TemplateParser();
|
|
11446
|
-
for (const referencedId of parser.extractReferences(value)) {
|
|
11445
|
+
parser$1 ??= new TemplateParser();
|
|
11446
|
+
for (const referencedId of parser$1.extractReferences(value)) {
|
|
11447
11447
|
if (!input.recreatedUnderSameId.has(referencedId)) continue;
|
|
11448
11448
|
const parentType = input.recordedTypeOf(referencedId);
|
|
11449
11449
|
if (parentType !== void 0 && typesFor(entry, property).includes(parentType)) return {
|
|
@@ -11586,8 +11586,8 @@ function withRecreatedAttachmentsDropped(input) {
|
|
|
11586
11586
|
for (const property of entry.properties) {
|
|
11587
11587
|
if (!Object.hasOwn(properties, property)) continue;
|
|
11588
11588
|
const value = input.conditions === void 0 ? properties[property] : takenFnIfArms(properties[property], input.conditions);
|
|
11589
|
-
parser ??= new TemplateParser();
|
|
11590
|
-
const recreated = [...parser.extractReferences(value)].filter((id) => input.recreatedUnderSameId.has(id)).map((id) => ({
|
|
11589
|
+
parser$1 ??= new TemplateParser();
|
|
11590
|
+
const recreated = [...parser$1.extractReferences(value)].filter((id) => input.recreatedUnderSameId.has(id)).map((id) => ({
|
|
11591
11591
|
id,
|
|
11592
11592
|
record: input.recordOf(id)
|
|
11593
11593
|
})).filter((p) => p.record !== void 0 && typesFor(entry, property).includes(p.record.resourceType));
|
|
@@ -13127,61 +13127,6 @@ const SHAPE_MISMATCHED_GETATT_ATTRIBUTES = {
|
|
|
13127
13127
|
"AWS::MediaLive::Input": ["Destinations", "Sources"]
|
|
13128
13128
|
};
|
|
13129
13129
|
|
|
13130
|
-
// src/deployment/recorded-identity-attributes.ts
|
|
13131
|
-
const SURVIVOR_IDENTITY_ATTRIBUTES = {
|
|
13132
|
-
"AWS::IAM::Role": "RoleId",
|
|
13133
|
-
"AWS::IAM::ManagedPolicy": "PolicyId",
|
|
13134
|
-
"AWS::DynamoDB::Table": "TableId",
|
|
13135
|
-
"AWS::RDS::DBInstance": "DbiResourceId",
|
|
13136
|
-
"AWS::RDS::DBCluster": "DBClusterResourceId",
|
|
13137
|
-
"AWS::IAM::User": "UserId",
|
|
13138
|
-
"AWS::IAM::Group": "GroupId",
|
|
13139
|
-
"AWS::IAM::InstanceProfile": "InstanceProfileId"
|
|
13140
|
-
};
|
|
13141
|
-
function isRecordedIdentityAttribute(resourceType, key) {
|
|
13142
|
-
return Object.hasOwn(SURVIVOR_IDENTITY_ATTRIBUTES, resourceType) && SURVIVOR_IDENTITY_ATTRIBUTES[resourceType] === key;
|
|
13143
|
-
}
|
|
13144
|
-
function keepRecordedIdentity(resourceType, previous, next, onDiffering) {
|
|
13145
|
-
if (!Object.hasOwn(SURVIVOR_IDENTITY_ATTRIBUTES, resourceType)) return next;
|
|
13146
|
-
const key = SURVIVOR_IDENTITY_ATTRIBUTES[resourceType];
|
|
13147
|
-
const held = previous !== void 0 && Object.hasOwn(previous, key) ? previous[key] : void 0;
|
|
13148
|
-
const recorded = isUsableIdentityValue(held) ? held : void 0;
|
|
13149
|
-
if (recorded === void 0 || next[key] === recorded) return next;
|
|
13150
|
-
if (Object.hasOwn(next, key) && next[key] !== void 0) onDiffering?.(key);
|
|
13151
|
-
return {
|
|
13152
|
-
...next,
|
|
13153
|
-
[key]: recorded
|
|
13154
|
-
};
|
|
13155
|
-
}
|
|
13156
|
-
function attributesAfterUpdate(resourceType, previous, result, onDiffering) {
|
|
13157
|
-
if (result.wasReplaced) return result.attributes;
|
|
13158
|
-
const next = result.attributes ?? previous;
|
|
13159
|
-
return next === void 0 ? void 0 : keepRecordedIdentity(resourceType, previous, next, onDiffering);
|
|
13160
|
-
}
|
|
13161
|
-
function withoutDeadIdentity(resourceType, attributes) {
|
|
13162
|
-
if (attributes === void 0 || !Object.hasOwn(SURVIVOR_IDENTITY_ATTRIBUTES, resourceType)) return attributes;
|
|
13163
|
-
const key = SURVIVOR_IDENTITY_ATTRIBUTES[resourceType];
|
|
13164
|
-
if (!Object.hasOwn(attributes, key)) return attributes;
|
|
13165
|
-
const { [key]: _dead, ...rest } = attributes;
|
|
13166
|
-
return rest;
|
|
13167
|
-
}
|
|
13168
|
-
function newCopyDeleteAttributes(resourceType, current, oldDeletedBeforeCreate, previous) {
|
|
13169
|
-
if (oldDeletedBeforeCreate !== true || !Object.hasOwn(SURVIVOR_IDENTITY_ATTRIBUTES, resourceType)) return current;
|
|
13170
|
-
const key = SURVIVOR_IDENTITY_ATTRIBUTES[resourceType];
|
|
13171
|
-
return current?.[key] !== void 0 && current[key] === previous?.[key] ? withoutDeadIdentity(resourceType, current) : current;
|
|
13172
|
-
}
|
|
13173
|
-
function isUsableIdentityValue(value) {
|
|
13174
|
-
return typeof value === "string" && value !== "" && !value.includes("***") && !holdsSecretDerivedEntry(value);
|
|
13175
|
-
}
|
|
13176
|
-
function replaceDeadIdentity(resourceType, attributes, previous, madeIdentity) {
|
|
13177
|
-
const dropped = newCopyDeleteAttributes(resourceType, attributes, true, previous);
|
|
13178
|
-
if (dropped === attributes || madeIdentity === void 0 || madeIdentity === "") return dropped;
|
|
13179
|
-
return {
|
|
13180
|
-
...dropped,
|
|
13181
|
-
[SURVIVOR_IDENTITY_ATTRIBUTES[resourceType]]: madeIdentity
|
|
13182
|
-
};
|
|
13183
|
-
}
|
|
13184
|
-
|
|
13185
13130
|
// src/deployment/unexposed-identity-attribute.ts
|
|
13186
13131
|
function isUnexposedRecordedIdentity(resourceType, attributeName) {
|
|
13187
13132
|
if (!isRecordedIdentityAttribute(resourceType, attributeName)) return false;
|
|
@@ -16136,6 +16081,8 @@ async function resolvePseudoParameter(resolver, name, context) {
|
|
|
16136
16081
|
case "AWS::Partition": return derivePartitionAndUrlSuffix(effectiveAccountInfoRegion(resolver.resolverRegion)).partition;
|
|
16137
16082
|
case "AWS::StackName": return context?.stackName ?? "UnknownStack";
|
|
16138
16083
|
case "AWS::StackId": {
|
|
16084
|
+
const override = context?.stackIdOverride?.();
|
|
16085
|
+
if (override !== void 0) return override;
|
|
16139
16086
|
const info = await getAccountInfo(resolver.resolverRegion);
|
|
16140
16087
|
let tail;
|
|
16141
16088
|
try {
|
|
@@ -19932,62 +19879,6 @@ function ccProtectionSite(resourceType, physicalId, entry, region) {
|
|
|
19932
19879
|
};
|
|
19933
19880
|
}
|
|
19934
19881
|
|
|
19935
|
-
// src/provisioning/recorded-identity.ts
|
|
19936
|
-
function recordedIdentityId(resourceType, context) {
|
|
19937
|
-
if (!Object.hasOwn(SURVIVOR_IDENTITY_ATTRIBUTES, resourceType)) return void 0;
|
|
19938
|
-
const key = SURVIVOR_IDENTITY_ATTRIBUTES[resourceType];
|
|
19939
|
-
const value = context?.recordedAttributes?.[key];
|
|
19940
|
-
return isUsableIdentityValue(value) ? {
|
|
19941
|
-
key,
|
|
19942
|
-
value
|
|
19943
|
-
} : void 0;
|
|
19944
|
-
}
|
|
19945
|
-
var RecordedIdentityError = class extends ProvisioningError {
|
|
19946
|
-
constructor(message, resourceType, logicalId, physicalId, cause) {
|
|
19947
|
-
super(message, resourceType, logicalId, physicalId, cause);
|
|
19948
|
-
Object.setPrototypeOf(this, new.target.prototype);
|
|
19949
|
-
this.name = "RecordedIdentityError";
|
|
19950
|
-
}
|
|
19951
|
-
};
|
|
19952
|
-
var RecordedIdentityMismatchError = class RecordedIdentityMismatchError extends RecordedIdentityError {
|
|
19953
|
-
attribute;
|
|
19954
|
-
constructor(params) {
|
|
19955
|
-
const { label, resourceType, logicalId, physicalId, attribute, context } = params;
|
|
19956
|
-
super(`Cannot delete ${label} ${logicalId}: the ${label} holding the name cdkd recorded is not the one cdkd created (its ${attribute} differs from the recorded one), so cdkd sent no delete and kept the record. Leave that ${label} alone; if the one cdkd created is gone, drop the record with ${stateOrphanRecordRemedy(context, logicalId)}.`, resourceType, logicalId, physicalId);
|
|
19957
|
-
Object.setPrototypeOf(this, RecordedIdentityMismatchError.prototype);
|
|
19958
|
-
this.attribute = attribute;
|
|
19959
|
-
this.name = "RecordedIdentityMismatchError";
|
|
19960
|
-
markNonRetryable(this);
|
|
19961
|
-
}
|
|
19962
|
-
};
|
|
19963
|
-
const RECORDED_IDENTITY_REREAD_DELAY_MS = 5e3;
|
|
19964
|
-
async function assertRecordedIdentity(params) {
|
|
19965
|
-
const recorded = recordedIdentityId(params.resourceType, params.context);
|
|
19966
|
-
if (recorded === void 0) return;
|
|
19967
|
-
const { label, resourceType, logicalId, physicalId, context } = params;
|
|
19968
|
-
let liveId = params.liveId;
|
|
19969
|
-
if (typeof liveId === "string" && liveId !== "" && liveId !== recorded.value) {
|
|
19970
|
-
await new Promise((resolve) => setTimeout(resolve, RECORDED_IDENTITY_REREAD_DELAY_MS));
|
|
19971
|
-
liveId = await params.reread();
|
|
19972
|
-
}
|
|
19973
|
-
if (typeof liveId !== "string" || liveId === "") throw markNotGone(new RecordedIdentityError(`Cannot delete ${label} ${logicalId}: AWS answered without its ${recorded.key}, so cdkd cannot confirm it is the one cdkd created; nothing was sent and the record is kept. Re-run the operation.`, resourceType, logicalId, physicalId));
|
|
19974
|
-
if (liveId === recorded.value) return;
|
|
19975
|
-
throw new RecordedIdentityMismatchError({
|
|
19976
|
-
label,
|
|
19977
|
-
resourceType,
|
|
19978
|
-
logicalId,
|
|
19979
|
-
physicalId,
|
|
19980
|
-
attribute: recorded.key,
|
|
19981
|
-
context
|
|
19982
|
-
});
|
|
19983
|
-
}
|
|
19984
|
-
function differingIdentityWarning(logicalId, resourceType, attribute) {
|
|
19985
|
-
return safeMsg`${logicalId} (${resourceType}): the update answered with another ${attribute} than the recorded one, so it may have reached another resource under the same name; cdkd keeps the recorded ${attribute}. Check the resource before deleting anything by hand.`;
|
|
19986
|
-
}
|
|
19987
|
-
function identityWarner(logger, mask, op) {
|
|
19988
|
-
return (attribute) => logger.warn(mask(differingIdentityWarning(op.logicalId, op.resourceType, attribute)));
|
|
19989
|
-
}
|
|
19990
|
-
|
|
19991
19882
|
// src/provisioning/cloud-control/delete-guards.ts
|
|
19992
19883
|
const CC_DELETE_IDENTITY_CHECKED_TYPES = /* @__PURE__ */ new Set(["AWS::S3::Bucket"]);
|
|
19993
19884
|
function requiresCcDeleteIdentityCheck(resourceType) {
|
|
@@ -20007,7 +19898,10 @@ const CC_MODEL_OMITS_IDENTITY = /* @__PURE__ */ new Set([
|
|
|
20007
19898
|
"AWS::DynamoDB::Table",
|
|
20008
19899
|
"AWS::IAM::User",
|
|
20009
19900
|
"AWS::IAM::Group",
|
|
20010
|
-
"AWS::IAM::InstanceProfile"
|
|
19901
|
+
"AWS::IAM::InstanceProfile",
|
|
19902
|
+
"AWS::Logs::LogGroup",
|
|
19903
|
+
"AWS::StepFunctions::StateMachine",
|
|
19904
|
+
"AWS::ECR::Repository"
|
|
20011
19905
|
]);
|
|
20012
19906
|
const CC_DELETE_RECORDED_IDENTITY_ATTRIBUTES = new Map(Object.entries(SURVIVOR_IDENTITY_ATTRIBUTES).filter(([resourceType]) => !CC_MODEL_OMITS_IDENTITY.has(resourceType)));
|
|
20013
19907
|
function recordedCcDeleteIdentity(resourceType, context) {
|
|
@@ -20349,7 +20243,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
20349
20243
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
20350
20244
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
20351
20245
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
20352
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
20246
|
+
const { ASGProvider } = await import("./asg-provider-7c1iqoaI.js");
|
|
20353
20247
|
const delegateRegion = ambientRegion();
|
|
20354
20248
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
20355
20249
|
if (asgProvider === void 0) {
|
|
@@ -20504,7 +20398,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
|
|
|
20504
20398
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
20505
20399
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
20506
20400
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
20507
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
20401
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-CjaaTJEe.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-BPnu4P-b.js"))).NeptuneProvider({ region: ccRegion });
|
|
20508
20402
|
this.sdkDeleteDelegates.set(family, {
|
|
20509
20403
|
region: ccRegion,
|
|
20510
20404
|
provider
|
|
@@ -23080,7 +22974,7 @@ async function publishToSns(topicArn, request) {
|
|
|
23080
22974
|
}
|
|
23081
22975
|
async function invokeLambda(serviceToken, request) {
|
|
23082
22976
|
if (localCustomResourceRuntimeActive()) {
|
|
23083
|
-
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-
|
|
22977
|
+
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-xE15oufB.js");
|
|
23084
22978
|
const local = await invokeCustomResourceFunctionLocally({
|
|
23085
22979
|
lambda: this.lambdaClient,
|
|
23086
22980
|
s3: this.s3Client
|
|
@@ -27653,7 +27547,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
|
|
|
27653
27547
|
if (resourceType !== "AWS::RDS::DBInstance") return false;
|
|
27654
27548
|
if (region === void 0 || region === "") return false;
|
|
27655
27549
|
const mask = input.mask ?? ((text) => text);
|
|
27656
|
-
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-
|
|
27550
|
+
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-8-Idke_l.js").then((n) => n.l);
|
|
27657
27551
|
let reason;
|
|
27658
27552
|
try {
|
|
27659
27553
|
const live = await describeDBInstanceInRegion(physicalId, region);
|
|
@@ -33319,8 +33213,8 @@ function stringLeaves(value) {
|
|
|
33319
33213
|
if (isObject$2(value)) return Object.values(value).flatMap(stringLeaves);
|
|
33320
33214
|
return [];
|
|
33321
33215
|
}
|
|
33322
|
-
function warnUnhonoredCreationPolicy(logger, logicalId, resource) {
|
|
33323
|
-
if (resource?.CreationPolicy === void 0) return;
|
|
33216
|
+
function warnUnhonoredCreationPolicy(logger, logicalId, resource, waited = false) {
|
|
33217
|
+
if (resource?.CreationPolicy === void 0 || waited) return;
|
|
33324
33218
|
logger.warn(safeMsg`${logicalId}: CreationPolicy is not honored; cdkd does not wait for cfn-signal success signals.`);
|
|
33325
33219
|
}
|
|
33326
33220
|
function updatePolicyReplacementRefusal(logicalId, resource, desired, triggerPaths, stackHasInstanceId) {
|
|
@@ -34620,9 +34514,10 @@ async function finishReverseReplacement(s, r, createResult, deletedNewFirst) {
|
|
|
34620
34514
|
newProperties: current.properties,
|
|
34621
34515
|
physicalId: current.physicalId
|
|
34622
34516
|
}) && !deletedNewFirst && createResult.physicalId === current.physicalId;
|
|
34517
|
+
const keepLiveRecord = adoptedLiveNewResource && oldType === op.resourceType && !isCustomResource(oldType);
|
|
34623
34518
|
if (adoptedLiveNewResource) {
|
|
34624
34519
|
const liveShown = refusalPhysicalId(mask(current.physicalId));
|
|
34625
|
-
logger.warn(` ⚠ ${shownLogicalId(op.logicalId)} (${refusalResourceType(op.resourceType)}): the re-create returned the LIVE new resource (${liveShown}) instead of re-creating the old one — its Create API is name-idempotent and the new resource still holds the same user-supplied name. Skipping the delete-new step (it would delete that very resource). The old resource's ORIGINAL properties may NOT have been re-applied; state now records the pre-replacement properties, so inspect the drift and
|
|
34520
|
+
logger.warn(` ⚠ ${shownLogicalId(op.logicalId)} (${refusalResourceType(op.resourceType)}): the re-create returned the LIVE new resource (${liveShown}) instead of re-creating the old one — its Create API is name-idempotent and the new resource still holds the same user-supplied name. Skipping the delete-new step (it would delete that very resource). ` + (keepLiveRecord ? "The old resource's ORIGINAL properties were NOT re-applied; state keeps the live resource's record, with the failed deploy's properties, so " + safeMsg`${proseQuoted(cdkdRemedy("cdkd deploy"))} re-applies the template's, or rename the resource to make the replacement ` + `reversible.` : "The old resource's ORIGINAL properties may NOT have been re-applied; state now records the pre-replacement properties, so inspect the drift and " + safeMsg`run ${proseQuoted(cdkdRemedy("cdkd deploy"))} to reconcile, or rename the resource to make the replacement ` + `reversible.`) + `${describedPhysicalIdPointer(liveShown)}\nInspect it with: ${pasteableCommand("cdkd drift", [{
|
|
34626
34521
|
value: stackName,
|
|
34627
34522
|
hole: "stack"
|
|
34628
34523
|
}, {
|
|
@@ -34633,9 +34528,20 @@ async function finishReverseReplacement(s, r, createResult, deletedNewFirst) {
|
|
|
34633
34528
|
result.warnings++;
|
|
34634
34529
|
}
|
|
34635
34530
|
const { observedProperties: _staleObserved, noEchoValueMacs: _staleMacs, ...prevRecord } = prev;
|
|
34531
|
+
if (keepLiveRecord) {
|
|
34532
|
+
const { deletionPolicy: _failedDeletionPolicy, updateReplacePolicy: _failedUpdateReplacePolicy, dependencies: _failedDependencies, metadata: _failedMetadata, constructPath: _failedConstructPath, ...live } = current;
|
|
34533
|
+
stateResources[op.logicalId] = {
|
|
34534
|
+
...live,
|
|
34535
|
+
...prev.deletionPolicy !== void 0 && { deletionPolicy: prev.deletionPolicy },
|
|
34536
|
+
...prev.updateReplacePolicy !== void 0 && { updateReplacePolicy: prev.updateReplacePolicy },
|
|
34537
|
+
...prev.dependencies !== void 0 && { dependencies: prev.dependencies },
|
|
34538
|
+
...prev.metadata !== void 0 && { metadata: prev.metadata },
|
|
34539
|
+
...prev.constructPath !== void 0 && { constructPath: prev.constructPath }
|
|
34540
|
+
};
|
|
34541
|
+
}
|
|
34636
34542
|
recordNoEchoAttributeValues(createResult, secrets, resolvedPrevProps);
|
|
34637
34543
|
const restoredProperties = recordedPropertiesAfterReplayCreate(prevRecord, createResult);
|
|
34638
|
-
stateResources[op.logicalId] = redactRollbackRecord({
|
|
34544
|
+
if (!keepLiveRecord) stateResources[op.logicalId] = redactRollbackRecord({
|
|
34639
34545
|
...withNameGenerationReached(prevRecord, op.logicalId, op.nameGeneration),
|
|
34640
34546
|
physicalId: createResult.physicalId,
|
|
34641
34547
|
attributes: createResult.attributes ?? {},
|
|
@@ -34701,7 +34607,7 @@ async function finishReverseReplacement(s, r, createResult, deletedNewFirst) {
|
|
|
34701
34607
|
reason: mask(survivorReason),
|
|
34702
34608
|
...survivorProvisionedBy && { provisionedBy: survivorProvisionedBy }
|
|
34703
34609
|
},
|
|
34704
|
-
...adoptedLiveNewResource && { reason: mask(
|
|
34610
|
+
...adoptedLiveNewResource && { reason: mask("The re-create returned the live new resource instead of re-creating the old one (its Create API is name-idempotent), so the replacement was NOT fully reversed: " + (keepLiveRecord ? `the old resource's original properties were not re-applied. State keeps the live resource's record, so ${proseQuoted(cdkdRemedy("cdkd deploy"), "`")} re-applies the template's.` : `the old resource's original properties may not have been re-applied. Inspect it with ${proseQuoted(cdkdRemedy("cdkd drift"), "`")} and run ${proseQuoted(cdkdRemedy("cdkd deploy"), "`")} to reconcile.`)) }
|
|
34705
34611
|
});
|
|
34706
34612
|
return survivorReason === void 0;
|
|
34707
34613
|
};
|
|
@@ -37225,6 +37131,7 @@ function buildResolverContext(deps, base, stackName) {
|
|
|
37225
37131
|
stateBackend: deps.stateBackend,
|
|
37226
37132
|
stackName,
|
|
37227
37133
|
stackIdTail: () => deps.runStackIdTail()?.(),
|
|
37134
|
+
stackIdOverride: () => deps.signalReceiverStackId(),
|
|
37228
37135
|
...deps.exportIndexStore && { exportIndex: deps.exportIndexStore },
|
|
37229
37136
|
recordedImports: deps.recordedImports(),
|
|
37230
37137
|
recordedOutputReads: deps.recordedOutputReads(),
|
|
@@ -41676,7 +41583,8 @@ function resolverContextDeps() {
|
|
|
41676
41583
|
recordedImports: () => this.recordedImports,
|
|
41677
41584
|
recordedOutputReads: () => this.recordedOutputReads,
|
|
41678
41585
|
runProducerRegionEvidence: () => this.runProducerRegionEvidence,
|
|
41679
|
-
runStackIdTail: () => this.runStackIdTail
|
|
41586
|
+
runStackIdTail: () => this.runStackIdTail,
|
|
41587
|
+
signalReceiverStackId: () => this.signalReceiverStackId
|
|
41680
41588
|
};
|
|
41681
41589
|
}
|
|
41682
41590
|
function deleteDeps() {
|
|
@@ -41720,6 +41628,609 @@ function rollbackDeps() {
|
|
|
41720
41628
|
};
|
|
41721
41629
|
}
|
|
41722
41630
|
|
|
41631
|
+
// src/deployment/deploy-engine/signal-receiver.ts
|
|
41632
|
+
const RECEIVER_TAG_KEY = "cdkd:signal-receiver";
|
|
41633
|
+
const RECEIVER_DESCRIPTION = "cdkd signal receiver: answers cfn-signal / cfn-init for the cdkd stack of the same name (do not edit)";
|
|
41634
|
+
const ANCHOR_ID = "CdkdSignalReceiverAnchor";
|
|
41635
|
+
const MAX_SIGNAL_TIMEOUT_MS = 432e5;
|
|
41636
|
+
const DEFAULT_SIGNAL_TIMEOUT_MS = 3e5;
|
|
41637
|
+
const POLL_INTERVAL_MS = 5e3;
|
|
41638
|
+
const MAX_TEMPLATE_BODY_BYTES = 51200;
|
|
41639
|
+
const SETTLE_WAIT_MS = 6e5;
|
|
41640
|
+
function isoDurationMs(value) {
|
|
41641
|
+
if (typeof value !== "string") return void 0;
|
|
41642
|
+
const match = /^PT(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?$/.exec(value.trim());
|
|
41643
|
+
if (match === null || (match[1] ?? match[2] ?? match[3]) === void 0) return void 0;
|
|
41644
|
+
return (Number(match[1] ?? 0) * 3600 + Number(match[2] ?? 0) * 60 + Number(match[3] ?? 0)) * 1e3;
|
|
41645
|
+
}
|
|
41646
|
+
function signalCandidateOf(resource) {
|
|
41647
|
+
if (resource === null || typeof resource !== "object") return void 0;
|
|
41648
|
+
const r = resource;
|
|
41649
|
+
const policy = r.CreationPolicy !== null && typeof r.CreationPolicy === "object" ? r.CreationPolicy["ResourceSignal"] : void 0;
|
|
41650
|
+
const hasInitMetadata = r.Metadata !== null && typeof r.Metadata === "object" && Object.hasOwn(r.Metadata, "AWS::CloudFormation::Init");
|
|
41651
|
+
const hasPolicy = policy !== void 0 && policy !== null && typeof policy === "object";
|
|
41652
|
+
if (!hasPolicy && !hasInitMetadata) return void 0;
|
|
41653
|
+
if (!hasPolicy) return {
|
|
41654
|
+
count: 0,
|
|
41655
|
+
timeoutMs: 0,
|
|
41656
|
+
hasInitMetadata
|
|
41657
|
+
};
|
|
41658
|
+
const p = policy;
|
|
41659
|
+
const rawCount = p["Count"];
|
|
41660
|
+
return {
|
|
41661
|
+
count: rawCount === void 0 ? 1 : typeof rawCount === "number" && Number.isInteger(rawCount) && rawCount > 0 ? rawCount : typeof rawCount === "string" && /^\d+$/.test(rawCount.trim()) && Number(rawCount) > 0 ? Number(rawCount.trim()) : 1,
|
|
41662
|
+
timeoutMs: Math.min(isoDurationMs(p["Timeout"]) ?? DEFAULT_SIGNAL_TIMEOUT_MS, MAX_SIGNAL_TIMEOUT_MS),
|
|
41663
|
+
hasInitMetadata
|
|
41664
|
+
};
|
|
41665
|
+
}
|
|
41666
|
+
function signalPlanOf(template) {
|
|
41667
|
+
const candidates = /* @__PURE__ */ new Map();
|
|
41668
|
+
const unsigned = [];
|
|
41669
|
+
const resources = template.Resources ?? {};
|
|
41670
|
+
const calls = bootstrapCallsByResource(resources);
|
|
41671
|
+
for (const [id, resource] of Object.entries(resources)) {
|
|
41672
|
+
const candidate = signalCandidateOf(resource);
|
|
41673
|
+
if (candidate === void 0) continue;
|
|
41674
|
+
const call = calls.get(id);
|
|
41675
|
+
if (call?.unsigned === true) {
|
|
41676
|
+
unsigned.push(id);
|
|
41677
|
+
continue;
|
|
41678
|
+
}
|
|
41679
|
+
if (candidate.count > 0 ? call?.signedSignal === true : call?.signedInit === true) candidates.set(id, candidate);
|
|
41680
|
+
}
|
|
41681
|
+
return {
|
|
41682
|
+
candidates,
|
|
41683
|
+
unsigned
|
|
41684
|
+
};
|
|
41685
|
+
}
|
|
41686
|
+
function bootstrapCallsByResource(resources) {
|
|
41687
|
+
const out = /* @__PURE__ */ new Map();
|
|
41688
|
+
for (const script of userDataScriptsOf(resources)) for (const command of commandsOf(script)) {
|
|
41689
|
+
const call = parseBootstrapCall(command);
|
|
41690
|
+
if (call === void 0) continue;
|
|
41691
|
+
const entry = out.get(call.resource) ?? {
|
|
41692
|
+
signedSignal: false,
|
|
41693
|
+
signedInit: false,
|
|
41694
|
+
unsigned: false
|
|
41695
|
+
};
|
|
41696
|
+
if (!call.signed) entry.unsigned = true;
|
|
41697
|
+
else if (call.kind === "signal") entry.signedSignal = true;
|
|
41698
|
+
else entry.signedInit = true;
|
|
41699
|
+
out.set(call.resource, entry);
|
|
41700
|
+
}
|
|
41701
|
+
return out;
|
|
41702
|
+
}
|
|
41703
|
+
const TOKEN_PLACEHOLDER = "__CDKD_TOKEN__";
|
|
41704
|
+
const CREDENTIAL_FLAGS = /* @__PURE__ */ new Set([
|
|
41705
|
+
"--role",
|
|
41706
|
+
"--access-key",
|
|
41707
|
+
"--credential-file",
|
|
41708
|
+
"-f"
|
|
41709
|
+
]);
|
|
41710
|
+
function userDataScriptsOf(resources) {
|
|
41711
|
+
const out = [];
|
|
41712
|
+
const walk = (value, depth) => {
|
|
41713
|
+
if (depth > 12 || value === null || typeof value !== "object") return;
|
|
41714
|
+
if (Array.isArray(value)) {
|
|
41715
|
+
for (const v of value) walk(v, depth + 1);
|
|
41716
|
+
return;
|
|
41717
|
+
}
|
|
41718
|
+
for (const [key, inner] of Object.entries(value)) if (key === "UserData") out.push(renderScript(inner, true));
|
|
41719
|
+
else walk(inner, depth + 1);
|
|
41720
|
+
};
|
|
41721
|
+
for (const resource of Object.values(resources)) if (resource !== null && typeof resource === "object") walk(resource.Properties, 0);
|
|
41722
|
+
return out;
|
|
41723
|
+
}
|
|
41724
|
+
function renderScript(value, topLevel = false) {
|
|
41725
|
+
if (typeof value === "string") {
|
|
41726
|
+
if (topLevel && /^[A-Za-z0-9+/=\s]+$/.test(value) && value.length >= 8) {
|
|
41727
|
+
const decoded = Buffer.from(value, "base64").toString("utf8");
|
|
41728
|
+
if (/^[\x09\x0a\x0d\x20-\x7e]*$/.test(decoded)) return decoded;
|
|
41729
|
+
}
|
|
41730
|
+
return value;
|
|
41731
|
+
}
|
|
41732
|
+
if (typeof value === "number" || typeof value === "boolean") return String(value);
|
|
41733
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) return TOKEN_PLACEHOLDER;
|
|
41734
|
+
const entries = Object.entries(value);
|
|
41735
|
+
if (entries.length !== 1) return TOKEN_PLACEHOLDER;
|
|
41736
|
+
const [fn, arg] = entries[0];
|
|
41737
|
+
if (fn === "Fn::Base64") return renderScript(arg);
|
|
41738
|
+
if (fn === "Fn::Join" && Array.isArray(arg) && typeof arg[0] === "string" && Array.isArray(arg[1])) return arg[1].map((part) => renderScript(part)).join(arg[0]);
|
|
41739
|
+
if (fn === "Fn::Sub") {
|
|
41740
|
+
const body = typeof arg === "string" ? arg : Array.isArray(arg) ? arg[0] : void 0;
|
|
41741
|
+
if (typeof body === "string") return body.replace(/\$\{[^!][^}]*\}/g, TOKEN_PLACEHOLDER);
|
|
41742
|
+
}
|
|
41743
|
+
return TOKEN_PLACEHOLDER;
|
|
41744
|
+
}
|
|
41745
|
+
function commandsOf(script) {
|
|
41746
|
+
return script.replace(/\\\r?\n/g, " ").split(/\r?\n|;|&&|\|\||\|/).map((c) => c.trim()).filter((c) => c.length > 0);
|
|
41747
|
+
}
|
|
41748
|
+
function parseBootstrapCall(command) {
|
|
41749
|
+
const tokens = command.split(/\s+/).map((t) => t.replace(/^[\[("',]+|[\]),"']+$/g, "")).filter((t) => t.length > 0);
|
|
41750
|
+
const at = tokens.findIndex((t) => /(?:^|[/\\])cfn-(?:init|signal)(?:\.exe)?$/i.test(t));
|
|
41751
|
+
if (at !== -1) {
|
|
41752
|
+
const kind = /init(?:\.exe)?$/i.test(tokens[at]) ? "init" : "signal";
|
|
41753
|
+
const args = tokens.slice(at + 1);
|
|
41754
|
+
const resource = flagValue(args, ["--resource", "-r"]);
|
|
41755
|
+
if (resource === void 0) return void 0;
|
|
41756
|
+
return {
|
|
41757
|
+
kind,
|
|
41758
|
+
resource,
|
|
41759
|
+
signed: args.some((t) => CREDENTIAL_FLAGS.has(t.split("=")[0]))
|
|
41760
|
+
};
|
|
41761
|
+
}
|
|
41762
|
+
const aws = tokens.findIndex((t, i) => /(?:^|[/\\])aws(?:\.exe)?$/i.test(t) && tokens[i + 1] === "cloudformation" && tokens[i + 2] === "signal-resource");
|
|
41763
|
+
if (aws !== -1) {
|
|
41764
|
+
const resource = flagValue(tokens.slice(aws + 3), ["--logical-resource-id"]);
|
|
41765
|
+
return resource === void 0 ? void 0 : {
|
|
41766
|
+
kind: "signal",
|
|
41767
|
+
resource,
|
|
41768
|
+
signed: true
|
|
41769
|
+
};
|
|
41770
|
+
}
|
|
41771
|
+
}
|
|
41772
|
+
function flagValue(args, names) {
|
|
41773
|
+
for (let i = 0; i < args.length; i++) {
|
|
41774
|
+
const [flag, inline] = args[i].split("=", 2);
|
|
41775
|
+
if (!names.includes(flag)) continue;
|
|
41776
|
+
const value = inline ?? args[i + 1];
|
|
41777
|
+
return value === void 0 || value.includes(TOKEN_PLACEHOLDER) ? void 0 : value;
|
|
41778
|
+
}
|
|
41779
|
+
}
|
|
41780
|
+
function canReceiveFor(stackName) {
|
|
41781
|
+
return /^[A-Za-z][A-Za-z0-9-]{0,127}$/.test(stackName);
|
|
41782
|
+
}
|
|
41783
|
+
function isReceiver(stack) {
|
|
41784
|
+
return stack.Tags?.some((t) => t.Key === "cdkd:signal-receiver" && t.Value === "true") === true && stack.Description === "cdkd signal receiver: answers cfn-signal / cfn-init for the cdkd stack of the same name (do not edit)";
|
|
41785
|
+
}
|
|
41786
|
+
function receiverTemplateBody(resources) {
|
|
41787
|
+
return JSON.stringify({
|
|
41788
|
+
Description: RECEIVER_DESCRIPTION,
|
|
41789
|
+
Resources: resources
|
|
41790
|
+
});
|
|
41791
|
+
}
|
|
41792
|
+
function waiterResource(count, metadata) {
|
|
41793
|
+
return {
|
|
41794
|
+
Type: "AWS::CloudFormation::WaitCondition",
|
|
41795
|
+
CreationPolicy: { ResourceSignal: {
|
|
41796
|
+
Count: Math.max(count, 1),
|
|
41797
|
+
Timeout: "PT12H"
|
|
41798
|
+
} },
|
|
41799
|
+
...metadata !== void 0 && { Metadata: metadata }
|
|
41800
|
+
};
|
|
41801
|
+
}
|
|
41802
|
+
function holderResource(metadata) {
|
|
41803
|
+
return {
|
|
41804
|
+
Type: "AWS::CloudFormation::WaitConditionHandle",
|
|
41805
|
+
...metadata !== void 0 && { Metadata: metadata }
|
|
41806
|
+
};
|
|
41807
|
+
}
|
|
41808
|
+
const anchorResource = () => ({ Type: "AWS::CloudFormation::WaitConditionHandle" });
|
|
41809
|
+
function notFound(error) {
|
|
41810
|
+
return /does not exist/i.test(error instanceof Error ? error.message : "");
|
|
41811
|
+
}
|
|
41812
|
+
function noUpdates(error) {
|
|
41813
|
+
return /No updates are to be performed/i.test(error instanceof Error ? error.message : "");
|
|
41814
|
+
}
|
|
41815
|
+
const SETTLED = /(_COMPLETE|_FAILED)$/;
|
|
41816
|
+
var SignalReceiver = class {
|
|
41817
|
+
stackId;
|
|
41818
|
+
armed = /* @__PURE__ */ new Set();
|
|
41819
|
+
finished = /* @__PURE__ */ new Set();
|
|
41820
|
+
armedIds = [];
|
|
41821
|
+
armedUpdate = false;
|
|
41822
|
+
sleep;
|
|
41823
|
+
now;
|
|
41824
|
+
stackName;
|
|
41825
|
+
candidates;
|
|
41826
|
+
client;
|
|
41827
|
+
logger;
|
|
41828
|
+
constructor(stackName, candidates, client, logger, clock = {}) {
|
|
41829
|
+
this.stackName = stackName;
|
|
41830
|
+
this.candidates = candidates;
|
|
41831
|
+
this.client = client;
|
|
41832
|
+
this.logger = logger;
|
|
41833
|
+
this.sleep = clock.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms)));
|
|
41834
|
+
this.now = clock.now ?? Date.now;
|
|
41835
|
+
}
|
|
41836
|
+
get receiverStackId() {
|
|
41837
|
+
return this.stackId;
|
|
41838
|
+
}
|
|
41839
|
+
candidate(logicalId) {
|
|
41840
|
+
return this.candidates.get(logicalId);
|
|
41841
|
+
}
|
|
41842
|
+
isArmed(logicalId) {
|
|
41843
|
+
return this.armed.has(logicalId);
|
|
41844
|
+
}
|
|
41845
|
+
disarm(logicalId) {
|
|
41846
|
+
this.armed.delete(logicalId);
|
|
41847
|
+
}
|
|
41848
|
+
async ensure(recordedStackId) {
|
|
41849
|
+
try {
|
|
41850
|
+
const client = this.client();
|
|
41851
|
+
let stack = recordedStackId !== void 0 ? await this.describe(client, recordedStackId) : void 0;
|
|
41852
|
+
if (stack !== void 0 && !isReceiver(stack)) stack = void 0;
|
|
41853
|
+
if (stack === void 0) {
|
|
41854
|
+
const byName = await this.describe(client, this.stackName);
|
|
41855
|
+
if (byName !== void 0 && !isReceiver(byName)) {
|
|
41856
|
+
this.logger.warn(safeMsg`A CloudFormation stack named ${this.stackName} exists and is not cdkd's signal receiver, so it is left alone; resources declaring a CreationPolicy or cfn-init metadata are created without waiting for signals.`);
|
|
41857
|
+
return;
|
|
41858
|
+
}
|
|
41859
|
+
stack = byName;
|
|
41860
|
+
}
|
|
41861
|
+
if (stack === void 0) {
|
|
41862
|
+
const out = await client.send(new CreateStackCommand({
|
|
41863
|
+
StackName: this.stackName,
|
|
41864
|
+
TemplateBody: receiverTemplateBody({ [ANCHOR_ID]: anchorResource() }),
|
|
41865
|
+
Tags: [{
|
|
41866
|
+
Key: RECEIVER_TAG_KEY,
|
|
41867
|
+
Value: "true"
|
|
41868
|
+
}]
|
|
41869
|
+
}));
|
|
41870
|
+
this.stackId = out.StackId;
|
|
41871
|
+
this.logger.info(safeMsg`Created the CloudFormation signal receiver stack ${this.stackName} (tag cdkd:signal-receiver=true): this stack declares CreationPolicy signals or cfn-init metadata, which only a CloudFormation stack can answer. It holds no resources of yours, AWS::StackId resolves to it, and cdkd destroy deletes it.`);
|
|
41872
|
+
} else this.stackId = stack.StackId;
|
|
41873
|
+
if (this.stackId === void 0) return void 0;
|
|
41874
|
+
await this.recover(client, stack?.StackStatus);
|
|
41875
|
+
if (await this.awaitSettled(client) === void 0) throw new Error("the receiver stack did not settle in a usable state");
|
|
41876
|
+
return this.stackId;
|
|
41877
|
+
} catch (error) {
|
|
41878
|
+
this.fallbackWarn(error);
|
|
41879
|
+
this.stackId = void 0;
|
|
41880
|
+
return;
|
|
41881
|
+
}
|
|
41882
|
+
}
|
|
41883
|
+
async arm(armIds, resolveMetadata) {
|
|
41884
|
+
if (this.stackId === void 0) return /* @__PURE__ */ new Set();
|
|
41885
|
+
try {
|
|
41886
|
+
const client = this.client();
|
|
41887
|
+
const current = await this.currentResources(client);
|
|
41888
|
+
const desired = { [ANCHOR_ID]: anchorResource() };
|
|
41889
|
+
const toArm = /* @__PURE__ */ new Set();
|
|
41890
|
+
for (const [id, candidate] of this.candidates) {
|
|
41891
|
+
let metadata;
|
|
41892
|
+
try {
|
|
41893
|
+
metadata = candidate.hasInitMetadata ? await resolveMetadata(id) : void 0;
|
|
41894
|
+
} catch {
|
|
41895
|
+
this.logger.warn(safeMsg`${id}: its Metadata cannot be sent to the CloudFormation signal receiver (it reads a NoEcho value or a resource not created yet), so cfn-init and cfn-signal for it are not served this deploy`);
|
|
41896
|
+
if (current[id] !== void 0) desired[id] = current[id];
|
|
41897
|
+
continue;
|
|
41898
|
+
}
|
|
41899
|
+
if (armIds.has(id) && candidate.count > 0) {
|
|
41900
|
+
desired[id] = waiterResource(candidate.count, metadata);
|
|
41901
|
+
toArm.add(id);
|
|
41902
|
+
} else if (candidate.hasInitMetadata) {
|
|
41903
|
+
const existing = current[id];
|
|
41904
|
+
desired[id] = existing !== void 0 && existing["Type"] === "AWS::CloudFormation::WaitCondition" ? {
|
|
41905
|
+
...existing,
|
|
41906
|
+
...metadata !== void 0 && { Metadata: metadata }
|
|
41907
|
+
} : holderResource(metadata);
|
|
41908
|
+
}
|
|
41909
|
+
}
|
|
41910
|
+
const rearm = [...toArm].filter((id) => current[id] !== void 0);
|
|
41911
|
+
if (rearm.length > 0) {
|
|
41912
|
+
const without = Object.fromEntries(Object.entries(desired).filter(([id]) => !rearm.includes(id)));
|
|
41913
|
+
await this.update(client, without);
|
|
41914
|
+
if (await this.awaitSettled(client) !== "UPDATE_COMPLETE") throw new Error("the receiver did not finish removing its earlier waiters");
|
|
41915
|
+
}
|
|
41916
|
+
if (await this.update(client, desired)) this.armedUpdate = toArm.size > 0;
|
|
41917
|
+
if (toArm.size > 0) await this.awaitWaiting(client, toArm);
|
|
41918
|
+
this.armed = toArm;
|
|
41919
|
+
this.armedIds = [...toArm];
|
|
41920
|
+
if (toArm.size > 0) this.logger.info(safeMsg`Signal receiver ${this.stackName}: waiting for CreationPolicy signals from ${[...toArm].join(", ")}`);
|
|
41921
|
+
return toArm;
|
|
41922
|
+
} catch (error) {
|
|
41923
|
+
this.fallbackWarn(error);
|
|
41924
|
+
this.armed = /* @__PURE__ */ new Set();
|
|
41925
|
+
return /* @__PURE__ */ new Set();
|
|
41926
|
+
}
|
|
41927
|
+
}
|
|
41928
|
+
async awaitSignals(logicalId, startedAt, stop) {
|
|
41929
|
+
const candidate = this.candidates.get(logicalId);
|
|
41930
|
+
if (!this.armed.has(logicalId) || candidate === void 0 || this.stackId === void 0) return;
|
|
41931
|
+
const client = this.client();
|
|
41932
|
+
const deadline = startedAt + candidate.timeoutMs;
|
|
41933
|
+
this.logger.info(safeMsg`${logicalId}: waiting for ${candidate.count} CreationPolicy signal(s) (timeout ${Math.round(candidate.timeoutMs / 1e3)}s)`);
|
|
41934
|
+
for (;;) {
|
|
41935
|
+
if (stop()) throw new Error(safeMsg`${logicalId}: the CreationPolicy signal wait stopped with the deploy`);
|
|
41936
|
+
let status;
|
|
41937
|
+
let reason;
|
|
41938
|
+
try {
|
|
41939
|
+
const out = await client.send(new DescribeStackResourceCommand({
|
|
41940
|
+
StackName: this.stackId,
|
|
41941
|
+
LogicalResourceId: logicalId
|
|
41942
|
+
}));
|
|
41943
|
+
status = out.StackResourceDetail?.ResourceStatus;
|
|
41944
|
+
reason = out.StackResourceDetail?.ResourceStatusReason;
|
|
41945
|
+
} catch (error) {
|
|
41946
|
+
if (!notFound(error)) throw error;
|
|
41947
|
+
status = "GONE";
|
|
41948
|
+
}
|
|
41949
|
+
if (status === "CREATE_COMPLETE") {
|
|
41950
|
+
this.finished.add(logicalId);
|
|
41951
|
+
this.logger.info(safeMsg`${logicalId}: received its CreationPolicy signal(s)`);
|
|
41952
|
+
return;
|
|
41953
|
+
}
|
|
41954
|
+
if (status === "CREATE_FAILED" || status === "GONE" || status?.startsWith("DELETE") === true) {
|
|
41955
|
+
reason ??= await this.failureReasonOf(client, logicalId, startedAt);
|
|
41956
|
+
throw new Error(reason !== void 0 && /FAILURE signal/i.test(reason) ? safeMsg`${logicalId} received a FAILURE signal (CreationPolicy): ${reason}` : safeMsg`${logicalId} did not receive its CreationPolicy signal(s): its wait in the signal receiver ended (${reason ?? status ?? "unknown"})`);
|
|
41957
|
+
}
|
|
41958
|
+
if (this.now() >= deadline) throw new Error(safeMsg`${logicalId} did not receive ${candidate.count} CreationPolicy signal(s) within ${Math.round(candidate.timeoutMs / 1e3)}s`);
|
|
41959
|
+
await this.sleep(Math.min(POLL_INTERVAL_MS, Math.max(deadline - this.now(), 0)));
|
|
41960
|
+
}
|
|
41961
|
+
}
|
|
41962
|
+
async settle() {
|
|
41963
|
+
if (!this.armedUpdate || this.stackId === void 0) return;
|
|
41964
|
+
if (this.armedIds.every((id) => this.finished.has(id))) return;
|
|
41965
|
+
try {
|
|
41966
|
+
const client = this.client();
|
|
41967
|
+
if ((await this.describe(client, this.stackId))?.StackStatus === "UPDATE_IN_PROGRESS") {
|
|
41968
|
+
await client.send(new CancelUpdateStackCommand({ StackName: this.stackId }));
|
|
41969
|
+
this.logger.debug(safeMsg`Cancelled the signal receiver's unfinished update`);
|
|
41970
|
+
}
|
|
41971
|
+
} catch (error) {
|
|
41972
|
+
this.logger.debug(safeMsg`Could not cancel the signal receiver's update: ${describeAwsFailure(error).summary}`);
|
|
41973
|
+
}
|
|
41974
|
+
}
|
|
41975
|
+
async recover(client, status) {
|
|
41976
|
+
if (status === "UPDATE_IN_PROGRESS") {
|
|
41977
|
+
this.logger.info(safeMsg`Cancelling the signal receiver update a previous deploy left waiting`);
|
|
41978
|
+
await client.send(new CancelUpdateStackCommand({ StackName: this.stackId }));
|
|
41979
|
+
} else if (status === "UPDATE_ROLLBACK_FAILED") await client.send(new ContinueUpdateRollbackCommand({ StackName: this.stackId }));
|
|
41980
|
+
else if (status === "ROLLBACK_COMPLETE" || status === "CREATE_FAILED") {
|
|
41981
|
+
await client.send(new DeleteStackCommand({ StackName: this.stackId }));
|
|
41982
|
+
const deadline = this.now() + SETTLE_WAIT_MS;
|
|
41983
|
+
while (await this.describe(client, this.stackId) !== void 0) {
|
|
41984
|
+
if (this.now() >= deadline) throw new Error("the failed receiver stack was not deleted");
|
|
41985
|
+
await this.sleep(POLL_INTERVAL_MS);
|
|
41986
|
+
}
|
|
41987
|
+
const out = await client.send(new CreateStackCommand({
|
|
41988
|
+
StackName: this.stackName,
|
|
41989
|
+
TemplateBody: receiverTemplateBody({ [ANCHOR_ID]: anchorResource() }),
|
|
41990
|
+
Tags: [{
|
|
41991
|
+
Key: RECEIVER_TAG_KEY,
|
|
41992
|
+
Value: "true"
|
|
41993
|
+
}]
|
|
41994
|
+
}));
|
|
41995
|
+
this.stackId = out.StackId;
|
|
41996
|
+
}
|
|
41997
|
+
}
|
|
41998
|
+
fallbackWarn(error) {
|
|
41999
|
+
const failure = describeAwsFailure(error);
|
|
42000
|
+
this.logger.warn(safeMsg`The CloudFormation signal receiver ${this.stackName} is unavailable (${failure.summary}); resources declaring a CreationPolicy or cfn-init metadata are created without waiting for signals.`);
|
|
42001
|
+
this.logger.debug(safeMsg`Signal receiver failure detail: ${failure.detail}`);
|
|
42002
|
+
}
|
|
42003
|
+
async describe(client, name) {
|
|
42004
|
+
try {
|
|
42005
|
+
const stack = (await client.send(new DescribeStacksCommand({ StackName: name }))).Stacks?.[0];
|
|
42006
|
+
if (stack === void 0 || stack.StackStatus === "DELETE_COMPLETE") return void 0;
|
|
42007
|
+
return stack;
|
|
42008
|
+
} catch (error) {
|
|
42009
|
+
if (notFound(error)) return void 0;
|
|
42010
|
+
throw error;
|
|
42011
|
+
}
|
|
42012
|
+
}
|
|
42013
|
+
async awaitSettled(client) {
|
|
42014
|
+
const deadline = this.now() + SETTLE_WAIT_MS;
|
|
42015
|
+
while (this.now() < deadline) {
|
|
42016
|
+
const status = (await this.describe(client, this.stackId))?.StackStatus;
|
|
42017
|
+
if (status === void 0) return void 0;
|
|
42018
|
+
if (SETTLED.test(status) && !status.endsWith("ROLLBACK_FAILED")) {
|
|
42019
|
+
if (status === "CREATE_FAILED" || status === "ROLLBACK_COMPLETE") return void 0;
|
|
42020
|
+
return status;
|
|
42021
|
+
}
|
|
42022
|
+
if (status.endsWith("ROLLBACK_FAILED")) return void 0;
|
|
42023
|
+
await this.sleep(POLL_INTERVAL_MS);
|
|
42024
|
+
}
|
|
42025
|
+
}
|
|
42026
|
+
async currentResources(client) {
|
|
42027
|
+
const body = (await client.send(new GetTemplateCommand({ StackName: this.stackId }))).TemplateBody;
|
|
42028
|
+
if (typeof body !== "string") return {};
|
|
42029
|
+
const resources = { ...JSON.parse(body).Resources ?? {} };
|
|
42030
|
+
delete resources[ANCHOR_ID];
|
|
42031
|
+
return resources;
|
|
42032
|
+
}
|
|
42033
|
+
async update(client, resources) {
|
|
42034
|
+
const body = receiverTemplateBody(resources);
|
|
42035
|
+
if (body.length > MAX_TEMPLATE_BODY_BYTES) throw new Error(`the receiver template (${body.length} bytes of cfn-init metadata) exceeds the ${MAX_TEMPLATE_BODY_BYTES}-byte inline TemplateBody limit`);
|
|
42036
|
+
try {
|
|
42037
|
+
await client.send(new UpdateStackCommand({
|
|
42038
|
+
StackName: this.stackId,
|
|
42039
|
+
TemplateBody: body,
|
|
42040
|
+
Tags: [{
|
|
42041
|
+
Key: RECEIVER_TAG_KEY,
|
|
42042
|
+
Value: "true"
|
|
42043
|
+
}]
|
|
42044
|
+
}));
|
|
42045
|
+
return true;
|
|
42046
|
+
} catch (error) {
|
|
42047
|
+
if (noUpdates(error)) return false;
|
|
42048
|
+
throw error;
|
|
42049
|
+
}
|
|
42050
|
+
}
|
|
42051
|
+
async failureReasonOf(client, logicalId, since) {
|
|
42052
|
+
try {
|
|
42053
|
+
return (await client.send(new DescribeStackEventsCommand({ StackName: this.stackId }))).StackEvents?.find((e) => e.LogicalResourceId === logicalId && e.ResourceStatus === "CREATE_FAILED" && (e.Timestamp?.getTime() ?? 0) >= since)?.ResourceStatusReason;
|
|
42054
|
+
} catch {
|
|
42055
|
+
return;
|
|
42056
|
+
}
|
|
42057
|
+
}
|
|
42058
|
+
async awaitWaiting(client, ids) {
|
|
42059
|
+
const deadline = this.now() + SETTLE_WAIT_MS;
|
|
42060
|
+
const pending = new Set(ids);
|
|
42061
|
+
while (pending.size > 0) {
|
|
42062
|
+
for (const id of [...pending]) try {
|
|
42063
|
+
if ((await client.send(new DescribeStackResourceCommand({
|
|
42064
|
+
StackName: this.stackId,
|
|
42065
|
+
LogicalResourceId: id
|
|
42066
|
+
}))).StackResourceDetail?.ResourceStatus !== void 0) pending.delete(id);
|
|
42067
|
+
} catch (error) {
|
|
42068
|
+
if (!notFound(error)) throw error;
|
|
42069
|
+
}
|
|
42070
|
+
if (pending.size === 0) return;
|
|
42071
|
+
if (this.now() >= deadline) throw new Error("the receiver waiters did not appear");
|
|
42072
|
+
await this.sleep(POLL_INTERVAL_MS / 2);
|
|
42073
|
+
}
|
|
42074
|
+
}
|
|
42075
|
+
};
|
|
42076
|
+
async function deleteSignalReceiver(client, stackId, logger) {
|
|
42077
|
+
try {
|
|
42078
|
+
const stack = (await client.send(new DescribeStacksCommand({ StackName: stackId }))).Stacks?.[0];
|
|
42079
|
+
if (stack === void 0 || stack.StackStatus === "DELETE_COMPLETE") return;
|
|
42080
|
+
if (!isReceiver(stack)) return;
|
|
42081
|
+
if (stack.StackStatus === "UPDATE_IN_PROGRESS") {
|
|
42082
|
+
await client.send(new CancelUpdateStackCommand({ StackName: stackId }));
|
|
42083
|
+
const deadline = Date.now() + SETTLE_WAIT_MS;
|
|
42084
|
+
for (;;) {
|
|
42085
|
+
const status = (await client.send(new DescribeStacksCommand({ StackName: stackId }))).Stacks?.[0]?.StackStatus;
|
|
42086
|
+
if (status === void 0 || !status.endsWith("_IN_PROGRESS") || Date.now() >= deadline) break;
|
|
42087
|
+
await new Promise((r) => setTimeout(r, POLL_INTERVAL_MS));
|
|
42088
|
+
}
|
|
42089
|
+
}
|
|
42090
|
+
await client.send(new DeleteStackCommand({ StackName: stackId }));
|
|
42091
|
+
logger.info(safeMsg`Deleting the CloudFormation signal receiver stack ${stack.StackName ?? stackId}`);
|
|
42092
|
+
} catch (error) {
|
|
42093
|
+
if (notFound(error)) return;
|
|
42094
|
+
logger.warn(safeMsg`Could not delete the CloudFormation signal receiver stack (${describeAwsFailure(error).summary}); delete it with: aws cloudformation delete-stack --stack-name '${stackId}'`);
|
|
42095
|
+
}
|
|
42096
|
+
}
|
|
42097
|
+
async function removeSignalReceiverNamed(client, stackName, logger, clock = {}) {
|
|
42098
|
+
const sleep = clock.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms)));
|
|
42099
|
+
const now = clock.now ?? Date.now;
|
|
42100
|
+
const stack = (await client.send(new DescribeStacksCommand({ StackName: stackName })).catch((error) => {
|
|
42101
|
+
if (notFound(error)) return void 0;
|
|
42102
|
+
throw error;
|
|
42103
|
+
}))?.Stacks?.[0];
|
|
42104
|
+
if (stack?.StackId === void 0 || stack.StackStatus === "DELETE_COMPLETE" || !isReceiver(stack)) return;
|
|
42105
|
+
const stackId = stack.StackId;
|
|
42106
|
+
logger.info(safeMsg`Deleting the CloudFormation signal receiver stack ${stackName} so the export can take its name`);
|
|
42107
|
+
await client.send(new DeleteStackCommand({ StackName: stackId }));
|
|
42108
|
+
const deadline = now() + SETTLE_WAIT_MS;
|
|
42109
|
+
for (;;) {
|
|
42110
|
+
const status = await client.send(new DescribeStacksCommand({ StackName: stackId })).then((r) => r.Stacks?.[0]?.StackStatus).catch((error) => {
|
|
42111
|
+
if (notFound(error)) return "DELETE_COMPLETE";
|
|
42112
|
+
throw error;
|
|
42113
|
+
});
|
|
42114
|
+
if (status === void 0 || status === "DELETE_COMPLETE") return;
|
|
42115
|
+
if (status === "DELETE_FAILED" || now() >= deadline) throw new Error(safeMsg`The CloudFormation signal receiver stack ${stackName} could not be deleted (${status}); delete it, then re-run the export`);
|
|
42116
|
+
await sleep(POLL_INTERVAL_MS);
|
|
42117
|
+
}
|
|
42118
|
+
}
|
|
42119
|
+
|
|
42120
|
+
// src/deployment/deploy-engine/signal-receiver-run.ts
|
|
42121
|
+
let parser;
|
|
42122
|
+
const templateParser = () => parser ??= new TemplateParser();
|
|
42123
|
+
async function ensureSignalReceiver(engine, stackName, template, currentState) {
|
|
42124
|
+
const recorded = currentState.signalReceiverStackId;
|
|
42125
|
+
engine.signalReceiverStackId = recorded;
|
|
42126
|
+
const { candidates } = signalPlanOf(template);
|
|
42127
|
+
if (candidates.size === 0 || engine.options.dryRun || !canReceiveFor(stackName)) return false;
|
|
42128
|
+
const receiver = new SignalReceiver(stackName, candidates, () => getAwsClients().cloudFormation, engine.logger);
|
|
42129
|
+
const stackId = await receiver.ensure(recorded);
|
|
42130
|
+
if (stackId === void 0) return false;
|
|
42131
|
+
engine.signalReceiver = receiver;
|
|
42132
|
+
engine.signalReceiverStackId = stackId;
|
|
42133
|
+
if (stackId === recorded) return false;
|
|
42134
|
+
currentState.signalReceiverStackId = stackId;
|
|
42135
|
+
return true;
|
|
42136
|
+
}
|
|
42137
|
+
async function armSignalReceiver(engine, stackName, template, changes, stateResources, parameterValues, conditions) {
|
|
42138
|
+
const receiver = engine.signalReceiver;
|
|
42139
|
+
if (receiver === void 0) return;
|
|
42140
|
+
const armIds = /* @__PURE__ */ new Set();
|
|
42141
|
+
let touchesCandidate = false;
|
|
42142
|
+
for (const change of changes.values()) {
|
|
42143
|
+
if (change.changeType !== "NO_CHANGE" && receiver.candidate(change.logicalId) !== void 0) touchesCandidate = true;
|
|
42144
|
+
if ((change.changeType === "CREATE" || change.changeType === "UPDATE" && change.propertyChanges?.some((pc) => pc.requiresReplacement) === true) && (receiver.candidate(change.logicalId)?.count ?? 0) > 0) armIds.add(change.logicalId);
|
|
42145
|
+
}
|
|
42146
|
+
if (!touchesCandidate) return;
|
|
42147
|
+
await receiver.arm(armIds, (id) => resolveTemplateMetadata(engine, id, stateResources, stackName, template, parameterValues, conditions));
|
|
42148
|
+
}
|
|
42149
|
+
async function awaitCreationSignals(engine, logicalId, startedAt, created) {
|
|
42150
|
+
const receiver = engine.signalReceiver;
|
|
42151
|
+
if (receiver === void 0 || !receiver.isArmed(logicalId)) return;
|
|
42152
|
+
if (!created) {
|
|
42153
|
+
receiver.disarm(logicalId);
|
|
42154
|
+
return;
|
|
42155
|
+
}
|
|
42156
|
+
try {
|
|
42157
|
+
await receiver.awaitSignals(logicalId, startedAt, () => engine.interrupted);
|
|
42158
|
+
} catch (error) {
|
|
42159
|
+
engine.interrupted = true;
|
|
42160
|
+
engine.interruptCause ??= "sibling-failure";
|
|
42161
|
+
throw error;
|
|
42162
|
+
}
|
|
42163
|
+
}
|
|
42164
|
+
function warnUnwaitedCreationPolicy(engine, logicalId, template) {
|
|
42165
|
+
const resource = template?.Resources?.[logicalId];
|
|
42166
|
+
if (resource?.CreationPolicy === void 0 || engine.signalReceiver?.isArmed(logicalId) === true) return;
|
|
42167
|
+
if (template !== void 0 && signalPlanOf(template).unsigned.includes(logicalId)) {
|
|
42168
|
+
engine.logger.warn(safeMsg`${logicalId}: CreationPolicy is not honored; its user data calls cfn-init / cfn-signal without credentials, which CloudFormation answers only for its own stacks' instances. Pass --role (CDK: initOptions.includeRole: true) and cdkd waits for the signals.`);
|
|
42169
|
+
return;
|
|
42170
|
+
}
|
|
42171
|
+
warnUnhonoredCreationPolicy(engine.logger, logicalId, resource);
|
|
42172
|
+
}
|
|
42173
|
+
async function resolveTemplateMetadata(engine, logicalId, stateResources, stackName, template, parameterValues, conditions) {
|
|
42174
|
+
const metadata = template.Resources?.[logicalId]?.Metadata;
|
|
42175
|
+
if (metadata === void 0) return void 0;
|
|
42176
|
+
const noEchoParameters = noEchoParameterNamesOf(template);
|
|
42177
|
+
const noEchoAttributes = engine.noEchoRun.noEchoAttributeResources;
|
|
42178
|
+
for (const ref of templateParser().extractReferences(metadata)) if (noEchoParameters.has(ref) || noEchoAttributes.has(ref)) throw new Error(`${logicalId}'s Metadata reads a NoEcho value`);
|
|
42179
|
+
for (const [ref, attribute] of getAttReadsOf(metadata)) {
|
|
42180
|
+
const type = template.Resources?.[ref]?.Type;
|
|
42181
|
+
if (isSensitiveAttributeName(attribute) || isSecretValuedAttribute(type, attribute) || type !== void 0 && isCustomResourceType(type)) throw new Error(`${logicalId}'s Metadata reads a credential-bearing attribute`);
|
|
42182
|
+
}
|
|
42183
|
+
const context = buildResolverContext(engine.resolverContextDeps(), {
|
|
42184
|
+
template,
|
|
42185
|
+
resources: stateResources,
|
|
42186
|
+
...parameterValues && { parameters: parameterValues },
|
|
42187
|
+
...conditions && { conditions }
|
|
42188
|
+
}, stackName);
|
|
42189
|
+
return engine.resolver.resolve(metadata, {
|
|
42190
|
+
...context,
|
|
42191
|
+
skipDynamicReferences: true
|
|
42192
|
+
});
|
|
42193
|
+
}
|
|
42194
|
+
async function settledAfter(engine, run) {
|
|
42195
|
+
try {
|
|
42196
|
+
return await run();
|
|
42197
|
+
} finally {
|
|
42198
|
+
await engine.signalReceiver?.settle();
|
|
42199
|
+
}
|
|
42200
|
+
}
|
|
42201
|
+
function refuseUnservedSignalWait(engine, logicalId, change, template) {
|
|
42202
|
+
if (change.changeType !== "CREATE" && change.changeType !== "UPDATE") return;
|
|
42203
|
+
const resource = template?.Resources?.[logicalId];
|
|
42204
|
+
if (resource?.Type !== "AWS::CloudFormation::WaitCondition") return;
|
|
42205
|
+
const handle = resource.Properties?.["Handle"];
|
|
42206
|
+
if (handle !== void 0 && handle !== null) return;
|
|
42207
|
+
if (engine.signalReceiver?.isArmed(logicalId) === true) return;
|
|
42208
|
+
if (change.changeType === "UPDATE" && change.propertyChanges?.some((pc) => pc.requiresReplacement) !== true) return;
|
|
42209
|
+
throw markNonRetryable(new ProvisioningError(`WaitCondition ${logicalId} has no Handle, and no CloudFormation signal receiver waits on it this deploy (a nested stack, or a receiver that could not be used), so its CreationPolicy signals cannot be received.`, "AWS::CloudFormation::WaitCondition", logicalId));
|
|
42210
|
+
}
|
|
42211
|
+
function getAttReadsOf(value) {
|
|
42212
|
+
const out = [];
|
|
42213
|
+
const walk = (v) => {
|
|
42214
|
+
if (Array.isArray(v)) {
|
|
42215
|
+
v.forEach(walk);
|
|
42216
|
+
return;
|
|
42217
|
+
}
|
|
42218
|
+
if (v === null || typeof v !== "object") return;
|
|
42219
|
+
for (const [key, inner] of Object.entries(v)) {
|
|
42220
|
+
if (key === "Fn::GetAtt") {
|
|
42221
|
+
const parts = typeof inner === "string" ? [inner.slice(0, inner.indexOf(".")), inner.slice(inner.indexOf(".") + 1)] : Array.isArray(inner) ? inner : [];
|
|
42222
|
+
if (typeof parts[0] === "string" && typeof parts[1] === "string") out.push([parts[0], parts[1]]);
|
|
42223
|
+
} else if (key === "Fn::Sub") {
|
|
42224
|
+
const text = typeof inner === "string" ? inner : Array.isArray(inner) ? inner[0] : void 0;
|
|
42225
|
+
if (typeof text === "string") for (const m of text.matchAll(/\$\{([^!}.][^}.]*)\.([^}]+)\}/g)) out.push([m[1], m[2]]);
|
|
42226
|
+
}
|
|
42227
|
+
walk(inner);
|
|
42228
|
+
}
|
|
42229
|
+
};
|
|
42230
|
+
walk(value);
|
|
42231
|
+
return out;
|
|
42232
|
+
}
|
|
42233
|
+
|
|
41723
42234
|
// src/state/refactor-marker.ts
|
|
41724
42235
|
function refactorMarkerMovesOf(body) {
|
|
41725
42236
|
const raw = body?.moves;
|
|
@@ -51124,7 +51635,7 @@ async function updateInPlace(engine, { changedProperties, noEchoOnlyChangedPrope
|
|
|
51124
51635
|
logicalId,
|
|
51125
51636
|
generation: fallbackGeneration
|
|
51126
51637
|
}, replaceFallback));
|
|
51127
|
-
|
|
51638
|
+
warnUnwaitedCreationPolicy(engine, logicalId, template);
|
|
51128
51639
|
engine.unsettledMarks.delete(logicalId);
|
|
51129
51640
|
engine.unsettledItemMarks.delete(logicalId);
|
|
51130
51641
|
result = fallbackOutcome.result;
|
|
@@ -51425,7 +51936,7 @@ async function finishUpdate(engine, input) {
|
|
|
51425
51936
|
logicalId,
|
|
51426
51937
|
generation: nextGeneration
|
|
51427
51938
|
}, replace));
|
|
51428
|
-
|
|
51939
|
+
warnUnwaitedCreationPolicy(engine, logicalId, template);
|
|
51429
51940
|
return markRestored(replaced);
|
|
51430
51941
|
}
|
|
51431
51942
|
const serviceTokenRefusal = serviceTokenUpdateRefusal({
|
|
@@ -51988,7 +52499,7 @@ async function provisionResourceBody(engine, logicalId, change, stateResources,
|
|
|
51988
52499
|
return withStackRecords(engine.stackRecordsView, () => {
|
|
51989
52500
|
switch (change.changeType) {
|
|
51990
52501
|
case "CREATE": return withPriorAttempts(priorAttempts, () => provisionCreate(engine, logicalId, change, stateResources, stackName, template, parameterValues, conditions, counts, progress)).then((outcome) => {
|
|
51991
|
-
|
|
52502
|
+
warnUnwaitedCreationPolicy(engine, logicalId, template);
|
|
51992
52503
|
return outcome;
|
|
51993
52504
|
});
|
|
51994
52505
|
case "UPDATE": return withPriorAttempts(priorAttempts, () => provisionUpdate(engine, logicalId, change, stateResources, stackName, template, parameterValues, conditions, counts, progress));
|
|
@@ -52138,8 +52649,11 @@ async function provisionCreateUpdateNode(run, createUpdateExecutor, enqueueLostC
|
|
|
52138
52649
|
});
|
|
52139
52650
|
let succeeded = false;
|
|
52140
52651
|
const createdSink = new CreatedResourceSink(logicalId, change.resourceType);
|
|
52652
|
+
const signalWaitStart = Date.now();
|
|
52653
|
+
const physicalIdBefore = newResources[logicalId]?.physicalId;
|
|
52141
52654
|
try {
|
|
52142
52655
|
try {
|
|
52656
|
+
refuseUnservedSignalWait(engine, logicalId, change, template);
|
|
52143
52657
|
await timePhase(phaseScope, `resource ${change.changeType.toLowerCase()}`, () => collectCreatedResources(createdSink, () => provisionResource(engine, logicalId, change, newResources, stackName, template, parameterValues, conditions, actualCounts, progress)), `${logicalId} ${change.resourceType}`);
|
|
52144
52658
|
settledUpdates.add(logicalId);
|
|
52145
52659
|
succeeded = true;
|
|
@@ -52239,6 +52753,8 @@ async function provisionCreateUpdateNode(run, createUpdateExecutor, enqueueLostC
|
|
|
52239
52753
|
});
|
|
52240
52754
|
saveStateAfterResource(logicalId);
|
|
52241
52755
|
if (engine.replacementRun.recreatedUnderSameId.has(logicalId)) enqueueLostChildren(createUpdateExecutor);
|
|
52756
|
+
const created = change.changeType === "CREATE" || newResources[logicalId]?.physicalId !== physicalIdBefore;
|
|
52757
|
+
await awaitCreationSignals(engine, logicalId, signalWaitStart, created);
|
|
52242
52758
|
}
|
|
52243
52759
|
function journaledUpdatePolicyField(changeType, updatePolicyOption, template, logicalId, resolved) {
|
|
52244
52760
|
if (changeType !== "UPDATE") return {};
|
|
@@ -54140,6 +54656,7 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
54140
54656
|
const firstDeployIdentityRead = idArrivesLater && engine.stateBackend.peekStackInstanceSibling ? engine.options.dryRun ? Promise.resolve(null) : engine.stateBackend.peekStackInstanceSibling(stackName, engine.stackRegion) : void 0;
|
|
54141
54657
|
firstDeployIdentityRead?.catch(() => void 0);
|
|
54142
54658
|
let firstDeployIdentity;
|
|
54659
|
+
engine.signalReceiverStackId = currentState.signalReceiverStackId;
|
|
54143
54660
|
engine.runStackIdTail = () => stackIdTailOf(currentState.stackInstanceId === void 0 && firstDeployIdentity !== void 0 ? {
|
|
54144
54661
|
stackInstanceId: firstDeployIdentity.stackInstanceId,
|
|
54145
54662
|
...firstDeployIdentity.stackIdFromInstance && { stackIdFromInstance: true }
|
|
@@ -54229,6 +54746,7 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
54229
54746
|
for (const row of nestedCheck?.forcedRows ?? []) engine.logger.info(nestedSsmNameRowNote(row));
|
|
54230
54747
|
for (const row of nestedCheck?.deferredRows ?? []) engine.logger.info(nestedSsmNameDeferredNote(row));
|
|
54231
54748
|
const marksNestedCheck = nestedCheck?.complete === true && !Object.values(orphanPlan.adopted).some((r) => r.resourceType === "AWS::CloudFormation::Stack");
|
|
54749
|
+
const signalReceiverChanged = await ensureSignalReceiver(engine, stackName, effectiveTemplate, currentState);
|
|
54232
54750
|
const { diffResolverContext, maskedInputs, changes } = await calculateDeployDiff(engine, {
|
|
54233
54751
|
stackName,
|
|
54234
54752
|
currentState,
|
|
@@ -54300,7 +54818,7 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
54300
54818
|
migrationPending,
|
|
54301
54819
|
maskedFingerprintsBackfilled,
|
|
54302
54820
|
orphansChanged,
|
|
54303
|
-
terminationProtectionChanged,
|
|
54821
|
+
terminationProtectionChanged: terminationProtectionChanged || signalReceiverChanged,
|
|
54304
54822
|
ssmNamesHealed: ssmNameHeals.length > 0,
|
|
54305
54823
|
nestedSsmNamesMarked: marksNestedCheck,
|
|
54306
54824
|
resolveStackInstanceId,
|
|
@@ -54346,8 +54864,9 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
54346
54864
|
current: 0,
|
|
54347
54865
|
total: createChanges.length + updateChanges.length + deleteChanges.length
|
|
54348
54866
|
};
|
|
54867
|
+
await armSignalReceiver(engine, stackName, effectiveTemplate, changes, currentState.resources, parameterValues, conditions);
|
|
54349
54868
|
clock.lap("first-deploy instance id, name guard");
|
|
54350
|
-
const { state: newState, actualCounts, completedOperations } = await withProducerRegions(() => producerRegionEvidence(engine.rollbackDeps(), currentState), () => withStackScope(nameScope(), () => executeDeployment(engine, effectiveTemplate, currentState, changes, dag, executionLevels, stackName, outputsDigestSource, parameterValues, conditions, currentEtag, progress, migrationPending)));
|
|
54869
|
+
const { state: newState, actualCounts, completedOperations } = await withProducerRegions(() => producerRegionEvidence(engine.rollbackDeps(), currentState), () => withStackScope(nameScope(), () => settledAfter(engine, () => executeDeployment(engine, effectiveTemplate, currentState, changes, dag, executionLevels, stackName, outputsDigestSource, parameterValues, conditions, currentEtag, progress, migrationPending))));
|
|
54351
54870
|
clock.lap("resource DAG");
|
|
54352
54871
|
try {
|
|
54353
54872
|
engine.stateBackend.warmConnections(stackName, engine.stackRegion, TAIL_WARM_CONNECTIONS);
|
|
@@ -54432,6 +54951,8 @@ function deploy(stackName, template) {
|
|
|
54432
54951
|
this.unsettledItemMarks = /* @__PURE__ */ new Map();
|
|
54433
54952
|
this.resumedCreates = /* @__PURE__ */ new Map();
|
|
54434
54953
|
this.generatedNameGuard = void 0;
|
|
54954
|
+
this.signalReceiver = void 0;
|
|
54955
|
+
this.signalReceiverStackId = void 0;
|
|
54435
54956
|
this.liveTaskLabels = /* @__PURE__ */ new Map();
|
|
54436
54957
|
this.outputsRun = new OutputsRunState();
|
|
54437
54958
|
this.provenanceBaseline = void 0;
|
|
@@ -54511,6 +55032,8 @@ var DeployEngine = class {
|
|
|
54511
55032
|
inFlightBodies = /* @__PURE__ */ new Map();
|
|
54512
55033
|
resumedCreates = /* @__PURE__ */ new Map();
|
|
54513
55034
|
generatedNameGuard;
|
|
55035
|
+
signalReceiver;
|
|
55036
|
+
signalReceiverStackId;
|
|
54514
55037
|
liveTaskLabels = /* @__PURE__ */ new Map();
|
|
54515
55038
|
provenanceBaseline = void 0;
|
|
54516
55039
|
provenanceCapture;
|
|
@@ -54649,5 +55172,5 @@ var DeployEngine = class {
|
|
|
54649
55172
|
}
|
|
54650
55173
|
};
|
|
54651
55174
|
|
|
54652
|
-
export { recordTagWrite as $, CC_BROKEN_REASON as $a, refuseMalformedResourceProperties as $c, gray as $i, readOnlyStateVersionOf as $l, parseMappingFile as $n, producerLookupOver as $o, redactedDeleteAddressSkip as $r, siblingsOf as $s, formatResourceLine as $t, validateAssetBucketName as $u, recordedProtectionEvidence as A, buildFinalSnapshotIdentifier as Aa, previewableOrphanRecords as Ac, bindingSkippedOutputs as Ai, repairMalformedResourcesForReadOnly as Al, DeploymentEventsStore as An, differingIdentityWarning as Ao, findUpdatePolicyReplacementRefusals as Ar, lacksRecordedTableArn as As, DELETE_INDEX_WAIT_PROCEED_NOTE as At, createLazyAssetModeContext as Au, declaredStreamTagsMember as B, SNS_DEFAULT_POLICY_ID as Ba, malformedResourceEntriesWarning as Bc, isSupersededResourceRecord as Bi, findHandledUnwrittenCreateOnly as Bl, formatDestructiveChange as Bn, IntrinsicFunctionResolver as Bo, isJournaledOrphan as Br, referenceTokensIn as Bs, isTruthyCfnBoolean as Bt, isCfnTemplateAssetPath as Bu, pendingMovesOutOf as C, ccRoutedFinalSnapshotError as Ca, declaresNoEcho as Cc, exportNameNoEchoParameters as Ci, malformedRenderedContainersWarning as Cl, journaledOrphanLines as Cn, withCustomResourceStack as Co, withUnprovenUnsettled as Cr, isUnboundTemplateParameter as Cs, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as Ct, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Cu, findServiceTokenRefusals as D, refusesFinalSnapshot as Da, malformedOrphanRecordsRefusalMessage as Dc, collectDeclaredOutputNames as Di, refuseMalformedResourcesForDestroy as Dl, makeSiblingClaimReader as Dn, RecordedIdentityError as Do, undeclaredEmptyObservedKeys as Dr, isStalePlaceholderArnAttribute as Ds, deleteBudgetKey as Dt, synthesizedStacks as Du, deferredServiceTokenWarning as E, isFinalSnapshotError as Ea, isReadableOrphanRecord as Ec, noEchoParameterValueSeed as Ei, refuseMalformedResourcesForDeploy as El, makeForeignHolderScan as En, waitForGoneAfterDelete as Eo, equalModuloMask as Er, cfnRefValueFromPhysicalId as Es, compensateRemovedDeletionProtection as Et, rememberSynthesizedStacks as Eu, readProtection as F, withoutSiblingAttachedArns as Fa, unpreviewableOrphanRecords as Fc, destroyStackRecordsView as Fi, UNREADABLE_RESOURCES_MAP_ROW as Fl, noEchoMacParametersOf as Fn, deleteSkipReason as Fo, withCreateTokenLedger as Fr, outputReferenceProvenanceOf as Fs, relayedIndexBusyDelete as Ft, redirectDockerAsset as Fu, streamDeclaresTags as G, memberReadFailure as Ga, refuseMalformedResourceEntriesForDestroy as Gc, withoutSuperseded as Gi, withoutUnwrittenSdkUnwiredProperties as Gl, withMovedTo as Gn, isSettledInstanceState as Go, replacementNeverSwapped as Gr, carriesDynamicReference as Gs, refactorMarkerMovesOf as Gt, AssetModeResolver as Gu, readStreamPolicy as H, declaredPolicyDocument as Ha, refuseMalformedResourceAttributesForOrphan as Hc, supersededHeldByOtherTypeWarning as Hi, unwrittenCreateOnlyReplacement as Hl, hintSidesOf as Hn, isAlwaysLiveAttribute as Ho, planFailedOps as Hr, isImpossibleEmptyStoredAttribute as Hs, recordRetainedForReadoption as Ht, resolveFileAssetSourcePath as Hu, DynamoDBGlobalTableProvider as I, withoutSiblingOwned as Ia, unreadableOrphanRecords as Ic, getStackRecords as Ii, displayLogicalId as Il, noEchoMacVerdict as In, withIndeterminateGuard as Io, acquireIdempotencyToken as Ir, recordedOutputReferenceRegions as Is, waitForIndexesSettled as It, redirectFileAsset as Iu, streamTagsMatchDeclared as J, settleDeclaredMember as Ja, refuseMalformedResourceEntriesForOrphan as Jc, resolveReplacementOldType as Ji, PROPERTY_COVERAGE_BY_TYPE as Jl, changedReferenceReason as Jn, maskedSecretSegment as Jo, attemptUsesCompletedCreate as Jr, namesRecreatedParent as Js, sameMove as Jt, assertAssetBucketRegion as Ju, streamMemberRefusals as K, policyDocumentMatchesDeclared as Ka, refuseMalformedResourceEntriesForImport as Kc, replacedDeleteFailureVerdict as Ki, NO_CC_HANDLERS_REASON as Kl, changedReferenceInDiff as Kn, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Ko, IMPLICIT_DELETE_DEPENDENCIES as Kr, keepsSecretReferenceToken as Ks, refactorMarkerRefusalMessage as Kt, ensureAssetStorage as Ku, STREAM_POLICY_KEY as L, KMS_DEFAULT_KEY_POLICY_ID as La, isReadableResourceEntry as Lc, withStackRecords as Li, hasReadableOutputs as Ll, noEchoValueMacsOf as Ln, getReadOnlyPropertyPaths as Lo, planRollback as Lr, recordedProvenanceOf as Ls, ECR_AUTO_DELETE_IMAGES_TAG as Lt, rewriteTemplateAssetReferences as Lu, PROTECTION_PROPERTY_BY_TYPE as M, collectManagedPolicyArnsAttachedBySiblings as Ma, refuseMalformedOrphanRecordsForDestroy as Mc, DEFAULT_RESOURCE_WARN_AFTER_MS as Mi, accountArgs as Ml, NOECHO_MAC_KEY_ALIAS as Mn, UNSPECIFIED_SKIP_REASON as Mo, earliestDefined as Mr, extractGetAttRefs as Ms, TABLE_INDEX_NOUN as Mt, isDefaultBootstrapBucketName as Mu, isProtectionValueActive as N, collectPrincipalsAttachingPolicy as Na, refuseMalformedOrphansForOrphan as Nc, maskingRetryLogger as Ni, withheldAccountClause as Nl, createNoEchoValueMacs as Nn, deleteIndeterminateGuards as No, ledgerForStack as Nr, promoteInPlaceAttributeDependents as Ns, deleteTableWithIndexBusyRetry as Nt, isDefaultBootstrapRepoName as Nu, serviceTokenBlockingReason as O, unsupportedFinalSnapshotError as Oa, malformedOrphanRecordsWarning as Oc, collectPublishedOutputNames as Oi, refuseMalformedResourcesForExport as Ol, planOrphanAdoption as On, RecordedIdentityMismatchError as Oo, updatePartialMessage as Or, refStateLookupFromResource as Os, resolveDynamoDbDeleteBudgetClock as Ot, buildAssetRedirectMap as Ou, perType as P, isStoredExpression as Pa, repairMalformedOrphanRecordsForReadOnly as Pc, awaitInFlightSibling as Pi, STATE_RESOURCES_MALFORMED as Pl, noEchoMacBinding as Pn, deleteLeftInPlace as Po, reserveStackCreateToken as Pr, keepHeldTokenProvenance as Ps, maskedLogger as Pt, loadPublishableAssetManifest as Pu, isDynamoDBTableArnIn as Q, policyContentKey as Qa, malformedResourcePropertiesWarning as Qc, cyan as Qi, isKnownTokenFreeState as Ql, mappingPairs as Qn, resolveDynamicReferences as Qo, redactedDeleteAddressFields as Qr, replacementSidesForLog as Qs, licensedNameHolder as Qt, readBootstrapMarkerBody as Qu, STREAM_TAGS_KEY as R, LAMBDA_PERMISSION_STATEMENT_KEYS as Ra, malformedLocalResourceEntriesWarning as Rc, deleteSupersededEntry as Ri, hasReadableResources as Rl, constructPathOf as Rn, isWaitAbandonedError as Ro, seedsDeleteFirstGuard as Rr, recordedReferenceRegions as Rs, S3_AUTO_DELETE_OBJECTS_TAG as Rt, AssetManifestLoader as Ru, hasPendingMovesOut as S, PRE_DELETE_SNAPSHOT_TYPES as Sa, passedParameterClassesOf as Sc, carriedExportAliasExposure as Si, refuseDivergentRecordRegionForDestroy as Sl, isHandledOrphan as Sn, setLocalCustomResourceRuntimeEnabled as So, settleUnsettledPrevious as Sr, coerceParameterTypedValue as Ss, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as St, ssmResolvedValueType as Su, refusePendingMovesOut as T, effectiveDeletionPolicy as Ta, deployRefusesOrphanRowsReason as Tc, isWholeDynamicReferenceValue as Ti, malformedStateRefusalMessage as Tl, sameJournaledOrphans as Tn, CloudControlProvider as To, equalModuloMarkedMask as Tr, AWS_NO_VALUE as Ts, beginDeleteWait as Tt, decodeListingKey as Tu, reverseMapStreamPolicy as U, efsPolicyMatchesDeclared as Ua, refuseMalformedResourceEntries as Uc, supersededHolderOf as Ui, withoutAcceptedSdkUnwiredProperties as Ul, movedToHint as Un, poisonRenderedSpellingsCollidingIn as Uo, recheckFailedPlan as Ur, carriesFetchableDynamicReference as Us, readRefactorMarker as Ut, warnAbsoluteAssetPath as Uu, planStreamMemberOps as V, declaredMemberDocument as Va, malformedScrubResourceEntriesRefusalMessage as Vc, supersededAfterRollback as Vi, findSdkUnwiredProperties as Vl, findRefactorHints as Vn, isSelectOutOfBounds as Vo, isReplacementOrphan as Vr, getAccountInfo as Vs, keptForRetainedRecord as Vt, parseAssetManifestBody as Vu, streamDeclaresPolicy as W, lambdaPermissionMatchesDeclared as Wa, refuseMalformedResourceEntriesForDeploy as Wc, supersededResourcesOf as Wi, withoutSdkUnwiredProperties as Wl, rollbackOrphanIds as Wn, stackIdTailOf as Wo, recordUnderIdIsNotOwn as Wr, isNamelessDynamicReferenceError as Ws, readRefactorMarkerOnce as Wt, warnWholeAssemblyAsSource as Wu, clearTagWrites as X, verbatimEchoDriftKeys as Xa, unreadableResourceEntries as Xc, findNestedStackTypeChanges as Xi, S3StateBackend as Xl, isPairableType as Xn, secretSegmentsOfState as Xo, REDACTED_DELETE_ADDRESS_SKIP_REASON as Xr, containsIntrinsic as Xs, macWriteOnlyKeys as Xt, getBootstrapMarkerKey as Xu, TAGS_BASELINE_REREAD_DELAYS_MS as Y, warnUnsettledMember as Ya, repairMalformedResourceEntriesForReadOnly as Yc, withPreviousPolicies as Yi, TemplateParser as Yl, differingRemedy as Yn, secretPhysicalIdSegment as Yo, readsRegeneratingSecret as Yr, INTRINSIC_KEYS as Ys, updateRefactorMarker as Yt, isCrossRegionRedirect as Yu, declaredTagsReadback as Z, attemptedPolicyDocument as Za, malformedDriftResourcePropertiesWarning as Zc, bold as Zi, splitImportedOps as Zl, looselyEqual as Zn, withSecretPhysicalIdsMaskedInState as Zo, isRedactedRecordedValue as Zr, markNewValueKnownAfterDeploy as Zs, readsOnlyNoEchoParameters as Zt, parseBootstrapMarker as Zu, conditionFingerprint as _, secretNamedRecordNeedles as _a, inputFingerprinter as _c, resolveBucketRegion as _d, displayTextOrWithheld as _i, refuseMalformedNestedChildOutputs as _l, getCurrentNestedStackContext as _n, customResourceStackName as _o, replayFailedOperations as _r, s3BucketArn as _s, planIndexContributorInsightsOps as _t, listNestedTemplateRows as _u, scanActiveConsumers as a, noEchoExactEchoLeavesOf as aa, MULTI_REGION_RECREATE_BLOCKED_TYPES as ac, hasOwnKey as ad, nameScopeOf as ai, UNREADABLE_ORPHANS_CONTAINER_ROW as al, resolvePendingCloudControlRequests as an, classifyHandleUrl as ao, undeclaredGrantSiblingMembers as ar, isIamRoleArn as as, planTimeToLive as at, applyCrossPrefixScan as au, readRecordedConditionVerdicts as b, extractDeploymentEventError as ba, parameterInputsFor as bc, secretBearingStateKeyWarning as bi, repairMalformedOutputsForReadOnly as bl, dropFailedCommands as bn, localCustomResourceCommand as bo, buildReadCurrentStateContext as br, s3BucketRegionalDomainName as bs, reverseMapTableContributorInsights as bt, SSM_PARAMETER_VALUE_PREFIX as bu, nestedSsmNameDeferredNote as c, createReadOnlyAttributeHealerFactory as ca, renderStatefulReason as cc, ownValue as cd, retiredNameGenerationsLeaving as ci, malformedOrphansWarning as cl, displacedPhysicalIdShown as cn, applyCustomResourceResponseExpiration as co, sgSiblingDecidedById as cr, AWS_CREDENTIAL_ENV_KEYS as cs, planVectorIndexUpdates as ct, isNotImplemented as cu, slashedSsmNameHealAdoptedNote as d, maskEventTextWithBoundBags as da, isWarmThroughputDecrease as dc, describeFileReadFailure as dd, inheritProducerRegions as di, repairMalformedOrphansForReadOnly as dl, nestedChildStackName as dn, TemplateNoEchoReresolver as do, withoutSiblingOwnedSgRules as dr, envCredentialsAreAssumedRole as ds, vectorIndexesSettled as dt, isSecretValuedAttribute as du, green as ea, LEGACY_HANDLE_ID_PREFIX as ec, validateContainerRepoName as ed, segmentCleanupOptions as ei, refuseMalformedResourcePropertiesForDestroy as el, chunks as en, ProviderRegistry as eo, propertiesChangedReason as er, refuseUnreadableCdkCrossAccountRefs as es, settleWrittenTags as et, hasReasonlessBaselineRefusal as eu, slashedSsmNameHealNote as f, namingSecretsWithRecordedNoEcho as fa, toCfnInteger as fc, displayAssemblyPath as fd, computeParameterTaint as fi, malformedExportNamesWarning as fl, recordDisplacedSkips as fn, readsNoEchoDeleteValues as fo, SG_RULE_ID_PATTERN as fr, classifyRecordedSecretRegion as fs, vectorIndexesShapeDetail as ft, isSensitiveAttributeName as fu, makeCanonicalizePropertiesFn as g, secretNamedAttributeNamesOf as ga, tryGetTopLevelWriteOnlyProperties as gc, clearBucketRegionCache as gd, WITHHELD_NAME_DISPLAY as gi, malformedOutputsWarning as gl, collectNestedChildUnaddressed as gn, NO_LOCAL_CUSTOM_RESOURCES_FLAG as go, canonicalizeIpProtocolValue as gr, isUnexposedRecordedIdentity as gs, planContributorInsightsOp as gt, isAbsoluteAssetPath as gu, inheritedProvenanceForChildDiff as h, secretNamePrintingBags as ha, getTopLevelKeysHoldingUnreadableCreateOnly as hc, resolveAssemblyPath as hd, resourcesNamingDeclaredParameter as hi, malformedOutputsRefusalMessage as hl, withNestedRevertRun as hn, withPrintingSecrets as ho, sgProtocolKey as hr, regionLessSecretName as hs, indexDeclaresContributorInsights as ht, findNestedTemplateTreeDefect as hu, mergeNoChangeOutputs as i, noEchoComparisonForTemplate as ia, shownType as ic, defineOwnKey as id, nameGenerationHighWaterOf as ii, repairMalformedResourcePropertiesForReadOnly as il, pendingRequestCount as in, WaitConditionSignalStore as io, stripSiblingOwnedParentMembers as ir, explicitRoleArnOrThrow as is, isTtlRateLimited as it, CrossPrefixScanCache as iu, recordedProtectionNote as j, collectGroupsAddedBySiblings as ja, refuseMalformedOrphanRecords as jc, DEFAULT_RESOURCE_TIMEOUT_MS as ji, JSON_LISTING_HOLE_VALUE as jl, crossStackReadsForPartialSave as jn, RollbackInlinePolicyWriters as jo, replacementCreateRoutesToCloudControl as jr, parseWebACLArn as js, INDEX_SETTLE_POLL_INTERVAL_MS as jt, flattenAssetPlaceholders as ju, diffSecurity as k, createPreDeleteFinalSnapshot as ka, malformedOrphanRowsKeptWarning as kc, isExportAliasCollision as ki, refuseMalformedState as kl, DeploymentEventsReader as kn, assertRecordedIdentity as ko, updatePartialReason as kr, lacksRecordedRefArn as ks, resolveDynamoDbDeleteBudgetMs as kt, createAssetRedirectResolver as ku, nestedSsmNameRowNote as l, completedReplayEntries as la, WARM_THROUGHPUT_MEMBERS as lc, absoluteAssemblyPathEscape as ld, withNameGenerationReached as li, refuseMalformedOrphans as ll, dropSettledNestedJournals as ln, customResourceResponseExpirationWarning as lo, siblingOwnedSgRuleIdentities as lr, applyCallerIdentityCredentials as ls, readbackVectorIndexes as lt, stackInstanceIdOf as lu, crossStackOutputProvenanceSource as m, secretNamePrintingBag as ma, getSettledWriteOnlyPropertyPaths as mc, renderAssemblyPathEscape as md, reachableDivergentParameters as mi, malformedLocalOutputsWarning as ml, revertedNestedRowIds as mn, getCurrentResourceSecrets as mo, recordedSgRuleId as mr, producerRegionsFromState as ms, contributorInsightsRefusals as mt, missingStateBucketRemedy as mu, isSecretBearingReferenceString as n, yellow as na, findReplacedReadersOfRecreateTargets as nc, getCdkdAssetBucketName as nd, orphanNeedsIdentity as ni, refuseMalformedResourcePropertiesForExport as nl, lookupEachName as nn, isCustomResource as no, referencedLogicalIds as nr, assertFlagRoleArn as ns, takeTagWrite as nt, rebuildClientForBucketRegion as nu, inRunStackKey as o, noEchoParameterNamesOf as oa, isStatefulRecreateTargetForReplace as oc, hasPlainPrototype as od, retiredAfterRollback as oi, hasReadableOrphans as ol, NESTED_PENDING_PARENT_REASON as on, evaluateSignals as oo, recordedRuleIdOf as or, parseIamRoleArn as os, readTtlSpec as ot, crossPrefixDeniedWarning as ou, slashedSsmNameHealPendingNote as p, orphanRecordsPrintingBag as pa, toFiniteNumber as pc, namesTheSameDirectory as pd, namesAnyDeclaredParameter as pi, malformedExportSourceWarning as pl, revertNestedChildFromJournal as pn, isCustomResourceType as po, cfnIngressPortValue as pr, classifyReplaySecretRegion as ps, CONTRIBUTOR_INSIGHTS_KEY as pt, stringifyValue as pu, streamPolicyMatchesDeclared as q, reReadUntilSettled as qa, refuseMalformedResourceEntriesForImportSave as qc, snapshotSegmentSurvivors as qi, hasNoCloudControlHandlers as ql, changedReferencePath as qn, displayPhysicalId as qo, computeImplicitDeleteEdges as qr, withSharedDrainBudget as qs, refuseRefactorMarker as qt, buildDenyExternalAccessPolicy as qu, keptWholeReasonText as r, noEchoAttributeNamesOf as ra, isPlainReferenceTo as rc, getCdkdContainerRepoName as rd, nameGenerationCarriedFrom as ri, refuseMalformedResourcePropertiesForOrphan as rl, withApiLimit as rn, wouldReturnToSdkProvider as ro, siblingOwnedRevertDesired as rr, assertSendableRoleArn as rs, isTtlAlreadyDisabled as rt, CrossPrefixReadError as ru, checkNestedSsmNames as s, withAttemptedItemsMasked as sa, isStatefulRecreateTargetSync as sc, nullPrototypeRecord as sd, retiredNameGenerationsAfter as si, malformedOrphansRefusalMessage as sl, displacedOpClause as sn, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as so, sgRuleOwnershipIdentity as sr, sendableAssumeRoleCommand as ss, sendTtlWaitingOutRateLimit as st, isAccessDenied$1 as su, DeployEngine as t, red as ta, isLegacyHandleId as tc, BOOTSTRAP_MARKER_PREFIX as td, removeProtectionTypeList as ti, refuseMalformedResourcePropertiesForDrift as tl, isAccessDeniedError as tn, ccBrokenReason as to, proposeRenames as tr, applyRoleArnIfSet as ts, tagsMatchDeclared as tt, hasUnverifiableParameterRefusal as tu, healSlashedSsmParameterNames as u, journaledOrphanPrintingBag as ua, coerceWarmThroughput as uc, assemblyPathEscape as ud, getCurrentProducerRegions as ui, refuseMalformedOrphansForDestroy as ul, getNestedRevertRun as un, responsePresignClient as uo, siblingRecordedSgRuleIds as ur, callerEnvCredentials as us, vectorIndexesForCreate as ut, withStackInstanceIdWithheld as uu, conditionInputsFrom as v, stateSecretNameNeedles as va, maskedPropertyFingerprintsOf as vc, exportAliasCollisionScrubWarning as vi, refuseMalformedOutputs as vl, withNestedStackContext as vn, customResourcesFailedWithoutApp as vo, replayRollback as vr, s3BucketDomainName as vs, readContributorInsightsSpec as vt, renderNestedTemplateTreeDefect as vu, pendingMovesRefusalMessage as w, ccRoutedInstanceTakesNoSnapshot as wa, maskedPropertyFingerprint as wc, exportNameSecretExposure as wi, malformedResourcesWarning as wl, loadJournaledOrphans as wn, waitForLambdaFunctionActive as wo, calculateResourceDrift as wr, parameterTypeMayLoseSecretIdentity as ws, DYNAMODB_DELETE_POLL_COST_MS as wt, purgeNoncurrentKeyVersions as wu, childTemplateLoader as x, ATOMIC_FINAL_SNAPSHOT_TYPES as xa, maskedInputProof as xc, secretSafeKeyDisplay as xi, STATE_REGION_DIVERGED as xl, dropFailedHint as xn, localCustomResourceRuntimeActive as xo, recordAfterRollbackUpdate as xr, s3BucketWebsiteUrl as xs, stripIndexContributorInsights as xt, isListParameterType as xu, parentSuppliedValues as y, storedSecretNameNeedles as ya, movedMaskedProperties as yc, secretBearing as yi, refuseMalformedOutputsForDestroy as yl, deleteJournaledOrphans as yn, customResourcesRunWithoutApp as yo, DELETED_RESOURCE_REMEDY as yr, s3BucketDualStackDomainName as ys, reverseMapIndexContributorInsights as yt, templateIdentity as yu, declaredStreamPolicyMember as z, OWN_WRITE_REREAD_DELAYS_MS as za, malformedLocalResourcesWarning as zc, holdsSupersededResources as zi, findActionableSdkUnwired as zl, findDestructiveChanges as zn, markWaitAbandoned as zo, demoteSupersededOrphans as zr, referenceProvenanceOf as zs, hasCdkAutoDeleteTag as zt, getDockerImageBySourceHash as zu };
|
|
54653
|
-
//# sourceMappingURL=deploy-engine-
|
|
55175
|
+
export { recordTagWrite as $, verbatimEchoDriftKeys as $a, refuseMalformedResourcePropertiesForDestroy as $c, findNestedStackTypeChanges as $i, hasReasonlessBaselineRefusal as $l, isPairableType as $n, refuseUnreadableCdkCrossAccountRefs as $o, REDACTED_DELETE_ADDRESS_SKIP_REASON as $r, LEGACY_HANDLE_ID_PREFIX as $s, macWriteOnlyKeys as $t, validateContainerRepoName as $u, recordedProtectionEvidence as A, refusesFinalSnapshot as Aa, refuseMalformedOrphanRecords as Ac, collectDeclaredOutputNames as Ai, JSON_LISTING_HOLE_VALUE as Al, makeSiblingClaimReader as An, RollbackInlinePolicyWriters as Ao, undeclaredEmptyObservedKeys as Ar, parseWebACLArn as As, DELETE_INDEX_WAIT_PROCEED_NOTE as At, flattenAssetPlaceholders as Au, declaredStreamTagsMember as B, KMS_DEFAULT_KEY_POLICY_ID as Ba, malformedScrubResourceEntriesRefusalMessage as Bc, withStackRecords as Bi, findSdkUnwiredProperties as Bl, noEchoValueMacsOf as Bn, isSelectOutOfBounds as Bo, planRollback as Br, getAccountInfo as Bs, isTruthyCfnBoolean as Bt, parseAssetManifestBody as Bu, pendingMovesOutOf as C, extractDeploymentEventError as Ca, maskedPropertyFingerprint as Cc, secretBearingStateKeyWarning as Ci, malformedResourcesWarning as Cl, dropFailedCommands as Cn, localCustomResourceCommand as Co, buildReadCurrentStateContext as Cr, parameterTypeMayLoseSecretIdentity as Cs, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as Ct, purgeNoncurrentKeyVersions as Cu, findServiceTokenRefusals as D, ccRoutedInstanceTakesNoSnapshot as Da, malformedOrphanRecordsWarning as Dc, exportNameSecretExposure as Di, refuseMalformedResourcesForExport as Dl, loadJournaledOrphans as Dn, waitForLambdaFunctionActive as Do, calculateResourceDrift as Dr, refStateLookupFromResource as Ds, deleteBudgetKey as Dt, buildAssetRedirectMap as Du, deferredServiceTokenWarning as E, ccRoutedFinalSnapshotError as Ea, malformedOrphanRecordsRefusalMessage as Ec, exportNameNoEchoParameters as Ei, refuseMalformedResourcesForDestroy as El, journaledOrphanLines as En, withCustomResourceStack as Eo, withUnprovenUnsettled as Er, isStalePlaceholderArnAttribute as Es, compensateRemovedDeletionProtection as Et, synthesizedStacks as Eu, readProtection as F, collectManagedPolicyArnsAttachedBySiblings as Fa, unreadableOrphanRecords as Fc, DEFAULT_RESOURCE_WARN_AFTER_MS as Fi, displayLogicalId as Fl, NOECHO_MAC_KEY_ALIAS as Fn, withIndeterminateGuard as Fo, earliestDefined as Fr, recordedOutputReferenceRegions as Fs, relayedIndexBusyDelete as Ft, redirectFileAsset as Fu, streamDeclaresTags as G, declaredPolicyDocument as Ga, refuseMalformedResourceEntriesForImport as Gc, supersededHeldByOtherTypeWarning as Gi, NO_CC_HANDLERS_REASON as Gl, hintSidesOf as Gn, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Go, planFailedOps as Gr, keepsSecretReferenceToken as Gs, refactorMarkerMovesOf as Gt, ensureAssetStorage as Gu, readStreamPolicy as H, OWN_WRITE_REREAD_DELAYS_MS as Ha, refuseMalformedResourceEntries as Hc, holdsSupersededResources as Hi, withoutAcceptedSdkUnwiredProperties as Hl, findDestructiveChanges as Hn, poisonRenderedSpellingsCollidingIn as Ho, demoteSupersededOrphans as Hr, carriesFetchableDynamicReference as Hs, recordRetainedForReadoption as Ht, warnAbsoluteAssetPath as Hu, DynamoDBGlobalTableProvider as I, collectPrincipalsAttachingPolicy as Ia, isReadableResourceEntry as Ic, maskingRetryLogger as Ii, hasReadableOutputs as Il, createNoEchoValueMacs as In, getReadOnlyPropertyPaths as Io, ledgerForStack as Ir, recordedProvenanceOf as Is, waitForIndexesSettled as It, rewriteTemplateAssetReferences as Iu, streamTagsMatchDeclared as J, memberReadFailure as Ja, repairMalformedResourceEntriesForReadOnly as Jc, withoutSuperseded as Ji, TemplateParser as Jl, withMovedTo as Jn, secretPhysicalIdSegment as Jo, replacementNeverSwapped as Jr, INTRINSIC_KEYS as Js, sameMove as Jt, isCrossRegionRedirect as Ju, streamMemberRefusals as K, efsPolicyMatchesDeclared as Ka, refuseMalformedResourceEntriesForImportSave as Kc, supersededHolderOf as Ki, hasNoCloudControlHandlers as Kl, movedToHint as Kn, displayPhysicalId as Ko, recheckFailedPlan as Kr, withSharedDrainBudget as Ks, refactorMarkerRefusalMessage as Kt, buildDenyExternalAccessPolicy as Ku, STREAM_POLICY_KEY as L, isStoredExpression as La, malformedLocalResourceEntriesWarning as Lc, awaitInFlightSibling as Li, hasReadableResources as Ll, noEchoMacBinding as Ln, isWaitAbandonedError as Lo, reserveStackCreateToken as Lr, recordedReferenceRegions as Ls, ECR_AUTO_DELETE_IMAGES_TAG as Lt, AssetManifestLoader as Lu, PROTECTION_PROPERTY_BY_TYPE as M, createPreDeleteFinalSnapshot as Ma, refuseMalformedOrphansForOrphan as Mc, isExportAliasCollision as Mi, withheldAccountClause as Ml, DeploymentEventsReader as Mn, deleteIndeterminateGuards as Mo, updatePartialReason as Mr, promoteInPlaceAttributeDependents as Ms, TABLE_INDEX_NOUN as Mt, isDefaultBootstrapRepoName as Mu, isProtectionValueActive as N, buildFinalSnapshotIdentifier as Na, repairMalformedOrphanRecordsForReadOnly as Nc, bindingSkippedOutputs as Ni, STATE_RESOURCES_MALFORMED as Nl, DeploymentEventsStore as Nn, deleteLeftInPlace as No, findUpdatePolicyReplacementRefusals as Nr, keepHeldTokenProvenance as Ns, deleteTableWithIndexBusyRetry as Nt, loadPublishableAssetManifest as Nu, serviceTokenBlockingReason as O, effectiveDeletionPolicy as Oa, malformedOrphanRowsKeptWarning as Oc, isWholeDynamicReferenceValue as Oi, refuseMalformedState as Ol, sameJournaledOrphans as On, CloudControlProvider as Oo, equalModuloMarkedMask as Or, lacksRecordedRefArn as Os, resolveDynamoDbDeleteBudgetClock as Ot, createAssetRedirectResolver as Ou, perType as P, collectGroupsAddedBySiblings as Pa, unpreviewableOrphanRecords as Pc, DEFAULT_RESOURCE_TIMEOUT_MS as Pi, UNREADABLE_RESOURCES_MAP_ROW as Pl, crossStackReadsForPartialSave as Pn, deleteSkipReason as Po, replacementCreateRoutesToCloudControl as Pr, outputReferenceProvenanceOf as Ps, maskedLogger as Pt, redirectDockerAsset as Pu, isDynamoDBTableArnIn as Q, warnUnsettledMember as Qa, refuseMalformedResourceProperties as Qc, withPreviousPolicies as Qi, readOnlyStateVersionOf as Ql, differingRemedy as Qn, producerLookupOver as Qo, readsRegeneratingSecret as Qr, siblingsOf as Qs, removeSignalReceiverNamed as Qt, validateAssetBucketName as Qu, STREAM_TAGS_KEY as R, withoutSiblingAttachedArns as Ra, malformedLocalResourcesWarning as Rc, destroyStackRecordsView as Ri, findActionableSdkUnwired as Rl, noEchoMacParametersOf as Rn, markWaitAbandoned as Ro, withCreateTokenLedger as Rr, referenceProvenanceOf as Rs, S3_AUTO_DELETE_OBJECTS_TAG as Rt, getDockerImageBySourceHash as Ru, hasPendingMovesOut as S, storedSecretNameNeedles as Sa, declaresNoEcho as Sc, secretBearing as Si, malformedRenderedContainersWarning as Sl, deleteJournaledOrphans as Sn, customResourcesRunWithoutApp as So, DELETED_RESOURCE_REMEDY as Sr, isUnboundTemplateParameter as Ss, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as St, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Su, refusePendingMovesOut as T, PRE_DELETE_SNAPSHOT_TYPES as Ta, isReadableOrphanRecord as Tc, carriedExportAliasExposure as Ti, refuseMalformedResourcesForDeploy as Tl, isHandledOrphan as Tn, setLocalCustomResourceRuntimeEnabled as To, settleUnsettledPrevious as Tr, cfnRefValueFromPhysicalId as Ts, beginDeleteWait as Tt, rememberSynthesizedStacks as Tu, reverseMapStreamPolicy as U, SNS_DEFAULT_POLICY_ID as Ua, refuseMalformedResourceEntriesForDeploy as Uc, isSupersededResourceRecord as Ui, withoutSdkUnwiredProperties as Ul, formatDestructiveChange as Un, stackIdTailOf as Uo, isJournaledOrphan as Ur, isNamelessDynamicReferenceError as Us, readRefactorMarker as Ut, warnWholeAssemblyAsSource as Uu, planStreamMemberOps as V, LAMBDA_PERMISSION_STATEMENT_KEYS as Va, refuseMalformedResourceAttributesForOrphan as Vc, deleteSupersededEntry as Vi, unwrittenCreateOnlyReplacement as Vl, constructPathOf as Vn, isAlwaysLiveAttribute as Vo, seedsDeleteFirstGuard as Vr, isImpossibleEmptyStoredAttribute as Vs, keptForRetainedRecord as Vt, resolveFileAssetSourcePath as Vu, streamDeclaresPolicy as W, declaredMemberDocument as Wa, refuseMalformedResourceEntriesForDestroy as Wc, supersededAfterRollback as Wi, withoutUnwrittenSdkUnwiredProperties as Wl, findRefactorHints as Wn, isSettledInstanceState as Wo, isReplacementOrphan as Wr, carriesDynamicReference as Ws, readRefactorMarkerOnce as Wt, AssetModeResolver as Wu, clearTagWrites as X, reReadUntilSettled as Xa, malformedDriftResourcePropertiesWarning as Xc, snapshotSegmentSurvivors as Xi, splitImportedOps as Xl, changedReferencePath as Xn, withSecretPhysicalIdsMaskedInState as Xo, computeImplicitDeleteEdges as Xr, markNewValueKnownAfterDeploy as Xs, deleteSignalReceiver as Xt, parseBootstrapMarker as Xu, TAGS_BASELINE_REREAD_DELAYS_MS as Y, policyDocumentMatchesDeclared as Ya, unreadableResourceEntries as Yc, replacedDeleteFailureVerdict as Yi, S3StateBackend as Yl, changedReferenceInDiff as Yn, secretSegmentsOfState as Yo, IMPLICIT_DELETE_DEPENDENCIES as Yr, containsIntrinsic as Ys, updateRefactorMarker as Yt, getBootstrapMarkerKey as Yu, declaredTagsReadback as Z, settleDeclaredMember as Za, malformedResourcePropertiesWarning as Zc, resolveReplacementOldType as Zi, isKnownTokenFreeState as Zl, changedReferenceReason as Zn, resolveDynamicReferences as Zo, attemptUsesCompletedCreate as Zr, replacementSidesForLog as Zs, isReceiver as Zt, readBootstrapMarkerBody as Zu, conditionFingerprint as _, secretNamePrintingBag as _a, maskedPropertyFingerprintsOf as _c, reachableDivergentParameters as _i, refuseMalformedOutputs as _l, revertedNestedRowIds as _n, getCurrentResourceSecrets as _o, recordedSgRuleId as _r, s3BucketDomainName as _s, planIndexContributorInsightsOps as _t, renderNestedTemplateTreeDefect as _u, scanActiveConsumers as a, yellow as aa, isStatefulRecreateTargetForReplace as ac, hasPlainPrototype as ad, orphanNeedsIdentity as ai, hasReadableOrphans as al, lookupEachName as an, isCustomResource as ao, referencedLogicalIds as ar, parseIamRoleArn as as, planTimeToLive as at, crossPrefixDeniedWarning as au, readRecordedConditionVerdicts as b, secretNamedRecordNeedles as ba, maskedInputProof as bc, displayTextOrWithheld as bi, STATE_REGION_DIVERGED as bl, getCurrentNestedStackContext as bn, customResourceStackName as bo, replayFailedOperations as br, s3BucketWebsiteUrl as bs, reverseMapTableContributorInsights as bt, isListParameterType as bu, nestedSsmNameDeferredNote as c, noEchoExactEchoLeavesOf as ca, WARM_THROUGHPUT_MEMBERS as cc, absoluteAssemblyPathEscape as cd, nameScopeOf as ci, refuseMalformedOrphans as cl, resolvePendingCloudControlRequests as cn, classifyHandleUrl as co, undeclaredGrantSiblingMembers as cr, applyCallerIdentityCredentials as cs, planVectorIndexUpdates as ct, stackInstanceIdOf as cu, slashedSsmNameHealAdoptedNote as d, createReadOnlyAttributeHealerFactory as da, toCfnInteger as dc, displayAssemblyPath as dd, retiredNameGenerationsLeaving as di, malformedExportNamesWarning as dl, displacedPhysicalIdShown as dn, applyCustomResourceResponseExpiration as do, sgSiblingDecidedById as dr, classifyRecordedSecretRegion as ds, vectorIndexesSettled as dt, isSensitiveAttributeName as du, bold as ea, isLegacyHandleId as ec, BOOTSTRAP_MARKER_PREFIX as ed, isRedactedRecordedValue as ei, refuseMalformedResourcePropertiesForDrift as el, readsOnlyNoEchoParameters as en, attemptedPolicyDocument as eo, looselyEqual as er, applyRoleArnIfSet as es, settleWrittenTags as et, hasUnverifiableParameterRefusal as eu, slashedSsmNameHealNote as f, completedReplayEntries as fa, toFiniteNumber as fc, namesTheSameDirectory as fd, withNameGenerationReached as fi, malformedExportSourceWarning as fl, dropSettledNestedJournals as fn, customResourceResponseExpirationWarning as fo, siblingOwnedSgRuleIdentities as fr, classifyReplaySecretRegion as fs, vectorIndexesShapeDetail as ft, stringifyValue as fu, makeCanonicalizePropertiesFn as g, orphanRecordsPrintingBag as ga, inputFingerprinter as gc, resolveBucketRegion as gd, namesAnyDeclaredParameter as gi, refuseMalformedNestedChildOutputs as gl, revertNestedChildFromJournal as gn, isCustomResourceType as go, cfnIngressPortValue as gr, s3BucketArn as gs, planContributorInsightsOp as gt, listNestedTemplateRows as gu, inheritedProvenanceForChildDiff as h, namingSecretsWithRecordedNoEcho as ha, tryGetTopLevelWriteOnlyProperties as hc, clearBucketRegionCache as hd, computeParameterTaint as hi, malformedOutputsWarning as hl, recordDisplacedSkips as hn, readsNoEchoDeleteValues as ho, SG_RULE_ID_PATTERN as hr, isUnexposedRecordedIdentity as hs, indexDeclaresContributorInsights as ht, isAbsoluteAssetPath as hu, mergeNoChangeOutputs as i, red as ia, MULTI_REGION_RECREATE_BLOCKED_TYPES as ic, hasOwnKey as id, removeProtectionTypeList as ii, UNREADABLE_ORPHANS_CONTAINER_ROW as il, isAccessDeniedError as in, ccBrokenReason as io, proposeRenames as ir, isIamRoleArn as is, isTtlRateLimited as it, applyCrossPrefixScan as iu, recordedProtectionNote as j, unsupportedFinalSnapshotError as ja, refuseMalformedOrphanRecordsForDestroy as jc, collectPublishedOutputNames as ji, accountArgs as jl, planOrphanAdoption as jn, UNSPECIFIED_SKIP_REASON as jo, updatePartialMessage as jr, extractGetAttRefs as js, INDEX_SETTLE_POLL_INTERVAL_MS as jt, isDefaultBootstrapBucketName as ju, diffSecurity as k, isFinalSnapshotError as ka, previewableOrphanRecords as kc, noEchoParameterValueSeed as ki, repairMalformedResourcesForReadOnly as kl, makeForeignHolderScan as kn, waitForGoneAfterDelete as ko, equalModuloMask as kr, lacksRecordedTableArn as ks, resolveDynamoDbDeleteBudgetMs as kt, createLazyAssetModeContext as ku, nestedSsmNameRowNote as l, noEchoParameterNamesOf as la, coerceWarmThroughput as lc, assemblyPathEscape as ld, retiredAfterRollback as li, refuseMalformedOrphansForDestroy as ll, NESTED_PENDING_PARENT_REASON as ln, evaluateSignals as lo, recordedRuleIdOf as lr, callerEnvCredentials as ls, readbackVectorIndexes as lt, withStackInstanceIdWithheld as lu, crossStackOutputProvenanceSource as m, maskEventTextWithBoundBags as ma, getTopLevelKeysHoldingUnreadableCreateOnly as mc, resolveAssemblyPath as md, inheritProducerRegions as mi, malformedOutputsRefusalMessage as ml, nestedChildStackName as mn, TemplateNoEchoReresolver as mo, withoutSiblingOwnedSgRules as mr, regionLessSecretName as ms, contributorInsightsRefusals as mt, findNestedTemplateTreeDefect as mu, isSecretBearingReferenceString as n, gray as na, isPlainReferenceTo as nc, getCdkdContainerRepoName as nd, redactedDeleteAddressSkip as ni, refuseMalformedResourcePropertiesForOrphan as nl, formatResourceLine as nn, CC_BROKEN_REASON as no, parseMappingFile as nr, assertSendableRoleArn as ns, takeTagWrite as nt, CrossPrefixReadError as nu, inRunStackKey as o, noEchoAttributeNamesOf as oa, isStatefulRecreateTargetSync as oc, nullPrototypeRecord as od, nameGenerationCarriedFrom as oi, malformedOrphansRefusalMessage as ol, withApiLimit as on, wouldReturnToSdkProvider as oo, siblingOwnedRevertDesired as or, sendableAssumeRoleCommand as os, readTtlSpec as ot, isAccessDenied$1 as ou, slashedSsmNameHealPendingNote as p, journaledOrphanPrintingBag as pa, getSettledWriteOnlyPropertyPaths as pc, renderAssemblyPathEscape as pd, getCurrentProducerRegions as pi, malformedLocalOutputsWarning as pl, getNestedRevertRun as pn, responsePresignClient as po, siblingRecordedSgRuleIds as pr, producerRegionsFromState as ps, CONTRIBUTOR_INSIGHTS_KEY as pt, missingStateBucketRemedy as pu, streamPolicyMatchesDeclared as q, lambdaPermissionMatchesDeclared as qa, refuseMalformedResourceEntriesForOrphan as qc, supersededResourcesOf as qi, PROPERTY_COVERAGE_BY_TYPE as ql, rollbackOrphanIds as qn, maskedSecretSegment as qo, recordUnderIdIsNotOwn as qr, namesRecreatedParent as qs, refuseRefactorMarker as qt, assertAssetBucketRegion as qu, keptWholeReasonText as r, green as ra, shownType as rc, defineOwnKey as rd, segmentCleanupOptions as ri, repairMalformedResourcePropertiesForReadOnly as rl, chunks as rn, ProviderRegistry as ro, propertiesChangedReason as rr, explicitRoleArnOrThrow as rs, isTtlAlreadyDisabled as rt, CrossPrefixScanCache as ru, checkNestedSsmNames as s, noEchoComparisonForTemplate as sa, renderStatefulReason as sc, ownValue as sd, nameGenerationHighWaterOf as si, malformedOrphansWarning as sl, pendingRequestCount as sn, WaitConditionSignalStore as so, stripSiblingOwnedParentMembers as sr, AWS_CREDENTIAL_ENV_KEYS as ss, sendTtlWaitingOutRateLimit as st, isNotImplemented as su, DeployEngine as t, cyan as ta, findReplacedReadersOfRecreateTargets as tc, getCdkdAssetBucketName as td, redactedDeleteAddressFields as ti, refuseMalformedResourcePropertiesForExport as tl, licensedNameHolder as tn, policyContentKey as to, mappingPairs as tr, assertFlagRoleArn as ts, tagsMatchDeclared as tt, rebuildClientForBucketRegion as tu, healSlashedSsmParameterNames as u, withAttemptedItemsMasked as ua, isWarmThroughputDecrease as uc, describeFileReadFailure as ud, retiredNameGenerationsAfter as ui, repairMalformedOrphansForReadOnly as ul, displacedOpClause as un, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as uo, sgRuleOwnershipIdentity as ur, envCredentialsAreAssumedRole as us, vectorIndexesForCreate as ut, isSecretValuedAttribute as uu, conditionInputsFrom as v, secretNamePrintingBags as va, movedMaskedProperties as vc, resourcesNamingDeclaredParameter as vi, refuseMalformedOutputsForDestroy as vl, withNestedRevertRun as vn, withPrintingSecrets as vo, sgProtocolKey as vr, s3BucketDualStackDomainName as vs, readContributorInsightsSpec as vt, templateIdentity as vu, pendingMovesRefusalMessage as w, ATOMIC_FINAL_SNAPSHOT_TYPES as wa, deployRefusesOrphanRowsReason as wc, secretSafeKeyDisplay as wi, malformedStateRefusalMessage as wl, dropFailedHint as wn, localCustomResourceRuntimeActive as wo, recordAfterRollbackUpdate as wr, AWS_NO_VALUE as ws, DYNAMODB_DELETE_POLL_COST_MS as wt, decodeListingKey as wu, childTemplateLoader as x, stateSecretNameNeedles as xa, passedParameterClassesOf as xc, exportAliasCollisionScrubWarning as xi, refuseDivergentRecordRegionForDestroy as xl, withNestedStackContext as xn, customResourcesFailedWithoutApp as xo, replayRollback as xr, coerceParameterTypedValue as xs, stripIndexContributorInsights as xt, ssmResolvedValueType as xu, parentSuppliedValues as y, secretNamedAttributeNamesOf as ya, parameterInputsFor as yc, WITHHELD_NAME_DISPLAY as yi, repairMalformedOutputsForReadOnly as yl, collectNestedChildUnaddressed as yn, NO_LOCAL_CUSTOM_RESOURCES_FLAG as yo, canonicalizeIpProtocolValue as yr, s3BucketRegionalDomainName as ys, reverseMapIndexContributorInsights as yt, SSM_PARAMETER_VALUE_PREFIX as yu, declaredStreamPolicyMember as z, withoutSiblingOwned as za, malformedResourceEntriesWarning as zc, getStackRecords as zi, findHandledUnwrittenCreateOnly as zl, noEchoMacVerdict as zn, IntrinsicFunctionResolver as zo, acquireIdempotencyToken as zr, referenceTokensIn as zs, hasCdkAutoDeleteTag as zt, isCfnTemplateAssetPath as zu };
|
|
55176
|
+
//# sourceMappingURL=deploy-engine-CkY2eTL9.js.map
|