@cdkd/cli 0.365.0 → 0.366.1
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-AnEvWPy0.js → ambient-client-defaults-CvOlhm1d.js} +16 -3
- package/dist/ambient-client-defaults-CvOlhm1d.js.map +1 -0
- package/dist/{asg-provider-BzCU3XtA.js → asg-provider-CBS6w9nU.js} +6 -6
- package/dist/{asg-provider-BzCU3XtA.js.map → asg-provider-CBS6w9nU.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-SB_NsQMH.js → custom-resource-runtime-nKBSJ8xg.js} +6 -6
- package/dist/{custom-resource-runtime-SB_NsQMH.js.map → custom-resource-runtime-nKBSJ8xg.js.map} +1 -1
- package/dist/{db-associated-roles-D1wmFO_Y.js → db-associated-roles-B1qNCxK9.js} +2 -2
- package/dist/{db-associated-roles-D1wmFO_Y.js.map → db-associated-roles-B1qNCxK9.js.map} +1 -1
- package/dist/{delete-started-BJNrzLUk.js → delete-started-BdH7k4V-.js} +6 -6
- package/dist/{delete-started-BJNrzLUk.js.map → delete-started-BdH7k4V-.js.map} +1 -1
- package/dist/{deploy-engine-BSqVfcSN.js → deploy-engine-BrbeNr1n.js} +370 -120
- package/dist/deploy-engine-BrbeNr1n.js.map +1 -0
- package/dist/{ec2-termination-protection-ekOvhSp9.js → ec2-termination-protection-C-QH13lG.js} +11 -6
- package/dist/ec2-termination-protection-C-QH13lG.js.map +1 -0
- package/dist/{ecr-uri-VpDi19pi.js → ecr-uri-7-3D0mhp.js} +2 -2
- package/dist/{ecr-uri-VpDi19pi.js.map → ecr-uri-7-3D0mhp.js.map} +1 -1
- package/dist/{expected-bucket-owner-CmPtCsrQ.js → expected-bucket-owner-C9e1dPk6.js} +2 -2
- package/dist/{expected-bucket-owner-CmPtCsrQ.js.map → expected-bucket-owner-C9e1dPk6.js.map} +1 -1
- package/dist/{iam-role-provider-Ct6UbKFo.js → iam-role-provider-ChwJY8pn.js} +11 -10
- package/dist/iam-role-provider-ChwJY8pn.js.map +1 -0
- package/dist/{image-plan-gTOaUUbI.js → image-plan-B1aW8zVe.js} +8 -8
- package/dist/{image-plan-gTOaUUbI.js.map → image-plan-B1aW8zVe.js.map} +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-IBUeRw1z.js → logger-0WCzMnXc.js} +6 -2
- package/dist/logger-0WCzMnXc.js.map +1 -0
- package/dist/{neptune-provider-QgaV_sKy.js → neptune-provider-BEkpYrGj.js} +7 -7
- package/dist/{neptune-provider-QgaV_sKy.js.map → neptune-provider-BEkpYrGj.js.map} +1 -1
- package/dist/{program-tHhew1Z5.js → program-73k0SoOP.js} +368 -55
- package/dist/program-73k0SoOP.js.map +1 -0
- package/dist/{provider-classes-DTMnDVMz.js → provider-classes-COU3GAT5.js} +310 -27
- package/dist/provider-classes-COU3GAT5.js.map +1 -0
- package/dist/{rds-provider-D2dkhl8m.js → rds-provider-D_ypFjdI.js} +10 -10
- package/dist/{rds-provider-D2dkhl8m.js.map → rds-provider-D_ypFjdI.js.map} +1 -1
- package/dist/{read-replica-CfbVMoYV.js → read-replica-D012SPdT.js} +3 -3
- package/dist/{read-replica-CfbVMoYV.js.map → read-replica-D012SPdT.js.map} +1 -1
- package/dist/{replacement-rules-BiIOJMA-.js → replacement-rules-S9fm3-4G.js} +3 -3
- package/dist/{replacement-rules-BiIOJMA-.js.map → replacement-rules-S9fm3-4G.js.map} +1 -1
- package/dist/{resource-deadline-BSpNiiNd.js → resource-deadline-BiWaN52w.js} +9 -5
- package/dist/{resource-deadline-BSpNiiNd.js.map → resource-deadline-BiWaN52w.js.map} +1 -1
- package/dist/{restore-source-guard-Be6A_rNB.js → restore-source-guard-BeTKRtrT.js} +4 -4
- package/dist/{restore-source-guard-Be6A_rNB.js.map → restore-source-guard-BeTKRtrT.js.map} +1 -1
- package/dist/{run-cli-BkrNHPD5.js → run-cli-CF35Yn-t.js} +2 -2
- package/dist/{run-cli-BkrNHPD5.js.map → run-cli-CF35Yn-t.js.map} +1 -1
- package/dist/{settle-own-write-members-BqAKt1e7.js → settle-own-write-members-B4QcneiO.js} +12 -12
- package/dist/{settle-own-write-members-BqAKt1e7.js.map → settle-own-write-members-B4QcneiO.js.map} +1 -1
- package/dist/{version-0AMFL2lR.js → version-Df9DK8jT.js} +2 -2
- package/dist/{version-0AMFL2lR.js.map → version-Df9DK8jT.js.map} +1 -1
- package/package.json +2 -1
- package/dist/ambient-client-defaults-AnEvWPy0.js.map +0 -1
- package/dist/deploy-engine-BSqVfcSN.js.map +0 -1
- package/dist/ec2-termination-protection-ekOvhSp9.js.map +0 -1
- package/dist/iam-role-provider-Ct6UbKFo.js.map +0 -1
- package/dist/logger-IBUeRw1z.js.map +0 -1
- package/dist/program-tHhew1Z5.js.map +0 -1
- package/dist/provider-classes-DTMnDVMz.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-Df9DK8jT.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-0WCzMnXc.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-CvOlhm1d.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, _ as onlySecretReferencesDiffer, 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, _ as onlySecretReferencesDiffer, 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-C-QH13lG.js";
|
|
7
7
|
import { i as sameRegion, n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
8
|
-
import {
|
|
9
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
10
|
-
import { At as SURVIVOR_IDENTITY_ATTRIBUTES, Bt as describeRegionValueKind, Et as identityWarner, Ft as keepRecordedIdentity, Gt as isReadableBag, It as newCopyDeleteAttributes, Jt as shouldRetainResource, Kt as orphansAfterRollback, Lt as replaceDeadIdentity, Nt as isRecordedIdentityAttribute, Ot as recordedIdentityId, Pt as isUsableIdentityValue, Tt as differingIdentityWarning, Ut as importableOutputKeys, Vt as exportNamesCarriedFrom, Wt as importableOutputs, Xt as stackInstanceIdCarriedFrom, Yt as skippedOutputsCarriedFrom, bt as lookupEachName, gt as deniedIdentityReadRefusal, ht as dbInstanceAttributes, i as dbClusterAttributes, jt as attributesAfterUpdate, kt as slowCcOperationTimeoutMs, n as isRefusedByName, qt as orphansCarriedFrom, r as markDeleteStarted, t as isDeleteStarted, wt as assertRecordedIdentity, yt as isAccessDeniedError, zt as acceptedCreateOnlyDropsOf } from "./delete-started-
|
|
11
|
-
import { $t as recordInheritedParameterValue, A as witnessNormalize, An as recordNoEchoAttributeValues, At as withoutPhysicalNameCopies, B as redactionClaimOf, Cn as noEchoParameterPlaintextsOf, Ct as withLegacyOverlapScan, D as recordedNoEchoValuesOf, Dn as recordFreshNoEchoValuesIn, Dt as replaceEmbeddedPhysicalNameRewrites, E as recordPassedNoEchoParameters, En as recordDerivedMaskOnlyValue, Et as repairPhysicalNameCopyLeaves, F as markLeafCertifiedBag, G as foldRecording, Gt as recordTakenIfBranch, H as mixedLiteralAnswered, Ht as splitOutsideDynamicReferences, I as markSameGenerationBag, In as isDynamicReferenceString, It as secretRerenderPairs, J as hasPassProvenance, Jt as templateRereadsAccountId, K as openRecordingScope, Kt as inheritedPseudoValue, L as mergeResolvedPairs, Ln as isSingleDynamicReferenceToken, M as carryRedactionMarks, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, N as intrinsicLeafResolutionOf, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, O as replaceAtCoordinates, Ot as scrubResourceRecord, P as isSameGenerationBag, Pn as withoutNoEchoParameterEntries, Q as recordReferenceResolution, Qt as recordInheritedParameterRead, R as recordIntrinsicLeafResolution, Rn as maskMatchSpans, S as noEchoParametersReadBy, Sn as markNoEchoParameterClass, St as replaceWholeLeaves, Tt as repairEmbeddedPhysicalNamesTowards, U as withLegacyMixedScan, Ut as standsForInheritedSecret, V as resolvedPlaintextOf, Vt as rereadParameterExpression, W as redactForState, Wt as recordDroppedArrayElements, X as passReadVersionsFor, Xt as inheritedParameterExpression, Y as passProvenanceFor, Yt as inheritNestedStackParameterAssociations, Z as recordReferenceProvenanceEntry, Zt as inheritedRenderedToken, _ as noEchoComparison, _n as freshNoEchoValuesOf, _t as maskSecretsInText, an as recordRecoverableMaskedOutput, at as literalSplitDelimitersOf, bn as isScopedSecretVerdict, bt as legacyReferenceLeavesOnly, c as parseLambdaFunctionAddress, ct as recordLogOnlyParameterValue, d as canonicalJson$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 { A as assertRegionMatch, B as refusalTypeShown, Bt as segmentAfterAnchor, D as withoutServerErrorRetries, Ft as compositeIdSeparatorRefusal, G as compensateProtectionFlip, Gt as maskDeep, H as resolveExplicitPhysicalId, Ht as createMaskedLogSinks, J as observeThenDisableProtection, Jt as RETRY_AUXILIARY_OWNER, K as deleteWithProtectionCompensation, Kt as maskerOrIdentity, L as isQuotableImportValue, Lt as logicalIdShown, Mt as withUnchangedSecretPrincipalLists, Nt as canonicalizeRoute53QueryName, Qt as createdResourceIdentityBeforeFailure, R as normalizeAwsTagsToCfn, St as startInterruptWatch, U as isMarkedNotGone, Ut as createMaskedRetryLogger, Vt as stateOrphanRecordRemedy, W as markNotGone, Wt as isSecretDerivedValue, Zt as createdBeforeFailure, _n as WAIT_CONDITION_SIGNAL_PREFIX, at as isTerminalDeleteFailure, bn as withPasteableAwsProfile, ct as ElapsedBudget, d as CreatedResourceSink, dt as DELETION_PROTECTION_DOC_POINTER, en as isAuxiliaryFailure, f as clearCreatedReport, g as retractCreatedResource, gn as DEFAULT_STATE_PREFIX, gt as protectedReplacementAdvice, hn as CUSTOM_RESOURCE_RESPONSE_PREFIX, ht as pasteableAwsCommand, i as withResourceDeadline, it as ProtectionFlipRegistry, k as RESOURCE_NOT_FOUND, lt as ElapsedBudgetRegistry, m as reportCreatedResource, mn as sanitizeRecoveryValue, n as enclosingDeadlineRemainingMs, nn as markAuxiliaryFailure, o as prepareRemovalForUpdate, ot as protectionFlipKey, p as collectCreatedResources, pn as recoveryCommandFlags, qt as withDerivedNameMasks, r as whileEnclosingDeadlinesPaused, rn as markCreatedBeforeFailure, s as removalWarning, st as runDeleteAttempt, t as enclosingDeadlineExpired, tn as isAuxiliaryMarkOf, u as withoutInjectedRemovals, ut as monotonicNowMs, wn as producerRecordKey, xn as injectiveKey, xt as isInterruptedWaitError, z as quotedRemedyLogicalId, zt as resourceTypeShown } from "./resource-deadline-BiWaN52w.js";
|
|
9
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-C9e1dPk6.js";
|
|
10
|
+
import { At as SURVIVOR_IDENTITY_ATTRIBUTES, Bt as describeRegionValueKind, Et as identityWarner, Ft as keepRecordedIdentity, Gt as isReadableBag, It as newCopyDeleteAttributes, Jt as shouldRetainResource, Kt as orphansAfterRollback, Lt as replaceDeadIdentity, Nt as isRecordedIdentityAttribute, Ot as recordedIdentityId, Pt as isUsableIdentityValue, Tt as differingIdentityWarning, Ut as importableOutputKeys, Vt as exportNamesCarriedFrom, Wt as importableOutputs, Xt as stackInstanceIdCarriedFrom, Yt as skippedOutputsCarriedFrom, bt as lookupEachName, gt as deniedIdentityReadRefusal, ht as dbInstanceAttributes, i as dbClusterAttributes, jt as attributesAfterUpdate, kt as slowCcOperationTimeoutMs, n as isRefusedByName, qt as orphansCarriedFrom, r as markDeleteStarted, t as isDeleteStarted, wt as assertRecordedIdentity, yt as isAccessDeniedError, zt as acceptedCreateOnlyDropsOf } from "./delete-started-BdH7k4V-.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-S9fm3-4G.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-BeTKRtrT.js";
|
|
13
13
|
import { createHash, randomUUID, timingSafeEqual } from "node:crypto";
|
|
14
14
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
15
15
|
import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client } from "@aws-sdk/client-s3";
|
|
@@ -82,7 +82,7 @@ async function resolveBucketRegion(bucketName, opts = {}) {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
try {
|
|
85
|
-
const { expectedOwnerParam } = await import("./expected-bucket-owner-
|
|
85
|
+
const { expectedOwnerParam } = await import("./expected-bucket-owner-C9e1dPk6.js").then((n) => n.n);
|
|
86
86
|
return (await client.send(new GetBucketLocationCommand({
|
|
87
87
|
Bucket: bucketName,
|
|
88
88
|
...await expectedOwnerParam(client)
|
|
@@ -2325,16 +2325,24 @@ function hasReasonlessBaselineRefusal(record) {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
|
|
2327
2327
|
// src/types/state.ts
|
|
2328
|
-
const STATE_SCHEMA_VERSION_CURRENT =
|
|
2328
|
+
const STATE_SCHEMA_VERSION_CURRENT = 18;
|
|
2329
|
+
const STATE_SCHEMA_VERSION_WITH_NOECHO_MACS = 17;
|
|
2329
2330
|
const STATE_SCHEMA_VERSION_WITHOUT_NOECHO_MACS = 16;
|
|
2330
2331
|
function carriesNoEchoValueMacs(record) {
|
|
2331
2332
|
return record !== null && typeof record === "object" && record.noEchoValueMacs !== void 0;
|
|
2332
2333
|
}
|
|
2334
|
+
function carriesVersionAttestation(record) {
|
|
2335
|
+
if (record === null || typeof record !== "object") return false;
|
|
2336
|
+
const field = record.referenceProvenance;
|
|
2337
|
+
if (field === null || typeof field !== "object") return false;
|
|
2338
|
+
return Object.values(field).some((entry) => entry !== null && typeof entry === "object" && entry.versionsSent !== void 0);
|
|
2339
|
+
}
|
|
2333
2340
|
function stateSchemaVersionFor(state) {
|
|
2334
2341
|
const records = [];
|
|
2335
2342
|
if (state.resources !== null && typeof state.resources === "object") records.push(...Object.values(state.resources));
|
|
2336
2343
|
if (Array.isArray(state.orphans)) for (const orphan of state.orphans) records.push(orphan?.state);
|
|
2337
2344
|
if (Array.isArray(state.supersededResources)) for (const entry of state.supersededResources) records.push(entry?.state);
|
|
2345
|
+
if (records.some(carriesVersionAttestation)) return 18;
|
|
2338
2346
|
return records.some(carriesNoEchoValueMacs) ? 17 : 16;
|
|
2339
2347
|
}
|
|
2340
2348
|
const STATE_SCHEMA_VERSIONS_READABLE = [
|
|
@@ -2354,12 +2362,13 @@ const STATE_SCHEMA_VERSIONS_READABLE = [
|
|
|
2354
2362
|
14,
|
|
2355
2363
|
15,
|
|
2356
2364
|
16,
|
|
2357
|
-
17
|
|
2365
|
+
17,
|
|
2366
|
+
18
|
|
2358
2367
|
];
|
|
2359
2368
|
function classifyStateRecordAccess(version, minReaderVersion) {
|
|
2360
2369
|
if (version === void 0) return { kind: "writable" };
|
|
2361
2370
|
if (STATE_SCHEMA_VERSIONS_READABLE.includes(version)) return { kind: "writable" };
|
|
2362
|
-
if (typeof version === "number" && Number.isSafeInteger(version) && version >
|
|
2371
|
+
if (typeof version === "number" && Number.isSafeInteger(version) && version > 18 && STATE_SCHEMA_VERSIONS_READABLE.includes(minReaderVersion)) return {
|
|
2363
2372
|
kind: "read-only",
|
|
2364
2373
|
version
|
|
2365
2374
|
};
|
|
@@ -2379,7 +2388,7 @@ function readOnlyStateVersionOf(state) {
|
|
|
2379
2388
|
const marked = state[READ_ONLY_STATE_MARK];
|
|
2380
2389
|
if (typeof marked === "number") return marked;
|
|
2381
2390
|
const version = state.version;
|
|
2382
|
-
if (typeof version === "number" && version >
|
|
2391
|
+
if (typeof version === "number" && version > 18) return version;
|
|
2383
2392
|
}
|
|
2384
2393
|
|
|
2385
2394
|
// src/state/create-token-ledger.ts
|
|
@@ -4394,6 +4403,9 @@ const RESET_VALUES = {
|
|
|
4394
4403
|
FilterPolicyScope: "MessageAttributes",
|
|
4395
4404
|
RedrivePolicy: ""
|
|
4396
4405
|
};
|
|
4406
|
+
function wireAttributeValue(name, value) {
|
|
4407
|
+
return name === "RedrivePolicy" && value === RESET_VALUES.RedrivePolicy ? void 0 : value;
|
|
4408
|
+
}
|
|
4397
4409
|
const UNRESETTABLE_REASONS = {
|
|
4398
4410
|
DeliveryPolicy: "DeliveryPolicy removed, which SNS cannot reset",
|
|
4399
4411
|
ReplayPolicy: "ReplayPolicy removed, which SNS cannot reset",
|
|
@@ -6764,6 +6776,26 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6764
6776
|
primaryIdentifier: /* @__PURE__ */ new Set(["RevisionArn"]),
|
|
6765
6777
|
ccRouteUnavailable: false
|
|
6766
6778
|
}],
|
|
6779
|
+
["AWS::Lightsail::Alarm", {
|
|
6780
|
+
handled: /* @__PURE__ */ new Set([
|
|
6781
|
+
"AlarmName",
|
|
6782
|
+
"ComparisonOperator",
|
|
6783
|
+
"ContactProtocols",
|
|
6784
|
+
"DatapointsToAlarm",
|
|
6785
|
+
"EvaluationPeriods",
|
|
6786
|
+
"MetricName",
|
|
6787
|
+
"MonitoredResourceName",
|
|
6788
|
+
"NotificationEnabled",
|
|
6789
|
+
"NotificationTriggers",
|
|
6790
|
+
"Threshold",
|
|
6791
|
+
"TreatMissingData"
|
|
6792
|
+
]),
|
|
6793
|
+
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6794
|
+
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6795
|
+
readOnly: /* @__PURE__ */ new Set(["AlarmArn", "State"]),
|
|
6796
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["AlarmName"]),
|
|
6797
|
+
ccRouteUnavailable: false
|
|
6798
|
+
}],
|
|
6767
6799
|
["AWS::Logs::Delivery", {
|
|
6768
6800
|
handled: /* @__PURE__ */ new Set([
|
|
6769
6801
|
"DeliveryDestinationArn",
|
|
@@ -10183,6 +10215,9 @@ function getWriteOnlyKeysKeptWhenOmitted(resourceType, properties, previousPrope
|
|
|
10183
10215
|
}
|
|
10184
10216
|
return result;
|
|
10185
10217
|
}
|
|
10218
|
+
function writeOnlyKeysKeptWhenOmittedCandidates(resourceType) {
|
|
10219
|
+
return new Set([...WRITE_ONLY_KEYS_KEPT_WHEN_OMITTED.get(resourceType)?.keys() ?? []].filter((key) => !isWriteOnlyKeyRefusedOnUpdate(resourceType, key)));
|
|
10220
|
+
}
|
|
10186
10221
|
function getSettledWriteOnlyPropertyPaths(resourceType) {
|
|
10187
10222
|
return settledWriteOnlyPaths.get(resourceType) ?? [];
|
|
10188
10223
|
}
|
|
@@ -11015,6 +11050,7 @@ const NAME_ADOPTING_SDK_CREATE_TYPES = /* @__PURE__ */ new Set([
|
|
|
11015
11050
|
"AWS::ElasticLoadBalancingV2::LoadBalancer",
|
|
11016
11051
|
"AWS::ElasticLoadBalancingV2::TargetGroup",
|
|
11017
11052
|
"AWS::Events::Rule",
|
|
11053
|
+
"AWS::Lightsail::Alarm",
|
|
11018
11054
|
"AWS::Logs::LogGroup",
|
|
11019
11055
|
"AWS::S3::Bucket",
|
|
11020
11056
|
"AWS::SNS::Topic",
|
|
@@ -12329,9 +12365,35 @@ function validateReferenceProvenance(token, raw) {
|
|
|
12329
12365
|
if (Array.isArray(versionsRaw) && versionsRaw.length > 0 && versionsRaw.length <= 8 && versionsRaw.every((v) => isValidReferenceVersion(token, v)) && (readRaw === void 0 || readRaw.every((v) => typeof v === "string"))) {
|
|
12330
12366
|
out.versions = [...new Set(versionsRaw)].sort();
|
|
12331
12367
|
if (readRaw !== void 0 && readRaw.length > 0) out.readVersions = [...new Set(readRaw)].sort();
|
|
12368
|
+
if (Object.hasOwn(raw, "versionsSent") && raw["versionsSent"] === true) out.versionsSent = true;
|
|
12332
12369
|
}
|
|
12333
12370
|
return out;
|
|
12334
12371
|
}
|
|
12372
|
+
function withTokenVersionsDropped(record, tokens) {
|
|
12373
|
+
const field = referenceProvenanceOf(record);
|
|
12374
|
+
if (field === void 0 || tokens.size === 0) return record;
|
|
12375
|
+
const out = { ...field };
|
|
12376
|
+
for (const token of tokens) {
|
|
12377
|
+
if (!Object.hasOwn(field, token)) continue;
|
|
12378
|
+
const region = field[token].region;
|
|
12379
|
+
out[token] = region === void 0 ? {} : { region };
|
|
12380
|
+
}
|
|
12381
|
+
return withReferenceProvenance(record, out);
|
|
12382
|
+
}
|
|
12383
|
+
function withoutVersionAttestation(record) {
|
|
12384
|
+
const field = record.referenceProvenance;
|
|
12385
|
+
if (!isPlainObject$9(field)) return record;
|
|
12386
|
+
if (!Object.values(field).some((entry) => isPlainObject$9(entry) && Object.hasOwn(entry, "versionsSent"))) return record;
|
|
12387
|
+
const out = {};
|
|
12388
|
+
for (const [token, entry] of Object.entries(field)) if (isPlainObject$9(entry) && Object.hasOwn(entry, "versionsSent")) {
|
|
12389
|
+
const { versionsSent: _dropped, ...rest } = entry;
|
|
12390
|
+
out[token] = rest;
|
|
12391
|
+
} else out[token] = entry;
|
|
12392
|
+
return {
|
|
12393
|
+
...record,
|
|
12394
|
+
referenceProvenance: out
|
|
12395
|
+
};
|
|
12396
|
+
}
|
|
12335
12397
|
function referenceProvenanceOf(record) {
|
|
12336
12398
|
if (!isPlainObject$9(record) || !Object.hasOwn(record, "referenceProvenance")) return void 0;
|
|
12337
12399
|
return validatedBag(record["referenceProvenance"]);
|
|
@@ -12411,7 +12473,7 @@ function tokensUnderPaths(properties, paths) {
|
|
|
12411
12473
|
return out;
|
|
12412
12474
|
}
|
|
12413
12475
|
function provenanceForWrittenRecord(args) {
|
|
12414
|
-
const { record, secrets, previous, inPlace } = args;
|
|
12476
|
+
const { record, secrets, previous, inPlace, attest } = args;
|
|
12415
12477
|
const previousField = inPlace === void 0 ? void 0 : referenceProvenanceOf(previous);
|
|
12416
12478
|
if (!hasPassProvenance(secrets) && previousField === void 0 && args.walkWithoutPassProvenance !== true) return;
|
|
12417
12479
|
const tokens = recordReferenceTokens(record);
|
|
@@ -12425,12 +12487,15 @@ function provenanceForWrittenRecord(args) {
|
|
|
12425
12487
|
for (const token of [...tokens].sort()) {
|
|
12426
12488
|
const pass = passProvenanceFor(secrets, token);
|
|
12427
12489
|
if (kept === void 0 || !kept.has(token)) {
|
|
12428
|
-
|
|
12490
|
+
const entry = persistable(token, pass);
|
|
12491
|
+
if (attest?.has(token) === true && entry.versions?.length === 1 && entry.region !== void 0) entry.versionsSent = true;
|
|
12492
|
+
out[token] = entry;
|
|
12429
12493
|
continue;
|
|
12430
12494
|
}
|
|
12431
12495
|
const before = previousField !== void 0 && Object.hasOwn(previousField, token) ? previousField[token] : void 0;
|
|
12432
12496
|
if (pass === void 0) {
|
|
12433
|
-
|
|
12497
|
+
const { versionsSent: _carried, ...carried } = before ?? {};
|
|
12498
|
+
out[token] = carried;
|
|
12434
12499
|
continue;
|
|
12435
12500
|
}
|
|
12436
12501
|
out[token] = persistable(token, unionWithPrevious(pass, before));
|
|
@@ -19264,9 +19329,15 @@ async function updateInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
19264
19329
|
const keptOnPreviousSide = getTopLevelKeysHoldingUnreadableCreateOnly(resourceType, cleanProperties);
|
|
19265
19330
|
const keptWhenOmitted = getWriteOnlyKeysKeptWhenOmitted(resourceType, cleanProperties, cleanPreviousProperties, writeOnlyProperties);
|
|
19266
19331
|
const previousWithoutWriteOnly = { ...cleanPreviousProperties };
|
|
19332
|
+
const unchangedSecret = context?.unchangedWriteOnlySecretProperties;
|
|
19267
19333
|
for (const propertyName of writeOnlyProperties) {
|
|
19268
19334
|
const previous = cleanPreviousProperties[propertyName];
|
|
19269
19335
|
const desired = cleanProperties[propertyName];
|
|
19336
|
+
if (unchangedSecret?.has(propertyName) === true && keptWhenOmitted.has(propertyName) && onlySecretReferencesDiffer(desired, previous, context?.maskSecrets)) {
|
|
19337
|
+
previousWithoutWriteOnly[propertyName] = desired;
|
|
19338
|
+
idLog.debug(`${logicalId}: ${propertyName} is left out of the patch: its secret version is the one last sent`);
|
|
19339
|
+
continue;
|
|
19340
|
+
}
|
|
19270
19341
|
if ((keptOnPreviousSide.has(propertyName) || keptWhenOmitted.has(propertyName)) && isDeepStrictEqual(previous, desired)) continue;
|
|
19271
19342
|
if (keptWhenOmitted.has(propertyName) && isWriteOnlyKeyRefusedOnUpdate(resourceType, propertyName) && onlySecretReferencesDiffer(desired, previous, context?.maskSecrets)) {
|
|
19272
19343
|
previousWithoutWriteOnly[propertyName] = desired;
|
|
@@ -20521,7 +20592,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
20521
20592
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
20522
20593
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
20523
20594
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
20524
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
20595
|
+
const { ASGProvider } = await import("./asg-provider-CBS6w9nU.js");
|
|
20525
20596
|
const delegateRegion = ambientRegion();
|
|
20526
20597
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
20527
20598
|
if (asgProvider === void 0) {
|
|
@@ -20676,7 +20747,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
|
|
|
20676
20747
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
20677
20748
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
20678
20749
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
20679
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
20750
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-D_ypFjdI.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-BEkpYrGj.js"))).NeptuneProvider({ region: ccRegion });
|
|
20680
20751
|
this.sdkDeleteDelegates.set(family, {
|
|
20681
20752
|
region: ccRegion,
|
|
20682
20753
|
provider
|
|
@@ -23252,7 +23323,7 @@ async function publishToSns(topicArn, request) {
|
|
|
23252
23323
|
}
|
|
23253
23324
|
async function invokeLambda(serviceToken, request) {
|
|
23254
23325
|
if (localCustomResourceRuntimeActive()) {
|
|
23255
|
-
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-
|
|
23326
|
+
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-nKBSJ8xg.js");
|
|
23256
23327
|
const local = await invokeCustomResourceFunctionLocally({
|
|
23257
23328
|
lambda: this.lambdaClient,
|
|
23258
23329
|
s3: this.s3Client
|
|
@@ -25724,6 +25795,7 @@ const PROPERTY_SHAPES = /* @__PURE__ */ new Map([
|
|
|
25724
25795
|
["AWS::Lambda::Url", "{\"Cors\":\"object\",\"Cors.AllowHeaders\":\"array\",\"Cors.AllowMethods\":\"array\",\"Cors.AllowOrigins\":\"array\",\"Cors.ExposeHeaders\":\"array\"}"],
|
|
25725
25796
|
["AWS::Lambda::WebFunctionEndpoint", "{\"RegionalEndpoints\":\"object\",\"Regions\":\"array\",\"RevisionWeights\":\"array\",\"RevisionWeights[]\":\"object\",\"ScalingConfig\":\"object\",\"ThrottleConfig\":\"object\"}"],
|
|
25726
25797
|
["AWS::Lambda::WebFunctionRevision", "{\"BuildConfig\":\"object\",\"BuildConfig.CodeConfig\":\"object\",\"BuildConfig.CodeConfig.S3Object\":\"object\",\"BuildConfig.RuntimeConfig\":\"object\",\"ServiceConfig\":\"object\",\"ServiceConfig.EnvironmentVariables\":\"object\",\"ServiceConfig.TelemetryConfig\":\"object\",\"ServiceConfig.TelemetryConfig.LoggingConfig\":\"object\"}"],
|
|
25798
|
+
["AWS::Lightsail::Alarm", "{\"ContactProtocols\":\"array\",\"NotificationTriggers\":\"array\"}"],
|
|
25727
25799
|
["AWS::Logs::Delivery", "{\"RecordFields\":\"array\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
25728
25800
|
["AWS::Logs::DeliveryDestination", "{\"DeliveryDestinationPolicy\":\"object\",\"DeliveryDestinationPolicy.DeliveryDestinationPolicy\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
25729
25801
|
["AWS::Logs::DeliverySource", "{\"DeliverySourceConfiguration\":\"object\",\"ResourceArns\":\"array\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
@@ -27919,7 +27991,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
|
|
|
27919
27991
|
if (resourceType !== "AWS::RDS::DBInstance") return false;
|
|
27920
27992
|
if (region === void 0 || region === "") return false;
|
|
27921
27993
|
const mask = input.mask ?? ((text) => text);
|
|
27922
|
-
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-
|
|
27994
|
+
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-D012SPdT.js").then((n) => n.l);
|
|
27923
27995
|
let reason;
|
|
27924
27996
|
try {
|
|
27925
27997
|
const live = await describeDBInstanceInRegion(physicalId, region);
|
|
@@ -27937,50 +28009,6 @@ function unsupportedFinalSnapshotError(logicalId, resourceType, skipFlagHint) {
|
|
|
27937
28009
|
return new CdkdError(`${logicalIdShown(logicalId)} (${resourceTypeShown(resourceType)}) has DeletionPolicy: Snapshot, but cdkd does not implement final snapshots for this type (CloudFormation itself only supports Snapshot on: EC2 Volume, ElastiCache CacheCluster / ReplicationGroup, Neptune / RDS / DocDB clusters, RDS instances, Redshift clusters). Deleting it now would destroy its data WITHOUT the final snapshot the policy promises. Re-run with ${skipFlagHint} to delete WITHOUT a final snapshot (DATA LOSS), or retain the resource (DeletionPolicy: Retain) and delete it manually after snapshotting.`, "FINAL_SNAPSHOT_UNSUPPORTED");
|
|
27938
28010
|
}
|
|
27939
28011
|
|
|
27940
|
-
// src/deployment/deploy-engine/replacement/delete-context.ts
|
|
27941
|
-
function replacementDeleteContext(deps, updateReplacePolicy) {
|
|
27942
|
-
return {
|
|
27943
|
-
deletionPolicy: replacementDeletePolicy(updateReplacePolicy),
|
|
27944
|
-
...deps.options.skipFinalSnapshot === true && { skipFinalSnapshot: true }
|
|
27945
|
-
};
|
|
27946
|
-
}
|
|
27947
|
-
async function prepareFinalSnapshotForDelete(deps, logicalId, resourceType, currentResource, policy, mask) {
|
|
27948
|
-
const attemptStartedAt = Date.now();
|
|
27949
|
-
if (policy !== "Snapshot" || deps.options.skipFinalSnapshot === true) return void 0;
|
|
27950
|
-
if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resourceType) && currentResource.provisionedBy !== "cc-api") return buildFinalSnapshotIdentifier(currentResource.physicalId, resourceType);
|
|
27951
|
-
if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resourceType)) {
|
|
27952
|
-
if (await ccRoutedInstanceTakesNoSnapshot({
|
|
27953
|
-
resourceType,
|
|
27954
|
-
logicalId,
|
|
27955
|
-
physicalId: currentResource.physicalId,
|
|
27956
|
-
region: deps.stackRegion,
|
|
27957
|
-
logger: deps.logger,
|
|
27958
|
-
...mask !== void 0 && { mask }
|
|
27959
|
-
})) return void 0;
|
|
27960
|
-
throw ccRoutedFinalSnapshotError(logicalId, resourceType, "--skip-final-snapshot");
|
|
27961
|
-
}
|
|
27962
|
-
if (PRE_DELETE_SNAPSHOT_TYPES.has(resourceType)) {
|
|
27963
|
-
await takePreDeleteSnapshot(deps, logicalId, resourceType, currentResource.physicalId, mask, { attemptStartedAt });
|
|
27964
|
-
return;
|
|
27965
|
-
}
|
|
27966
|
-
throw unsupportedFinalSnapshotError(logicalId, resourceType, "--skip-final-snapshot");
|
|
27967
|
-
}
|
|
27968
|
-
async function prepareCreateFirstFinalSnapshot(deps, logicalId, resourceType, currentResource, policy, mask) {
|
|
27969
|
-
if (policy === "Snapshot" && deps.options.skipFinalSnapshot !== true && PRE_DELETE_SNAPSHOT_TYPES.has(resourceType)) return buildFinalSnapshotIdentifier(currentResource.physicalId, resourceType);
|
|
27970
|
-
return prepareFinalSnapshotForDelete(deps, logicalId, resourceType, currentResource, policy, mask);
|
|
27971
|
-
}
|
|
27972
|
-
function owesPreDeleteSnapshot(resourceType, finalSnapshotIdentifier) {
|
|
27973
|
-
return finalSnapshotIdentifier !== void 0 && PRE_DELETE_SNAPSHOT_TYPES.has(resourceType);
|
|
27974
|
-
}
|
|
27975
|
-
async function takePreDeleteSnapshot(deps, logicalId, resourceType, physicalId, mask, options) {
|
|
27976
|
-
const logger = mask === void 0 ? deps.logger : {
|
|
27977
|
-
info: (message) => deps.logger.info(mask(message)),
|
|
27978
|
-
debug: (message) => deps.logger.debug(mask(message))
|
|
27979
|
-
};
|
|
27980
|
-
const clients = deps.options.finalSnapshotClients ?? getAwsClients();
|
|
27981
|
-
await createPreDeleteFinalSnapshot(resourceType, physicalId, logicalId, clients, logger, options);
|
|
27982
|
-
}
|
|
27983
|
-
|
|
27984
28012
|
// src/deployment/deploy-engine/masking/remedy.ts
|
|
27985
28013
|
function maskedRecordRemedyFor(reads, resources, causeScoped = false) {
|
|
27986
28014
|
const NESTED_STACK_RESOURCE_TYPE = "AWS::CloudFormation::Stack";
|
|
@@ -28671,6 +28699,15 @@ function secretNamedRecordNeedles(resources, secrets, bag = /* @__PURE__ */ new
|
|
|
28671
28699
|
for (const [logicalId, record] of Object.entries(resources)) for (const needle of storedRecordNameNeedles(logicalId, record, namingBagOf(secrets, logicalId)) ?? []) recordLogOnlyValue(bag, needle);
|
|
28672
28700
|
return bag;
|
|
28673
28701
|
}
|
|
28702
|
+
function stackSecretNamesMasker(resources, secrets, extra = () => []) {
|
|
28703
|
+
const records = structuredClone(resources);
|
|
28704
|
+
let needles;
|
|
28705
|
+
return (own) => (text) => createUnionSecretMasker([
|
|
28706
|
+
...own,
|
|
28707
|
+
...extra(),
|
|
28708
|
+
needles ??= secretNamedRecordNeedles(records, secrets)
|
|
28709
|
+
])(text);
|
|
28710
|
+
}
|
|
28674
28711
|
function secretNamePrintingBag(logicalId, resources) {
|
|
28675
28712
|
return secretNamePrintingBags(resources, void 0)(logicalId);
|
|
28676
28713
|
}
|
|
@@ -29430,6 +29467,15 @@ function secretNameBagFor(run, logicalId) {
|
|
|
29430
29467
|
}
|
|
29431
29468
|
return bag;
|
|
29432
29469
|
}
|
|
29470
|
+
function stackSecretNameMasker(run, own = []) {
|
|
29471
|
+
return (text) => createUnionSecretMasker([
|
|
29472
|
+
...own,
|
|
29473
|
+
run.preDeploySecretNamedRecords,
|
|
29474
|
+
run.fingerprintNoEchoValues,
|
|
29475
|
+
...run.secretNameNeedles.values(),
|
|
29476
|
+
...run.perResourceSecrets.values()
|
|
29477
|
+
])(text);
|
|
29478
|
+
}
|
|
29433
29479
|
function noteSecretNamedRecord(run, logicalId, record) {
|
|
29434
29480
|
const needles = secretNameNeedlesOf(logicalId, record, namingSecretsFor(run, logicalId), { embedded: run.perResourceSecrets.get(logicalId) });
|
|
29435
29481
|
if (needles === void 0) return void 0;
|
|
@@ -29490,6 +29536,51 @@ function printingSecretsFor(run, logicalId) {
|
|
|
29490
29536
|
return unionOfSecretBags([secrets, registry]);
|
|
29491
29537
|
}
|
|
29492
29538
|
|
|
29539
|
+
// src/deployment/deploy-engine/replacement/delete-context.ts
|
|
29540
|
+
function replacementDeleteContext(deps, updateReplacePolicy) {
|
|
29541
|
+
return {
|
|
29542
|
+
deletionPolicy: replacementDeletePolicy(updateReplacePolicy),
|
|
29543
|
+
...deps.options.skipFinalSnapshot === true && { skipFinalSnapshot: true },
|
|
29544
|
+
maskStackSecretNames: stackSecretNameMasker(deps.secretsRun())
|
|
29545
|
+
};
|
|
29546
|
+
}
|
|
29547
|
+
async function prepareFinalSnapshotForDelete(deps, logicalId, resourceType, currentResource, policy, mask) {
|
|
29548
|
+
const attemptStartedAt = Date.now();
|
|
29549
|
+
if (policy !== "Snapshot" || deps.options.skipFinalSnapshot === true) return void 0;
|
|
29550
|
+
if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resourceType) && currentResource.provisionedBy !== "cc-api") return buildFinalSnapshotIdentifier(currentResource.physicalId, resourceType);
|
|
29551
|
+
if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resourceType)) {
|
|
29552
|
+
if (await ccRoutedInstanceTakesNoSnapshot({
|
|
29553
|
+
resourceType,
|
|
29554
|
+
logicalId,
|
|
29555
|
+
physicalId: currentResource.physicalId,
|
|
29556
|
+
region: deps.stackRegion,
|
|
29557
|
+
logger: deps.logger,
|
|
29558
|
+
...mask !== void 0 && { mask }
|
|
29559
|
+
})) return void 0;
|
|
29560
|
+
throw ccRoutedFinalSnapshotError(logicalId, resourceType, "--skip-final-snapshot");
|
|
29561
|
+
}
|
|
29562
|
+
if (PRE_DELETE_SNAPSHOT_TYPES.has(resourceType)) {
|
|
29563
|
+
await takePreDeleteSnapshot(deps, logicalId, resourceType, currentResource.physicalId, mask, { attemptStartedAt });
|
|
29564
|
+
return;
|
|
29565
|
+
}
|
|
29566
|
+
throw unsupportedFinalSnapshotError(logicalId, resourceType, "--skip-final-snapshot");
|
|
29567
|
+
}
|
|
29568
|
+
async function prepareCreateFirstFinalSnapshot(deps, logicalId, resourceType, currentResource, policy, mask) {
|
|
29569
|
+
if (policy === "Snapshot" && deps.options.skipFinalSnapshot !== true && PRE_DELETE_SNAPSHOT_TYPES.has(resourceType)) return buildFinalSnapshotIdentifier(currentResource.physicalId, resourceType);
|
|
29570
|
+
return prepareFinalSnapshotForDelete(deps, logicalId, resourceType, currentResource, policy, mask);
|
|
29571
|
+
}
|
|
29572
|
+
function owesPreDeleteSnapshot(resourceType, finalSnapshotIdentifier) {
|
|
29573
|
+
return finalSnapshotIdentifier !== void 0 && PRE_DELETE_SNAPSHOT_TYPES.has(resourceType);
|
|
29574
|
+
}
|
|
29575
|
+
async function takePreDeleteSnapshot(deps, logicalId, resourceType, physicalId, mask, options) {
|
|
29576
|
+
const logger = mask === void 0 ? deps.logger : {
|
|
29577
|
+
info: (message) => deps.logger.info(mask(message)),
|
|
29578
|
+
debug: (message) => deps.logger.debug(mask(message))
|
|
29579
|
+
};
|
|
29580
|
+
const clients = deps.options.finalSnapshotClients ?? getAwsClients();
|
|
29581
|
+
await createPreDeleteFinalSnapshot(resourceType, physicalId, logicalId, clients, logger, options);
|
|
29582
|
+
}
|
|
29583
|
+
|
|
29493
29584
|
// src/utils/colors.ts
|
|
29494
29585
|
const codes = {
|
|
29495
29586
|
reset: "\x1B[0m",
|
|
@@ -29879,6 +29970,9 @@ function withReplayDeletePrinting(scope, fn) {
|
|
|
29879
29970
|
const deployBag = scope.ctx.logOnlyNeedlesFor?.(scope.op.logicalId);
|
|
29880
29971
|
return withPrintingSecrets(scope.secrets, () => deployBag === void 0 ? fn() : withPrintingSecrets(deployBag, fn));
|
|
29881
29972
|
}
|
|
29973
|
+
function replayStackMask(scope) {
|
|
29974
|
+
return scope.ctx.maskStackSecretNames?.([scope.secrets, scope.ctx.logOnlyNeedlesFor?.(scope.op.logicalId)]);
|
|
29975
|
+
}
|
|
29882
29976
|
function noteRolledBackCreate(scope, op, record) {
|
|
29883
29977
|
if (op.changeType !== "CREATE") return;
|
|
29884
29978
|
const create = {
|
|
@@ -30485,7 +30579,8 @@ async function deleteSupersededEntry(entry, input) {
|
|
|
30485
30579
|
recordedCreateOnlyDrops: record.acceptedCreateOnlyDrops,
|
|
30486
30580
|
recordedNoEchoLeaves: record.noEchoLeaves,
|
|
30487
30581
|
recordedTypedPayloadLeaves: record.typedPayloadLeaves,
|
|
30488
|
-
maskSecrets: input.maskSecrets
|
|
30582
|
+
maskSecrets: input.maskSecrets,
|
|
30583
|
+
...input.maskStackSecretNames !== void 0 && { maskStackSecretNames: input.maskStackSecretNames }
|
|
30489
30584
|
});
|
|
30490
30585
|
result = input.once === true ? await send() : await retryWhileInUse(send, input.stop);
|
|
30491
30586
|
} catch (error) {
|
|
@@ -32220,6 +32315,11 @@ async function runMovedIdCleanups(queue, scope) {
|
|
|
32220
32315
|
secrets: entry.secrets
|
|
32221
32316
|
}, () => entry.provider.delete(logicalId, sent.physicalId, sent.resourceType, sent.properties, {
|
|
32222
32317
|
expectedRegion: ctx.region,
|
|
32318
|
+
maskStackSecretNames: replayStackMask({
|
|
32319
|
+
ctx,
|
|
32320
|
+
op: { logicalId },
|
|
32321
|
+
secrets: entry.secrets
|
|
32322
|
+
}),
|
|
32223
32323
|
deletionPolicy: replacementDeletePolicy(sent.updateReplacePolicy),
|
|
32224
32324
|
recordedAttributes: sent.attributes,
|
|
32225
32325
|
recordedCreateOnlyDrops: sent.acceptedCreateOnlyDrops,
|
|
@@ -33487,6 +33587,7 @@ async function replayDelete(s) {
|
|
|
33487
33587
|
const physicalId = op.physicalId;
|
|
33488
33588
|
const deleteCreated = () => withReplayDeletePrinting(s, () => provider.delete(op.logicalId, physicalId, op.resourceType, op.properties, {
|
|
33489
33589
|
expectedRegion: ctx.region,
|
|
33590
|
+
maskStackSecretNames: replayStackMask(s),
|
|
33490
33591
|
stackHoldersStillAttached: true,
|
|
33491
33592
|
...removeProtection && { removeProtection: true },
|
|
33492
33593
|
...createRollbackClaimed && { inlinePolicyClaimed: createRollbackClaimed },
|
|
@@ -34424,14 +34525,47 @@ async function updateWithRollbackRetry(provider, args, logicalId, logger, isInte
|
|
|
34424
34525
|
return result === void 0 ? void 0 : withoutInjectedRemovals(result, removal.injected);
|
|
34425
34526
|
};
|
|
34426
34527
|
if (provider.disableOuterRetry) return recorded(await withCurrentResourceSecrets(secrets, () => provider.update(...revertArgs)));
|
|
34427
|
-
|
|
34428
|
-
|
|
34429
|
-
|
|
34430
|
-
|
|
34431
|
-
|
|
34528
|
+
const maskedLogger = createMaskedRetryLogger(logger, mask);
|
|
34529
|
+
const shownId = safe(logicalId);
|
|
34530
|
+
const interrupt = (message) => isInterrupted && {
|
|
34531
|
+
isInterrupted,
|
|
34532
|
+
onInterrupted: () => new Error(message)
|
|
34533
|
+
};
|
|
34534
|
+
let unsettledFailures = 0;
|
|
34535
|
+
const resendDeadline = Date.now() + UNSETTLED_REVERT_RESEND_WINDOW_MS;
|
|
34536
|
+
return recorded(await withRetry(() => withRetry(() => withCurrentResourceSecrets(secrets, () => provider.update(...revertArgs)), shownId, {
|
|
34537
|
+
logger: maskedLogger,
|
|
34538
|
+
...interrupt("Rollback interrupted while retrying a resource update")
|
|
34539
|
+
}), shownId, {
|
|
34540
|
+
...UNSETTLED_REVERT_RETRY_SCHEDULE,
|
|
34541
|
+
logger: maskedLogger,
|
|
34542
|
+
...interrupt("Rollback interrupted while waiting for a resource to settle"),
|
|
34543
|
+
isRetryable: (_text, error) => {
|
|
34544
|
+
const code = unsettledUpdateErrorCode(error);
|
|
34545
|
+
if (code === void 0) return false;
|
|
34546
|
+
if (Date.now() >= resendDeadline) return false;
|
|
34547
|
+
if (++unsettledFailures <= UNSETTLED_REVERT_RETRY_SCHEDULE.maxRetries) logger.info(safeMsg` Rollback: ${shownId} has not settled from the update being reverted ` + safeMsg`(Cloud Control ${code}); re-sending the revert after a wait`);
|
|
34548
|
+
return true;
|
|
34432
34549
|
}
|
|
34433
34550
|
}));
|
|
34434
34551
|
}
|
|
34552
|
+
const UNSETTLED_UPDATE_CC_ERROR_CODES = /* @__PURE__ */ new Set(["NotStabilized", "ResourceConflict"]);
|
|
34553
|
+
const UNSETTLED_REVERT_RETRY_SCHEDULE = {
|
|
34554
|
+
maxRetries: 4,
|
|
34555
|
+
initialDelayMs: 3e4,
|
|
34556
|
+
maxDelayMs: 6e4
|
|
34557
|
+
};
|
|
34558
|
+
const UNSETTLED_REVERT_RESEND_WINDOW_MS = 9e5;
|
|
34559
|
+
function unsettledUpdateErrorCode(error) {
|
|
34560
|
+
try {
|
|
34561
|
+
let current = error;
|
|
34562
|
+
for (let depth = 0; depth < 5 && typeof current === "object" && current !== null; depth++) {
|
|
34563
|
+
const link = current;
|
|
34564
|
+
if (link.ccOperation === "UPDATE" && typeof link.ccErrorCode === "string" && UNSETTLED_UPDATE_CC_ERROR_CODES.has(link.ccErrorCode)) return link.ccErrorCode;
|
|
34565
|
+
current = link.cause;
|
|
34566
|
+
}
|
|
34567
|
+
} catch {}
|
|
34568
|
+
}
|
|
34435
34569
|
async function createWithRollbackRetry(provider, create, logicalId, logger, isInterrupted, mask, outer) {
|
|
34436
34570
|
if (provider.disableOuterRetry) return await create();
|
|
34437
34571
|
const maskedLogger = createMaskedRetryLogger(logger, mask);
|
|
@@ -34453,7 +34587,7 @@ async function createWithRollbackRetry(provider, create, logicalId, logger, isIn
|
|
|
34453
34587
|
});
|
|
34454
34588
|
}
|
|
34455
34589
|
function recordAfterRollbackUpdate(restored, result, onDiffering) {
|
|
34456
|
-
return withoutNoEchoValueMacs(withoutUnsettledProperties(recordAfterRollbackUpdateUnsettled(restored, result, onDiffering)));
|
|
34590
|
+
return withoutVersionAttestation(withoutNoEchoValueMacs(withoutUnsettledProperties(recordAfterRollbackUpdateUnsettled(restored, result, onDiffering))));
|
|
34457
34591
|
}
|
|
34458
34592
|
function withoutNoEchoValueMacs(record) {
|
|
34459
34593
|
if (record.noEchoValueMacs === void 0) return record;
|
|
@@ -34583,6 +34717,7 @@ async function replayReadopt(s, survivor) {
|
|
|
34583
34717
|
const readoptClaimed = inlinePolicyWriters.claimedFor(op.resourceType, op.logicalId, stateResources);
|
|
34584
34718
|
const readoptDelete = await withReplayDeletePrinting(s, () => newDeleteProvider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
34585
34719
|
expectedRegion: ctx.region,
|
|
34720
|
+
maskStackSecretNames: replayStackMask(s),
|
|
34586
34721
|
stackHoldersStillAttached: true,
|
|
34587
34722
|
...readoptClaimed && { inlinePolicyClaimed: readoptClaimed },
|
|
34588
34723
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
@@ -34695,6 +34830,7 @@ async function replayRevert(s) {
|
|
|
34695
34830
|
currentProps ?? {},
|
|
34696
34831
|
{
|
|
34697
34832
|
maskSecrets: createSecretMasker(secrets),
|
|
34833
|
+
maskStackSecretNames: replayStackMask(s),
|
|
34698
34834
|
expectedRegion: ctx.region,
|
|
34699
34835
|
replayingState: true,
|
|
34700
34836
|
restoredObservedProperties: previousState.observedProperties,
|
|
@@ -34803,6 +34939,7 @@ async function deleteMarkedRecreate(error, s) {
|
|
|
34803
34939
|
try {
|
|
34804
34940
|
const outcome = await withReplayDeletePrinting(s, () => s.provider.delete(s.op.logicalId, madeId, s.oldType, s.properties, {
|
|
34805
34941
|
expectedRegion: s.region,
|
|
34942
|
+
maskStackSecretNames: replayStackMask(s),
|
|
34806
34943
|
stackHoldersStillAttached: true,
|
|
34807
34944
|
deletionPolicy: "Delete",
|
|
34808
34945
|
maskSecrets: s.mask
|
|
@@ -34829,6 +34966,7 @@ async function recreateOldResource(s, r) {
|
|
|
34829
34966
|
const deleteNewFirstRoute = resolveNewDeleteRoute();
|
|
34830
34967
|
const deleteNewFirst = await withReplayDeletePrinting(s, () => deleteNewFirstRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
34831
34968
|
expectedRegion: ctx.region,
|
|
34969
|
+
maskStackSecretNames: replayStackMask(s),
|
|
34832
34970
|
...newCopyClaimed && { inlinePolicyClaimed: newCopyClaimed },
|
|
34833
34971
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
34834
34972
|
deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
|
|
@@ -34973,6 +35111,7 @@ async function finishReverseReplacement(s, r, createResult, deletedNewFirst) {
|
|
|
34973
35111
|
properties: restoredProperties,
|
|
34974
35112
|
acceptedCreateOnlyDrops: acceptedCreateOnlyDropsEvidence(restoredProperties, oldType, createProvisionedBy)
|
|
34975
35113
|
}, secrets, prevRecord.properties, prevRecord.attributes);
|
|
35114
|
+
stateResources[op.logicalId] = withoutVersionAttestation(stateResources[op.logicalId]);
|
|
34976
35115
|
if (!adoptedLiveNewResource) inlinePolicyWriters.record(op.logicalId, "create", stateResources[op.logicalId], false, createProvisionedBy);
|
|
34977
35116
|
const deferral = s.deferral !== void 0 && !deletedNewFirst && !adoptedLiveNewResource && !rollbackRetainsNewResource(current) ? s.deferral : void 0;
|
|
34978
35117
|
const supersededFinalSnapshot = rollbackFinalSnapshotId(op.resourceType, current, op.provisionedBy);
|
|
@@ -35001,6 +35140,7 @@ async function finishReverseReplacement(s, r, createResult, deletedNewFirst) {
|
|
|
35001
35140
|
const deleteNewAfterRecreateRoute = resolveNewDeleteRoute();
|
|
35002
35141
|
const deleteNewAfterRecreate = await withReplayDeletePrinting(s, () => deleteNewAfterRecreateRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
35003
35142
|
expectedRegion: ctx.region,
|
|
35143
|
+
maskStackSecretNames: replayStackMask(s),
|
|
35004
35144
|
stackHoldersStillAttached: true,
|
|
35005
35145
|
...newCopyClaimed && { inlinePolicyClaimed: newCopyClaimed },
|
|
35006
35146
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
@@ -35750,6 +35890,11 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
35750
35890
|
secrets
|
|
35751
35891
|
}, () => provider.delete(op.logicalId, op.physicalId, op.resourceType, op.attemptedProperties, {
|
|
35752
35892
|
expectedRegion: ctx.region,
|
|
35893
|
+
maskStackSecretNames: replayStackMask({
|
|
35894
|
+
ctx,
|
|
35895
|
+
op,
|
|
35896
|
+
secrets
|
|
35897
|
+
}),
|
|
35753
35898
|
stackHoldersStillAttached: true,
|
|
35754
35899
|
...removeProtection && { removeProtection: true },
|
|
35755
35900
|
...failedCreateClaimed && { inlinePolicyClaimed: failedCreateClaimed },
|
|
@@ -35873,6 +36018,11 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
35873
36018
|
attemptedProps ?? {},
|
|
35874
36019
|
{
|
|
35875
36020
|
maskSecrets: createSecretMasker(secrets),
|
|
36021
|
+
maskStackSecretNames: replayStackMask({
|
|
36022
|
+
ctx,
|
|
36023
|
+
op,
|
|
36024
|
+
secrets
|
|
36025
|
+
}),
|
|
35876
36026
|
expectedRegion: ctx.region,
|
|
35877
36027
|
replayingState: true,
|
|
35878
36028
|
recordedAttributes: current.attributes,
|
|
@@ -38422,9 +38572,17 @@ function referenceProvenanceToPersist(logicalId, record, scrubbed, secrets) {
|
|
|
38422
38572
|
secrets,
|
|
38423
38573
|
previous,
|
|
38424
38574
|
inPlace,
|
|
38425
|
-
walkWithoutPassProvenance: this.provenanceBaseline?.tokenFree !== true
|
|
38575
|
+
walkWithoutPassProvenance: this.provenanceBaseline?.tokenFree !== true,
|
|
38576
|
+
...sameGeneration && { attest: sentWriteOnlySecretTokens(this, logicalId, scrubbed) }
|
|
38426
38577
|
});
|
|
38427
38578
|
}
|
|
38579
|
+
function sentWriteOnlySecretTokens(engine, logicalId, scrubbed) {
|
|
38580
|
+
if (scrubbed.provisionedBy !== "cc-api" || engine.resumedCreates.has(logicalId)) return;
|
|
38581
|
+
const properties = scrubbed.properties ?? {};
|
|
38582
|
+
const tokens = /* @__PURE__ */ new Set();
|
|
38583
|
+
for (const key of writeOnlyKeysKeptWhenOmittedCandidates(scrubbed.resourceType)) if (Object.hasOwn(properties, key)) referenceTokensIn(properties[key], tokens);
|
|
38584
|
+
return tokens.size === 0 ? void 0 : tokens;
|
|
38585
|
+
}
|
|
38428
38586
|
function redactCrossStackReads(state) {
|
|
38429
38587
|
if (state.imports === void 0 && state.outputReads === void 0) return {};
|
|
38430
38588
|
const secrets = allRecordedSecrets(this.secretsRun, this.maskingDeps());
|
|
@@ -39940,7 +40098,7 @@ async function revertNestedChildFromJournal(args) {
|
|
|
39940
40098
|
...carried,
|
|
39941
40099
|
...stackInstanceIdCarriedFrom(withoutSuperseded(base)),
|
|
39942
40100
|
...supersededAfterRollback(base, supersededHost, stateResources),
|
|
39943
|
-
version:
|
|
40101
|
+
version: 18,
|
|
39944
40102
|
region,
|
|
39945
40103
|
resources: { ...stateResources },
|
|
39946
40104
|
...orphansAfterRollback(base, mintedOrphans),
|
|
@@ -39998,7 +40156,8 @@ async function revertNestedChildFromJournal(args) {
|
|
|
39998
40156
|
},
|
|
39999
40157
|
importedProducerRegions: producerRegions.regions,
|
|
40000
40158
|
producerRegionsIncomplete: !producerRegions.complete,
|
|
40001
|
-
nestedChildRevert: true
|
|
40159
|
+
nestedChildRevert: true,
|
|
40160
|
+
maskStackSecretNames: stackSecretNamesMasker(stateResources, void 0)
|
|
40002
40161
|
};
|
|
40003
40162
|
const childCtx = {
|
|
40004
40163
|
...ctx,
|
|
@@ -40257,6 +40416,7 @@ function rollbackExecutorContext(deps, previousState, stackName) {
|
|
|
40257
40416
|
captureObservedState: deps.options.captureObservedState,
|
|
40258
40417
|
...deps.options.parentStackInfo && { nestedChildStack: stackName },
|
|
40259
40418
|
logOnlyNeedlesFor: (logicalId) => deps.secretsRun().perResourceSecrets.get(logicalId),
|
|
40419
|
+
maskStackSecretNames: (own) => (text) => stackSecretNameMasker(deps.secretsRun(), own)(text),
|
|
40260
40420
|
importedProducerRegions: producerRegions.regions,
|
|
40261
40421
|
producerRegionsIncomplete: !producerRegions.complete
|
|
40262
40422
|
};
|
|
@@ -43085,7 +43245,8 @@ Drop the record with: ${dropCommand}`);
|
|
|
43085
43245
|
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
43086
43246
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
43087
43247
|
recordedTypedPayloadLeaves: currentResource.typedPayloadLeaves,
|
|
43088
|
-
maskSecrets: createUnionSecretMasker([secretNameBagFor(deps.secretsRun(), logicalId)])
|
|
43248
|
+
maskSecrets: createUnionSecretMasker([secretNameBagFor(deps.secretsRun(), logicalId)]),
|
|
43249
|
+
maskStackSecretNames: stackSecretNameMasker(deps.secretsRun())
|
|
43089
43250
|
}), logicalId, 3, 5e3, deleteProvider);
|
|
43090
43251
|
} catch (deleteError) {
|
|
43091
43252
|
const msg = describeAwsFailure(deleteError).detail;
|
|
@@ -43225,6 +43386,7 @@ async function retryCarriedSupersededResources(engine, host, carried, resources,
|
|
|
43225
43386
|
provider: route.provider,
|
|
43226
43387
|
region: engine.stackRegion,
|
|
43227
43388
|
maskSecrets: createSecretMasker(bag),
|
|
43389
|
+
maskStackSecretNames: stackSecretNameMasker(engine.secretsRun),
|
|
43228
43390
|
stop: () => engine.interrupted,
|
|
43229
43391
|
once: options.waitInUse !== true,
|
|
43230
43392
|
holderProvider: () => engine.providerRegistry.getProvider(resourceType),
|
|
@@ -51809,6 +51971,17 @@ async function updateByReplacement(engine, { change, counts, currentProps, curre
|
|
|
51809
51971
|
engine.logger.info(replacedLine);
|
|
51810
51972
|
}
|
|
51811
51973
|
|
|
51974
|
+
// src/deployment/deploy-engine/update-in-place/sdk-migration-notice.ts
|
|
51975
|
+
function sdkMigrationNotice(logicalId, resourceType, idPreserved) {
|
|
51976
|
+
const exemptMode = STICKY_CC_MIGRATION_EXEMPT.get(resourceType)?.mode;
|
|
51977
|
+
const preserved = idPreserved ? "The physical id is preserved" : "The resource is kept in place, and its recorded physical id takes the SDK provider's form";
|
|
51978
|
+
switch (exemptMode) {
|
|
51979
|
+
case "cc-broken": return safeMsg`${logicalId} (${resourceType}): moving to the SDK provider — Cloud ` + `Control cannot manage this type correctly. ${preserved}, and this routing is not optional.`;
|
|
51980
|
+
case "sdk-coverage": return safeMsg`${logicalId} (${resourceType}): returning to the SDK provider — cdkd now ` + `covers every property this resource uses. ${preserved}; pass ` + safeMsg`--pin-cc-api ${logicalId} to decline this for a deploy.`;
|
|
51981
|
+
default: return safeMsg`${logicalId} (${resourceType}): moving to the SDK provider. ${preserved}.`;
|
|
51982
|
+
}
|
|
51983
|
+
}
|
|
51984
|
+
|
|
51812
51985
|
// src/provisioning/cc-autoroute-update-remedy.ts
|
|
51813
51986
|
const TYPE_FORMAT = /^[A-Z][A-Za-z0-9]+(::[A-Z][A-Za-z0-9]+)+$/;
|
|
51814
51987
|
const PROPERTY_FORMAT = /^[A-Z][A-Za-z0-9]*$/;
|
|
@@ -52100,6 +52273,66 @@ async function replaceFallbackFor(engine, { currentProps, currentResource, logic
|
|
|
52100
52273
|
};
|
|
52101
52274
|
}
|
|
52102
52275
|
|
|
52276
|
+
// src/deployment/deploy-engine/update-in-place/write-only-secret-skip.ts
|
|
52277
|
+
function sameAttestedVersion(key, previous, desired, record, secrets, maskSecrets) {
|
|
52278
|
+
if (!Object.hasOwn(previous, key) || !Object.hasOwn(desired, key)) return false;
|
|
52279
|
+
const before = previous[key];
|
|
52280
|
+
if (carriesSecretMask(before)) return false;
|
|
52281
|
+
if (!onlySecretReferencesDiffer(desired[key], before, maskSecrets)) return false;
|
|
52282
|
+
const tokens = referenceTokensIn(before);
|
|
52283
|
+
if (tokens.size === 0) return false;
|
|
52284
|
+
for (const token of tokens) {
|
|
52285
|
+
const recorded = recordedProvenanceOf(record, token);
|
|
52286
|
+
const pass = passProvenanceFor(secrets, token);
|
|
52287
|
+
if (recorded?.versionsSent !== true || recorded.versions?.length !== 1 || recorded.region === void 0 || pass?.versions?.length !== 1 || pass.region === void 0 || recorded.versions[0] !== pass.versions[0] || recorded.region !== pass.region) return false;
|
|
52288
|
+
}
|
|
52289
|
+
return true;
|
|
52290
|
+
}
|
|
52291
|
+
function unchangedWriteOnlySecretProperties(input) {
|
|
52292
|
+
const { resourceType, record, unsettled, changed, previous, desired, secrets, maskSecrets } = input;
|
|
52293
|
+
if (!input.skipAllowed) return void 0;
|
|
52294
|
+
if (input.route !== "cc-api" || input.sdkMigration || record.provisionedBy !== "cc-api") return;
|
|
52295
|
+
let out;
|
|
52296
|
+
for (const key of writeOnlyKeysKeptWhenOmittedCandidates(resourceType)) {
|
|
52297
|
+
if (unsettled.has(key) || changed.has(key)) continue;
|
|
52298
|
+
if (!sameAttestedVersion(key, previous, desired, record, secrets, maskSecrets)) continue;
|
|
52299
|
+
(out ??= /* @__PURE__ */ new Set()).add(key);
|
|
52300
|
+
}
|
|
52301
|
+
return out;
|
|
52302
|
+
}
|
|
52303
|
+
function recordToWriteAhead(input) {
|
|
52304
|
+
const { resourceType, record, changed, desired, secrets, maskSecrets } = input;
|
|
52305
|
+
const recorded = record.properties ?? {};
|
|
52306
|
+
const drop = /* @__PURE__ */ new Set();
|
|
52307
|
+
for (const key of writeOnlyKeysKeptWhenOmittedCandidates(resourceType)) {
|
|
52308
|
+
if (!Object.hasOwn(recorded, key)) continue;
|
|
52309
|
+
const attested = [...referenceTokensIn(recorded[key])].filter((token) => recordedProvenanceOf(record, token)?.versionsSent === true);
|
|
52310
|
+
if (attested.length === 0) continue;
|
|
52311
|
+
if (!changed.has(key) && sameAttestedVersion(key, recorded, desired, record, secrets, maskSecrets)) continue;
|
|
52312
|
+
for (const token of attested) drop.add(token);
|
|
52313
|
+
}
|
|
52314
|
+
return drop.size === 0 ? void 0 : withTokenVersionsDropped(record, drop);
|
|
52315
|
+
}
|
|
52316
|
+
async function writeOnlySecretsForUpdate(engine, logicalId, input) {
|
|
52317
|
+
const { resourceType } = input;
|
|
52318
|
+
const full = {
|
|
52319
|
+
...input,
|
|
52320
|
+
skipAllowed: engine.writeOnlySecretSkipAllowed,
|
|
52321
|
+
maskSecrets: createSecretMasker(input.secrets)
|
|
52322
|
+
};
|
|
52323
|
+
const ahead = recordToWriteAhead(full);
|
|
52324
|
+
if (ahead !== void 0) {
|
|
52325
|
+
if (engine.writeAheadRecord === void 0) throw markNonRetryable(new CdkdError(safeMsg`${logicalId} (${resourceType}): cdkd could not record, before sending it, that a secret value is changing, so it sent nothing. Re-run the deploy.`, WRITE_AHEAD_FAILED));
|
|
52326
|
+
try {
|
|
52327
|
+
await engine.writeAheadRecord(logicalId, ahead);
|
|
52328
|
+
} catch (error) {
|
|
52329
|
+
throw markNonRetryable(new CdkdError(safeMsg`${logicalId} (${resourceType}): cdkd could not save state before sending a changed secret value, so it sent nothing: ${asIsMessage(describeAwsFailure(error).detail)}. Re-run the deploy once the state bucket accepts writes.`, WRITE_AHEAD_FAILED, error instanceof Error ? error : void 0));
|
|
52330
|
+
}
|
|
52331
|
+
}
|
|
52332
|
+
return unchangedWriteOnlySecretProperties(full);
|
|
52333
|
+
}
|
|
52334
|
+
const WRITE_AHEAD_FAILED = "WRITE_ONLY_SECRET_WRITE_AHEAD_FAILED";
|
|
52335
|
+
|
|
52103
52336
|
// src/deployment/deploy-engine/update-in-place.ts
|
|
52104
52337
|
async function updateInPlace(engine, { changedProperties, noEchoOnlyChangedProperties, conditions, counts, currentProps, currentPropsAsWritten, currentResource: recordedResource, dependencies, desiredForSkipCheckAsWritten, logicalId, noEchoHeldPaths, parameterValues, progress, renderer, resolvedProps, resourceType, stackName, stateResources, template, updateReplacePolicy, updateSecrets, reattach }) {
|
|
52105
52338
|
engine.logger.debug(safeMsg`Updating ${logicalId} (${resourceType})`);
|
|
@@ -52112,19 +52345,8 @@ async function updateInPlace(engine, { changedProperties, noEchoOnlyChangedPrope
|
|
|
52112
52345
|
});
|
|
52113
52346
|
const currentResource = updateDecision.sdkMigration === true ? await sdkAddressedRecord(recordedResource, logicalId, engine.stackRegion) : recordedResource;
|
|
52114
52347
|
if (updateDecision.sdkMigration === true) {
|
|
52115
|
-
const
|
|
52116
|
-
|
|
52117
|
-
let message;
|
|
52118
|
-
switch (exemptMode) {
|
|
52119
|
-
case "cc-broken":
|
|
52120
|
-
message = safeMsg`${logicalId} (${resourceType}): moving to the SDK provider — Cloud ` + `Control cannot manage this type correctly. ${preserved}, and this routing is not optional.`;
|
|
52121
|
-
break;
|
|
52122
|
-
case "sdk-coverage":
|
|
52123
|
-
message = safeMsg`${logicalId} (${resourceType}): returning to the SDK provider — cdkd now ` + `covers every property this resource uses. ${preserved}; pass ` + safeMsg`--pin-cc-api ${logicalId} to decline this for a deploy.`;
|
|
52124
|
-
break;
|
|
52125
|
-
default: message = safeMsg`${logicalId} (${resourceType}): moving to the SDK provider. ${preserved}.`;
|
|
52126
|
-
}
|
|
52127
|
-
engine.logger.info(message);
|
|
52348
|
+
const idPreserved = currentResource.physicalId === recordedResource.physicalId;
|
|
52349
|
+
engine.logger.info(sdkMigrationNotice(logicalId, resourceType, idPreserved));
|
|
52128
52350
|
}
|
|
52129
52351
|
const updateProvider = updateDecision.provider;
|
|
52130
52352
|
const updateProps = updateDecision.provisionedBy === "cc-api" ? withoutGeneratedFallbackName(resourceType, resolvedProps, preparePropertiesForCcApi(engine.providerRegistry, resourceType, resolvedProps, logicalId, "omit")) : resolvedProps;
|
|
@@ -52182,9 +52404,21 @@ async function updateInPlace(engine, { changedProperties, noEchoOnlyChangedPrope
|
|
|
52182
52404
|
const inlinePolicyClaimed = engine.inlinePolicyClaimedFor(resourceType, logicalId, stateResources);
|
|
52183
52405
|
const typedPayloadLeaves = customResourcePayloadLeaves(resourceType, template?.Resources?.[logicalId]?.Properties, resolvedProps, template, conditions, stateResources);
|
|
52184
52406
|
const updatePolicy = updatePolicyContext(engine.options.updatePolicy, engine.logger, logicalId, resourceType, template?.Resources?.[logicalId], updateDecision.provisionedBy, changedProperties, engine.resolvedUpdatePolicies.get(logicalId));
|
|
52407
|
+
const unchangedWriteOnlySecrets = await writeOnlySecretsForUpdate(engine, logicalId, {
|
|
52408
|
+
resourceType,
|
|
52409
|
+
record: recordedResource,
|
|
52410
|
+
route: updateDecision.provisionedBy,
|
|
52411
|
+
sdkMigration: updateDecision.sdkMigration === true,
|
|
52412
|
+
unsettled,
|
|
52413
|
+
changed: changedForProvider,
|
|
52414
|
+
previous: previousSettled,
|
|
52415
|
+
desired: removal.properties,
|
|
52416
|
+
secrets: updateSecrets
|
|
52417
|
+
});
|
|
52185
52418
|
try {
|
|
52186
52419
|
result = await engine.withRetry(() => withCurrentResourceSecrets(updateSecrets, () => updateProvider.update(logicalId, currentResource.physicalId, resourceType, removal.properties, previousSettled, {
|
|
52187
52420
|
maskSecrets: createSecretMasker(updateSecrets),
|
|
52421
|
+
maskStackSecretNames: stackSecretNameMasker(engine.secretsRun),
|
|
52188
52422
|
expectedRegion: engine.stackRegion,
|
|
52189
52423
|
recordedAttributes: currentResource.attributes,
|
|
52190
52424
|
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
@@ -52199,6 +52433,7 @@ async function updateInPlace(engine, { changedProperties, noEchoOnlyChangedPrope
|
|
|
52199
52433
|
...unsettledMarkSinks(engine, logicalId, resolvedProps, currentResource),
|
|
52200
52434
|
...unsettled.size > 0 && { unsettledProperties: unsettled },
|
|
52201
52435
|
...unsettledItems.size > 0 && { unsettledItems },
|
|
52436
|
+
...unchangedWriteOnlySecrets !== void 0 && { unchangedWriteOnlySecretProperties: unchangedWriteOnlySecrets },
|
|
52202
52437
|
...updatePolicy,
|
|
52203
52438
|
...rollingSignalsFor(engine, logicalId)
|
|
52204
52439
|
})), logicalId, void 0, void 0, updateProvider);
|
|
@@ -53241,7 +53476,7 @@ async function provisionCreateUpdateNode(run, createUpdateExecutor, enqueueLostC
|
|
|
53241
53476
|
const { engine, template, currentState, stackName, parameterValues, conditions, progress, newResources, actualCounts, completedOperations, failedOperations, reportedCreatesToSettle, phaseScope, saveStateAfterResource, startedUpdates, settledUpdates, inFlightWrites } = run;
|
|
53242
53477
|
const logicalId = node.id;
|
|
53243
53478
|
const change = node.data;
|
|
53244
|
-
const previousState = currentState.resources[logicalId] ? { ...currentState.resources[logicalId] } : void 0;
|
|
53479
|
+
const previousState = currentState.resources[logicalId] ? withoutVersionAttestation({ ...currentState.resources[logicalId] }) : void 0;
|
|
53245
53480
|
if (change.changeType === "UPDATE") startedUpdates.add(logicalId);
|
|
53246
53481
|
let settle;
|
|
53247
53482
|
const settled = new Promise((resolve) => {
|
|
@@ -53505,7 +53740,7 @@ async function rollbackFailedDeploy(run, error, initialDeploy, currentEtag) {
|
|
|
53505
53740
|
recordUnsettledMarks(engine, newResources);
|
|
53506
53741
|
try {
|
|
53507
53742
|
const postRollbackState = {
|
|
53508
|
-
version:
|
|
53743
|
+
version: 18,
|
|
53509
53744
|
region: engine.stackRegion,
|
|
53510
53745
|
stackName: currentState.stackName,
|
|
53511
53746
|
resources: newResources,
|
|
@@ -53528,7 +53763,7 @@ async function rollbackFailedDeploy(run, error, initialDeploy, currentEtag) {
|
|
|
53528
53763
|
const freshEtag = (await engine.stateBackend.getState(stackName, engine.stackRegion))?.etag;
|
|
53529
53764
|
recordUnsettledMarks(engine, newResources);
|
|
53530
53765
|
const postRollbackState = {
|
|
53531
|
-
version:
|
|
53766
|
+
version: 18,
|
|
53532
53767
|
region: engine.stackRegion,
|
|
53533
53768
|
stackName: currentState.stackName,
|
|
53534
53769
|
resources: newResources,
|
|
@@ -53580,6 +53815,29 @@ async function executeDeploymentBody(engine, template, currentState, changes, da
|
|
|
53580
53815
|
const phaseScope = phaseScopeForStack(stackName, engine.stackRegion);
|
|
53581
53816
|
let saveChain = Promise.resolve();
|
|
53582
53817
|
let queuedSave;
|
|
53818
|
+
const savePartialState = async (savedFor) => {
|
|
53819
|
+
const partialState = {
|
|
53820
|
+
version: 18,
|
|
53821
|
+
region: engine.stackRegion,
|
|
53822
|
+
stackName: currentState.stackName,
|
|
53823
|
+
resources: newResources,
|
|
53824
|
+
outputs: currentState.outputs,
|
|
53825
|
+
...exportNamesCarriedFrom(currentState),
|
|
53826
|
+
...skippedOutputsCarriedFrom(currentState),
|
|
53827
|
+
...orphansCarriedFrom(currentState),
|
|
53828
|
+
...stackInstanceIdCarriedFrom(currentState),
|
|
53829
|
+
...crossStackReadsForPartialSave(currentState, engine.recordedImports, engine.recordedOutputReads, engine.crossStackReadKeyNormalizer()),
|
|
53830
|
+
lastModified: Date.now()
|
|
53831
|
+
};
|
|
53832
|
+
const migrate = pendingMigration;
|
|
53833
|
+
const expectedEtag = migrate ? void 0 : currentEtag;
|
|
53834
|
+
currentEtag = await timePhase(phaseScope, "per-resource save", () => engine.stateBackend.saveState(stackName, engine.stackRegion, engine.withParentInfo(partialState), {
|
|
53835
|
+
...expectedEtag !== void 0 && { expectedEtag },
|
|
53836
|
+
migrateLegacy: migrate
|
|
53837
|
+
}));
|
|
53838
|
+
if (migrate) pendingMigration = false;
|
|
53839
|
+
engine.logger.debug(safeMsg`State saved after ${savedFor}`);
|
|
53840
|
+
};
|
|
53583
53841
|
const saveStateAfterResource = (logicalId) => {
|
|
53584
53842
|
if (currentEtag === void 0) return;
|
|
53585
53843
|
if (queuedSave !== void 0) {
|
|
@@ -53592,32 +53850,19 @@ async function executeDeploymentBody(engine, template, currentState, changes, da
|
|
|
53592
53850
|
queuedSave = void 0;
|
|
53593
53851
|
const savedFor = savedIds.join(", ");
|
|
53594
53852
|
try {
|
|
53595
|
-
|
|
53596
|
-
version: 17,
|
|
53597
|
-
region: engine.stackRegion,
|
|
53598
|
-
stackName: currentState.stackName,
|
|
53599
|
-
resources: newResources,
|
|
53600
|
-
outputs: currentState.outputs,
|
|
53601
|
-
...exportNamesCarriedFrom(currentState),
|
|
53602
|
-
...skippedOutputsCarriedFrom(currentState),
|
|
53603
|
-
...orphansCarriedFrom(currentState),
|
|
53604
|
-
...stackInstanceIdCarriedFrom(currentState),
|
|
53605
|
-
...crossStackReadsForPartialSave(currentState, engine.recordedImports, engine.recordedOutputReads, engine.crossStackReadKeyNormalizer()),
|
|
53606
|
-
lastModified: Date.now()
|
|
53607
|
-
};
|
|
53608
|
-
const migrate = pendingMigration;
|
|
53609
|
-
const expectedEtag = migrate ? void 0 : currentEtag;
|
|
53610
|
-
currentEtag = await timePhase(phaseScope, "per-resource save", () => engine.stateBackend.saveState(stackName, engine.stackRegion, engine.withParentInfo(partialState), {
|
|
53611
|
-
...expectedEtag !== void 0 && { expectedEtag },
|
|
53612
|
-
migrateLegacy: migrate
|
|
53613
|
-
}));
|
|
53614
|
-
if (migrate) pendingMigration = false;
|
|
53615
|
-
engine.logger.debug(safeMsg`State saved after ${savedFor}`);
|
|
53853
|
+
await savePartialState(savedFor);
|
|
53616
53854
|
} catch (error) {
|
|
53617
53855
|
engine.logger.warn(safeMsg`Failed to save state after ${savedFor}: ${asIsMessage(describeAwsFailure(error).detail)}`);
|
|
53618
53856
|
}
|
|
53619
53857
|
});
|
|
53620
53858
|
};
|
|
53859
|
+
engine.writeAheadRecord = async (logicalId, record) => {
|
|
53860
|
+
if (currentEtag === void 0) throw new Error("there is no state record to write ahead to");
|
|
53861
|
+
newResources[logicalId] = record;
|
|
53862
|
+
const ahead = saveChain.then(() => savePartialState(`${logicalId} (write-ahead)`));
|
|
53863
|
+
saveChain = ahead.catch(() => void 0);
|
|
53864
|
+
await ahead;
|
|
53865
|
+
};
|
|
53621
53866
|
const deleteChanges = new Set(Array.from(changes.entries()).filter(([_, change]) => change.changeType === "DELETE").map(([logicalId]) => logicalId));
|
|
53622
53867
|
const startedUpdates = /* @__PURE__ */ new Set();
|
|
53623
53868
|
const settledUpdates = /* @__PURE__ */ new Set();
|
|
@@ -53749,7 +53994,7 @@ async function executeDeploymentBody(engine, template, currentState, changes, da
|
|
|
53749
53994
|
pruneStoppedSiblingMembersBestEffort(engine.logger, currentState.resources, newResources, engine.replacementRun, template);
|
|
53750
53995
|
try {
|
|
53751
53996
|
const preRollbackState = {
|
|
53752
|
-
version:
|
|
53997
|
+
version: 18,
|
|
53753
53998
|
region: engine.stackRegion,
|
|
53754
53999
|
stackName: currentState.stackName,
|
|
53755
54000
|
resources: newResources,
|
|
@@ -53790,7 +54035,7 @@ async function executeDeploymentBody(engine, template, currentState, changes, da
|
|
|
53790
54035
|
throw outputError;
|
|
53791
54036
|
}
|
|
53792
54037
|
const successState = () => ({
|
|
53793
|
-
version:
|
|
54038
|
+
version: 18,
|
|
53794
54039
|
region: engine.stackRegion,
|
|
53795
54040
|
stackName: currentState.stackName,
|
|
53796
54041
|
resources: newResources,
|
|
@@ -53845,7 +54090,7 @@ async function executeDeploymentBody(engine, template, currentState, changes, da
|
|
|
53845
54090
|
async function persistStateAfterOutputFailure(engine, stackName, currentState, newResources, currentEtag, pendingMigration, override) {
|
|
53846
54091
|
const after = override?.after ?? "output resolution failure";
|
|
53847
54092
|
const buildState = override?.state ?? (() => ({
|
|
53848
|
-
version:
|
|
54093
|
+
version: 18,
|
|
53849
54094
|
region: engine.stackRegion,
|
|
53850
54095
|
stackName: currentState.stackName,
|
|
53851
54096
|
resources: newResources,
|
|
@@ -53972,6 +54217,7 @@ async function settleJournalAtStart(engine, { stackName, template, currentState,
|
|
|
53972
54217
|
...loaded,
|
|
53973
54218
|
segments: loaded.segments.filter((s) => s.reason !== "nested-pending-parent")
|
|
53974
54219
|
};
|
|
54220
|
+
engine.writeOnlySecretSkipAllowed = loaded === null || loaded.segments.length === 0;
|
|
53975
54221
|
if (journal && journal.segments.length > 0) {
|
|
53976
54222
|
const failedOnly = journal.segments.every((s) => s.operations.length === 0) && journal.segments.some((s) => (s.failedOperations?.length ?? 0) > 0);
|
|
53977
54223
|
if (!(failedOnly && journal.segments.every((s) => (s.failedOperations ?? []).every(revertFailedHasNothingToDo)))) engine.logger.info(failedOnly ? safeMsg`A previous deploy of ${displayStackName(stackName)} failed and was automatically rolled back. ` + `The failed resource may be partially applied — revert it, or continue ` + safeMsg`deploying to fix forward (${engine.options.parentStackInfo ? "a successful deploy of the top-level stack clears this note" : "a successful deploy clears this note"}).` + safeMsg`\nRevert it with: ${pasteableCommand("cdkd rollback", [{
|
|
@@ -55002,7 +55248,7 @@ async function deployWithoutChanges(engine, { stackName, template, currentState,
|
|
|
55002
55248
|
await resolveStackInstanceId();
|
|
55003
55249
|
try {
|
|
55004
55250
|
const refreshedState = {
|
|
55005
|
-
version:
|
|
55251
|
+
version: 18,
|
|
55006
55252
|
region: engine.stackRegion,
|
|
55007
55253
|
stackName: currentState.stackName,
|
|
55008
55254
|
resources: refreshedResources ?? currentState.resources,
|
|
@@ -55213,7 +55459,7 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
55213
55459
|
clock.lap("state load");
|
|
55214
55460
|
noteDeployStateRecord(currentStateData?.state !== void 0);
|
|
55215
55461
|
const currentState = currentStateData?.state ?? {
|
|
55216
|
-
version:
|
|
55462
|
+
version: 18,
|
|
55217
55463
|
region: engine.stackRegion,
|
|
55218
55464
|
stackName,
|
|
55219
55465
|
resources: {},
|
|
@@ -55559,6 +55805,8 @@ function deploy(stackName, template) {
|
|
|
55559
55805
|
this.unsettledMarks = /* @__PURE__ */ new Map();
|
|
55560
55806
|
this.unsettledItemMarks = /* @__PURE__ */ new Map();
|
|
55561
55807
|
this.resumedCreates = /* @__PURE__ */ new Map();
|
|
55808
|
+
this.writeOnlySecretSkipAllowed = false;
|
|
55809
|
+
this.writeAheadRecord = void 0;
|
|
55562
55810
|
this.generatedNameGuard = void 0;
|
|
55563
55811
|
this.signalReceiver = void 0;
|
|
55564
55812
|
this.signalReceiverStackId = void 0;
|
|
@@ -55653,6 +55901,8 @@ var DeployEngine = class {
|
|
|
55653
55901
|
runStackIdTail = void 0;
|
|
55654
55902
|
deployChanges = /* @__PURE__ */ new Map();
|
|
55655
55903
|
deployStateResources = {};
|
|
55904
|
+
writeOnlySecretSkipAllowed = false;
|
|
55905
|
+
writeAheadRecord = void 0;
|
|
55656
55906
|
stackRecordsView = void 0;
|
|
55657
55907
|
inlinePolicyWriters = /* @__PURE__ */ new Map();
|
|
55658
55908
|
attributeHealer;
|
|
@@ -55781,5 +56031,5 @@ var DeployEngine = class {
|
|
|
55781
56031
|
}
|
|
55782
56032
|
};
|
|
55783
56033
|
|
|
55784
|
-
export { recordTagWrite as $, reReadUntilSettled as $a, unreadableResourceEntries as $c, gray as $i, providerReplacementOldDeleted as $l, parseMappingFile as $n, assertFlagRoleArn as $o, REDACTED_DELETE_ADDRESS_SKIP_REASON as $r, findReplacedReadersOfRecreateTargets as $s, removeSignalReceiverNamed as $t, AssetModeResolver as $u, recordedProtectionEvidence as A, buildFinalSnapshotIdentifier as Aa, malformedOrphanRecordsRefusalMessage as Ac, collectDeclaredOutputNames as Ai, refuseMalformedResourcesForDestroy as Al, DeploymentEventsStore as An, withCustomResourceStack as Ao, undeclaredEmptyObservedKeys as Ar, promoteInPlaceAttributeDependents as As, resolveDynamoDbDeleteBudgetMs as At, ssmResolvedValueType as Au, declaredStreamTagsMember as B, revertStackRecordsView as Ba, isReadableResourceEntry as Bc, supersededAfterRollback as Bi, hasReadableOutputs as Bl, formatDestructiveChange as Bn, getReadOnlyPropertyPaths as Bo, planRollback as Br, carriesFetchableDynamicReference as Bs, hasCdkAutoDeleteTag as Bt, isDefaultBootstrapBucketName as Bu, pendingMovesOutOf as C, ccRoutedFinalSnapshotError as Ca, parameterInputsFor as Cc, resolveAssemblyPath as Cd, secretBearingStateKeyWarning as Ci, repairMalformedOutputsForReadOnly as Cl, journaledOrphanLines as Cn, NO_LOCAL_CUSTOM_RESOURCES_FLAG as Co, buildReadCurrentStateContext as Cr, cfnRefValueFromPhysicalId as Cs, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as Ct, findNestedTemplateTreeDefect as Cu, findServiceTokenRefusals as D, refusesFinalSnapshot as Da, maskedPropertyFingerprint as Dc, exportNameSecretExposure as Di, malformedResourcesWarning as Dl, makeSiblingClaimReader as Dn, localCustomResourceCommand as Do, calculateResourceDrift as Dr, lacksRecordedTableArn as Ds, compensateRemovedDeletionProtection as Dt, templateIdentity as Du, deferredServiceTokenWarning as E, isFinalSnapshotError as Ea, declaresNoEcho as Ec, exportNameNoEchoParameters as Ei, malformedRenderedContainersWarning as El, makeForeignHolderScan as En, customResourcesRunWithoutApp as Eo, withUnprovenUnsettled as Er, lacksRecordedRefArn as Es, beginDeleteWait as Et, renderNestedTemplateTreeDefect as Eu, readProtection as F, withoutSiblingAttachedArns as Fa, refuseMalformedOrphanRecordsForDestroy as Fc, DEFAULT_RESOURCE_WARN_AFTER_MS as Fi, accountArgs as Fl, noEchoMacParametersOf as Fn, UNSPECIFIED_SKIP_REASON as Fo, earliestDefined as Fr, recordedReferenceRegions as Fs, maskedLogger as Ft, synthesizedStacks as Fu, streamDeclaresTags as G, OWN_WRITE_REREAD_DELAYS_MS as Ga, refuseMalformedResourceAttributesForOrphan as Gc, withoutSuperseded as Gi, unwrittenCreateOnlyReplacement as Gl, withMovedTo as Gn, isAlwaysLiveAttribute as Go, planFailedOps as Gr, namesRecreatedParent as Gs, readRefactorMarkerOnce as Gt, rewriteTemplateAssetReferences as Gu, readStreamPolicy as H, withStackRecords as Ha, malformedLocalResourcesWarning as Hc, supersededHeldByOtherTypeWarning as Hi, findActionableSdkUnwired as Hl, hintSidesOf as Hn, markWaitAbandoned as Ho, demoteSupersededOrphans as Hr, carriesDynamicReference as Hs, keptForRetainedRecord as Ht, loadPublishableAssetManifest as Hu, DynamoDBGlobalTableProvider as I, withoutSiblingOwned as Ia, refuseMalformedOrphansForOrphan as Ic, maskingRetryLogger as Ii, withheldAccountClause as Il, noEchoMacVerdict as In, deleteIndeterminateGuards as Io, ledgerForStack as Ir, referenceProvenanceOf as Is, relayedIndexBusyDelete as It, buildAssetRedirectMap as Iu, streamTagsMatchDeclared as J, declaredPolicyDocument as Ja, refuseMalformedResourceEntriesForDestroy as Jc, resolveReplacementOldType as Ji, withoutUnwrittenSdkUnwiredProperties as Jl, changedReferenceReason as Jn, isSettledInstanceState as Jo, replacementNeverSwapped as Jr, markNewValueKnownAfterDeploy as Js, refuseRefactorMarker as Jt, isCfnTemplateAssetPath as Ju, streamMemberRefusals as K, SNS_DEFAULT_POLICY_ID as Ka, refuseMalformedResourceEntries as Kc, replacedDeleteFailureVerdict as Ki, withoutAcceptedSdkUnwiredProperties as Kl, changedReferenceInDiff as Kn, poisonRenderedSpellingsCollidingIn as Ko, recheckFailedPlan as Kr, INTRINSIC_KEYS as Ks, refactorMarkerMovesOf as Kt, AssetManifestLoader as Ku, STREAM_POLICY_KEY as L, awaitInFlightSibling as La, repairMalformedOrphanRecordsForReadOnly as Lc, deleteSupersededEntry as Li, STATE_RESOURCES_MALFORMED as Ll, noEchoValueMacsOf as Ln, deleteLeftInPlace as Lo, reserveStackCreateToken as Lr, referenceTokensIn as Ls, waitForIndexesSettled as Lt, createAssetRedirectResolver as Lu, PROTECTION_PROPERTY_BY_TYPE as M, collectManagedPolicyArnsAttachedBySiblings as Ma, malformedOrphanRowsKeptWarning as Mc, isExportAliasCollision as Mi, refuseMalformedState as Ml, NOECHO_MAC_KEY_ALIAS as Mn, CloudControlProvider as Mo, updatePartialReason as Mr, outputReferenceProvenanceOf as Ms, INDEX_SETTLE_POLL_INTERVAL_MS as Mt, purgeNoncurrentKeyVersions as Mu, isProtectionValueActive as N, collectPrincipalsAttachingPolicy as Na, previewableOrphanRecords as Nc, bindingSkippedOutputs as Ni, repairMalformedResourcesForReadOnly as Nl, createNoEchoValueMacs as Nn, waitForGoneAfterDelete as No, findUpdatePolicyReplacementRefusals as Nr, recordedOutputReferenceRegions as Ns, TABLE_INDEX_NOUN as Nt, decodeListingKey as Nu, serviceTokenBlockingReason as O, unsupportedFinalSnapshotError as Oa, deployRefusesOrphanRowsReason as Oc, isWholeDynamicReferenceValue as Oi, malformedStateRefusalMessage as Ol, planOrphanAdoption as On, localCustomResourceRuntimeActive as Oo, equalModuloMarkedMask as Or, parseWebACLArn as Os, deleteBudgetKey as Ot, SSM_PARAMETER_VALUE_PREFIX as Ou, perType as P, isStoredExpression as Pa, refuseMalformedOrphanRecords as Pc, DEFAULT_RESOURCE_TIMEOUT_MS as Pi, JSON_LISTING_HOLE_VALUE as Pl, noEchoMacBinding as Pn, RollbackInlinePolicyWriters as Po, replacementCreateRoutesToCloudControl as Pr, recordedProvenanceOf as Ps, deleteTableWithIndexBusyRetry as Pt, rememberSynthesizedStacks as Pu, isDynamoDBTableArnIn as Q, policyDocumentMatchesDeclared as Qa, repairMalformedResourceEntriesForReadOnly as Qc, cyan as Qi, dropSupersededProviderReplacements as Ql, mappingPairs as Qn, applyRoleArnIfSet as Qo, readsRegeneratingSecret as Qr, isLegacyHandleId as Qs, isReceiver as Qt, warnWholeAssemblyAsSource as Qu, STREAM_TAGS_KEY as R, destroyStackRecordsView as Ra, unpreviewableOrphanRecords as Rc, holdsSupersededResources as Ri, UNREADABLE_RESOURCES_MAP_ROW as Rl, constructPathOf as Rn, deleteSkipReason as Ro, withCreateTokenLedger as Rr, getAccountInfo as Rs, ECR_AUTO_DELETE_IMAGES_TAG as Rt, createLazyAssetModeContext as Ru, hasPendingMovesOut as S, PRE_DELETE_SNAPSHOT_TYPES as Sa, movedMaskedProperties as Sc, renderAssemblyPathEscape as Sd, secretBearing as Si, refuseMalformedOutputsForDestroy as Sl, isHandledOrphan as Sn, withPrintingSecrets as So, earlyDeletedOld as Sr, AWS_NO_VALUE as Ss, stripIndexContributorInsights as St, missingStateBucketRemedy as Su, refusePendingMovesOut as T, effectiveDeletionPolicy as Ta, passedParameterClassesOf as Tc, resolveBucketRegion as Td, carriedExportAliasExposure as Ti, refuseDivergentRecordRegionForDestroy as Tl, sameJournaledOrphans as Tn, customResourcesFailedWithoutApp as To, settleUnsettledPrevious as Tr, refStateLookupFromResource as Ts, DYNAMODB_DELETE_POLL_COST_MS as Tt, listNestedTemplateRows as Tu, reverseMapStreamPolicy as U, KMS_DEFAULT_KEY_POLICY_ID as Ua, malformedResourceEntriesWarning as Uc, supersededHolderOf as Ui, findHandledUnwrittenCreateOnly as Ul, movedToHint as Un, IntrinsicFunctionResolver as Uo, isJournaledOrphan as Ur, keepsSecretReferenceToken as Us, recordRetainedForReadoption as Ut, redirectDockerAsset as Uu, planStreamMemberOps as V, verifiedIdentityCache as Va, malformedLocalResourceEntriesWarning as Vc, supersededDependentsFirst as Vi, hasReadableResources as Vl, findRefactorHints as Vn, isWaitAbandonedError as Vo, seedsDeleteFirstGuard as Vr, isNamelessDynamicReferenceError as Vs, isTruthyCfnBoolean as Vt, isDefaultBootstrapRepoName as Vu, streamDeclaresPolicy as W, LAMBDA_PERMISSION_STATEMENT_KEYS as Wa, malformedScrubResourceEntriesRefusalMessage as Wc, supersededResourcesOf as Wi, findSdkUnwiredProperties as Wl, rollbackOrphanIds as Wn, isSelectOutOfBounds as Wo, isReplacementOrphan as Wr, withSharedDrainBudget as Ws, readRefactorMarker as Wt, redirectFileAsset as Wu, clearTagWrites as X, lambdaPermissionMatchesDeclared as Xa, refuseMalformedResourceEntriesForImportSave as Xc, findNestedStackTypeChanges as Xi, hasNoCloudControlHandlers as Xl, isPairableType as Xn, producerLookupOver as Xo, computeImplicitDeleteEdges as Xr, siblingsOf as Xs, updateRefactorMarker as Xt, resolveFileAssetSourcePath as Xu, TAGS_BASELINE_REREAD_DELAYS_MS as Y, efsPolicyMatchesDeclared as Ya, refuseMalformedResourceEntriesForImport as Yc, withPreviousPolicies as Yi, NO_CC_HANDLERS_REASON as Yl, differingRemedy as Yn, resolveDynamicReferences as Yo, IMPLICIT_DELETE_DEPENDENCIES as Yr, replacementSidesForLog as Ys, sameMove as Yt, parseAssetManifestBody as Yu, declaredTagsReadback as Z, memberReadFailure as Za, refuseMalformedResourceEntriesForOrphan as Zc, bold as Zi, PROPERTY_COVERAGE_BY_TYPE as Zl, looselyEqual as Zn, refuseUnreadableCdkCrossAccountRefs as Zo, attemptUsesCompletedCreate as Zr, LEGACY_HANDLE_ID_PREFIX as Zs, deleteSignalReceiver as Zt, warnAbsoluteAssetPath as Zu, conditionFingerprint as _, secretNamedRecordNeedles as _a, getSettledWriteOnlyPropertyPaths as _c, absoluteAssemblyPathEscape as _d, reachableDivergentParameters as _i, malformedLocalOutputsWarning as _l, getCurrentNestedStackContext as _n, responsePresignClient as _o, replayFailedOperations as _r, s3BucketRegionalDomainName as _s, planContributorInsightsOp as _t, stackInstanceIdOf as _u, scanActiveConsumers as a, noEchoExactEchoLeavesOf as aa, renderStatefulReason as ac, parseBootstrapMarker as ad, orphanNeedsIdentity as ai, refuseMalformedResourcePropertiesForExport as al, resolvePendingCloudControlRequests as an, CC_BROKEN_REASON as ao, undeclaredGrantSiblingMembers as ar, AWS_CREDENTIAL_ENV_KEYS as as, planTimeToLive as at, splitImportedOps as au, readRecordedConditionVerdicts as b, extractDeploymentEventError as ba, inputFingerprinter as bc, displayAssemblyPath as bd, displayTextOrWithheld as bi, refuseMalformedNestedChildOutputs as bl, dropFailedCommands as bn, isCustomResourceType as bo, PLANNED_EARLY_DELETE_CONSEQUENCE as br, isUnboundTemplateParameter as bs, reverseMapIndexContributorInsights as bt, isSensitiveAttributeName as bu, nestedSsmNameDeferredNote as c, createReadOnlyAttributeHealerFactory as ca, isWarmThroughputDecrease as cc, validateContainerRepoName as cd, nameScopeOf as ci, UNREADABLE_ORPHANS_CONTAINER_ROW as cl, displacedPhysicalIdShown as cn, isCustomResource as co, sgSiblingDecidedById as cr, envCredentialsAreAssumedRole as cs, planVectorIndexUpdates as ct, hasReasonlessBaselineRefusal as cu, slashedSsmNameHealAdoptedNote as d, maskEventTextWithBoundBags as da, APPSYNC_APIKEY_ARN_RESOURCE_PATH as dc, getCdkdContainerRepoName as dd, retiredNameGenerationsLeaving as di, malformedOrphansWarning as dl, nestedChildStackName as dn, classifyHandleUrl as do, withoutSiblingOwnedSgRules as dr, producerRegionsFromState as ds, vectorIndexesSettled as dt, CrossPrefixReadError as du, green as ea, isPlainReferenceTo as ec, ensureAssetStorage as ed, isRedactedRecordedValue as ei, malformedDriftResourcePropertiesWarning as el, macWriteOnlyKeys as en, settleDeclaredMember as eo, propertiesChangedReason as er, assertSendableRoleArn as es, settleWrittenTags as et, providerReplacementReason as eu, slashedSsmNameHealNote as f, namingSecretsWithRecordedNoEcho as fa, displayPhysicalId as fc, defineOwnKey as fd, withNameGenerationReached as fi, refuseMalformedOrphans as fl, recordDisplacedSkips as fn, evaluateSignals as fo, SG_RULE_ID_PATTERN as fr, regionLessSecretName as fs, vectorIndexesShapeDetail as ft, CrossPrefixScanCache as fu, makeCanonicalizePropertiesFn as g, secretNamedAttributeNamesOf as ga, withSecretPhysicalIdsMaskedInState as gc, ownValue as gd, namesAnyDeclaredParameter as gi, malformedExportSourceWarning as gl, collectNestedChildUnaddressed as gn, customResourceResponseExpirationWarning as go, canonicalizeIpProtocolValue as gr, s3BucketDualStackDomainName as gs, indexDeclaresContributorInsights as gt, isNotImplemented as gu, inheritedProvenanceForChildDiff as h, secretNamePrintingBags as ha, secretSegmentsOfState as hc, nullPrototypeRecord as hd, computeParameterTaint as hi, malformedExportNamesWarning as hl, withNestedRevertRun as hn, applyCustomResourceResponseExpiration as ho, sgProtocolKey as hr, s3BucketDomainName as hs, contributorInsightsRefusals as ht, isAccessDenied$1 as hu, mergeNoChangeOutputs as i, noEchoComparisonForTemplate as ia, isStatefulRecreateTargetSync as ic, getBootstrapMarkerKey as id, removeProtectionTypeList as ii, refuseMalformedResourcePropertiesForDrift as il, pendingRequestCount as in, policyContentKey as io, stripSiblingOwnedParentMembers as ir, sendableAssumeRoleCommand as is, isTtlRateLimited as it, S3StateBackend as iu, recordedProtectionNote as j, collectGroupsAddedBySiblings as ja, malformedOrphanRecordsWarning as jc, collectPublishedOutputNames as ji, refuseMalformedResourcesForExport as jl, crossStackReadsForPartialSave as jn, waitForLambdaFunctionActive as jo, updatePartialMessage as jr, keepHeldTokenProvenance as js, DELETE_INDEX_WAIT_PROCEED_NOTE as jt, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as ju, diffSecurity as k, createPreDeleteFinalSnapshot as ka, isReadableOrphanRecord as kc, noEchoParameterValueSeed as ki, refuseMalformedResourcesForDeploy as kl, DeploymentEventsReader as kn, setLocalCustomResourceRuntimeEnabled as ko, equalModuloMask as kr, extractGetAttRefs as ks, resolveDynamoDbDeleteBudgetClock as kt, isListParameterType as ku, nestedSsmNameRowNote as l, completedReplayEntries as la, toCfnInteger as lc, BOOTSTRAP_MARKER_PREFIX as ld, retiredAfterRollback as li, hasReadableOrphans as ll, dropSettledNestedJournals as ln, wouldReturnToSdkProvider as lo, siblingOwnedSgRuleIdentities as lr, classifyRecordedSecretRegion as ls, readbackVectorIndexes as lt, hasUnverifiableParameterRefusal as lu, crossStackOutputProvenanceSource as m, secretNamePrintingBag as ma, secretPhysicalIdSegment as mc, hasPlainPrototype as md, inheritProducerRegions as mi, repairMalformedOrphansForReadOnly as ml, revertedNestedRowIds as mn, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as mo, recordedSgRuleId as mr, s3BucketArn as ms, completeTableContributorInsightsBaseline as mt, crossPrefixDeniedWarning as mu, isSecretBearingReferenceString as n, yellow as na, MULTI_REGION_RECREATE_BLOCKED_TYPES as nc, assertAssetBucketRegion as nd, redactedDeleteAddressSkip as ni, refuseMalformedResourceProperties as nl, licensedNameHolder as nn, verbatimEchoDriftKeys as no, referencedLogicalIds as nr, isIamRoleArn as ns, takeTagWrite as nt, planSubscriptionAttributes as nu, inRunStackKey as o, noEchoParameterNamesOf as oa, WARM_THROUGHPUT_MEMBERS as oc, readBootstrapMarkerBody as od, nameGenerationCarriedFrom as oi, refuseMalformedResourcePropertiesForOrphan as ol, NESTED_PENDING_PARENT_REASON as on, ProviderRegistry as oo, recordedRuleIdOf as or, applyCallerIdentityCredentials as os, readTtlSpec as ot, isKnownTokenFreeState as ou, slashedSsmNameHealPendingNote as p, orphanRecordsPrintingBag as pa, maskedSecretSegment as pc, hasOwnKey as pd, getCurrentProducerRegions as pi, refuseMalformedOrphansForDestroy as pl, revertNestedChildFromJournal as pn, isSignalKey as po, cfnIngressPortValue as pr, isUnexposedRecordedIdentity as ps, CONTRIBUTOR_INSIGHTS_KEY as pt, applyCrossPrefixScan as pu, streamPolicyMatchesDeclared as q, declaredMemberDocument as qa, refuseMalformedResourceEntriesForDeploy as qc, snapshotSegmentSurvivors as qi, withoutSdkUnwiredProperties as ql, changedReferencePath as qn, stackIdTailOf as qo, recordUnderIdIsNotOwn as qr, containsIntrinsic as qs, refactorMarkerRefusalMessage as qt, getDockerImageBySourceHash as qu, keptWholeReasonText as r, noEchoAttributeNamesOf as ra, isStatefulRecreateTargetForReplace as rc, isCrossRegionRedirect as rd, segmentCleanupOptions as ri, refuseMalformedResourcePropertiesForDestroy as rl, formatResourceLine as rn, attemptedPolicyDocument as ro, siblingOwnedRevertDesired as rr, parseIamRoleArn as rs, isTtlAlreadyDisabled as rt, TemplateParser as ru, checkNestedSsmNames as s, withAttemptedItemsMasked as sa, coerceWarmThroughput as sc, validateAssetBucketName as sd, nameGenerationHighWaterOf as si, repairMalformedResourcePropertiesForReadOnly as sl, displacedOpClause as sn, ccBrokenReason as so, sgRuleOwnershipIdentity as sr, callerEnvCredentials as ss, sendTtlWaitingOutRateLimit as st, readOnlyStateVersionOf as su, DeployEngine as t, red as ta, shownType as tc, buildDenyExternalAccessPolicy as td, redactedDeleteAddressFields as ti, malformedResourcePropertiesWarning as tl, readsOnlyNoEchoParameters as tn, warnUnsettledMember as to, proposeRenames as tr, explicitRoleArnOrThrow as ts, tagsMatchDeclared as tt, normalizeRecordName as tu, healSlashedSsmParameterNames as u, journaledOrphanPrintingBag as ua, toFiniteNumber as uc, getCdkdAssetBucketName as ud, retiredNameGenerationsAfter as ui, malformedOrphansRefusalMessage as ul, getNestedRevertRun as un, WaitConditionSignalStore as uo, siblingRecordedSgRuleIds as ur, classifyReplaySecretRegion as us, vectorIndexesForCreate as ut, rebuildClientForBucketRegion as uu, conditionInputsFrom as v, stateSecretNameNeedles as va, getTopLevelKeysHoldingUnreadableCreateOnly as vc, assemblyPathEscape as vd, resourcesNamingDeclaredParameter as vi, malformedOutputsRefusalMessage as vl, withNestedStackContext as vn, TemplateNoEchoReresolver as vo, replayRollback as vr, s3BucketWebsiteUrl as vs, planIndexContributorInsightsOps as vt, withStackInstanceIdWithheld as vu, pendingMovesRefusalMessage as w, ccRoutedInstanceTakesNoSnapshot as wa, maskedInputProof as wc, clearBucketRegionCache as wd, secretSafeKeyDisplay as wi, STATE_REGION_DIVERGED as wl, loadJournaledOrphans as wn, customResourceStackName as wo, recordAfterRollbackUpdate as wr, isStalePlaceholderArnAttribute as ws, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as wt, isAbsoluteAssetPath as wu, childTemplateLoader as x, ATOMIC_FINAL_SNAPSHOT_TYPES as xa, maskedPropertyFingerprintsOf as xc, namesTheSameDirectory as xd, exportAliasCollisionScrubWarning as xi, refuseMalformedOutputs as xl, dropFailedHint as xn, getCurrentResourceSecrets as xo, earlyDeleteWhen as xr, parameterTypeMayLoseSecretIdentity as xs, reverseMapTableContributorInsights as xt, stringifyValue as xu, parentSuppliedValues as y, storedSecretNameNeedles as ya, tryGetTopLevelWriteOnlyProperties as yc, describeFileReadFailure as yd, WITHHELD_NAME_DISPLAY as yi, malformedOutputsWarning as yl, deleteJournaledOrphans as yn, readsNoEchoDeleteValues as yo, DELETED_RESOURCE_REMEDY as yr, coerceParameterTypedValue as ys, readContributorInsightsSpec as yt, isSecretValuedAttribute as yu, declaredStreamPolicyMember as z, getStackRecords as za, unreadableOrphanRecords as zc, isSupersededResourceRecord as zi, displayLogicalId as zl, findDestructiveChanges as zn, withIndeterminateGuard as zo, acquireIdempotencyToken as zr, isImpossibleEmptyStoredAttribute as zs, S3_AUTO_DELETE_OBJECTS_TAG as zt, flattenAssetPlaceholders as zu };
|
|
55785
|
-
//# sourceMappingURL=deploy-engine-
|
|
56034
|
+
export { recordTagWrite as $, policyDocumentMatchesDeclared as $a, refuseMalformedResourceEntriesForOrphan as $c, gray as $i, PROPERTY_COVERAGE_BY_TYPE as $l, parseMappingFile as $n, applyRoleArnIfSet as $o, REDACTED_DELETE_ADDRESS_SKIP_REASON as $r, LEGACY_HANDLE_ID_PREFIX as $s, removeSignalReceiverNamed as $t, resolveFileAssetSourcePath as $u, recordedProtectionEvidence as A, createPreDeleteFinalSnapshot as Aa, deployRefusesOrphanRowsReason as Ac, collectDeclaredOutputNames as Ai, malformedStateRefusalMessage as Al, DeploymentEventsStore as An, setLocalCustomResourceRuntimeEnabled as Ao, undeclaredEmptyObservedKeys as Ar, extractGetAttRefs as As, resolveDynamoDbDeleteBudgetMs as At, templateIdentity as Au, declaredStreamTagsMember as B, getStackRecords as Ba, unpreviewableOrphanRecords as Bc, supersededAfterRollback as Bi, UNREADABLE_RESOURCES_MAP_ROW as Bl, formatDestructiveChange as Bn, withIndeterminateGuard as Bo, planRollback as Br, getAccountInfo as Bs, hasCdkAutoDeleteTag as Bt, createAssetRedirectResolver as Bu, pendingMovesOutOf as C, PRE_DELETE_SNAPSHOT_TYPES as Ca, maskedPropertyFingerprintsOf as Cc, displayAssemblyPath as Cd, secretBearingStateKeyWarning as Ci, refuseMalformedOutputs as Cl, journaledOrphanLines as Cn, withPrintingSecrets as Co, buildReadCurrentStateContext as Cr, AWS_NO_VALUE as Cs, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as Ct, isSensitiveAttributeName as Cu, findServiceTokenRefusals as D, isFinalSnapshotError as Da, passedParameterClassesOf as Dc, clearBucketRegionCache as Dd, exportNameSecretExposure as Di, refuseDivergentRecordRegionForDestroy as Dl, makeSiblingClaimReader as Dn, customResourcesRunWithoutApp as Do, calculateResourceDrift as Dr, lacksRecordedRefArn as Ds, compensateRemovedDeletionProtection as Dt, isAbsoluteAssetPath as Du, deferredServiceTokenWarning as E, effectiveDeletionPolicy as Ea, maskedInputProof as Ec, resolveAssemblyPath as Ed, exportNameNoEchoParameters as Ei, STATE_REGION_DIVERGED as El, makeForeignHolderScan as En, customResourcesFailedWithoutApp as Eo, withUnprovenUnsettled as Er, refStateLookupFromResource as Es, beginDeleteWait as Et, findNestedTemplateTreeDefect as Eu, readProtection as F, isStoredExpression as Fa, previewableOrphanRecords as Fc, DEFAULT_RESOURCE_WARN_AFTER_MS as Fi, repairMalformedResourcesForReadOnly as Fl, noEchoMacParametersOf as Fn, RollbackInlinePolicyWriters as Fo, earliestDefined as Fr, recordedProvenanceOf as Fs, maskedLogger as Ft, purgeNoncurrentKeyVersions as Fu, streamDeclaresTags as G, LAMBDA_PERMISSION_STATEMENT_KEYS as Ga, malformedResourceEntriesWarning as Gc, withoutSuperseded as Gi, findHandledUnwrittenCreateOnly as Gl, withMovedTo as Gn, isSelectOutOfBounds as Go, planFailedOps as Gr, keepsSecretReferenceToken as Gs, readRefactorMarkerOnce as Gt, loadPublishableAssetManifest as Gu, readStreamPolicy as H, verifiedIdentityCache as Ha, isReadableResourceEntry as Hc, supersededHeldByOtherTypeWarning as Hi, hasReadableOutputs as Hl, hintSidesOf as Hn, isWaitAbandonedError as Ho, demoteSupersededOrphans as Hr, carriesFetchableDynamicReference as Hs, keptForRetainedRecord as Ht, flattenAssetPlaceholders as Hu, DynamoDBGlobalTableProvider as I, withoutSiblingAttachedArns as Ia, refuseMalformedOrphanRecords as Ic, maskingRetryLogger as Ii, JSON_LISTING_HOLE_VALUE as Il, noEchoMacVerdict as In, UNSPECIFIED_SKIP_REASON as Io, ledgerForStack as Ir, recordedReferenceRegions as Is, relayedIndexBusyDelete as It, decodeListingKey as Iu, streamTagsMatchDeclared as J, declaredMemberDocument as Ja, refuseMalformedResourceEntries as Jc, resolveReplacementOldType as Ji, withoutAcceptedSdkUnwiredProperties as Jl, changedReferenceReason as Jn, stackIdTailOf as Jo, replacementNeverSwapped as Jr, INTRINSIC_KEYS as Js, refuseRefactorMarker as Jt, rewriteTemplateAssetReferences as Ju, streamMemberRefusals as K, OWN_WRITE_REREAD_DELAYS_MS as Ka, malformedScrubResourceEntriesRefusalMessage as Kc, replacedDeleteFailureVerdict as Ki, findSdkUnwiredProperties as Kl, changedReferenceInDiff as Kn, isAlwaysLiveAttribute as Ko, recheckFailedPlan as Kr, withSharedDrainBudget as Ks, refactorMarkerMovesOf as Kt, redirectDockerAsset as Ku, STREAM_POLICY_KEY as L, withoutSiblingOwned as La, refuseMalformedOrphanRecordsForDestroy as Lc, deleteSupersededEntry as Li, accountArgs as Ll, noEchoValueMacsOf as Ln, deleteIndeterminateGuards as Lo, reserveStackCreateToken as Lr, referenceProvenanceOf as Ls, waitForIndexesSettled as Lt, rememberSynthesizedStacks as Lu, PROTECTION_PROPERTY_BY_TYPE as M, collectGroupsAddedBySiblings as Ma, malformedOrphanRecordsRefusalMessage as Mc, isExportAliasCollision as Mi, refuseMalformedResourcesForDestroy as Ml, NOECHO_MAC_KEY_ALIAS as Mn, waitForLambdaFunctionActive as Mo, updatePartialReason as Mr, keepHeldTokenProvenance as Ms, INDEX_SETTLE_POLL_INTERVAL_MS as Mt, isListParameterType as Mu, isProtectionValueActive as N, collectManagedPolicyArnsAttachedBySiblings as Na, malformedOrphanRecordsWarning as Nc, bindingSkippedOutputs as Ni, refuseMalformedResourcesForExport as Nl, createNoEchoValueMacs as Nn, CloudControlProvider as No, findUpdatePolicyReplacementRefusals as Nr, outputReferenceProvenanceOf as Ns, TABLE_INDEX_NOUN as Nt, ssmResolvedValueType as Nu, serviceTokenBlockingReason as O, refusesFinalSnapshot as Oa, declaresNoEcho as Oc, resolveBucketRegion as Od, isWholeDynamicReferenceValue as Oi, malformedRenderedContainersWarning as Ol, planOrphanAdoption as On, localCustomResourceCommand as Oo, equalModuloMarkedMask as Or, lacksRecordedTableArn as Os, deleteBudgetKey as Ot, listNestedTemplateRows as Ou, perType as P, collectPrincipalsAttachingPolicy as Pa, malformedOrphanRowsKeptWarning as Pc, DEFAULT_RESOURCE_TIMEOUT_MS as Pi, refuseMalformedState as Pl, noEchoMacBinding as Pn, waitForGoneAfterDelete as Po, replacementCreateRoutesToCloudControl as Pr, recordedOutputReferenceRegions as Ps, deleteTableWithIndexBusyRetry as Pt, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Pu, isDynamoDBTableArnIn as Q, memberReadFailure as Qa, refuseMalformedResourceEntriesForImportSave as Qc, cyan as Qi, hasNoCloudControlHandlers as Ql, mappingPairs as Qn, refuseUnreadableCdkCrossAccountRefs as Qo, readsRegeneratingSecret as Qr, siblingsOf as Qs, isReceiver as Qt, parseAssetManifestBody as Qu, STREAM_TAGS_KEY as R, awaitInFlightSibling as Ra, refuseMalformedOrphansForOrphan as Rc, holdsSupersededResources as Ri, withheldAccountClause as Rl, constructPathOf as Rn, deleteLeftInPlace as Ro, withCreateTokenLedger as Rr, referenceTokensIn as Rs, ECR_AUTO_DELETE_IMAGES_TAG as Rt, synthesizedStacks as Ru, hasPendingMovesOut as S, ATOMIC_FINAL_SNAPSHOT_TYPES as Sa, inputFingerprinter as Sc, describeFileReadFailure as Sd, secretBearing as Si, refuseMalformedNestedChildOutputs as Sl, isHandledOrphan as Sn, getCurrentResourceSecrets as So, earlyDeletedOld as Sr, parameterTypeMayLoseSecretIdentity as Ss, stripIndexContributorInsights as St, isSecretValuedAttribute as Su, refusePendingMovesOut as T, ccRoutedInstanceTakesNoSnapshot as Ta, parameterInputsFor as Tc, renderAssemblyPathEscape as Td, carriedExportAliasExposure as Ti, repairMalformedOutputsForReadOnly as Tl, sameJournaledOrphans as Tn, customResourceStackName as To, settleUnsettledPrevious as Tr, isStalePlaceholderArnAttribute as Ts, DYNAMODB_DELETE_POLL_COST_MS as Tt, missingStateBucketRemedy as Tu, reverseMapStreamPolicy as U, withStackRecords as Ua, malformedLocalResourceEntriesWarning as Uc, supersededHolderOf as Ui, hasReadableResources as Ul, movedToHint as Un, markWaitAbandoned as Uo, isJournaledOrphan as Ur, isNamelessDynamicReferenceError as Us, recordRetainedForReadoption as Ut, isDefaultBootstrapBucketName as Uu, planStreamMemberOps as V, revertStackRecordsView as Va, unreadableOrphanRecords as Vc, supersededDependentsFirst as Vi, displayLogicalId as Vl, findRefactorHints as Vn, getReadOnlyPropertyPaths as Vo, seedsDeleteFirstGuard as Vr, isImpossibleEmptyStoredAttribute as Vs, isTruthyCfnBoolean as Vt, createLazyAssetModeContext as Vu, streamDeclaresPolicy as W, KMS_DEFAULT_KEY_POLICY_ID as Wa, malformedLocalResourcesWarning as Wc, supersededResourcesOf as Wi, findActionableSdkUnwired as Wl, rollbackOrphanIds as Wn, IntrinsicFunctionResolver as Wo, isReplacementOrphan as Wr, carriesDynamicReference as Ws, readRefactorMarker as Wt, isDefaultBootstrapRepoName as Wu, clearTagWrites as X, efsPolicyMatchesDeclared as Xa, refuseMalformedResourceEntriesForDestroy as Xc, findNestedStackTypeChanges as Xi, withoutUnwrittenSdkUnwiredProperties as Xl, isPairableType as Xn, resolveDynamicReferences as Xo, computeImplicitDeleteEdges as Xr, markNewValueKnownAfterDeploy as Xs, updateRefactorMarker as Xt, getDockerImageBySourceHash as Xu, TAGS_BASELINE_REREAD_DELAYS_MS as Y, declaredPolicyDocument as Ya, refuseMalformedResourceEntriesForDeploy as Yc, withPreviousPolicies as Yi, withoutSdkUnwiredProperties as Yl, differingRemedy as Yn, isSettledInstanceState as Yo, IMPLICIT_DELETE_DEPENDENCIES as Yr, containsIntrinsic as Ys, sameMove as Yt, AssetManifestLoader as Yu, declaredTagsReadback as Z, lambdaPermissionMatchesDeclared as Za, refuseMalformedResourceEntriesForImport as Zc, bold as Zi, NO_CC_HANDLERS_REASON as Zl, looselyEqual as Zn, producerLookupOver as Zo, attemptUsesCompletedCreate as Zr, replacementSidesForLog as Zs, deleteSignalReceiver as Zt, isCfnTemplateAssetPath as Zu, conditionFingerprint as _, secretNamedRecordNeedles as _a, secretSegmentsOfState as _c, hasPlainPrototype as _d, reachableDivergentParameters as _i, malformedExportNamesWarning as _l, getCurrentNestedStackContext as _n, customResourceResponseExpirationWarning as _o, replayFailedOperations as _r, s3BucketDualStackDomainName as _s, planContributorInsightsOp as _t, crossPrefixDeniedWarning as _u, scanActiveConsumers as a, noEchoExactEchoLeavesOf as aa, isStatefulRecreateTargetForReplace as ac, assertAssetBucketRegion as ad, orphanNeedsIdentity as ai, refuseMalformedResourcePropertiesForDestroy as al, resolvePendingCloudControlRequests as an, policyContentKey as ao, undeclaredGrantSiblingMembers as ar, sendableAssumeRoleCommand as as, planTimeToLive as at, wireAttributeValue as au, readRecordedConditionVerdicts as b, storedSecretNameNeedles as ba, getTopLevelKeysHoldingUnreadableCreateOnly as bc, absoluteAssemblyPathEscape as bd, displayTextOrWithheld as bi, malformedOutputsRefusalMessage as bl, dropFailedCommands as bn, readsNoEchoDeleteValues as bo, PLANNED_EARLY_DELETE_CONSEQUENCE as br, coerceParameterTypedValue as bs, reverseMapIndexContributorInsights as bt, stackInstanceIdOf as bu, nestedSsmNameDeferredNote as c, createReadOnlyAttributeHealerFactory as ca, WARM_THROUGHPUT_MEMBERS as cc, parseBootstrapMarker as cd, nameScopeOf as ci, refuseMalformedResourcePropertiesForOrphan as cl, displacedPhysicalIdShown as cn, ccBrokenReason as co, sgSiblingDecidedById as cr, callerEnvCredentials as cs, planVectorIndexUpdates as ct, splitImportedOps as cu, slashedSsmNameHealAdoptedNote as d, maskEventTextWithBoundBags as da, toCfnInteger as dc, validateContainerRepoName as dd, retiredNameGenerationsLeaving as di, hasReadableOrphans as dl, nestedChildStackName as dn, WaitConditionSignalStore as do, withoutSiblingOwnedSgRules as dr, classifyReplaySecretRegion as ds, vectorIndexesSettled as dt, hasReasonlessBaselineRefusal as du, green as ea, isLegacyHandleId as ec, warnAbsoluteAssetPath as ed, isRedactedRecordedValue as ei, repairMalformedResourceEntriesForReadOnly as el, macWriteOnlyKeys as en, reReadUntilSettled as eo, propertiesChangedReason as er, assertFlagRoleArn as es, settleWrittenTags as et, dropSupersededProviderReplacements as eu, slashedSsmNameHealNote as f, namingSecretsWithRecordedNoEcho as fa, toFiniteNumber as fc, BOOTSTRAP_MARKER_PREFIX as fd, withNameGenerationReached as fi, malformedOrphansRefusalMessage as fl, recordDisplacedSkips as fn, classifyHandleUrl as fo, SG_RULE_ID_PATTERN as fr, producerRegionsFromState as fs, vectorIndexesShapeDetail as ft, hasUnverifiableParameterRefusal as fu, makeCanonicalizePropertiesFn as g, secretNamedAttributeNamesOf as ga, secretPhysicalIdSegment as gc, hasOwnKey as gd, namesAnyDeclaredParameter as gi, repairMalformedOrphansForReadOnly as gl, collectNestedChildUnaddressed as gn, applyCustomResourceResponseExpiration as go, canonicalizeIpProtocolValue as gr, s3BucketDomainName as gs, indexDeclaresContributorInsights as gt, applyCrossPrefixScan as gu, inheritedProvenanceForChildDiff as h, secretNamePrintingBags as ha, maskedSecretSegment as hc, defineOwnKey as hd, computeParameterTaint as hi, refuseMalformedOrphansForDestroy as hl, withNestedRevertRun as hn, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ho, sgProtocolKey as hr, s3BucketArn as hs, contributorInsightsRefusals as ht, CrossPrefixScanCache as hu, mergeNoChangeOutputs as i, noEchoComparisonForTemplate as ia, MULTI_REGION_RECREATE_BLOCKED_TYPES as ic, buildDenyExternalAccessPolicy as id, removeProtectionTypeList as ii, refuseMalformedResourceProperties as il, pendingRequestCount as in, attemptedPolicyDocument as io, stripSiblingOwnedParentMembers as ir, parseIamRoleArn as is, isTtlRateLimited as it, planSubscriptionAttributes as iu, recordedProtectionNote as j, buildFinalSnapshotIdentifier as ja, isReadableOrphanRecord as jc, collectPublishedOutputNames as ji, refuseMalformedResourcesForDeploy as jl, crossStackReadsForPartialSave as jn, withCustomResourceStack as jo, updatePartialMessage as jr, promoteInPlaceAttributeDependents as js, DELETE_INDEX_WAIT_PROCEED_NOTE as jt, SSM_PARAMETER_VALUE_PREFIX as ju, diffSecurity as k, unsupportedFinalSnapshotError as ka, maskedPropertyFingerprint as kc, noEchoParameterValueSeed as ki, malformedResourcesWarning as kl, DeploymentEventsReader as kn, localCustomResourceRuntimeActive as ko, equalModuloMask as kr, parseWebACLArn as ks, resolveDynamoDbDeleteBudgetClock as kt, renderNestedTemplateTreeDefect as ku, nestedSsmNameRowNote as l, completedReplayEntries as la, coerceWarmThroughput as lc, readBootstrapMarkerBody as ld, retiredAfterRollback as li, repairMalformedResourcePropertiesForReadOnly as ll, dropSettledNestedJournals as ln, isCustomResource as lo, siblingOwnedSgRuleIdentities as lr, envCredentialsAreAssumedRole as ls, readbackVectorIndexes as lt, isKnownTokenFreeState as lu, crossStackOutputProvenanceSource as m, secretNamePrintingBag as ma, displayPhysicalId as mc, getCdkdContainerRepoName as md, inheritProducerRegions as mi, refuseMalformedOrphans as ml, revertedNestedRowIds as mn, isSignalKey as mo, recordedSgRuleId as mr, isUnexposedRecordedIdentity as ms, completeTableContributorInsightsBaseline as mt, CrossPrefixReadError as mu, isSecretBearingReferenceString as n, yellow as na, isPlainReferenceTo as nc, AssetModeResolver as nd, redactedDeleteAddressSkip as ni, malformedDriftResourcePropertiesWarning as nl, licensedNameHolder as nn, warnUnsettledMember as no, referencedLogicalIds as nr, explicitRoleArnOrThrow as ns, takeTagWrite as nt, providerReplacementReason as nu, inRunStackKey as o, noEchoParameterNamesOf as oa, isStatefulRecreateTargetSync as oc, isCrossRegionRedirect as od, nameGenerationCarriedFrom as oi, refuseMalformedResourcePropertiesForDrift as ol, NESTED_PENDING_PARENT_REASON as on, CC_BROKEN_REASON as oo, recordedRuleIdOf as or, AWS_CREDENTIAL_ENV_KEYS as os, readTtlSpec as ot, TemplateParser as ou, slashedSsmNameHealPendingNote as p, orphanRecordsPrintingBag as pa, APPSYNC_APIKEY_ARN_RESOURCE_PATH as pc, getCdkdAssetBucketName as pd, getCurrentProducerRegions as pi, malformedOrphansWarning as pl, revertNestedChildFromJournal as pn, evaluateSignals as po, cfnIngressPortValue as pr, regionLessSecretName as ps, CONTRIBUTOR_INSIGHTS_KEY as pt, rebuildClientForBucketRegion as pu, streamPolicyMatchesDeclared as q, SNS_DEFAULT_POLICY_ID as qa, refuseMalformedResourceAttributesForOrphan as qc, snapshotSegmentSurvivors as qi, unwrittenCreateOnlyReplacement as ql, changedReferencePath as qn, poisonRenderedSpellingsCollidingIn as qo, recordUnderIdIsNotOwn as qr, namesRecreatedParent as qs, refactorMarkerRefusalMessage as qt, redirectFileAsset as qu, keptWholeReasonText as r, noEchoAttributeNamesOf as ra, shownType as rc, ensureAssetStorage as rd, segmentCleanupOptions as ri, malformedResourcePropertiesWarning as rl, formatResourceLine as rn, verbatimEchoDriftKeys as ro, siblingOwnedRevertDesired as rr, isIamRoleArn as rs, isTtlAlreadyDisabled as rt, normalizeRecordName as ru, checkNestedSsmNames as s, withAttemptedItemsMasked as sa, renderStatefulReason as sc, getBootstrapMarkerKey as sd, nameGenerationHighWaterOf as si, refuseMalformedResourcePropertiesForExport as sl, displacedOpClause as sn, ProviderRegistry as so, sgRuleOwnershipIdentity as sr, applyCallerIdentityCredentials as ss, sendTtlWaitingOutRateLimit as st, S3StateBackend as su, DeployEngine as t, red as ta, findReplacedReadersOfRecreateTargets as tc, warnWholeAssemblyAsSource as td, redactedDeleteAddressFields as ti, unreadableResourceEntries as tl, readsOnlyNoEchoParameters as tn, settleDeclaredMember as to, proposeRenames as tr, assertSendableRoleArn as ts, tagsMatchDeclared as tt, providerReplacementOldDeleted as tu, healSlashedSsmParameterNames as u, journaledOrphanPrintingBag as ua, isWarmThroughputDecrease as uc, validateAssetBucketName as ud, retiredNameGenerationsAfter as ui, UNREADABLE_ORPHANS_CONTAINER_ROW as ul, getNestedRevertRun as un, wouldReturnToSdkProvider as uo, siblingRecordedSgRuleIds as ur, classifyRecordedSecretRegion as us, vectorIndexesForCreate as ut, readOnlyStateVersionOf as uu, conditionInputsFrom as v, stackSecretNamesMasker as va, withSecretPhysicalIdsMaskedInState as vc, nullPrototypeRecord as vd, resourcesNamingDeclaredParameter as vi, malformedExportSourceWarning as vl, withNestedStackContext as vn, responsePresignClient as vo, replayRollback as vr, s3BucketRegionalDomainName as vs, planIndexContributorInsightsOps as vt, isAccessDenied$1 as vu, pendingMovesRefusalMessage as w, ccRoutedFinalSnapshotError as wa, movedMaskedProperties as wc, namesTheSameDirectory as wd, secretSafeKeyDisplay as wi, refuseMalformedOutputsForDestroy as wl, loadJournaledOrphans as wn, NO_LOCAL_CUSTOM_RESOURCES_FLAG as wo, recordAfterRollbackUpdate as wr, cfnRefValueFromPhysicalId as ws, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as wt, stringifyValue as wu, childTemplateLoader as x, extractDeploymentEventError as xa, tryGetTopLevelWriteOnlyProperties as xc, assemblyPathEscape as xd, exportAliasCollisionScrubWarning as xi, malformedOutputsWarning as xl, dropFailedHint as xn, isCustomResourceType as xo, earlyDeleteWhen as xr, isUnboundTemplateParameter as xs, reverseMapTableContributorInsights as xt, withStackInstanceIdWithheld as xu, parentSuppliedValues as y, stateSecretNameNeedles as ya, getSettledWriteOnlyPropertyPaths as yc, ownValue as yd, WITHHELD_NAME_DISPLAY as yi, malformedLocalOutputsWarning as yl, deleteJournaledOrphans as yn, TemplateNoEchoReresolver as yo, DELETED_RESOURCE_REMEDY as yr, s3BucketWebsiteUrl as ys, readContributorInsightsSpec as yt, isNotImplemented as yu, declaredStreamPolicyMember as z, destroyStackRecordsView as za, repairMalformedOrphanRecordsForReadOnly as zc, isSupersededResourceRecord as zi, STATE_RESOURCES_MALFORMED as zl, findDestructiveChanges as zn, deleteSkipReason as zo, acquireIdempotencyToken as zr, withoutVersionAttestation as zs, S3_AUTO_DELETE_OBJECTS_TAG as zt, buildAssetRedirectMap as zu };
|
|
56035
|
+
//# sourceMappingURL=deploy-engine-BrbeNr1n.js.map
|