@cdkd/cli 0.369.0 → 0.370.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-rk6Owoyy.js → ambient-client-defaults-tZDuM2co.js} +5 -4
- package/dist/ambient-client-defaults-tZDuM2co.js.map +1 -0
- package/dist/{asg-provider-CNRVBqWX.js → asg-provider-RrQcEEg6.js} +6 -6
- package/dist/{asg-provider-CNRVBqWX.js.map → asg-provider-RrQcEEg6.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-CEDK9itT.js → custom-resource-runtime-DFlVlsm0.js} +6 -6
- package/dist/{custom-resource-runtime-CEDK9itT.js.map → custom-resource-runtime-DFlVlsm0.js.map} +1 -1
- package/dist/{db-associated-roles-CmtjO5eX.js → db-associated-roles-DScze2Gm.js} +2 -2
- package/dist/{db-associated-roles-CmtjO5eX.js.map → db-associated-roles-DScze2Gm.js.map} +1 -1
- package/dist/{delete-started-Csx7vwyg.js → delete-started-BLH3blZC.js} +6 -6
- package/dist/{delete-started-Csx7vwyg.js.map → delete-started-BLH3blZC.js.map} +1 -1
- package/dist/{deploy-engine-BOJDF7gp.js → deploy-engine-CjPj4mWd.js} +575 -134
- package/dist/deploy-engine-CjPj4mWd.js.map +1 -0
- package/dist/{ec2-termination-protection-BfnGV4MW.js → ec2-termination-protection-snZAaTKf.js} +16 -6
- package/dist/ec2-termination-protection-snZAaTKf.js.map +1 -0
- package/dist/{ecr-uri-C6KQIzAh.js → ecr-uri-CXRdFygz.js} +2 -2
- package/dist/{ecr-uri-C6KQIzAh.js.map → ecr-uri-CXRdFygz.js.map} +1 -1
- package/dist/{expected-bucket-owner-CaFllAu_.js → expected-bucket-owner-BbU5xGZW.js} +2 -2
- package/dist/{expected-bucket-owner-CaFllAu_.js.map → expected-bucket-owner-BbU5xGZW.js.map} +1 -1
- package/dist/{iam-role-provider-DRszX-y3.js → iam-role-provider-CnrvifnX.js} +9 -9
- package/dist/{iam-role-provider-DRszX-y3.js.map → iam-role-provider-CnrvifnX.js.map} +1 -1
- package/dist/{image-plan-Db783emh.js → image-plan-TZhXZ1PB.js} +9 -9
- package/dist/image-plan-TZhXZ1PB.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-Db1YslcC.js → logger-CS-YglVv.js} +2 -2
- package/dist/{logger-Db1YslcC.js.map → logger-CS-YglVv.js.map} +1 -1
- package/dist/{neptune-provider-rlCSoeoP.js → neptune-provider-Cc5YKqPa.js} +20 -15
- package/dist/neptune-provider-Cc5YKqPa.js.map +1 -0
- package/dist/{program-DpryKXTn.js → program-Bxtxr-a2.js} +18 -16
- package/dist/program-Bxtxr-a2.js.map +1 -0
- package/dist/{provider-classes-DtaAa9Bd.js → provider-classes-BzKLZwtY.js} +690 -68
- package/dist/provider-classes-BzKLZwtY.js.map +1 -0
- package/dist/{rds-provider-cQkTDV8C.js → rds-provider-ZtlLePqa.js} +25 -19
- package/dist/rds-provider-ZtlLePqa.js.map +1 -0
- package/dist/{read-replica-BhIJ9o47.js → read-replica-WOLC0PN2.js} +3 -3
- package/dist/{read-replica-BhIJ9o47.js.map → read-replica-WOLC0PN2.js.map} +1 -1
- package/dist/{replacement-rules-B4u0_NZA.js → replacement-rules-CpJuKIfa.js} +3 -3
- package/dist/{replacement-rules-B4u0_NZA.js.map → replacement-rules-CpJuKIfa.js.map} +1 -1
- package/dist/{resource-deadline-D4VcgDmH.js → resource-deadline-CCOMsXbq.js} +90 -87
- package/dist/{resource-deadline-D4VcgDmH.js.map → resource-deadline-CCOMsXbq.js.map} +1 -1
- package/dist/{restore-source-guard-CgUon9UO.js → restore-source-guard-CoMJb7cu.js} +53 -5
- package/dist/restore-source-guard-CoMJb7cu.js.map +1 -0
- package/dist/{run-cli-YiJIQRsR.js → run-cli-DbveetO_.js} +2 -2
- package/dist/{run-cli-YiJIQRsR.js.map → run-cli-DbveetO_.js.map} +1 -1
- package/dist/{settle-own-write-members-ojoMzO_S.js → settle-own-write-members-CWj7GaSq.js} +42 -15
- package/dist/{settle-own-write-members-ojoMzO_S.js.map → settle-own-write-members-CWj7GaSq.js.map} +1 -1
- package/dist/{version-D4-Ie5QB.js → version-Dho_cBw1.js} +2 -2
- package/dist/{version-D4-Ie5QB.js.map → version-Dho_cBw1.js.map} +1 -1
- package/package.json +1 -1
- package/dist/ambient-client-defaults-rk6Owoyy.js.map +0 -1
- package/dist/deploy-engine-BOJDF7gp.js.map +0 -1
- package/dist/ec2-termination-protection-BfnGV4MW.js.map +0 -1
- package/dist/image-plan-Db783emh.js.map +0 -1
- package/dist/neptune-provider-rlCSoeoP.js.map +0 -1
- package/dist/program-DpryKXTn.js.map +0 -1
- package/dist/provider-classes-DtaAa9Bd.js.map +0 -1
- package/dist/rds-provider-cQkTDV8C.js.map +0 -1
- package/dist/restore-source-guard-CgUon9UO.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-Dho_cBw1.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-CS-YglVv.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-tZDuM2co.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 scheduleDescribeType, B as PhaseClock, C as prefetchCreateOnlyPropertyPaths, D as hasNoRegistrySchema, E as describeTypeWithThrottleRetry, F as REPLACEMENT_TRIGGER_PROPERTIES, G as timePhase, H as phaseTimingsEnabled, J as jsonParseFailureStandIn, K as timePhaseSync, L as ignoresUnmodifiedGroupSize, M as withRetry, N as CREATE_ONLY_PATHS_SNAPSHOT, O as isAwsEmulatorRegistryMiss, P as INSTANCE_REFRESH_TRIGGER_PROPERTIES, R as rollingUpdatePolicy, S as isIntrinsicShaped, T as parseCreateOnlyPropertyPointers, U as recordPhase, V as phaseScopeForStack, X as parseJsonNamingNoBody, Y as parseFailureDebugDetail, Z as utf8ByteLength, _ 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 IAM_PROPAGATION_MAX_DELAY_MS, k as reportAwsEmulatorRegistryMiss, m as priorAttemptsInJournal, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as priorAttemptLookup, q as describeJsonParseFailure, r as isTerminationProtectionPropagationError, v as unchangedBehindSecretReference, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, y as cachedCreateOnlyPropertyPaths, z as willReplaceGroup } from "./ec2-termination-protection-
|
|
6
|
+
import { A as scheduleDescribeType, B as PhaseClock, C as prefetchCreateOnlyPropertyPaths, D as hasNoRegistrySchema, E as describeTypeWithThrottleRetry, F as REPLACEMENT_TRIGGER_PROPERTIES, G as timePhase, H as phaseTimingsEnabled, J as jsonParseFailureStandIn, K as timePhaseSync, L as ignoresUnmodifiedGroupSize, M as withRetry, N as CREATE_ONLY_PATHS_SNAPSHOT, O as isAwsEmulatorRegistryMiss, P as INSTANCE_REFRESH_TRIGGER_PROPERTIES, R as rollingUpdatePolicy, S as isIntrinsicShaped, T as parseCreateOnlyPropertyPointers, U as recordPhase, V as phaseScopeForStack, X as parseJsonNamingNoBody, Y as parseFailureDebugDetail, Z as utf8ByteLength, _ 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 IAM_PROPAGATION_MAX_DELAY_MS, k as reportAwsEmulatorRegistryMiss, m as priorAttemptsInJournal, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as priorAttemptLookup, q as describeJsonParseFailure, r as isTerminationProtectionPropagationError, v as unchangedBehindSecretReference, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, y as cachedCreateOnlyPropertyPaths, z as willReplaceGroup } from "./ec2-termination-protection-snZAaTKf.js";
|
|
7
7
|
import { i as sameRegion, n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
8
|
-
import { $t as
|
|
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 inheritedRenderedToken, A as witnessNormalize, An as recordFreshNoEchoValuesIn, At as withPhysicalNameCopies, B as redactionClaimOf, Bn as isSingleDynamicReferenceToken, Cn as isScopedSecretVerdict, Ct as replaceWholeLeaves, D as recordedNoEchoValuesOf, Dn as pinScopedSecretVerdict, Dt as repairPhysicalNameCopyLeaves, E as recordPassedNoEchoParameters, En as noEchoParameterPlaintextsOf, Et as repairEmbeddedPhysicalNamesTowards, F as markLeafCertifiedBag, Fn as recordProvenPublicExpression, Ft as dynamicReferenceTokens, G as foldRecording, Gt as standsForInheritedSecret, H as mixedLiteralAnswered, I as markSameGenerationBag, In as wholeStringLeavesOf, J as hasPassProvenance, Jt as inheritedPseudoValue, K as openRecordingScope, Kt as recordDroppedArrayElements, L as mergeResolvedPairs, Ln as withoutNoEchoParameterEntries, M as carryRedactionMarks, Mt as spanNamesResolvableService, N as intrinsicLeafResolutionOf, Nn as recordNoEchoAttributeValues, Nt as DYNAMIC_REFERENCE_TOKEN_SCAN, O as replaceAtCoordinates, Ot as replaceEmbeddedPhysicalNameRewrites, P as isSameGenerationBag, Pn as recordNoEchoParameterFreshValue, Pt as dynamicReferenceSpans, Q as recordReferenceResolution, Qt as inheritedParameterExpression, R as recordIntrinsicLeafResolution, Rt as secretRerenderPairs, S as noEchoParametersReadBy, Sn as isNoEchoParameterPlaintext, St as overlapRuleAnswered, Tn as markNoEchoParameterClass, Tt as embeddedPhysicalNameRewrites, U as withLegacyMixedScan, Ut as rereadParameterExpression, V as resolvedPlaintextOf, Vn as maskMatchSpans, Vt as arrayPairsWhateverDrops, W as redactForState, Wt as splitOutsideDynamicReferences, X as passReadVersionsFor, Xt as templateRereadsAccountId, Y as passProvenanceFor, Yt as recordInheritedPseudoParameters, Z as recordReferenceProvenanceEntry, Zt as inheritNestedStackParameterAssociations, _ as noEchoComparison, _n as carriesSecretMask, _t as maskSecretsInError, an as embedsFreshNoEchoValue, at as literalSplitDelimitersOf, bn as freshNoEchoValuesOf, bt as legacyLeavesWithoutMask, c as parseLambdaFunctionAddress, cn as recoverMaskedOutput, ct as printingCorpusOf, d as canonicalJson$7, dn as recordPhysicalNameCopy, dt as recordLogOnlyValue, en as recordInheritedParameterRead, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as recordNestedStackParameterExpressions, ft as shareLogOnlyValues, g as maskedLeafCoordinatesOf, gn as splitGetAttStringForm, gt as maskRecordedSecretsInText, h as maskWholeValue, hn as recordCrossStackExpression, ht as errorCauseChain, in as carriesFreshNoEchoValue, it as hasMaskableValues, jt as withoutPhysicalNameCopies, k as valueAtCoordinate, kn as recordDerivedMaskOnlyValue, kt as scrubResourceRecord, ln as physicalNameCopiesOf, lt as recordLogOnlyParameterValue, m as maskReadbackAtCoordinates, mn as crossStackSourceKey, mt as createSecretMasker, nn as redactInheritedParameterValue, nt as createUnionSecretMasker, on as freshNoEchoLeafPositions, ot as logOnlyValueCount, p as maskAtCoordinates, pn as nestedStackRowTagSpellingOf, pt as unionOfSecretBags, q as recordSecretResolution, qt as recordTakenIfBranch, rn as withdrawRenderedParameterSpelling, rt as hasLogOnlyValues, sn as recordRecoverableMaskedOutput, st as logOnlyValuesOf, t as ReplacementRulesRegistry, tn as recordInheritedParameterValue, tt as carryLogOnlyValuesCarriedBy, u as canonicalCoordinates, ut as recordLogOnlySplitFragments, v as noEchoCoordinatesOf, vn as carryFreshNoEchoMark, vt as maskSecretsInText, w as readbackPathFor, wn as isSecretExpressionByVerdictOrSpelling, wt as withLegacyOverlapScan, x as noEchoParameterNodesAt, xn as isMaskOnlyPlaintext, xt as legacyReferenceLeavesOnly, y as noEchoLeavesOf, yn as contradictProvenPublicExpression, yt as differingStringLeaves, z as recordIntrinsicLeafResolutionAs, zn as isDynamicReferenceString } from "./replacement-rules-
|
|
12
|
-
import {
|
|
8
|
+
import { $t as createdBeforeFailure, A as RESOURCE_NOT_FOUND, B as quotedRemedyLogicalId, Cn as injectiveKey, En as producerRecordKey, Ft as canonicalizeRoute53QueryName, G as isMarkedNotGone, Gt as createMaskedRetryLogger, H as refusalTypeShown, Ht as segmentAfterAnchor, J as deleteWithProtectionCompensation, Jt as maskerOrIdentity, K as markNotGone, Kt as isSecretDerivedValue, Lt as compositeIdSeparatorRefusal, Nt as isInterruptedWaitError, O as withoutServerErrorRetries, Pt as startInterruptWatch, R as isQuotableImportValue, Sn as withPasteableAwsProfile, Ut as stateOrphanRecordRemedy, Vt as resourceTypeShown, W as resolveExplicitPhysicalId, Wt as createMaskedLogSinks, X as observeThenDisableProtection, Xt as RETRY_AUXILIARY_OWNER, Yt as withDerivedNameMasks, _ as retractCreatedResource, _n as CUSTOM_RESOURCE_RESPONSE_PREFIX, _t as pasteableAwsCommand, a as withResourceDeadline, an as markCreatedBeforeFailure, c as removalWarning, ct as protectionFlipKey, d as withoutInjectedRemovals, dt as ElapsedBudgetRegistry, en as createdResourceIdentityBeforeFailure, f as CreatedResourceSink, ft as monotonicNowMs, gn as sanitizeRecoveryValue, h as reportCreatedResource, hn as recoveryCommandFlags, i as whileEnclosingDeadlinesPaused, in as markAuxiliaryFailure, j as assertRegionMatch, kt as withUnchangedSecretPrincipalLists, lt as runDeleteAttempt, m as collectCreatedResources, n as enclosingDeadlineRemainingMs, nn as isAuxiliaryFailure, ot as ProtectionFlipRegistry, p as clearCreatedReport, pt as DELETION_PROTECTION_DOC_POINTER, q as compensateProtectionFlip, qt as maskDeep, r as outsideEnclosingDeadlines, rn as isAuxiliaryMarkOf, s as prepareRemovalForUpdate, st as isTerminalDeleteFailure, t as enclosingDeadlineExpired, ut as ElapsedBudget, vn as DEFAULT_STATE_PREFIX, vt as protectedReplacementAdvice, yn as WAIT_CONDITION_SIGNAL_PREFIX, z as normalizeAwsTagsToCfn, zt as logicalIdShown } from "./resource-deadline-CCOMsXbq.js";
|
|
9
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-BbU5xGZW.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, Rt as isoTimestampAttribute, 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-BLH3blZC.js";
|
|
11
|
+
import { $t as inheritedRenderedToken, A as witnessNormalize, An as recordFreshNoEchoValuesIn, At as withPhysicalNameCopies, B as redactionClaimOf, Bn as isSingleDynamicReferenceToken, Cn as isScopedSecretVerdict, Ct as replaceWholeLeaves, D as recordedNoEchoValuesOf, Dn as pinScopedSecretVerdict, Dt as repairPhysicalNameCopyLeaves, E as recordPassedNoEchoParameters, En as noEchoParameterPlaintextsOf, Et as repairEmbeddedPhysicalNamesTowards, F as markLeafCertifiedBag, Fn as recordProvenPublicExpression, Ft as dynamicReferenceTokens, G as foldRecording, Gt as standsForInheritedSecret, H as mixedLiteralAnswered, I as markSameGenerationBag, In as wholeStringLeavesOf, J as hasPassProvenance, Jt as inheritedPseudoValue, K as openRecordingScope, Kt as recordDroppedArrayElements, L as mergeResolvedPairs, Ln as withoutNoEchoParameterEntries, M as carryRedactionMarks, Mt as spanNamesResolvableService, N as intrinsicLeafResolutionOf, Nn as recordNoEchoAttributeValues, Nt as DYNAMIC_REFERENCE_TOKEN_SCAN, O as replaceAtCoordinates, Ot as replaceEmbeddedPhysicalNameRewrites, P as isSameGenerationBag, Pn as recordNoEchoParameterFreshValue, Pt as dynamicReferenceSpans, Q as recordReferenceResolution, Qt as inheritedParameterExpression, R as recordIntrinsicLeafResolution, Rt as secretRerenderPairs, S as noEchoParametersReadBy, Sn as isNoEchoParameterPlaintext, St as overlapRuleAnswered, Tn as markNoEchoParameterClass, Tt as embeddedPhysicalNameRewrites, U as withLegacyMixedScan, Ut as rereadParameterExpression, V as resolvedPlaintextOf, Vn as maskMatchSpans, Vt as arrayPairsWhateverDrops, W as redactForState, Wt as splitOutsideDynamicReferences, X as passReadVersionsFor, Xt as templateRereadsAccountId, Y as passProvenanceFor, Yt as recordInheritedPseudoParameters, Z as recordReferenceProvenanceEntry, Zt as inheritNestedStackParameterAssociations, _ as noEchoComparison, _n as carriesSecretMask, _t as maskSecretsInError, an as embedsFreshNoEchoValue, at as literalSplitDelimitersOf, bn as freshNoEchoValuesOf, bt as legacyLeavesWithoutMask, c as parseLambdaFunctionAddress, cn as recoverMaskedOutput, ct as printingCorpusOf, d as canonicalJson$7, dn as recordPhysicalNameCopy, dt as recordLogOnlyValue, en as recordInheritedParameterRead, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as recordNestedStackParameterExpressions, ft as shareLogOnlyValues, g as maskedLeafCoordinatesOf, gn as splitGetAttStringForm, gt as maskRecordedSecretsInText, h as maskWholeValue, hn as recordCrossStackExpression, ht as errorCauseChain, in as carriesFreshNoEchoValue, it as hasMaskableValues, jt as withoutPhysicalNameCopies, k as valueAtCoordinate, kn as recordDerivedMaskOnlyValue, kt as scrubResourceRecord, ln as physicalNameCopiesOf, lt as recordLogOnlyParameterValue, m as maskReadbackAtCoordinates, mn as crossStackSourceKey, mt as createSecretMasker, nn as redactInheritedParameterValue, nt as createUnionSecretMasker, on as freshNoEchoLeafPositions, ot as logOnlyValueCount, p as maskAtCoordinates, pn as nestedStackRowTagSpellingOf, pt as unionOfSecretBags, q as recordSecretResolution, qt as recordTakenIfBranch, rn as withdrawRenderedParameterSpelling, rt as hasLogOnlyValues, sn as recordRecoverableMaskedOutput, st as logOnlyValuesOf, t as ReplacementRulesRegistry, tn as recordInheritedParameterValue, tt as carryLogOnlyValuesCarriedBy, u as canonicalCoordinates, ut as recordLogOnlySplitFragments, v as noEchoCoordinatesOf, vn as carryFreshNoEchoMark, vt as maskSecretsInText, w as readbackPathFor, wn as isSecretExpressionByVerdictOrSpelling, wt as withLegacyOverlapScan, x as noEchoParameterNodesAt, xn as isMaskOnlyPlaintext, xt as legacyReferenceLeavesOnly, y as noEchoLeavesOf, yn as contradictProvenPublicExpression, yt as differingStringLeaves, z as recordIntrinsicLeafResolutionAs, zn as isDynamicReferenceString } from "./replacement-rules-CpJuKIfa.js";
|
|
12
|
+
import { A as withUnsettledItems, C as withDeferredReadinessScope, D as unsettledItemsOf, E as unsettledItemsField, M as withoutUnsettledProperties, O as unsettledItemsTopKey, T as unsettledContextOf, b as currentDeferredReadinessScope, c as planTagDiff, f as tagPlanWarning, h as definedAttributes, i as refuseRestoreFromItself, j as withUnsettledProperties, k as unsettledPropertiesOf, l as readTagList, u as refuseMalformedDesiredTags, v as awaitDeferredResource, w as isUsableAttemptedName, y as awaitUpstreamReadiness } from "./restore-source-guard-CoMJb7cu.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";
|
|
@@ -17,7 +17,7 @@ import { CloudControlClient, CreateResourceCommand, DeleteResourceCommand, GetRe
|
|
|
17
17
|
import { PublishCommand, SNSClient } from "@aws-sdk/client-sns";
|
|
18
18
|
import { GetFunctionCommand, GetFunctionConfigurationCommand, GetFunctionUrlConfigCommand, InvokeCommand, LambdaClient, UpdateFunctionConfigurationCommand, waitUntilFunctionActiveV2, waitUntilFunctionUpdatedV2 } from "@aws-sdk/client-lambda";
|
|
19
19
|
import { AssumeRoleCommand, GetCallerIdentityCommand, STSClient } from "@aws-sdk/client-sts";
|
|
20
|
-
import { CreateSnapshotCommand, DeleteVolumeCommand, DescribeAvailabilityZonesCommand, DescribeInstancesCommand, DescribeLaunchTemplatesCommand, DescribeNatGatewaysCommand, DescribeNetworkAclsCommand, DescribeSecurityGroupsCommand, DescribeSnapshotsCommand, DescribeSubnetsCommand, DescribeVolumesCommand, DescribeVpcsCommand, GetIpamPoolAllocationsCommand } from "@aws-sdk/client-ec2";
|
|
20
|
+
import { CreateSnapshotCommand, DeleteVolumeCommand, DescribeAvailabilityZonesCommand, DescribeInstancesCommand, DescribeLaunchTemplatesCommand, DescribeNatGatewaysCommand, DescribeNetworkAclsCommand, DescribeSecurityGroupsCommand, DescribeSnapshotsCommand, DescribeSubnetsCommand, DescribeVolumesCommand, DescribeVpcEndpointsCommand, DescribeVpcsCommand, GetIpamPoolAllocationsCommand } from "@aws-sdk/client-ec2";
|
|
21
21
|
import { CreateTableCommand, DeleteResourcePolicyCommand, DeleteTableCommand, DescribeContinuousBackupsCommand, DescribeContributorInsightsCommand, DescribeKinesisStreamingDestinationCommand, DescribeTableCommand, DescribeTimeToLiveCommand, DisableKinesisStreamingDestinationCommand, DynamoDBClient, EnableKinesisStreamingDestinationCommand, GetResourcePolicyCommand, ListTagsOfResourceCommand, PolicyNotFoundException, PutResourcePolicyCommand, ResourceNotFoundException as ResourceNotFoundException$1, TableNotFoundException, TagResourceCommand as TagResourceCommand$2, UntagResourceCommand as UntagResourceCommand$2, UpdateContinuousBackupsCommand, UpdateContributorInsightsCommand, UpdateKinesisStreamingDestinationCommand, UpdateTableCommand, UpdateTimeToLiveCommand } from "@aws-sdk/client-dynamodb";
|
|
22
22
|
import { CancelUpdateStackCommand, CloudFormationClient, ContinueUpdateRollbackCommand, CreateStackCommand, DeleteStackCommand, DescribeStackEventsCommand, DescribeStackResourceCommand, DescribeStacksCommand, GetTemplateCommand, ListExportsCommand, UpdateStackCommand } from "@aws-sdk/client-cloudformation";
|
|
23
23
|
import { GetRestApiCommand } from "@aws-sdk/client-api-gateway";
|
|
@@ -83,7 +83,7 @@ async function resolveBucketRegion(bucketName, opts = {}) {
|
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
try {
|
|
86
|
-
const { expectedOwnerParam } = await import("./expected-bucket-owner-
|
|
86
|
+
const { expectedOwnerParam } = await import("./expected-bucket-owner-BbU5xGZW.js").then((n) => n.n);
|
|
87
87
|
return (await client.send(new GetBucketLocationCommand({
|
|
88
88
|
Bucket: bucketName,
|
|
89
89
|
...await expectedOwnerParam(client)
|
|
@@ -5774,6 +5774,34 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5774
5774
|
primaryIdentifier: /* @__PURE__ */ new Set(["VpcId"]),
|
|
5775
5775
|
ccRouteUnavailable: false
|
|
5776
5776
|
}],
|
|
5777
|
+
["AWS::EC2::VPCEndpoint", {
|
|
5778
|
+
handled: /* @__PURE__ */ new Set([
|
|
5779
|
+
"DnsOptions",
|
|
5780
|
+
"IpAddressType",
|
|
5781
|
+
"PolicyDocument",
|
|
5782
|
+
"PrivateDnsEnabled",
|
|
5783
|
+
"ResourceConfigurationArn",
|
|
5784
|
+
"RouteTableIds",
|
|
5785
|
+
"SecurityGroupIds",
|
|
5786
|
+
"ServiceName",
|
|
5787
|
+
"ServiceNetworkArn",
|
|
5788
|
+
"ServiceRegion",
|
|
5789
|
+
"SubnetIds",
|
|
5790
|
+
"Tags",
|
|
5791
|
+
"VpcEndpointType",
|
|
5792
|
+
"VpcId"
|
|
5793
|
+
]),
|
|
5794
|
+
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5795
|
+
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5796
|
+
readOnly: /* @__PURE__ */ new Set([
|
|
5797
|
+
"CreationTimestamp",
|
|
5798
|
+
"DnsEntries",
|
|
5799
|
+
"Id",
|
|
5800
|
+
"NetworkInterfaceIds"
|
|
5801
|
+
]),
|
|
5802
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5803
|
+
ccRouteUnavailable: false
|
|
5804
|
+
}],
|
|
5777
5805
|
["AWS::EC2::VPCGatewayAttachment", {
|
|
5778
5806
|
handled: /* @__PURE__ */ new Set([
|
|
5779
5807
|
"InternetGatewayId",
|
|
@@ -10472,6 +10500,7 @@ const NOT_NAME_KEYED_TYPES = /* @__PURE__ */ new Set([
|
|
|
10472
10500
|
"AWS::Cognito::UserPool",
|
|
10473
10501
|
"AWS::EC2::Instance",
|
|
10474
10502
|
"AWS::EC2::SecurityGroupIngress",
|
|
10503
|
+
"AWS::EC2::VPCEndpoint",
|
|
10475
10504
|
"AWS::EFS::FileSystem",
|
|
10476
10505
|
"AWS::EMR::Cluster",
|
|
10477
10506
|
"AWS::EMR::InstanceFleetConfig",
|
|
@@ -11636,7 +11665,8 @@ const IN_PLACE_UPDATE_DERIVED_ATTRS = Object.freeze({
|
|
|
11636
11665
|
"PublicIp",
|
|
11637
11666
|
"PublicDnsName",
|
|
11638
11667
|
"PrivateDnsName"
|
|
11639
|
-
])
|
|
11668
|
+
]),
|
|
11669
|
+
"AWS::BedrockAgentCore::Runtime": /* @__PURE__ */ new Set(["AgentRuntimeVersion"])
|
|
11640
11670
|
});
|
|
11641
11671
|
const IN_PLACE_UPDATE_ATTRS_MOVED_BY = Object.freeze({
|
|
11642
11672
|
"AWS::RDS::DBCluster": Object.freeze({
|
|
@@ -11647,7 +11677,16 @@ const IN_PLACE_UPDATE_ATTRS_MOVED_BY = Object.freeze({
|
|
|
11647
11677
|
"AllocatedStorage"
|
|
11648
11678
|
])
|
|
11649
11679
|
}),
|
|
11650
|
-
"AWS::RDS::DBInstance": Object.freeze({ "MasterUserSecret.SecretArn": /* @__PURE__ */ new Set(["ManageMasterUserPassword"]) })
|
|
11680
|
+
"AWS::RDS::DBInstance": Object.freeze({ "MasterUserSecret.SecretArn": /* @__PURE__ */ new Set(["ManageMasterUserPassword"]) }),
|
|
11681
|
+
"AWS::EC2::VPCEndpoint": Object.freeze({
|
|
11682
|
+
NetworkInterfaceIds: /* @__PURE__ */ new Set(["SubnetIds"]),
|
|
11683
|
+
DnsEntries: /* @__PURE__ */ new Set([
|
|
11684
|
+
"SubnetIds",
|
|
11685
|
+
"PrivateDnsEnabled",
|
|
11686
|
+
"DnsOptions",
|
|
11687
|
+
"IpAddressType"
|
|
11688
|
+
])
|
|
11689
|
+
})
|
|
11651
11690
|
});
|
|
11652
11691
|
function attributeMovedByChangedProperty(type, attr, changed) {
|
|
11653
11692
|
if (!Object.hasOwn(IN_PLACE_UPDATE_ATTRS_MOVED_BY, type)) return false;
|
|
@@ -13402,6 +13441,11 @@ function s3BucketWebsiteUrl(bucketName, region) {
|
|
|
13402
13441
|
return `http://${bucketName}.s3-website${S3_WEBSITE_ENDPOINT_LEGACY_DASH_REGIONS.has(folded) ? "-" : "."}${folded}.${urlSuffix}`;
|
|
13403
13442
|
}
|
|
13404
13443
|
|
|
13444
|
+
// src/provisioning/vpc-endpoint-dns-entries.ts
|
|
13445
|
+
function dnsEntryStrings(endpoint) {
|
|
13446
|
+
return (endpoint.DnsEntries ?? []).filter((entry) => typeof entry.DnsName === "string" && entry.DnsName !== "").map((entry) => `${entry.HostedZoneId ?? ""}:${entry.DnsName}`);
|
|
13447
|
+
}
|
|
13448
|
+
|
|
13405
13449
|
// src/provisioning/getatt-attributes.generated.ts
|
|
13406
13450
|
const WRITABLE_GETATT_ATTRIBUTES = {
|
|
13407
13451
|
"AWS::Amplify::Branch": ["BranchName"],
|
|
@@ -13680,6 +13724,20 @@ async function constructWithStaleRecordHeal(resolver, resource, attributeName, c
|
|
|
13680
13724
|
} catch (error) {
|
|
13681
13725
|
if (!(error instanceof StaleAttributeMissSignal)) throw error;
|
|
13682
13726
|
}
|
|
13727
|
+
const ready = context.deferredReadiness?.awaitReady(logicalId, `Fn::GetAtt ${displayMasked(resolver, attributeName, context)} needs a value it reports only once ready`);
|
|
13728
|
+
if (ready !== void 0) {
|
|
13729
|
+
await ready;
|
|
13730
|
+
const readOutcome = await context.deferredReadiness.readAfterReady(logicalId, resource);
|
|
13731
|
+
const readValue = usableHealedAttribute(resolver, readOutcome, attributeName, resource.resourceType);
|
|
13732
|
+
if (readValue !== void 0) return serveHealedAttribute(resolver, logicalId, attributeName, readValue, context);
|
|
13733
|
+
return constructGuardedAttribute(resolver, resource, attributeName, {
|
|
13734
|
+
...context,
|
|
13735
|
+
staleAttributeHeal: {
|
|
13736
|
+
phase: "settled",
|
|
13737
|
+
outcome: readOutcome
|
|
13738
|
+
}
|
|
13739
|
+
}, logicalId);
|
|
13740
|
+
}
|
|
13683
13741
|
const outcome = await healStaleAttributes(resolver, logicalId, resource, context) ?? { kind: "not-attempted" };
|
|
13684
13742
|
const healed = usableHealedAttribute(resolver, outcome, attributeName, resource.resourceType);
|
|
13685
13743
|
if (healed !== void 0) return serveHealedAttribute(resolver, logicalId, attributeName, healed, context);
|
|
@@ -13883,6 +13941,77 @@ async function constructAttributeForCoreTypes(resolver, resource, attributeName,
|
|
|
13883
13941
|
});
|
|
13884
13942
|
default: return guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceType, physicalId, context);
|
|
13885
13943
|
}
|
|
13944
|
+
if (resourceType === "AWS::EC2::VPCEndpoint") {
|
|
13945
|
+
if (attributeName === "Id") return physicalId;
|
|
13946
|
+
if (attributeName === "DnsEntries" || attributeName === "NetworkInterfaceIds" || attributeName === "CreationTimestamp") {
|
|
13947
|
+
const read = async () => {
|
|
13948
|
+
try {
|
|
13949
|
+
const endpoint = (await resolver.clients.clientsForRegion(resolver.explicitRegion).ec2.send(new DescribeVpcEndpointsCommand({ VpcEndpointIds: [physicalId] }))).VpcEndpoints?.find((e) => e.VpcEndpointId === physicalId);
|
|
13950
|
+
return endpoint === void 0 ? {} : { endpoint };
|
|
13951
|
+
} catch (err) {
|
|
13952
|
+
if (isThrottlingError(err) || isTransientServerError(err)) return { transient: true };
|
|
13953
|
+
return refuseUnservedAttribute(resolver, {
|
|
13954
|
+
logicalId,
|
|
13955
|
+
attributeName,
|
|
13956
|
+
resourceType,
|
|
13957
|
+
physicalId,
|
|
13958
|
+
context,
|
|
13959
|
+
observed: describeFailureObserved(resolver, "DescribeVpcEndpoints", err, context),
|
|
13960
|
+
remedy: "Fix the read (the ec2:DescribeVpcEndpoints permission, or the region) and deploy again."
|
|
13961
|
+
});
|
|
13962
|
+
}
|
|
13963
|
+
};
|
|
13964
|
+
const pending = (observed) => observed.transient === true || attributeName !== "CreationTimestamp" && observed.endpoint?.State?.toLowerCase() === "pending";
|
|
13965
|
+
let observed = await read();
|
|
13966
|
+
if (pending(observed)) {
|
|
13967
|
+
const ready = context.deferredReadiness?.awaitReady(logicalId, `Fn::GetAtt ${displayMasked(resolver, attributeName, context)} needs a value it reports only once available`);
|
|
13968
|
+
if (ready !== void 0) {
|
|
13969
|
+
await ready;
|
|
13970
|
+
observed = await read();
|
|
13971
|
+
} else {
|
|
13972
|
+
const watch = startInterruptWatch(`VPC endpoint ${logicalId} attribute wait`);
|
|
13973
|
+
try {
|
|
13974
|
+
for (let poll = 0; poll < vpcEndpointAttributeWait.polls && pending(observed); poll++) {
|
|
13975
|
+
if (watch.isInterrupted()) throw watch.onInterrupted();
|
|
13976
|
+
await vpcEndpointAttributeWait.sleep(vpcEndpointAttributeWait.delayMs);
|
|
13977
|
+
observed = await read();
|
|
13978
|
+
}
|
|
13979
|
+
} finally {
|
|
13980
|
+
watch.dispose();
|
|
13981
|
+
}
|
|
13982
|
+
}
|
|
13983
|
+
}
|
|
13984
|
+
const endpoint = observed.endpoint;
|
|
13985
|
+
const refusal = {
|
|
13986
|
+
logicalId,
|
|
13987
|
+
attributeName,
|
|
13988
|
+
resourceType,
|
|
13989
|
+
physicalId,
|
|
13990
|
+
context,
|
|
13991
|
+
remedy: "Check the endpoint with `aws ec2 describe-vpc-endpoints`, then deploy again once it is available."
|
|
13992
|
+
};
|
|
13993
|
+
if (observed.transient === true) return refuseUnservedAttribute(resolver, {
|
|
13994
|
+
...refusal,
|
|
13995
|
+
observed: "DescribeVpcEndpoints stayed throttled or failing past the attribute wait"
|
|
13996
|
+
});
|
|
13997
|
+
if (endpoint === void 0) return refuseUnservedAttribute(resolver, {
|
|
13998
|
+
...refusal,
|
|
13999
|
+
observed: "DescribeVpcEndpoints reported no such endpoint"
|
|
14000
|
+
});
|
|
14001
|
+
if (pending(observed)) return refuseUnservedAttribute(resolver, {
|
|
14002
|
+
...refusal,
|
|
14003
|
+
observed: "the VPC endpoint stayed pending past the attribute wait"
|
|
14004
|
+
});
|
|
14005
|
+
if (attributeName === "DnsEntries") return dnsEntryStrings(endpoint);
|
|
14006
|
+
if (attributeName === "NetworkInterfaceIds") return [...endpoint.NetworkInterfaceIds ?? []];
|
|
14007
|
+
const created = isoTimestampAttribute(endpoint.CreationTimestamp);
|
|
14008
|
+
if (created !== void 0) return created;
|
|
14009
|
+
return refuseUnservedAttribute(resolver, {
|
|
14010
|
+
...refusal,
|
|
14011
|
+
observed: "DescribeVpcEndpoints reported no CreationTimestamp for the endpoint"
|
|
14012
|
+
});
|
|
14013
|
+
}
|
|
14014
|
+
}
|
|
13886
14015
|
if (resourceType === "AWS::EC2::VPC") switch (attributeName) {
|
|
13887
14016
|
case "VpcId": return physicalId;
|
|
13888
14017
|
case "CidrBlock": return noteAttributeSecrecy(resolver, logicalId, attributeName, resource.attributes?.["CidrBlock"] || resource.properties?.["CidrBlock"], context);
|
|
@@ -14085,6 +14214,11 @@ async function constructAttributeForCoreTypes(resolver, resource, attributeName,
|
|
|
14085
14214
|
}
|
|
14086
14215
|
return NOT_CONSTRUCTED;
|
|
14087
14216
|
}
|
|
14217
|
+
const vpcEndpointAttributeWait = {
|
|
14218
|
+
polls: 200,
|
|
14219
|
+
delayMs: 3e3,
|
|
14220
|
+
sleep: (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
|
14221
|
+
};
|
|
14088
14222
|
|
|
14089
14223
|
// src/deployment/secret-region-classification.ts
|
|
14090
14224
|
const REPLAY_SECRET_SERVICES = /* @__PURE__ */ new Set([
|
|
@@ -16051,34 +16185,50 @@ async function constructAttributeForComputeTypes(resolver, attributeName, contex
|
|
|
16051
16185
|
if (cached !== void 0) return cached;
|
|
16052
16186
|
let value;
|
|
16053
16187
|
let stateName;
|
|
16054
|
-
|
|
16055
|
-
|
|
16056
|
-
|
|
16057
|
-
|
|
16058
|
-
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
|
|
16062
|
-
|
|
16063
|
-
|
|
16064
|
-
|
|
16065
|
-
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16188
|
+
const readyReason = `Fn::GetAtt ${displayMasked(resolver, attributeName, context)} needs a value it reports only once running`;
|
|
16189
|
+
const describe = async (firstRead = true) => {
|
|
16190
|
+
try {
|
|
16191
|
+
const instance = (await resolver.clients.clientsForRegion(resolver.explicitRegion).ec2.send(new DescribeInstancesCommand({ InstanceIds: [physicalId] }))).Reservations?.[0]?.Instances?.[0];
|
|
16192
|
+
stateName = instance?.State?.Name;
|
|
16193
|
+
switch (attributeName) {
|
|
16194
|
+
case "PrivateIp":
|
|
16195
|
+
value = instance?.PrivateIpAddress;
|
|
16196
|
+
break;
|
|
16197
|
+
case "PublicIp":
|
|
16198
|
+
value = instance?.PublicIpAddress;
|
|
16199
|
+
break;
|
|
16200
|
+
case "PrivateDnsName":
|
|
16201
|
+
value = instance?.PrivateDnsName;
|
|
16202
|
+
break;
|
|
16203
|
+
case "PublicDnsName":
|
|
16204
|
+
value = instance?.PublicDnsName;
|
|
16205
|
+
break;
|
|
16206
|
+
case "AvailabilityZone": value = instance?.Placement?.AvailabilityZone;
|
|
16207
|
+
}
|
|
16208
|
+
} catch (err) {
|
|
16209
|
+
const ready = firstRead && err?.name === "InvalidInstanceID.NotFound" ? context.deferredReadiness?.awaitReady(logicalId, readyReason) : void 0;
|
|
16210
|
+
if (ready !== void 0) {
|
|
16211
|
+
await ready;
|
|
16212
|
+
return describe(false);
|
|
16213
|
+
}
|
|
16214
|
+
refuseUnservedAttribute(resolver, {
|
|
16215
|
+
logicalId,
|
|
16216
|
+
attributeName,
|
|
16217
|
+
resourceType,
|
|
16218
|
+
physicalId,
|
|
16219
|
+
context,
|
|
16220
|
+
observed: describeFailureObserved(resolver, "DescribeInstances", err, context),
|
|
16221
|
+
remedy: "Fix the read (the ec2:DescribeInstances permission, or the region) and deploy again."
|
|
16222
|
+
});
|
|
16223
|
+
}
|
|
16224
|
+
};
|
|
16225
|
+
await describe();
|
|
16226
|
+
if ((value === void 0 || value === null || value === "") && !isSettledInstanceState(stateName)) {
|
|
16227
|
+
const ready = context.deferredReadiness?.awaitReady(logicalId, readyReason);
|
|
16228
|
+
if (ready !== void 0) {
|
|
16229
|
+
await ready;
|
|
16230
|
+
await describe(false);
|
|
16071
16231
|
}
|
|
16072
|
-
} catch (err) {
|
|
16073
|
-
refuseUnservedAttribute(resolver, {
|
|
16074
|
-
logicalId,
|
|
16075
|
-
attributeName,
|
|
16076
|
-
resourceType,
|
|
16077
|
-
physicalId,
|
|
16078
|
-
context,
|
|
16079
|
-
observed: describeFailureObserved(resolver, "DescribeInstances", err, context),
|
|
16080
|
-
remedy: "Fix the read (the ec2:DescribeInstances permission, or the region) and deploy again."
|
|
16081
|
-
});
|
|
16082
16232
|
}
|
|
16083
16233
|
if (value !== void 0 && value !== null && value !== "") {
|
|
16084
16234
|
cachedEc2InstanceAttributes[cacheKey] = value;
|
|
@@ -18518,8 +18668,25 @@ function markNotGoneOnNeedle(error) {
|
|
|
18518
18668
|
return error;
|
|
18519
18669
|
}
|
|
18520
18670
|
|
|
18671
|
+
// src/provisioning/deferred-refusal-edges.ts
|
|
18672
|
+
const REFUSAL_EDGES = { "AWS::BedrockAgentCore::RuntimeEndpoint": {
|
|
18673
|
+
property: "AgentRuntimeId",
|
|
18674
|
+
what: "AWS refuses a runtime endpoint until its runtime version is READY"
|
|
18675
|
+
} };
|
|
18676
|
+
async function awaitRefusalEdgeTarget(logicalId, resourceType, properties) {
|
|
18677
|
+
if (process.env["CDKD_NO_WAIT"] !== "true") return;
|
|
18678
|
+
const edge = REFUSAL_EDGES[resourceType];
|
|
18679
|
+
if (edge === void 0) return;
|
|
18680
|
+
const target = properties[edge.property];
|
|
18681
|
+
if (typeof target !== "string" || target === "") return;
|
|
18682
|
+
const reason = `${logicalId} is created or updated on it, and ${edge.what}`;
|
|
18683
|
+
const ready = awaitDeferredResource(logicalId, resourceType, target, reason) ?? (target.includes("/") ? awaitDeferredResource(logicalId, resourceType, target.slice(target.lastIndexOf("/") + 1), reason) : void 0);
|
|
18684
|
+
if (ready !== void 0) await ready;
|
|
18685
|
+
}
|
|
18686
|
+
|
|
18521
18687
|
// src/provisioning/cloud-control/create.ts
|
|
18522
18688
|
async function create$2(logicalId, resourceType, properties, context) {
|
|
18689
|
+
await awaitRefusalEdgeTarget(logicalId, resourceType, properties);
|
|
18523
18690
|
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
18524
18691
|
const idLog = new IdScrubLog(this.logger, mask, holdsSecretDerivedLeaf(properties, mask));
|
|
18525
18692
|
return inIdLogScope(idLog, () => this.createInIdLogScope(logicalId, resourceType, properties, idLog, mask));
|
|
@@ -19458,6 +19625,7 @@ async function buildCodeDeployAliasClients(regionOf) {
|
|
|
19458
19625
|
|
|
19459
19626
|
// src/provisioning/cloud-control/update.ts
|
|
19460
19627
|
async function update$2(logicalId, physicalId, resourceType, properties, previousProperties, context) {
|
|
19628
|
+
await awaitRefusalEdgeTarget(logicalId, resourceType, properties);
|
|
19461
19629
|
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
19462
19630
|
const idLog = new IdScrubLog(this.logger, mask, holdsSecretDerivedLeaf(properties, mask) || holdsSecretDerivedLeaf(previousProperties, mask));
|
|
19463
19631
|
idLog.addId(physicalId);
|
|
@@ -20771,7 +20939,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
20771
20939
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
20772
20940
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
20773
20941
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
20774
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
20942
|
+
const { ASGProvider } = await import("./asg-provider-RrQcEEg6.js");
|
|
20775
20943
|
const delegateRegion = ambientRegion();
|
|
20776
20944
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
20777
20945
|
if (asgProvider === void 0) {
|
|
@@ -20926,7 +21094,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
|
|
|
20926
21094
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
20927
21095
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
20928
21096
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
20929
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
21097
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-ZtlLePqa.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-Cc5YKqPa.js"))).NeptuneProvider({ region: ccRegion });
|
|
20930
21098
|
this.sdkDeleteDelegates.set(family, {
|
|
20931
21099
|
region: ccRegion,
|
|
20932
21100
|
provider
|
|
@@ -23190,7 +23358,10 @@ async function invokeCustomResourceWithRetry(serviceToken, logicalId, operation,
|
|
|
23190
23358
|
const shown = (text) => mask === void 0 ? text : mask(text);
|
|
23191
23359
|
try {
|
|
23192
23360
|
const stackId = await this.resolveSyntheticStackId(logicalId, operation, watch);
|
|
23193
|
-
if (referenced !== void 0)
|
|
23361
|
+
if (referenced !== void 0) {
|
|
23362
|
+
await awaitUpstreamReadiness(logicalId);
|
|
23363
|
+
await this.waitForReferencedLambdasActive(logicalId, serviceToken, referenced.properties, referenced.previousProperties, watch, mask);
|
|
23364
|
+
}
|
|
23194
23365
|
let preDeliveryRetries = 0;
|
|
23195
23366
|
let failedResponseRetries = 0;
|
|
23196
23367
|
for (let attempt = 0;; attempt++) {
|
|
@@ -23502,7 +23673,7 @@ async function publishToSns(topicArn, request) {
|
|
|
23502
23673
|
}
|
|
23503
23674
|
async function invokeLambda(serviceToken, request) {
|
|
23504
23675
|
if (localCustomResourceRuntimeActive()) {
|
|
23505
|
-
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-
|
|
23676
|
+
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-DFlVlsm0.js");
|
|
23506
23677
|
const local = await invokeCustomResourceFunctionLocally({
|
|
23507
23678
|
lambda: this.lambdaClient,
|
|
23508
23679
|
s3: this.s3Client
|
|
@@ -24758,6 +24929,7 @@ const NESTED_REQUIRED = /* @__PURE__ */ new Map([
|
|
|
24758
24929
|
])],
|
|
24759
24930
|
["AWS::EC2::Subnet", /* @__PURE__ */ new Map([["Tags", ["Key", "Value"]]])],
|
|
24760
24931
|
["AWS::EC2::VPC", /* @__PURE__ */ new Map([["Tags", ["Key", "Value"]]])],
|
|
24932
|
+
["AWS::EC2::VPCEndpoint", /* @__PURE__ */ new Map([["Tags", ["Key", "Value"]]])],
|
|
24761
24933
|
["AWS::ECR::Repository", /* @__PURE__ */ new Map([
|
|
24762
24934
|
["EncryptionConfiguration", ["EncryptionType"]],
|
|
24763
24935
|
["ImageTagMutabilityExclusionFilters", ["ImageTagMutabilityExclusionFilterType", "ImageTagMutabilityExclusionFilterValue"]],
|
|
@@ -25932,6 +26104,7 @@ const PROPERTY_SHAPES = /* @__PURE__ */ new Map([
|
|
|
25932
26104
|
["AWS::EC2::SecurityGroup", "{\"SecurityGroupEgress\":\"array\",\"SecurityGroupEgress[]\":\"object\",\"SecurityGroupIngress\":\"array\",\"SecurityGroupIngress[]\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
25933
26105
|
["AWS::EC2::Subnet", "{\"BlockPublicAccessStates\":\"object\",\"Ipv6CidrBlocks\":\"array\",\"PrivateDnsNameOptionsOnLaunch\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
25934
26106
|
["AWS::EC2::VPC", "{\"CidrBlockAssociations\":\"array\",\"Ipv6CidrBlocks\":\"array\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"VpcEncryptionControl\":\"object\",\"VpcEncryptionControl.ResourceExclusions\":\"object\",\"VpcEncryptionControl.ResourceExclusions.EgressOnlyInternetGateway\":\"object\",\"VpcEncryptionControl.ResourceExclusions.ElasticFileSystem\":\"object\",\"VpcEncryptionControl.ResourceExclusions.InternetGateway\":\"object\",\"VpcEncryptionControl.ResourceExclusions.Lambda\":\"object\",\"VpcEncryptionControl.ResourceExclusions.NatGateway\":\"object\",\"VpcEncryptionControl.ResourceExclusions.VirtualPrivateGateway\":\"object\",\"VpcEncryptionControl.ResourceExclusions.VpcLattice\":\"object\",\"VpcEncryptionControl.ResourceExclusions.VpcPeering\":\"object\"}"],
|
|
26107
|
+
["AWS::EC2::VPCEndpoint", "{\"DnsEntries\":\"array\",\"DnsOptions\":\"object\",\"DnsOptions.PrivateDnsSpecifiedDomains\":\"array\",\"NetworkInterfaceIds\":\"array\",\"RouteTableIds\":\"array\",\"SecurityGroupIds\":\"array\",\"SubnetIds\":\"array\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
25935
26108
|
["AWS::ECR::Repository", "{\"EncryptionConfiguration\":\"object\",\"ImageScanningConfiguration\":\"object\",\"ImageTagMutabilityExclusionFilters\":\"array\",\"ImageTagMutabilityExclusionFilters[]\":\"object\",\"LifecyclePolicy\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
25936
26109
|
["AWS::ECS::Cluster", "{\"CapacityProviders\":\"array\",\"ClusterSettings\":\"array\",\"ClusterSettings[]\":\"object\",\"Configuration\":\"object\",\"Configuration.ExecuteCommandConfiguration\":\"object\",\"Configuration.ExecuteCommandConfiguration.LogConfiguration\":\"object\",\"Configuration.ManagedStorageConfiguration\":\"object\",\"DefaultCapacityProviderStrategy\":\"array\",\"DefaultCapacityProviderStrategy[]\":\"object\",\"ServiceConnectDefaults\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
25937
26110
|
["AWS::ECS::Service", "{\"CapacityProviderStrategy\":\"array\",\"CapacityProviderStrategy[]\":\"object\",\"DeploymentConfiguration\":\"object\",\"DeploymentConfiguration.Alarms\":\"object\",\"DeploymentConfiguration.Alarms.AlarmNames\":\"array\",\"DeploymentConfiguration.CanaryConfiguration\":\"object\",\"DeploymentConfiguration.DeploymentCircuitBreaker\":\"object\",\"DeploymentConfiguration.DeploymentCircuitBreaker.ThresholdConfiguration\":\"object\",\"DeploymentConfiguration.EarlySuccessCriteria\":\"object\",\"DeploymentConfiguration.LifecycleHooks\":\"array\",\"DeploymentConfiguration.LifecycleHooks[]\":\"object\",\"DeploymentConfiguration.LifecycleHooks[].LifecycleStages\":\"array\",\"DeploymentConfiguration.LifecycleHooks[].TimeoutConfiguration\":\"object\",\"DeploymentConfiguration.LinearConfiguration\":\"object\",\"DeploymentController\":\"object\",\"ForceNewDeployment\":\"object\",\"GatewayConnectors\":\"array\",\"GatewayConnectors[]\":\"object\",\"GatewayConnectors[].DeregistrationDelay\":\"object\",\"GatewayConnectors[].Filters\":\"object\",\"GatewayConnectors[].Filters.AccessTypes\":\"array\",\"GatewayConnectors[].HealthCheck\":\"object\",\"GatewayConnectors[].HealthCheck.Matcher\":\"object\",\"LoadBalancers\":\"array\",\"LoadBalancers[]\":\"object\",\"LoadBalancers[].AdvancedConfiguration\":\"object\",\"Monitoring\":\"object\",\"Monitoring.MetricConfigurations\":\"array\",\"Monitoring.MetricConfigurations[]\":\"object\",\"Monitoring.MetricConfigurations[].MetricNames\":\"array\",\"NetworkConfiguration\":\"object\",\"NetworkConfiguration.AwsvpcConfiguration\":\"object\",\"NetworkConfiguration.AwsvpcConfiguration.SecurityGroups\":\"array\",\"NetworkConfiguration.AwsvpcConfiguration.Subnets\":\"array\",\"PlacementConstraints\":\"array\",\"PlacementConstraints[]\":\"object\",\"PlacementStrategies\":\"array\",\"PlacementStrategies[]\":\"object\",\"ServiceConnectConfiguration\":\"object\",\"ServiceConnectConfiguration.AccessLogConfiguration\":\"object\",\"ServiceConnectConfiguration.ContainerConfigurations\":\"array\",\"ServiceConnectConfiguration.ContainerConfigurations[]\":\"object\",\"ServiceConnectConfiguration.LogConfiguration\":\"object\",\"ServiceConnectConfiguration.LogConfiguration.Options\":\"object\",\"ServiceConnectConfiguration.LogConfiguration.SecretOptions\":\"array\",\"ServiceConnectConfiguration.LogConfiguration.SecretOptions[]\":\"object\",\"ServiceConnectConfiguration.Services\":\"array\",\"ServiceConnectConfiguration.Services[]\":\"object\",\"ServiceConnectConfiguration.Services[].ClientAliases\":\"array\",\"ServiceConnectConfiguration.Services[].ClientAliases[]\":\"object\",\"ServiceConnectConfiguration.Services[].ClientAliases[].TestTrafficRules\":\"object\",\"ServiceConnectConfiguration.Services[].ClientAliases[].TestTrafficRules.Header\":\"object\",\"ServiceConnectConfiguration.Services[].ClientAliases[].TestTrafficRules.Header.Value\":\"object\",\"ServiceConnectConfiguration.Services[].Timeout\":\"object\",\"ServiceConnectConfiguration.Services[].Tls\":\"object\",\"ServiceConnectConfiguration.Services[].Tls.IssuerCertificateAuthority\":\"object\",\"ServiceRegistries\":\"array\",\"ServiceRegistries[]\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"VolumeConfigurations\":\"array\",\"VolumeConfigurations[]\":\"object\",\"VolumeConfigurations[].ManagedEBSVolume\":\"object\",\"VolumeConfigurations[].ManagedEBSVolume.TagSpecifications\":\"array\",\"VolumeConfigurations[].ManagedEBSVolume.TagSpecifications[]\":\"object\",\"VolumeConfigurations[].ManagedEBSVolume.TagSpecifications[].Tags\":\"array\",\"VolumeConfigurations[].ManagedEBSVolume.TagSpecifications[].Tags[]\":\"object\",\"VpcLatticeConfigurations\":\"array\",\"VpcLatticeConfigurations[]\":\"object\",\"VpcLatticeConfigurations[].AdvancedConfiguration\":\"object\"}"],
|
|
@@ -26345,6 +26518,12 @@ const batch12 = (physicalIdForm) => ({
|
|
|
26345
26518
|
issue: "https://github.com/go-to-k/cdkd/issues/6588",
|
|
26346
26519
|
integFixture: "cc-to-sdk-reroute-common-types-12"
|
|
26347
26520
|
});
|
|
26521
|
+
const batch2 = (physicalIdForm) => ({
|
|
26522
|
+
mode: "sdk-coverage",
|
|
26523
|
+
physicalIdForm,
|
|
26524
|
+
issue: "https://github.com/go-to-k/cdkd/issues/6454",
|
|
26525
|
+
integFixture: "cc-to-sdk-reroute-common-types-2"
|
|
26526
|
+
});
|
|
26348
26527
|
const STICKY_CC_MIGRATION_EXEMPT = /* @__PURE__ */ new Map([
|
|
26349
26528
|
["AWS::Scheduler::Schedule", {
|
|
26350
26529
|
mode: "cc-broken",
|
|
@@ -26497,66 +26676,16 @@ const STICKY_CC_MIGRATION_EXEMPT = /* @__PURE__ */ new Map([
|
|
|
26497
26676
|
issue: "https://github.com/go-to-k/cdkd/issues/6454",
|
|
26498
26677
|
integFixture: "cc-to-sdk-reroute-common-types-2"
|
|
26499
26678
|
}],
|
|
26500
|
-
["AWS::EC2::InternetGateway",
|
|
26501
|
-
|
|
26502
|
-
|
|
26503
|
-
|
|
26504
|
-
|
|
26505
|
-
|
|
26506
|
-
["AWS::
|
|
26507
|
-
|
|
26508
|
-
|
|
26509
|
-
|
|
26510
|
-
integFixture: "cc-to-sdk-reroute-common-types-2"
|
|
26511
|
-
}],
|
|
26512
|
-
["AWS::IAM::User", {
|
|
26513
|
-
mode: "sdk-coverage",
|
|
26514
|
-
physicalIdForm: "both layers store the bare user name: the schema primaryIdentifier is UserName and the IAM user provider records the name it created the user under",
|
|
26515
|
-
issue: "https://github.com/go-to-k/cdkd/issues/6454",
|
|
26516
|
-
integFixture: "cc-to-sdk-reroute-common-types-2"
|
|
26517
|
-
}],
|
|
26518
|
-
["AWS::IAM::Group", {
|
|
26519
|
-
mode: "sdk-coverage",
|
|
26520
|
-
physicalIdForm: "both layers store the bare group name: the schema primaryIdentifier is GroupName and the IAM group provider records the name it created the group under",
|
|
26521
|
-
issue: "https://github.com/go-to-k/cdkd/issues/6454",
|
|
26522
|
-
integFixture: "cc-to-sdk-reroute-common-types-2"
|
|
26523
|
-
}],
|
|
26524
|
-
["AWS::IAM::InstanceProfile", {
|
|
26525
|
-
mode: "sdk-coverage",
|
|
26526
|
-
physicalIdForm: "both layers store the bare instance profile name: the schema primaryIdentifier is InstanceProfileName and IAMInstanceProfileProvider.create records that name",
|
|
26527
|
-
issue: "https://github.com/go-to-k/cdkd/issues/6454",
|
|
26528
|
-
integFixture: "cc-to-sdk-reroute-common-types-2"
|
|
26529
|
-
}],
|
|
26530
|
-
["AWS::StepFunctions::StateMachine", {
|
|
26531
|
-
mode: "sdk-coverage",
|
|
26532
|
-
physicalIdForm: "both layers store the state machine ARN: the schema primaryIdentifier is Arn and StepFunctionsProvider.create records the CreateStateMachine stateMachineArn",
|
|
26533
|
-
issue: "https://github.com/go-to-k/cdkd/issues/6454",
|
|
26534
|
-
integFixture: "cc-to-sdk-reroute-common-types-2"
|
|
26535
|
-
}],
|
|
26536
|
-
["AWS::Lambda::Url", {
|
|
26537
|
-
mode: "sdk-coverage",
|
|
26538
|
-
physicalIdForm: "both layers store the function ARN the URL is on, alias-qualified when Qualifier is set: the schema primaryIdentifier is FunctionArn and LambdaUrlProvider.create records the CreateFunctionUrlConfig FunctionArn (the fixture observed both the unqualified and the qualified form)",
|
|
26539
|
-
issue: "https://github.com/go-to-k/cdkd/issues/6454",
|
|
26540
|
-
integFixture: "cc-to-sdk-reroute-common-types-2"
|
|
26541
|
-
}],
|
|
26542
|
-
["AWS::Cognito::UserPool", {
|
|
26543
|
-
mode: "sdk-coverage",
|
|
26544
|
-
physicalIdForm: "both layers store the bare `<region>_...` pool id: the schema primaryIdentifier is UserPoolId and CognitoUserPoolProvider.create records the CreateUserPool Id",
|
|
26545
|
-
issue: "https://github.com/go-to-k/cdkd/issues/6454",
|
|
26546
|
-
integFixture: "cc-to-sdk-reroute-common-types-2"
|
|
26547
|
-
}],
|
|
26548
|
-
["AWS::CloudFront::OriginAccessControl", {
|
|
26549
|
-
mode: "sdk-coverage",
|
|
26550
|
-
physicalIdForm: "both layers store the bare origin access control id: the schema primaryIdentifier is Id and CloudFrontOACProvider.create records the CreateOriginAccessControl Id",
|
|
26551
|
-
issue: "https://github.com/go-to-k/cdkd/issues/6454",
|
|
26552
|
-
integFixture: "cc-to-sdk-reroute-common-types-2"
|
|
26553
|
-
}],
|
|
26554
|
-
["AWS::KMS::Alias", {
|
|
26555
|
-
mode: "sdk-coverage",
|
|
26556
|
-
physicalIdForm: "both layers store the `alias/...` name: the schema primaryIdentifier is AliasName and the KMS alias provider records the name it created the alias under",
|
|
26557
|
-
issue: "https://github.com/go-to-k/cdkd/issues/6454",
|
|
26558
|
-
integFixture: "cc-to-sdk-reroute-common-types-2"
|
|
26559
|
-
}],
|
|
26679
|
+
["AWS::EC2::InternetGateway", batch2("both layers store the bare `igw-...` id: the schema primaryIdentifier is InternetGatewayId and EC2Provider.create records the CreateInternetGateway id")],
|
|
26680
|
+
["AWS::EC2::NetworkAcl", batch2("both layers store the bare `acl-...` id: the schema primaryIdentifier is Id and EC2Provider.create records the CreateNetworkAcl NetworkAclId")],
|
|
26681
|
+
["AWS::IAM::User", batch2("both layers store the bare user name: the schema primaryIdentifier is UserName and the IAM user provider records the name it created the user under")],
|
|
26682
|
+
["AWS::IAM::Group", batch2("both layers store the bare group name: the schema primaryIdentifier is GroupName and the IAM group provider records the name it created the group under")],
|
|
26683
|
+
["AWS::IAM::InstanceProfile", batch2("both layers store the bare instance profile name: the schema primaryIdentifier is InstanceProfileName and IAMInstanceProfileProvider.create records that name")],
|
|
26684
|
+
["AWS::StepFunctions::StateMachine", batch2("both layers store the state machine ARN: the schema primaryIdentifier is Arn and StepFunctionsProvider.create records the CreateStateMachine stateMachineArn")],
|
|
26685
|
+
["AWS::Lambda::Url", batch2("both layers store the function ARN the URL is on, alias-qualified when Qualifier is set: the schema primaryIdentifier is FunctionArn and LambdaUrlProvider.create records the CreateFunctionUrlConfig FunctionArn (the fixture observed both the unqualified and the qualified form)")],
|
|
26686
|
+
["AWS::Cognito::UserPool", batch2("both layers store the bare `<region>_...` pool id: the schema primaryIdentifier is UserPoolId and CognitoUserPoolProvider.create records the CreateUserPool Id")],
|
|
26687
|
+
["AWS::CloudFront::OriginAccessControl", batch2("both layers store the bare origin access control id: the schema primaryIdentifier is Id and CloudFrontOACProvider.create records the CreateOriginAccessControl Id")],
|
|
26688
|
+
["AWS::KMS::Alias", batch2("both layers store the `alias/...` name: the schema primaryIdentifier is AliasName and the KMS alias provider records the name it created the alias under")],
|
|
26560
26689
|
["AWS::CloudFront::CloudFrontOriginAccessIdentity", {
|
|
26561
26690
|
mode: "sdk-coverage",
|
|
26562
26691
|
physicalIdForm: "both layers store the bare `E...` identity id: the schema primaryIdentifier is Id and CloudFrontOAIProvider.create records the CreateCloudFrontOriginAccessIdentity Id",
|
|
@@ -26740,7 +26869,13 @@ const STICKY_CC_MIGRATION_EXEMPT = /* @__PURE__ */ new Map([
|
|
|
26740
26869
|
["AWS::Events::Archive", batch12("both layers store the ArchiveName (primaryIdentifier) CreateArchive takes")],
|
|
26741
26870
|
["AWS::Logs::DeliverySource", batch12("both layers store the Name (primaryIdentifier) PutDeliverySource takes")],
|
|
26742
26871
|
["AWS::Logs::DeliveryDestination", batch12("both layers store the Name (primaryIdentifier) PutDeliveryDestination takes")],
|
|
26743
|
-
["AWS::Logs::Delivery", batch12("both layers store the DeliveryId (primaryIdentifier) CreateDelivery mints")]
|
|
26872
|
+
["AWS::Logs::Delivery", batch12("both layers store the DeliveryId (primaryIdentifier) CreateDelivery mints")],
|
|
26873
|
+
["AWS::EC2::VPCEndpoint", {
|
|
26874
|
+
mode: "sdk-coverage",
|
|
26875
|
+
physicalIdForm: "both layers store the bare `vpce-...` id: the schema primaryIdentifier is Id and EC2VPCEndpointProvider.create records the CreateVpcEndpoint VpcEndpointId",
|
|
26876
|
+
issue: "https://github.com/go-to-k/cdkd/issues/6943",
|
|
26877
|
+
integFixture: "cc-to-sdk-reroute-vpc-endpoint"
|
|
26878
|
+
}]
|
|
26744
26879
|
]);
|
|
26745
26880
|
|
|
26746
26881
|
// src/provisioning/provider-registry.ts
|
|
@@ -28273,7 +28408,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
|
|
|
28273
28408
|
if (resourceType !== "AWS::RDS::DBInstance") return false;
|
|
28274
28409
|
if (region === void 0 || region === "") return false;
|
|
28275
28410
|
const mask = input.mask ?? ((text) => text);
|
|
28276
|
-
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-
|
|
28411
|
+
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-WOLC0PN2.js").then((n) => n.l);
|
|
28277
28412
|
let reason;
|
|
28278
28413
|
try {
|
|
28279
28414
|
const live = await describeDBInstanceInRegion(physicalId, region);
|
|
@@ -29993,7 +30128,7 @@ async function verifyInstancePointInTimeSource(input) {
|
|
|
29993
30128
|
}
|
|
29994
30129
|
|
|
29995
30130
|
// src/deployment/deploy-engine/replacement/delete-first.ts
|
|
29996
|
-
async function replaceDeleteFirstAndRecreate(run, deps, logicalId, resourceType, oldResourceType, currentResource, oldDeleteProvider, replaceProvider, replaceProps, secrets, updateReplacePolicy, oldDeleteProvisionedBy, noEchoDeleteValues) {
|
|
30131
|
+
async function replaceDeleteFirstAndRecreate(run, deps, logicalId, resourceType, oldResourceType, currentResource, oldDeleteProvider, replaceProvider, replaceProps, secrets, updateReplacePolicy, oldDeleteProvisionedBy, noEchoDeleteValues, order = "the --replace delete-first fallback") {
|
|
29997
30132
|
refuseRestoreFromItself(resourceType, replaceProps, currentResource.physicalId, logicalId, {
|
|
29998
30133
|
region: deps.stackRegion,
|
|
29999
30134
|
account: deps.options.consumerAccount,
|
|
@@ -30029,7 +30164,7 @@ async function replaceDeleteFirstAndRecreate(run, deps, logicalId, resourceType,
|
|
|
30029
30164
|
}));
|
|
30030
30165
|
} catch (deleteError) {
|
|
30031
30166
|
const shownSecrets = unionOfSecretBags([secrets, printingSecretsFor(deps.secretsRun(), logicalId)]);
|
|
30032
|
-
const deleteText = fallbackFailureText(deps, deleteError, shownSecrets, (failure) => safeMsg`Failed to delete old resource ${maskSecretsInText(logicalId, shownSecrets)} ` + safeMsg`(${maskSecretsInText(String(displayPhysicalId(currentResource.resourceType, currentResource.physicalId)), shownSecrets)}) ` + `during
|
|
30167
|
+
const deleteText = fallbackFailureText(deps, deleteError, shownSecrets, (failure) => safeMsg`Failed to delete old resource ${maskSecretsInText(logicalId, shownSecrets)} ` + safeMsg`(${maskSecretsInText(String(displayPhysicalId(currentResource.resourceType, currentResource.physicalId)), shownSecrets)}) ` + safeMsg`during ${order}: ` + safeMsg`${asIsMessage(failure)}`);
|
|
30033
30168
|
throw stampRedacted$1(new Error(deleteText.message, { cause: deleteError instanceof Error ? maskSecretsInError(deleteError, secrets) : void 0 }), deleteText.redacted);
|
|
30034
30169
|
}
|
|
30035
30170
|
reportDeleteGuards(deleteResult, {
|
|
@@ -30038,7 +30173,7 @@ async function replaceDeleteFirstAndRecreate(run, deps, logicalId, resourceType,
|
|
|
30038
30173
|
provisionedBy: oldDeleteProvisionedBy
|
|
30039
30174
|
});
|
|
30040
30175
|
const replaceSkipReason = deleteSkipReason(deleteResult);
|
|
30041
|
-
if (replaceSkipReason !== void 0) throw new Error(deleteSkippedMessage(logicalId, displayPhysicalId(currentResource.resourceType, currentResource.physicalId), replaceSkipReason,
|
|
30176
|
+
if (replaceSkipReason !== void 0) throw new Error(deleteSkippedMessage(logicalId, displayPhysicalId(currentResource.resourceType, currentResource.physicalId), replaceSkipReason, `during ${order}`));
|
|
30042
30177
|
deps.logger.info(safeMsg` ${green("✓")} Old resource deleted`);
|
|
30043
30178
|
run.oldDeletedBeforeCreate.add(logicalId);
|
|
30044
30179
|
await oldDeleteProvider.waitForNameReleased?.(logicalId, currentResource.physicalId, oldResourceType, {
|
|
@@ -30058,7 +30193,7 @@ async function replaceDeleteFirstAndRecreate(run, deps, logicalId, resourceType,
|
|
|
30058
30193
|
});
|
|
30059
30194
|
} catch (recreateError) {
|
|
30060
30195
|
const shownSecrets = unionOfSecretBags([secrets, printingSecretsFor(deps.secretsRun(), logicalId)]);
|
|
30061
|
-
const recreateText = fallbackFailureText(deps, recreateError, shownSecrets, (failure) => safeMsg`Failed to re-create ${maskSecretsInText(logicalId, shownSecrets)} after
|
|
30196
|
+
const recreateText = fallbackFailureText(deps, recreateError, shownSecrets, (failure) => safeMsg`Failed to re-create ${maskSecretsInText(logicalId, shownSecrets)} after ` + safeMsg`${order} already deleted the old resource (${maskSecretsInText(String(displayPhysicalId(currentResource.resourceType, currentResource.physicalId)), shownSecrets)}). ` + safeMsg`Re-run the deploy to create it fresh. Cause: ${asIsMessage(failure)}`);
|
|
30062
30197
|
throw stampRedacted$1(new Error(recreateText.message, { cause: recreateError instanceof Error ? maskSecretsInError(recreateError, secrets) : void 0 }), recreateText.redacted);
|
|
30063
30198
|
}
|
|
30064
30199
|
}
|
|
@@ -33090,6 +33225,12 @@ function addImplicitDeleteDependencies(deleteIds, state, dependedBy, logger) {
|
|
|
33090
33225
|
}
|
|
33091
33226
|
}
|
|
33092
33227
|
|
|
33228
|
+
// src/deployment/delete-first-replacement-types.ts
|
|
33229
|
+
const DELETE_FIRST_REPLACEMENT_TYPES = /* @__PURE__ */ new Set(["AWS::EC2::VPCGatewayAttachment", "AWS::EC2::SubnetRouteTableAssociation"]);
|
|
33230
|
+
function replacesDeleteFirst(oldType, newType) {
|
|
33231
|
+
return oldType === newType && DELETE_FIRST_REPLACEMENT_TYPES.has(newType);
|
|
33232
|
+
}
|
|
33233
|
+
|
|
33093
33234
|
// src/deployment/rollback-executor/plan/failed-ops.ts
|
|
33094
33235
|
function failedCreateRecordedNoPhysicalId(op) {
|
|
33095
33236
|
return op.changeType === "CREATE" && !op.physicalId;
|
|
@@ -33119,10 +33260,14 @@ function classifyFailedOp(op, stateResources, siblings = []) {
|
|
|
33119
33260
|
return "delete-failed-create";
|
|
33120
33261
|
}
|
|
33121
33262
|
if (!current || !op.previousState) return "skip-failed-absent";
|
|
33263
|
+
if (recreatesDeletedOld(op) && current.physicalId === op.physicalId) return "recreate-failed-replaced-deleted";
|
|
33122
33264
|
if (op.replacementOrphaned !== void 0 || replacementNeverSwapped(op, siblings)) return current.physicalId === op.physicalId && (op.replacementOrphaned === "delete-first" || replacedResourceDeleted(op, siblings)) ? "skip-failed-replaced-deleted" : "skip-failed-noop";
|
|
33123
33265
|
if (isTypeChangeOp(op)) return "skip-failed-type-change";
|
|
33124
33266
|
return "revert-failed-update";
|
|
33125
33267
|
}
|
|
33268
|
+
function recreatesDeletedOld(op) {
|
|
33269
|
+
return op.changeType === "UPDATE" && op.oldDeletedBeforeCreate === true && op.previousState !== void 0 && replacesDeleteFirst(op.previousState.resourceType, op.resourceType);
|
|
33270
|
+
}
|
|
33126
33271
|
function isReplacementOrphan(op) {
|
|
33127
33272
|
return op.changeType === "CREATE" && op.replacedPhysicalId !== void 0;
|
|
33128
33273
|
}
|
|
@@ -36034,6 +36179,65 @@ async function skippedAsDeletedOutsideCdkd(action, op, logger, skipScope) {
|
|
|
36034
36179
|
return true;
|
|
36035
36180
|
}
|
|
36036
36181
|
|
|
36182
|
+
// src/deployment/rollback-executor/replay-failed-replaced-deleted.ts
|
|
36183
|
+
async function replayReplacedDeleted(action, s) {
|
|
36184
|
+
if (action === "skip-failed-replaced-deleted" || s.options.forDestroy === true) skipFailedReplacedDeleted(s);
|
|
36185
|
+
else await recreateFailedReplacedDeleted(s);
|
|
36186
|
+
}
|
|
36187
|
+
function skipFailedReplacedDeleted(s) {
|
|
36188
|
+
const { op, mask } = s;
|
|
36189
|
+
s.ctx.logger.warn(safeMsg` Rollback: Skipping failed UPDATE of ${shownLogicalId(op.logicalId)} (${refusalResourceType(op.resourceType)}) — its replacement deleted the old resource ${mask(String(displayPhysicalId(op.previousState?.resourceType ?? op.resourceType, op.physicalId)))} before the new one's create failed, so there is nothing to revert` + (s.options.forDestroy === true ? "; the destroy drops its record with the stack" : "; state still records it, and a deploy whose template still replaces it creates it again"));
|
|
36190
|
+
recordRollbackSkip(s, op, "The failed UPDATE was a replacement that deleted the old resource before its create failed, so there is nothing to revert it onto; state still records the deleted resource.");
|
|
36191
|
+
}
|
|
36192
|
+
async function recreateFailedReplacedDeleted(s) {
|
|
36193
|
+
const { op, stateResources, ctx, mask, secrets } = s;
|
|
36194
|
+
const { logger } = ctx;
|
|
36195
|
+
const prev = op.previousState;
|
|
36196
|
+
if (!requireRestorableBaseline(prev.properties, logger, {
|
|
36197
|
+
logicalId: op.logicalId,
|
|
36198
|
+
consequence: "re-create the deleted resource with nothing it declared",
|
|
36199
|
+
remedy: `Re-run ${proseQuoted(cdkdRemedy("cdkd deploy"), "`")} to create it from the template.`,
|
|
36200
|
+
retry: `re-running ${proseQuoted(cdkdRemedy("cdkd rollback", "--revert-failed"), "`")} retries this op`
|
|
36201
|
+
})) {
|
|
36202
|
+
recordRollbackSkip(s, op, ABSENT_BASELINE_SKIP_CAUSE);
|
|
36203
|
+
return;
|
|
36204
|
+
}
|
|
36205
|
+
const oldType = prev.resourceType;
|
|
36206
|
+
logger.info(safeMsg` Rollback: re-creating ${shownLogicalId(op.logicalId)} (${refusalResourceType(oldType)}): its replacement deleted ` + `the old resource before the new one's create failed`);
|
|
36207
|
+
const { provider, provisionedBy } = ctx.providerRegistry.getProviderFor({
|
|
36208
|
+
resourceType: oldType,
|
|
36209
|
+
provisionedBy: prev.provisionedBy
|
|
36210
|
+
});
|
|
36211
|
+
const resolvedPrevProps = await resolveReplayProps(prev.properties, s.resolver, secrets, ctx, op.logicalId, prev) ?? {};
|
|
36212
|
+
refuseMarkedNoEchoRecreate(resolvedPrevProps, noEchoLeavesOf(prev), op.logicalId);
|
|
36213
|
+
refuseMaskedReplayBaseline(resolvedPrevProps, op.logicalId);
|
|
36214
|
+
const createProps = { ...provisionedBy === "cc-api" ? applyDefaultNameForFallback(op.logicalId, oldType, resolvedPrevProps) : resolvedPrevProps };
|
|
36215
|
+
const createResult = await createWithRollbackRetry(provider, () => withCurrentResourceSecrets(secrets, () => provider.create(op.logicalId, oldType, createProps, replayingStateCreateContext(secrets, prev.typedPayloadLeaves))), op.logicalId, logger, s.options.isInterrupted, mask, {
|
|
36216
|
+
isRetryable: isRecreateRetryableError,
|
|
36217
|
+
interruptedMessage: "Rollback interrupted while re-creating the deleted old resource"
|
|
36218
|
+
});
|
|
36219
|
+
recordNoEchoAttributeValues(createResult, secrets, resolvedPrevProps);
|
|
36220
|
+
const { observedProperties: _staleObserved, noEchoValueMacs: _staleMacs, ...prevRecord } = prev;
|
|
36221
|
+
const restoredProperties = recordedPropertiesAfterReplayCreate(prevRecord, createResult) ?? prev.properties;
|
|
36222
|
+
stateResources[op.logicalId] = withoutVersionAttestation(redactRollbackRecord({
|
|
36223
|
+
...withNameGenerationReached(prevRecord, op.logicalId, op.nameGeneration),
|
|
36224
|
+
physicalId: createResult.physicalId,
|
|
36225
|
+
attributes: createResult.attributes ?? {},
|
|
36226
|
+
properties: restoredProperties,
|
|
36227
|
+
acceptedCreateOnlyDrops: acceptedCreateOnlyDropsEvidence(restoredProperties, oldType, provisionedBy)
|
|
36228
|
+
}, secrets, prevRecord.properties, prevRecord.attributes));
|
|
36229
|
+
logger.info(safeMsg` Rollback: ${shownLogicalId(op.logicalId)} re-created as ${mask(String(displayPhysicalId(oldType, createResult.physicalId)))}`);
|
|
36230
|
+
await s.options.afterOp?.(op.logicalId);
|
|
36231
|
+
ctx.recordEvent?.({
|
|
36232
|
+
eventType: "ROLLBACK_RESOURCE_SUCCEEDED",
|
|
36233
|
+
stackName: s.stackName,
|
|
36234
|
+
operation: "UPDATE",
|
|
36235
|
+
logicalId: op.logicalId,
|
|
36236
|
+
resourceType: oldType,
|
|
36237
|
+
...provisionedBy && { provisionedBy }
|
|
36238
|
+
});
|
|
36239
|
+
}
|
|
36240
|
+
|
|
36037
36241
|
// src/deployment/rollback-executor/replay-failed.ts
|
|
36038
36242
|
async function replayFailedOperationsUnbound(failedOps, stateResources, stackName, ctx, options = {}) {
|
|
36039
36243
|
const inlinePolicyWriters = options.inlinePolicyWriters ?? new RollbackInlinePolicyWriters();
|
|
@@ -36099,8 +36303,14 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
36099
36303
|
recordRollbackSkip(skipScope, op, "The failed CREATE recorded a physical id other than the one state now tracks under this logical id, so the rollback left it as it is; manual attention may be required.");
|
|
36100
36304
|
break;
|
|
36101
36305
|
case "skip-failed-replaced-deleted":
|
|
36102
|
-
|
|
36103
|
-
|
|
36306
|
+
case "recreate-failed-replaced-deleted":
|
|
36307
|
+
await replayReplacedDeleted(action, {
|
|
36308
|
+
...skipScope,
|
|
36309
|
+
op,
|
|
36310
|
+
secrets,
|
|
36311
|
+
resolver,
|
|
36312
|
+
options
|
|
36313
|
+
});
|
|
36104
36314
|
break;
|
|
36105
36315
|
case "skip-failed-superseded":
|
|
36106
36316
|
logger.warn(safeMsg` Rollback: Skipping failed CREATE of ${shownLogicalId(op.logicalId)} (${refusalResourceType(op.resourceType)}) — it created ${mask(String(displayPhysicalId(op.resourceType, op.physicalId)))} before failing, and a later deploy or rollback may own a resource under that id now; if it is not in use, delete it manually`);
|
|
@@ -37992,6 +38202,8 @@ function stampReasonlessParameterRefusals(logger, stateResources, template) {
|
|
|
37992
38202
|
var AttributeHealer = class {
|
|
37993
38203
|
heals = /* @__PURE__ */ new Map();
|
|
37994
38204
|
healed = /* @__PURE__ */ new Map();
|
|
38205
|
+
readyReads = /* @__PURE__ */ new Map();
|
|
38206
|
+
readyRead = /* @__PURE__ */ new Map();
|
|
37995
38207
|
deps;
|
|
37996
38208
|
constructor(deps) {
|
|
37997
38209
|
this.deps = deps;
|
|
@@ -38016,7 +38228,38 @@ var AttributeHealer = class {
|
|
|
38016
38228
|
const loaded = Object.hasOwn(baseline, logicalId) ? baseline[logicalId] : void 0;
|
|
38017
38229
|
return loaded !== void 0 && loaded.physicalId === resource.physicalId && loaded.attributes === resource.attributes && !isHealExcludedType(resource.resourceType);
|
|
38018
38230
|
}
|
|
38231
|
+
readAfterReadiness(logicalId, resource, stackName) {
|
|
38232
|
+
if (isHealExcludedType(resource.resourceType)) return Promise.resolve({ kind: "not-attempted" });
|
|
38233
|
+
const key = injectiveKey(logicalId, resource.physicalId);
|
|
38234
|
+
const inFlight = this.readyReads.get(key);
|
|
38235
|
+
if (inFlight) return inFlight;
|
|
38236
|
+
const read = this.readOutcome(logicalId, resource, stackName).then((outcome) => {
|
|
38237
|
+
if (outcome.kind === "read" && Object.keys(outcome.attributes).length > 0) this.readyRead.set(logicalId, {
|
|
38238
|
+
physicalId: resource.physicalId,
|
|
38239
|
+
resourceType: resource.resourceType,
|
|
38240
|
+
source: resource.attributes,
|
|
38241
|
+
attributes: outcome.attributes
|
|
38242
|
+
});
|
|
38243
|
+
return outcome;
|
|
38244
|
+
}).catch((error) => ({
|
|
38245
|
+
kind: "failed",
|
|
38246
|
+
error
|
|
38247
|
+
}));
|
|
38248
|
+
this.readyReads.set(key, read);
|
|
38249
|
+
return read;
|
|
38250
|
+
}
|
|
38019
38251
|
async read(logicalId, resource, stackName) {
|
|
38252
|
+
const outcome = await this.readOutcome(logicalId, resource, stackName);
|
|
38253
|
+
if (outcome.kind !== "read") return outcome;
|
|
38254
|
+
const { attributes } = outcome;
|
|
38255
|
+
if (Object.keys(attributes).length > 0) this.healed.set(logicalId, {
|
|
38256
|
+
physicalId: resource.physicalId,
|
|
38257
|
+
resourceType: resource.resourceType,
|
|
38258
|
+
attributes
|
|
38259
|
+
});
|
|
38260
|
+
return outcome;
|
|
38261
|
+
}
|
|
38262
|
+
async readOutcome(logicalId, resource, stackName) {
|
|
38020
38263
|
const { provider } = this.deps.providerRegistry.getProviderFor({
|
|
38021
38264
|
resourceType: resource.resourceType,
|
|
38022
38265
|
properties: resource.properties,
|
|
@@ -38032,16 +38275,18 @@ var AttributeHealer = class {
|
|
|
38032
38275
|
region: this.deps.stackRegion
|
|
38033
38276
|
}));
|
|
38034
38277
|
if (outcome.kind !== "read") return outcome;
|
|
38035
|
-
|
|
38036
|
-
if (Object.keys(attributes).length > 0) this.healed.set(logicalId, {
|
|
38037
|
-
physicalId: resource.physicalId,
|
|
38038
|
-
resourceType: resource.resourceType,
|
|
38039
|
-
attributes
|
|
38040
|
-
});
|
|
38041
|
-
this.deps.logger.debug(safeMsg`Re-read the attributes of ${displaySafe(logicalId)} (${displaySafe(resource.resourceType)}) from AWS — its state record lacked one a Fn::GetAtt asked for: ${Object.keys(attributes).length} attribute(s) read`);
|
|
38278
|
+
this.deps.logger.debug(safeMsg`Re-read the attributes of ${displaySafe(logicalId)} (${displaySafe(resource.resourceType)}) from AWS — its state record lacked one a Fn::GetAtt asked for: ${Object.keys(outcome.attributes).length} attribute(s) read`);
|
|
38042
38279
|
return outcome;
|
|
38043
38280
|
}
|
|
38044
38281
|
withHealedAttributes(logicalId, record) {
|
|
38282
|
+
const ready = this.readyRead.get(logicalId);
|
|
38283
|
+
if (ready !== void 0 && ready.physicalId === record.physicalId && ready.resourceType === record.resourceType && ready.source === record.attributes) {
|
|
38284
|
+
const merged = mergeHealedAttributes(record.attributes, ready.attributes, () => false);
|
|
38285
|
+
return merged === record.attributes || merged === void 0 ? record : {
|
|
38286
|
+
...record,
|
|
38287
|
+
attributes: merged
|
|
38288
|
+
};
|
|
38289
|
+
}
|
|
38045
38290
|
const healed = this.healed.get(logicalId);
|
|
38046
38291
|
if (healed === void 0 || healed.physicalId !== record.physicalId || healed.resourceType !== record.resourceType || !this.isEligible(logicalId, record)) return record;
|
|
38047
38292
|
const merged = mergeHealedAttributes(record.attributes, healed.attributes, (key, value, healedValue) => isStalePlaceholderArnAttribute(record.resourceType, key, value) || isMaskedOwnIdCopy(record, key, value, healedValue, this.deps.resolvedSecretsOf(logicalId)));
|
|
@@ -38051,7 +38296,7 @@ var AttributeHealer = class {
|
|
|
38051
38296
|
};
|
|
38052
38297
|
}
|
|
38053
38298
|
hasUnpersistedHeals(resources) {
|
|
38054
|
-
for (const logicalId of this.healed.keys()) {
|
|
38299
|
+
for (const logicalId of /* @__PURE__ */ new Set([...this.healed.keys(), ...this.readyRead.keys()])) {
|
|
38055
38300
|
const record = Object.hasOwn(resources, logicalId) ? resources[logicalId] : void 0;
|
|
38056
38301
|
if (record !== void 0 && this.withHealedAttributes(logicalId, record) !== record) return true;
|
|
38057
38302
|
}
|
|
@@ -38092,6 +38337,10 @@ function buildResolverContext(deps, base, stackName) {
|
|
|
38092
38337
|
recordedImports: deps.recordedImports(),
|
|
38093
38338
|
recordedOutputReads: deps.recordedOutputReads(),
|
|
38094
38339
|
attributeHealer: (logicalId, resource) => deps.attributeHealer().heal(logicalId, resource, stackName),
|
|
38340
|
+
...deps.deferredReadiness && { deferredReadiness: {
|
|
38341
|
+
awaitReady: (logicalId, reason) => deps.deferredReadiness().awaitReady(logicalId, reason),
|
|
38342
|
+
readAfterReady: (logicalId, resource) => deps.attributeHealer().readAfterReadiness(logicalId, resource, stackName)
|
|
38343
|
+
} },
|
|
38095
38344
|
...deps.options.inheritedSecrets && hasMaskableValues(deps.options.inheritedSecrets) && { inheritedSecrets: deps.options.inheritedSecrets },
|
|
38096
38345
|
...deps.options.inheritedPhysicalNameCopies && { inheritedPhysicalNameCopies: deps.options.inheritedPhysicalNameCopies },
|
|
38097
38346
|
...deps.options.inheritedReferenceProvenance && { inheritedReferenceProvenance: deps.options.inheritedReferenceProvenance },
|
|
@@ -38522,7 +38771,7 @@ function findDestructiveChanges(stackName, changes, records, template, recreateT
|
|
|
38522
38771
|
if (impact === void 0) continue;
|
|
38523
38772
|
const recorded = typeof record?.constructPath === "string" ? record.constructPath : void 0;
|
|
38524
38773
|
const constructPath = constructPathOf(template, change.logicalId) ?? recorded;
|
|
38525
|
-
const earlyDelete = impact === "WILL_REPLACE" ? plannedEarlyDelete(change, resourceType, template, recreateTargets) : void 0;
|
|
38774
|
+
const earlyDelete = impact === "WILL_REPLACE" || impact === "MAY_REPLACE" && replacesDeleteFirst(resourceType, change.resourceType) ? plannedEarlyDelete(change, resourceType, template, recreateTargets) : void 0;
|
|
38526
38775
|
found.push({
|
|
38527
38776
|
stackName,
|
|
38528
38777
|
logicalId: change.logicalId,
|
|
@@ -38555,10 +38804,10 @@ function destructiveImpactOf(change, record) {
|
|
|
38555
38804
|
function plannedEarlyDelete(change, oldType, template, recreateTargets) {
|
|
38556
38805
|
if (isInlinePolicyType(oldType)) return void 0;
|
|
38557
38806
|
if (change.changeType !== "UPDATE") return void 0;
|
|
38558
|
-
|
|
38559
|
-
|
|
38560
|
-
|
|
38561
|
-
|
|
38807
|
+
const resources = template?.Resources;
|
|
38808
|
+
const keepsOld = resources !== void 0 && Object.hasOwn(resources, change.logicalId) && resources[change.logicalId]?.UpdateReplacePolicy === "Retain";
|
|
38809
|
+
if (recreateTargets.has(change.logicalId)) return keepsOld ? void 0 : "recreate";
|
|
38810
|
+
if (replacesDeleteFirst(oldType, change.resourceType)) return keepsOld ? void 0 : "before-create";
|
|
38562
38811
|
if (change.providerReplacement === void 0 || oldType !== change.resourceType) return void 0;
|
|
38563
38812
|
return providerReplacementOldDeleted(change.resourceType);
|
|
38564
38813
|
}
|
|
@@ -39383,6 +39632,109 @@ function preparePropertiesForCcApi(providerRegistry, resourceType, resolvedProps
|
|
|
39383
39632
|
return applyDefaultNameForFallback(logicalId, resourceType, resolvedProps, underivable);
|
|
39384
39633
|
}
|
|
39385
39634
|
|
|
39635
|
+
// src/deployment/deferred-readiness-run.ts
|
|
39636
|
+
const deferredReadinessPoll = { intervalMs: 500 };
|
|
39637
|
+
var DeferredReadinessRun = class {
|
|
39638
|
+
entries = /* @__PURE__ */ new Map();
|
|
39639
|
+
deps;
|
|
39640
|
+
constructor(deps) {
|
|
39641
|
+
this.deps = deps;
|
|
39642
|
+
}
|
|
39643
|
+
record(logicalId, resourceType, operation, deferred) {
|
|
39644
|
+
if (deferred.size === 0) {
|
|
39645
|
+
this.entries.delete(logicalId);
|
|
39646
|
+
return;
|
|
39647
|
+
}
|
|
39648
|
+
this.entries.set(logicalId, {
|
|
39649
|
+
resourceType,
|
|
39650
|
+
operation,
|
|
39651
|
+
physicalIds: [...deferred.keys()],
|
|
39652
|
+
waits: [...deferred.values()]
|
|
39653
|
+
});
|
|
39654
|
+
}
|
|
39655
|
+
get isEmpty() {
|
|
39656
|
+
return this.entries.size === 0;
|
|
39657
|
+
}
|
|
39658
|
+
isDeferred(logicalId) {
|
|
39659
|
+
return this.entries.has(logicalId);
|
|
39660
|
+
}
|
|
39661
|
+
logicalIdOf(physicalId) {
|
|
39662
|
+
for (const [logicalId, entry] of this.entries) if (entry.physicalIds.includes(physicalId)) return logicalId;
|
|
39663
|
+
}
|
|
39664
|
+
awaitReady(logicalId, reason) {
|
|
39665
|
+
const entry = this.entries.get(logicalId);
|
|
39666
|
+
if (entry === void 0) return void 0;
|
|
39667
|
+
if (entry.promise === void 0) {
|
|
39668
|
+
const started = entry.waits[0].inContext(() => this.run(logicalId, entry, reason));
|
|
39669
|
+
started.catch(() => void 0);
|
|
39670
|
+
entry.promise = started;
|
|
39671
|
+
}
|
|
39672
|
+
return entry.promise.catch((error) => {
|
|
39673
|
+
throw this.consumerError(logicalId, entry, reason, error);
|
|
39674
|
+
});
|
|
39675
|
+
}
|
|
39676
|
+
async awaitAll(logicalIds, reason) {
|
|
39677
|
+
const waits = [];
|
|
39678
|
+
for (const id of logicalIds) {
|
|
39679
|
+
const wait = this.awaitReady(id, reason);
|
|
39680
|
+
if (wait !== void 0) waits.push(wait);
|
|
39681
|
+
}
|
|
39682
|
+
if (waits.length === 0) return;
|
|
39683
|
+
const failed = (await Promise.allSettled(waits)).find((s) => s.status === "rejected");
|
|
39684
|
+
if (failed !== void 0) throw failed.reason;
|
|
39685
|
+
}
|
|
39686
|
+
mask(logicalId, text) {
|
|
39687
|
+
return this.deps.mask ? this.deps.mask(logicalId, text) : text;
|
|
39688
|
+
}
|
|
39689
|
+
consumerError(logicalId, entry, reason, error) {
|
|
39690
|
+
if (isInterruptedWaitError(error) || error instanceof ResourceTimeoutError) return error;
|
|
39691
|
+
return new ProvisioningError(this.mask(logicalId, `${logicalId} (${entry.resourceType}) did not become ready (${reason}): ${describeAwsFailure(error).summary}`), entry.resourceType, logicalId, void 0, error instanceof Error ? error : void 0);
|
|
39692
|
+
}
|
|
39693
|
+
async run(logicalId, entry, reason) {
|
|
39694
|
+
const { resourceType, operation } = entry;
|
|
39695
|
+
this.deps.logger.info(this.mask(logicalId, safeMsg`Waiting for ${logicalId} (${resourceType}), whose readiness wait --no-wait skipped: ${reason}`));
|
|
39696
|
+
const controller = new AbortController();
|
|
39697
|
+
const watch = startInterruptWatch(`Readiness wait for ${logicalId}`);
|
|
39698
|
+
let poll;
|
|
39699
|
+
const { warnAfterMs, timeoutMs } = this.deps.budget(resourceType, operation);
|
|
39700
|
+
const deadlineOptions = {
|
|
39701
|
+
warnAfterMs,
|
|
39702
|
+
timeoutMs,
|
|
39703
|
+
onWarn: (elapsedMs) => this.deps.logger.info(this.mask(logicalId, safeMsg`Still waiting for ${logicalId} (${resourceType}) to be ready after ${Math.max(1, Math.round(elapsedMs / 6e4))}m`)),
|
|
39704
|
+
onTimeout: (elapsedMs) => new ResourceTimeoutError(logicalId, resourceType, this.deps.region, elapsedMs, operation, timeoutMs)
|
|
39705
|
+
};
|
|
39706
|
+
try {
|
|
39707
|
+
await new Promise((resolve, reject) => {
|
|
39708
|
+
poll = setInterval(() => {
|
|
39709
|
+
if (watch.isInterrupted() || this.deps.interrupted()) {
|
|
39710
|
+
clearInterval(poll);
|
|
39711
|
+
controller.abort();
|
|
39712
|
+
reject(watch.onInterrupted());
|
|
39713
|
+
}
|
|
39714
|
+
}, deferredReadinessPoll.intervalMs);
|
|
39715
|
+
Promise.all(entry.waits.map(({ wait, inContext }) => inContext(() => outsideEnclosingDeadlines(() => withResourceDeadline(() => wait(controller.signal), deadlineOptions))))).then(() => resolve(), (error) => reject(error));
|
|
39716
|
+
});
|
|
39717
|
+
this.deps.logger.debug(safeMsg`${logicalId} (${resourceType}) is ready`);
|
|
39718
|
+
} finally {
|
|
39719
|
+
clearInterval(poll);
|
|
39720
|
+
controller.abort();
|
|
39721
|
+
watch.dispose();
|
|
39722
|
+
}
|
|
39723
|
+
}
|
|
39724
|
+
};
|
|
39725
|
+
|
|
39726
|
+
// src/deployment/deploy-engine/resource-budget.ts
|
|
39727
|
+
function resourceDeadlineBudget(engine, resourceType, operationKind) {
|
|
39728
|
+
const providerMinTimeoutMs = engine.providerRegistry.getProvider(resourceType).getMinResourceTimeoutMs?.() ?? 0;
|
|
39729
|
+
const warnAfterMs = engine.options.resourceWarnAfterByType?.[resourceType] ?? engine.options.resourceWarnAfterMs ?? 3e5;
|
|
39730
|
+
const globalTimeoutMs = engine.options.resourceTimeoutMs ?? 18e5;
|
|
39731
|
+
const slowTypeMinTimeoutMs = slowCcOperationTimeoutMs(resourceType, operationKind);
|
|
39732
|
+
return {
|
|
39733
|
+
warnAfterMs,
|
|
39734
|
+
timeoutMs: engine.options.resourceTimeoutByType?.[resourceType] ?? Math.max(providerMinTimeoutMs, slowTypeMinTimeoutMs, globalTimeoutMs)
|
|
39735
|
+
};
|
|
39736
|
+
}
|
|
39737
|
+
|
|
39386
39738
|
// src/deployment/orphan-adoption.ts
|
|
39387
39739
|
function templateStillDeclares(template, record, nameProperties) {
|
|
39388
39740
|
const declared = template.Resources?.[record.logicalId];
|
|
@@ -40808,7 +41160,7 @@ async function performRollback(deps, completedOperations, stateResources, stackN
|
|
|
40808
41160
|
const orphanIndexes = [];
|
|
40809
41161
|
const orphanOps = [];
|
|
40810
41162
|
failedOperations.forEach((op, i) => {
|
|
40811
|
-
if (!isJournaledOrphan(op) && !(op.changeType === "UPDATE" && replacementNeverSwapped(op, failedOperations))) return;
|
|
41163
|
+
if (!isJournaledOrphan(op) && !(op.changeType === "UPDATE" && replacementNeverSwapped(op, failedOperations)) && !recreatesDeletedOld(op)) return;
|
|
40812
41164
|
orphanIndexes.push(i);
|
|
40813
41165
|
orphanOps.push({ ...op });
|
|
40814
41166
|
});
|
|
@@ -42530,6 +42882,13 @@ function rebaseline(resources) {
|
|
|
42530
42882
|
namingSecrets: () => stateNamingSecrets(this.secretsRun),
|
|
42531
42883
|
pinnedToCcApi: (stackName, logicalId) => isPinnedToCcApi(this.options, stackName, logicalId)
|
|
42532
42884
|
});
|
|
42885
|
+
this.deferredReadiness = new DeferredReadinessRun({
|
|
42886
|
+
logger: this.logger,
|
|
42887
|
+
region: this.stackRegion,
|
|
42888
|
+
budget: (resourceType, operation) => resourceDeadlineBudget(this, resourceType, operation),
|
|
42889
|
+
interrupted: () => this.interrupted,
|
|
42890
|
+
mask: (logicalId, text) => maskForResource(this.secretsRun, logicalId, text)
|
|
42891
|
+
});
|
|
42533
42892
|
return this.attributeHealer;
|
|
42534
42893
|
}
|
|
42535
42894
|
function freshProvenanceCapture() {
|
|
@@ -42611,6 +42970,7 @@ function resolverContextDeps() {
|
|
|
42611
42970
|
noEchoRun: () => this.noEchoRun,
|
|
42612
42971
|
healBaseline: () => this.healBaseline,
|
|
42613
42972
|
attributeHealer: () => this.attributeHealer,
|
|
42973
|
+
deferredReadiness: () => this.deferredReadiness,
|
|
42614
42974
|
recordedImports: () => this.recordedImports,
|
|
42615
42975
|
recordedOutputReads: () => this.recordedOutputReads,
|
|
42616
42976
|
runProducerRegionEvidence: () => this.runProducerRegionEvidence,
|
|
@@ -52760,6 +53120,10 @@ async function recreateDestroyThenCreate(engine, { currentResource, equalIdIsSam
|
|
|
52760
53120
|
async function replaceCreateFirst(engine, { currentResource, equalIdIsSameResource, logicalId, noEchoDeleteValues, oldDeleteProvider, oldDeleteRoute, oldResourceType, replaceDecision, replaceProps, replaceProvider, resolvedProps, resourceType, stackName, updateReplacePolicy, updateSecrets, typedPayloadLeaves, lostWithParent, nameChange, awaitInService }) {
|
|
52761
53121
|
let createResult;
|
|
52762
53122
|
if (awaitInService === true && replaceDecision.provisionedBy !== "sdk") throw markRefusedBeforeApplying(markNonRetryable(new CdkdError(cloudControlReplacementRefusal(logicalId), "UPDATE_POLICY_REPLACEMENT_REFUSED")));
|
|
53123
|
+
if (lostWithParent === void 0 && updateReplacePolicy !== "Retain" && replacesDeleteFirst(oldResourceType, resourceType)) {
|
|
53124
|
+
engine.logger.info(safeMsg` ${resourceType} allows one link at a time — deleting old ${logicalId} ` + safeMsg`(${displayPhysicalId(currentResource.resourceType, currentResource.physicalId)}) before creating its replacement...`);
|
|
53125
|
+
return replaceDeleteFirstAndRecreate(engine.replacementRun, engine.replacementDeps(), logicalId, resourceType, oldResourceType, currentResource, oldDeleteProvider, replaceProvider, replaceProps, updateSecrets, updateReplacePolicy, oldDeleteRoute.provisionedBy, noEchoDeleteValues, "the delete-first replacement");
|
|
53126
|
+
}
|
|
52763
53127
|
engine.logger.info(safeMsg` Creating new ${logicalId}...`);
|
|
52764
53128
|
let deletedOldFirst = lostWithParent !== void 0;
|
|
52765
53129
|
if (lostWithParent !== void 0) {
|
|
@@ -54245,11 +54609,7 @@ async function provisionResource(engine, logicalId, change, stateResources, stac
|
|
|
54245
54609
|
replacing: needsReplacement
|
|
54246
54610
|
});
|
|
54247
54611
|
const operationKind = change.changeType === "CREATE" ? "CREATE" : change.changeType === "DELETE" ? "DELETE" : "UPDATE";
|
|
54248
|
-
const
|
|
54249
|
-
const warnAfterMs = engine.options.resourceWarnAfterByType?.[resourceType] ?? engine.options.resourceWarnAfterMs ?? 3e5;
|
|
54250
|
-
const globalTimeoutMs = engine.options.resourceTimeoutMs ?? 18e5;
|
|
54251
|
-
const slowTypeMinTimeoutMs = slowCcOperationTimeoutMs(resourceType, operationKind);
|
|
54252
|
-
const timeoutMs = engine.options.resourceTimeoutByType?.[resourceType] ?? Math.max(providerMinTimeoutMs, slowTypeMinTimeoutMs, globalTimeoutMs);
|
|
54612
|
+
const { warnAfterMs, timeoutMs } = resourceDeadlineBudget(engine, resourceType, operationKind);
|
|
54253
54613
|
const eventOp = operationKind;
|
|
54254
54614
|
const resourceStartedAt = Date.now();
|
|
54255
54615
|
engine.recordEvent({
|
|
@@ -54554,13 +54914,34 @@ async function provisionCreateUpdateNode(run, createUpdateExecutor, enqueueLostC
|
|
|
54554
54914
|
});
|
|
54555
54915
|
let succeeded = false;
|
|
54556
54916
|
const createdSink = new CreatedResourceSink(logicalId, change.resourceType);
|
|
54917
|
+
const parentScope = currentDeferredReadinessScope();
|
|
54918
|
+
const readinessScope = {
|
|
54919
|
+
logicalId,
|
|
54920
|
+
resourceType: change.resourceType,
|
|
54921
|
+
deferred: /* @__PURE__ */ new Map(),
|
|
54922
|
+
awaitUpstreamReadinessRaw: async () => {
|
|
54923
|
+
await awaitUpstreamWaits(run, logicalId);
|
|
54924
|
+
await parentScope?.awaitUpstreamReadinessRaw();
|
|
54925
|
+
},
|
|
54926
|
+
awaitUpstreamReadiness: async () => {
|
|
54927
|
+
try {
|
|
54928
|
+
await readinessScope.awaitUpstreamReadinessRaw();
|
|
54929
|
+
} catch (error) {
|
|
54930
|
+
throw notInvokedError(run, logicalId, change.resourceType, error);
|
|
54931
|
+
}
|
|
54932
|
+
},
|
|
54933
|
+
awaitDeferredResource: (physicalId, reason) => {
|
|
54934
|
+
const owner = engine.deferredReadiness.logicalIdOf(physicalId);
|
|
54935
|
+
return owner === void 0 ? void 0 : engine.deferredReadiness.awaitReady(owner, reason);
|
|
54936
|
+
}
|
|
54937
|
+
};
|
|
54557
54938
|
run.inFlightCreatedSinks.set(logicalId, createdSink);
|
|
54558
54939
|
const signalWaitStart = Date.now();
|
|
54559
54940
|
const physicalIdBefore = newResources[logicalId]?.physicalId;
|
|
54560
54941
|
try {
|
|
54561
54942
|
try {
|
|
54562
54943
|
refuseUnservedSignalWait(engine, logicalId, change, template);
|
|
54563
|
-
await timePhase(phaseScope, `resource ${change.changeType.toLowerCase()}`, () => collectCreatedResources(createdSink, () => provisionResource(engine, logicalId, change, newResources, stackName, template, parameterValues, conditions, actualCounts, progress)), `${logicalId} ${change.resourceType}`);
|
|
54944
|
+
await timePhase(phaseScope, `resource ${change.changeType.toLowerCase()}`, () => collectCreatedResources(createdSink, () => withDeferredReadinessScope(readinessScope, () => provisionResource(engine, logicalId, change, newResources, stackName, template, parameterValues, conditions, actualCounts, progress))), `${logicalId} ${change.resourceType}`);
|
|
54564
54945
|
settledUpdates.add(logicalId);
|
|
54565
54946
|
succeeded = true;
|
|
54566
54947
|
} finally {
|
|
@@ -54658,6 +55039,7 @@ async function provisionCreateUpdateNode(run, createUpdateExecutor, enqueueLostC
|
|
|
54658
55039
|
...change.changeType === "UPDATE" && previousState !== void 0 && { previousResourceType: previousState.resourceType },
|
|
54659
55040
|
...change.changeType === "UPDATE" && engine.replacementRun.attemptedNameGeneration.has(logicalId) && newResources[logicalId]?.nameGeneration !== void 0 && { nameGeneration: newResources[logicalId].nameGeneration }
|
|
54660
55041
|
});
|
|
55042
|
+
engine.deferredReadiness.record(logicalId, change.resourceType, change.changeType, readinessScope.deferred);
|
|
54661
55043
|
saveStateAfterResource(logicalId);
|
|
54662
55044
|
if (engine.replacementRun.recreatedUnderSameId.has(logicalId)) enqueueLostChildren(createUpdateExecutor);
|
|
54663
55045
|
const created = change.changeType === "CREATE" || newResources[logicalId]?.physicalId !== physicalIdBefore;
|
|
@@ -54668,6 +55050,57 @@ function journaledUpdatePolicyField(changeType, updatePolicyOption, template, lo
|
|
|
54668
55050
|
const updatePolicy = journaledUpdatePolicy(updatePolicyOption, template?.Resources?.[logicalId], resolved);
|
|
54669
55051
|
return updatePolicy !== void 0 ? { updatePolicy } : {};
|
|
54670
55052
|
}
|
|
55053
|
+
async function awaitUpstreamWaits(run, logicalId) {
|
|
55054
|
+
const { engine } = run;
|
|
55055
|
+
if (engine.deferredReadiness.isEmpty) return;
|
|
55056
|
+
const upstream = engine.dagBuilder.getAllDependencies(run.dag, logicalId);
|
|
55057
|
+
await engine.deferredReadiness.awaitAll(upstream, `custom resource ${logicalId} is invoked after it`);
|
|
55058
|
+
}
|
|
55059
|
+
function notInvokedError(run, logicalId, resourceType, error) {
|
|
55060
|
+
if (isInterruptedWaitError(error)) return error;
|
|
55061
|
+
const { engine } = run;
|
|
55062
|
+
const upstreamId = error?.logicalId;
|
|
55063
|
+
const text = `${logicalId} was not invoked: ${describeAwsFailure(error).summary}`;
|
|
55064
|
+
return markNonRetryable(markRefusedBeforeApplying(new ProvisioningError(maskForResource(engine.secretsRun, logicalId, typeof upstreamId === "string" ? maskForResource(engine.secretsRun, upstreamId, text) : text), resourceType, logicalId, void 0, error instanceof Error ? error : void 0)));
|
|
55065
|
+
}
|
|
55066
|
+
|
|
55067
|
+
// src/deployment/deploy-engine/execute/removal-delete-kept.ts
|
|
55068
|
+
var RemovalDeletesKept = class {
|
|
55069
|
+
keptBy = /* @__PURE__ */ new Map();
|
|
55070
|
+
keepFailure(engine, logicalId, change, error, counts, progress) {
|
|
55071
|
+
if (engine.interrupted || isInterruptedWaitError(error) || deadlineFiredFor(error, logicalId)) return false;
|
|
55072
|
+
this.keptBy.set(logicalId, logicalId);
|
|
55073
|
+
if (progress) progress.current++;
|
|
55074
|
+
counts.deleteSkipped++;
|
|
55075
|
+
engine.logger.warn(safeMsg`${logicalId} (${change.resourceType}) was removed from the template, but its delete failed, so it stays in AWS and its cdkd state record was KEPT: the next 'cdkd deploy' retries the delete. The deploy's other changes stay applied, as CloudFormation's cleanup phase leaves them.`);
|
|
55076
|
+
return true;
|
|
55077
|
+
}
|
|
55078
|
+
blockerOf(dependencies) {
|
|
55079
|
+
for (const dependency of dependencies) {
|
|
55080
|
+
const blocker = this.keptBy.get(dependency);
|
|
55081
|
+
if (blocker !== void 0) return blocker;
|
|
55082
|
+
}
|
|
55083
|
+
}
|
|
55084
|
+
keepBlocked(engine, logicalId, change, blocker, record, stackName, counts, progress) {
|
|
55085
|
+
this.keptBy.set(logicalId, blocker);
|
|
55086
|
+
if (progress) progress.current++;
|
|
55087
|
+
counts.deleteSkipped++;
|
|
55088
|
+
const reason = `${blocker} depends on it and its delete failed`;
|
|
55089
|
+
const prefix = progress ? `[${progress.current}/${progress.total}] ` : " ";
|
|
55090
|
+
getLiveRenderer().removeTask(logicalId);
|
|
55091
|
+
engine.logger.info(safeMsg`${prefix}${formatResourceLine("skipped", logicalId, change.resourceType, `not deleted (${reason})`)}`);
|
|
55092
|
+
engine.recordEvent({
|
|
55093
|
+
eventType: "RESOURCE_SKIPPED",
|
|
55094
|
+
stackName,
|
|
55095
|
+
operation: "DELETE",
|
|
55096
|
+
logicalId,
|
|
55097
|
+
resourceType: change.resourceType,
|
|
55098
|
+
...record?.provisionedBy && { provisionedBy: record.provisionedBy },
|
|
55099
|
+
...record?.physicalId && { physicalId: record.physicalId },
|
|
55100
|
+
reason
|
|
55101
|
+
});
|
|
55102
|
+
}
|
|
55103
|
+
};
|
|
54671
55104
|
|
|
54672
55105
|
// src/deployment/deploy-engine/execute/failed-deploy-records.ts
|
|
54673
55106
|
async function settleFailedDeployRecords(run) {
|
|
@@ -55481,6 +55914,7 @@ async function executeDeploymentBody(registerForceQuitFlush, engine, template, c
|
|
|
55481
55914
|
const deleteDeps = buildDeletionDependencies(deleteChanges, currentState, engine.logger);
|
|
55482
55915
|
const deletes = new DagExecutor(phaseScope);
|
|
55483
55916
|
deleteExecutor = deletes;
|
|
55917
|
+
const removalKept = new RemovalDeletesKept();
|
|
55484
55918
|
for (const id of deleteChanges) deletes.add({
|
|
55485
55919
|
id,
|
|
55486
55920
|
dependencies: deleteDeps.get(id) ?? /* @__PURE__ */ new Set(),
|
|
@@ -55492,10 +55926,16 @@ async function executeDeploymentBody(registerForceQuitFlush, engine, template, c
|
|
|
55492
55926
|
const logicalId = node.id;
|
|
55493
55927
|
const change = node.data;
|
|
55494
55928
|
const previousState = currentState.resources[logicalId] ? { ...currentState.resources[logicalId] } : void 0;
|
|
55929
|
+
const blocker = removalKept.blockerOf(node.dependencies);
|
|
55930
|
+
if (blocker !== void 0) {
|
|
55931
|
+
removalKept.keepBlocked(engine, logicalId, change, blocker, previousState, stackName, actualCounts, progress);
|
|
55932
|
+
return;
|
|
55933
|
+
}
|
|
55495
55934
|
let deleteOutcome;
|
|
55496
55935
|
try {
|
|
55497
55936
|
deleteOutcome = await timePhase(phaseScope, "resource delete", () => provisionResource(engine, logicalId, change, newResources, stackName, template, parameterValues, conditions, actualCounts, progress), `${logicalId} ${change.resourceType}`);
|
|
55498
55937
|
} catch (provisionError) {
|
|
55938
|
+
if (removalKept.keepFailure(engine, logicalId, change, provisionError, actualCounts, progress)) return;
|
|
55499
55939
|
engine.interrupted = true;
|
|
55500
55940
|
engine.interruptCause ??= "sibling-failure";
|
|
55501
55941
|
failedOperations.push({
|
|
@@ -57305,6 +57745,7 @@ var DeployEngine = class {
|
|
|
57305
57745
|
stackRecordsView = void 0;
|
|
57306
57746
|
inlinePolicyWriters = /* @__PURE__ */ new Map();
|
|
57307
57747
|
attributeHealer;
|
|
57748
|
+
deferredReadiness;
|
|
57308
57749
|
stackRegion;
|
|
57309
57750
|
constructor(stateBackend, lockManager, dagBuilder, diffCalculator, providerRegistry, options = {}, stackRegion, exportIndexStore) {
|
|
57310
57751
|
this.stateBackend = stateBackend;
|
|
@@ -57430,5 +57871,5 @@ var DeployEngine = class {
|
|
|
57430
57871
|
}
|
|
57431
57872
|
};
|
|
57432
57873
|
|
|
57433
|
-
export { desiredIndexEntriesByName as $, orphanRecordsPrintingBag as $a, displayPhysicalId as $c, getCdkdContainerRepoName as $d, getCurrentProducerRegions as $i, refuseMalformedOrphans as $l, getCurrentNestedStackContext as $n, evaluateSignals as $o, canonicalizeIpv6Cidr as $r, producerRegionsFromState as $s, reverseMapTableContributorInsights as $t, CrossPrefixReadError as $u, diffSecurity as A, supersededResourcesOf as Aa, isNamelessDynamicReferenceError as Ac, loadPublishableAssetManifest as Ad, planFailedOps as Ai, malformedResourceEntriesWarning as Al, removeSignalReceiverNamed as An, KMS_DEFAULT_KEY_POLICY_ID as Ao, changedReferenceReason as Ar, IntrinsicFunctionResolver as As, isDynamoDBTableArnIn as At, findHandledUnwrittenCreateOnly as Au, declaredStreamPolicyMember as B, green as Ba, LEGACY_HANDLE_ID_PREFIX as Bc, warnWholeAssemblyAsSource as Bd, redactedDeleteAddressFields as Bi, unreadableResourceEntries as Bl, pendingRequestCount as Bn, reReadUntilSettled as Bo, stripSiblingOwnedParentMembers as Br, applyRoleArnIfSet as Bs, planVectorIndexUpdates as Bt, providerReplacementOldDeleted as Bu, slashedSsmNameHealNote as C, deleteSupersededEntry as Ca, recordedReferenceRegions as Cc, synthesizedStacks as Cd, withCreateTokenLedger as Ci, refuseMalformedOrphansForOrphan as Cl, refactorMarkerMovesOf as Cn, withoutSiblingOwned as Co, findRefactorHints as Cr, deleteIndeterminateGuards as Cs, sseSpecificationRefusal as Ct, withheldAccountClause as Cu, deferredServiceTokenWarning as D, supersededDependentsFirst as Da, getAccountInfo as Dc, flattenAssetPlaceholders as Dd, demoteSupersededOrphans as Di, isReadableResourceEntry as Dl, updateRefactorMarker as Dn, revertStackRecordsView as Do, withMovedTo as Dr, getReadOnlyPropertyPaths as Ds, TAGS_BASELINE_REREAD_DELAYS_MS as Dt, hasReadableOutputs as Du, inRunStackKey as E, supersededAfterRollback as Ea, withoutVersionAttestation as Ec, createLazyAssetModeContext as Ed, seedsDeleteFirstGuard as Ei, unreadableOrphanRecords as El, sameMove as En, getStackRecords as Eo, rollbackOrphanIds as Er, withIndeterminateGuard as Es, tableNameReleaseWait as Et, displayLogicalId as Eu, perType as F, withPreviousPolicies as Fa, INTRINSIC_KEYS as Fc, getDockerImageBySourceHash as Fd, computeImplicitDeleteEdges as Fi, refuseMalformedResourceEntriesForDestroy as Fl, macWriteOnlyKeys as Fn, declaredPolicyDocument as Fo, parseMappingFile as Fr, isSettledInstanceState as Fs, isTtlAlreadyDisabled as Ft, withoutUnwrittenSdkUnwiredProperties as Fu, streamDeclaresPolicy as G, noEchoExactEchoLeavesOf as Ga, MULTI_REGION_RECREATE_BLOCKED_TYPES as Gc, isCrossRegionRedirect as Gd, orphanNeedsIdentity as Gi, refuseMalformedResourcePropertiesForDrift as Gl, dropSettledNestedJournals as Gn, policyContentKey as Go, siblingOwnedSgRuleIdentities as Gr, parseIamRoleArn as Gs, CONTRIBUTOR_INSIGHTS_KEY as Gt, TemplateParser as Gu, planStreamMemberOps as H, yellow as Ha, findReplacedReadersOfRecreateTargets as Hc, ensureAssetStorage as Hd, segmentCleanupOptions as Hi, malformedResourcePropertiesWarning as Hl, NESTED_PENDING_PARENT_REASON as Hn, warnUnsettledMember as Ho, recordedRuleIdOf as Hr, assertSendableRoleArn as Hs, vectorIndexesForCreate as Ht, normalizeRecordName as Hu, readProtection as I, findNestedStackTypeChanges as Ia, containsIntrinsic as Ic, isCfnTemplateAssetPath as Id, attemptUsesCompletedCreate as Ii, refuseMalformedResourceEntriesForImport as Il, readsOnlyNoEchoParameters as In, efsPolicyMatchesDeclared as Io, propertiesChangedReason as Ir, connectInstanceIdOf as Is, isTtlRateLimited as It, NO_CC_HANDLERS_REASON as Iu, streamPolicyMatchesDeclared as J, createReadOnlyAttributeHealerFactory as Ja, renderStatefulReason as Jc, readBootstrapMarkerBody as Jd, nameScopeOf as Ji, repairMalformedResourcePropertiesForReadOnly as Jl, recordDisplacedSkips as Jn, ccBrokenReason as Jo, SG_RULE_ID_PATTERN as Jr, applyCallerIdentityCredentials as Js, indexDeclaresContributorInsights as Jt, isKnownTokenFreeState as Ju, streamDeclaresTags as K, noEchoParameterNamesOf as Ka, isStatefulRecreateTargetForReplace as Kc, getBootstrapMarkerKey as Kd, nameGenerationCarriedFrom as Ki, refuseMalformedResourcePropertiesForExport as Kl, getNestedRevertRun as Kn, CC_BROKEN_REASON as Ko, siblingRecordedSgRuleIds as Kr, sendableAssumeRoleCommand as Ks, completeTableContributorInsightsBaseline as Kt, S3StateBackend as Ku, DynamoDBGlobalTableProvider as L, bold as La, markNewValueKnownAfterDeploy as Lc, parseAssetManifestBody as Ld, readsRegeneratingSecret as Li, refuseMalformedResourceEntriesForImportSave as Ll, licensedNameHolder as Ln, lambdaPermissionMatchesDeclared as Lo, proposeRenames as Lr, resolveDynamicReferences as Ls, planTimeToLive as Lt, hasNoCloudControlHandlers as Lu, recordedProtectionNote as M, replacedDeleteFailureVerdict as Ma, keepsSecretReferenceToken as Mc, redirectFileAsset as Md, recordUnderIdIsNotOwn as Mi, refuseMalformedResourceAttributesForOrphan as Ml, childRowTags as Mn, OWN_WRITE_REREAD_DELAYS_MS as Mo, isPairableType as Mr, isAlwaysLiveAttribute as Ms, settleWrittenTags as Mt, unwrittenCreateOnlyReplacement as Mu, PROTECTION_PROPERTY_BY_TYPE as N, snapshotSegmentSurvivors as Na, withSharedDrainBudget as Nc, rewriteTemplateAssetReferences as Nd, replacementNeverSwapped as Ni, refuseMalformedResourceEntries as Nl, childStackTags as Nn, SNS_DEFAULT_POLICY_ID as No, looselyEqual as Nr, poisonRenderedSpellingsCollidingIn as Ns, tagsMatchDeclared as Nt, withoutAcceptedSdkUnwiredProperties as Nu, findServiceTokenRefusals as O, supersededHeldByOtherTypeWarning as Oa, isImpossibleEmptyStoredAttribute as Oc, isDefaultBootstrapBucketName as Od, isJournaledOrphan as Oi, malformedLocalResourceEntriesWarning as Ol, deleteSignalReceiver as On, verifiedIdentityCache as Oo, changedReferenceInDiff as Or, isWaitAbandonedError as Os, clearTagWrites as Ot, hasReadableResources as Ou, isProtectionValueActive as P, resolveReplacementOldType as Pa, namesRecreatedParent as Pc, AssetManifestLoader as Pd, IMPLICIT_DELETE_DEPENDENCIES as Pi, refuseMalformedResourceEntriesForDeploy as Pl, literalRowTags as Pn, declaredMemberDocument as Po, mappingPairs as Pr, stackIdTailOf as Ps, takeTagWrite as Pt, withoutSdkUnwiredProperties as Pu, deletionProtectionRefusal as Q, namingSecretsWithRecordedNoEcho as Qa, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Qc, getCdkdAssetBucketName as Qd, withNameGenerationReached as Qi, malformedOrphansWarning as Ql, collectNestedChildUnaddressed as Qn, classifyHandleUrl as Qo, sgProtocolKey as Qr, classifyReplaySecretRegion as Qs, reverseMapIndexContributorInsights as Qt, rebuildClientForBucketRegion as Qu, STREAM_POLICY_KEY as R, cyan as Ra, replacementSidesForLog as Rc, resolveFileAssetSourcePath as Rd, REDACTED_DELETE_ADDRESS_SKIP_REASON as Ri, refuseMalformedResourceEntriesForOrphan as Rl, formatResourceLine as Rn, memberReadFailure as Ro, referencedLogicalIds as Rr, producerLookupOver as Rs, readTtlSpec as Rt, PROPERTY_COVERAGE_BY_TYPE as Ru, slashedSsmNameHealAdoptedNote as S, maskingRetryLogger as Sa, recordedProvenanceOf as Sc, rememberSynthesizedStacks as Sd, reserveStackCreateToken as Si, refuseMalformedOrphanRecordsForDestroy as Sl, readRefactorMarkerOnce as Sn, withoutSiblingAttachedArns as So, formatDestructiveChange as Sr, UNSPECIFIED_SKIP_REASON as Ss, readCapacityNumber as St, accountArgs as Su, scanActiveConsumers as T, isSupersededResourceRecord as Ta, referenceTokensIn as Tc, createAssetRedirectResolver as Td, planRollback as Ti, unpreviewableOrphanRecords as Tl, refuseRefactorMarker as Tn, destroyStackRecordsView as To, movedToHint as Tr, deleteSkipReason as Ts, tableDeleteGoneWait as Tt, UNREADABLE_RESOURCES_MAP_ROW as Tu, readStreamPolicy as U, noEchoAttributeNamesOf as Ua, isPlainReferenceTo as Uc, buildDenyExternalAccessPolicy as Ud, removeProtectionTypeList as Ui, refuseMalformedResourceProperties as Ul, displacedOpClause as Un, verbatimEchoDriftKeys as Uo, sgRuleOwnershipIdentity as Ur, explicitRoleArnOrThrow as Us, vectorIndexesSettled as Ut, planSubscriptionAttributes as Uu, declaredStreamTagsMember as V, red as Va, isLegacyHandleId as Vc, AssetModeResolver as Vd, redactedDeleteAddressSkip as Vi, malformedDriftResourcePropertiesWarning as Vl, resolvePendingCloudControlRequests as Vn, settleDeclaredMember as Vo, undeclaredGrantSiblingMembers as Vr, assertFlagRoleArn as Vs, readbackVectorIndexes as Vt, providerReplacementReason as Vu, reverseMapStreamPolicy as W, noEchoComparisonForTemplate as Wa, shownType as Wc, assertAssetBucketRegion as Wd, removeProtectionTypes as Wi, refuseMalformedResourcePropertiesForDestroy as Wl, displacedPhysicalIdShown as Wn, attemptedPolicyDocument as Wo, sgSiblingDecidedById as Wr, isIamRoleArn as Ws, vectorIndexesShapeDetail as Wt, wireAttributeValue as Wu, canonicalizeStaleIndexDescription as X, journaledOrphanPrintingBag as Xa, toCfnInteger as Xc, validateContainerRepoName as Xd, retiredNameGenerationsAfter as Xi, hasReadableOrphans as Xl, revertedNestedRowIds as Xn, wouldReturnToSdkProvider as Xo, recordedSgRuleId as Xr, envCredentialsAreAssumedRole as Xs, planIndexContributorInsightsOps as Xt, hasReasonlessBaselineRefusal as Xu, streamTagsMatchDeclared as Y, completedReplayEntries as Ya, isWarmThroughputDecrease as Yc, validateAssetBucketName as Yd, retiredAfterRollback as Yi, UNREADABLE_ORPHANS_CONTAINER_ROW as Yl, revertNestedChildFromJournal as Yn, isCustomResource as Yo, cfnIngressPortValue as Yr, callerEnvCredentials as Ys, planContributorInsightsOp as Yt, readOnlyStateVersionOf as Yu, declaresIndexList as Z, maskEventTextWithBoundBags as Za, toFiniteNumber as Zc, BOOTSTRAP_MARKER_PREFIX as Zd, retiredNameGenerationsLeaving as Zi, malformedOrphansRefusalMessage as Zl, withNestedRevertRun as Zn, WaitConditionSignalStore as Zo, sgCidrKey as Zr, classifyRecordedSecretRegion as Zs, readContributorInsightsSpec as Zt, hasUnverifiableParameterRefusal as Zu, hasPendingMovesOut as _, collectPublishedOutputNames as _a, extractGetAttRefs as _c, isListParameterType as _d, updatePartialReason as _i, malformedOrphanRecordsRefusalMessage as _l, hasCdkAutoDeleteTag as _n, buildFinalSnapshotIdentifier as _o, noEchoMacParametersOf as _r, withCustomResourceStack as _s, isPlainCapacityBlock as _t, refuseMalformedResourcesForDestroy as _u, mergeNoChangeOutputs as a, WITHHELD_NAME_DISPLAY as aa, s3BucketRegionalDomainName as ac, stackInstanceIdOf as ad, absoluteAssemblyPathEscape as af, PLANNED_EARLY_DELETE_CONSEQUENCE as ai, getTopLevelKeysHoldingUnreadableCreateOnly as al, deleteBudgetKey as an, stateSecretNameNeedles as ao, journaledOrphanLines as ar, TemplateNoEchoReresolver as as, coerceWarmThroughput as at, malformedOutputsRefusalMessage as au, refusePendingMovesOut as b, DEFAULT_RESOURCE_TIMEOUT_MS as ba, outputReferenceProvenanceOf as bc, purgeNoncurrentKeyVersions as bd, earliestDefined as bi, previewableOrphanRecords as bl, recordRetainedForReadoption as bn, collectPrincipalsAttachingPolicy as bo, constructPathOf as br, waitForGoneAfterDelete as bs, maskLeafValue as bt, repairMalformedResourcesForReadOnly as bu, nestedSsmNameRowNote as c, secretBearing as ca, isUnboundTemplateParameter as cc, isSensitiveAttributeName as cd, displayAssemblyPath as cf, buildReadCurrentStateContext as ci, maskedPropertyFingerprintsOf as cl, DELETE_INDEX_WAIT_PROCEED_NOTE as cn, ATOMIC_FINAL_SNAPSHOT_TYPES as co, makeForeignHolderScan as cr, getCurrentResourceSecrets as cs, isRefusedWarmThroughput as ct, refuseMalformedOutputs as cu, makeCanonicalizePropertiesFn as d, carriedExportAliasExposure as da, cfnRefValueFromPhysicalId as dc, findNestedTemplateTreeDefect as dd, resolveAssemblyPath as df, withUnprovenUnsettled as di, maskedInputProof as dl, deleteTableWithIndexBusyRetry as dn, ccRoutedInstanceTakesNoSnapshot as do, DeploymentEventsReader as dr, customResourceStackName as ds, trimUnsentWarmMembers as dt, STATE_REGION_DIVERGED as du, inheritProducerRegions as ea, regionLessSecretName as ec, CrossPrefixScanCache as ed, defineOwnKey as ef, canonicalizeIpv4Cidr as ei, maskedSecretSegment as el, stripIndexContributorInsights as en, secretNamePrintingBag as eo, withNestedStackContext as er, isSignalKey as es, gsiUnsendableChangeRefusal as et, refuseMalformedOrphansForDestroy as eu, conditionFingerprint as f, exportNameNoEchoParameters as fa, isStalePlaceholderArnAttribute as fc, isAbsoluteAssetPath as fd, clearBucketRegionCache as ff, calculateResourceDrift as fi, passedParameterClassesOf as fl, maskedLogger as fn, effectiveDeletionPolicy as fo, DeploymentEventsStore as fr, customResourcesFailedWithoutApp as fs, warmThroughputAlreadyMatches as ft, refuseDivergentRecordRegionForDestroy as fu, childTemplateLoader as g, collectDeclaredOutputNames as ga, parseWebACLArn as gc, SSM_PARAMETER_VALUE_PREFIX as gd, updatePartialMessage as gi, isReadableOrphanRecord as gl, S3_AUTO_DELETE_OBJECTS_TAG as gn, createPreDeleteFinalSnapshot as go, noEchoMacBinding as gr, setLocalCustomResourceRuntimeEnabled as gs, hasUsableDeclaredCapacity as gt, refuseMalformedResourcesForDeploy as gu, readRecordedConditionVerdicts as h, noEchoParameterValueSeed as ha, lacksRecordedTableArn as hc, templateIdentity as hd, undeclaredEmptyObservedKeys as hi, deployRefusesOrphanRowsReason as hl, ECR_AUTO_DELETE_IMAGES_TAG as hn, unsupportedFinalSnapshotError as ho, createNoEchoValueMacs as hr, localCustomResourceRuntimeActive as hs, deleteTableRetryDelays as ht, malformedStateRefusalMessage as hu, keptWholeReasonText as i, resourcesNamingDeclaredParameter as ia, s3BucketDualStackDomainName as ic, isNotImplemented as id, ownValue as if, DELETED_RESOURCE_REMEDY as ii, getSettledWriteOnlyPropertyPaths as il, compensateRemovedDeletionProtection as in, stackSecretNamesMasker as io, isHandledOrphan as ir, responsePresignClient as is, sameJsonValue as it, malformedLocalOutputsWarning as iu, recordedProtectionEvidence as j, withoutSuperseded as ja, carriesDynamicReference as jc, redirectDockerAsset as jd, recheckFailedPlan as ji, malformedScrubResourceEntriesRefusalMessage as jl, settleStackTagChildRuns as jn, LAMBDA_PERMISSION_STATEMENT_KEYS as jo, differingRemedy as jr, isSelectOutOfBounds as js, recordTagWrite as jt, findSdkUnwiredProperties as ju, serviceTokenBlockingReason as k, supersededHolderOf as ka, carriesFetchableDynamicReference as kc, isDefaultBootstrapRepoName as kd, isReplacementOrphan as ki, malformedLocalResourcesWarning as kl, isReceiver as kn, withStackRecords as ko, changedReferencePath as kr, markWaitAbandoned as ks, declaredTagsReadback as kt, findActionableSdkUnwired as ku, crossStackOutputProvenanceSource as l, secretBearingStateKeyWarning as la, parameterTypeMayLoseSecretIdentity as lc, stringifyValue as ld, namesTheSameDirectory as lf, recordAfterRollbackUpdate as li, movedMaskedProperties as ll, INDEX_SETTLE_POLL_INTERVAL_MS as ln, PRE_DELETE_SNAPSHOT_TYPES as lo, makeSiblingClaimReader as lr, withPrintingSecrets as ls, readbackWarmThroughput as lt, refuseMalformedOutputsForDestroy as lu, parentSuppliedValues as m, isWholeDynamicReferenceValue as ma, lacksRecordedRefArn as mc, renderNestedTemplateTreeDefect as md, equalModuloMask as mi, maskedPropertyFingerprint as ml, waitForIndexesSettled as mn, refusesFinalSnapshot as mo, NOECHO_MAC_KEY_ALIAS as mr, localCustomResourceCommand as ms, KINESIS_DISABLE_PENDING_STATUSES as mt, malformedResourcesWarning as mu, applyStackTagsToTemplate as n, namesAnyDeclaredParameter as na, s3BucketArn as nc, crossPrefixDeniedWarning as nd, hasPlainPrototype as nf, replayFailedOperations as ni, secretSegmentsOfState as nl, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as nn, secretNamedAttributeNamesOf as no, dropFailedCommands as nr, applyCustomResourceResponseExpiration as ns, projectIndexesOnto as nt, malformedExportNamesWarning as nu, checkNestedSsmNames as o, displayTextOrWithheld as oa, s3BucketWebsiteUrl as oc, withStackInstanceIdWithheld as od, assemblyPathEscape as of, earlyDeleteWhen as oi, tryGetTopLevelWriteOnlyProperties as ol, resolveDynamoDbDeleteBudgetClock as on, storedSecretNameNeedles as oo, loadJournaledOrphans as or, readsNoEchoDeleteValues as os, declaresWarmThroughput as ot, malformedOutputsWarning as ou, conditionInputsFrom as p, exportNameSecretExposure as pa, refStateLookupFromResource as pc, listNestedTemplateRows as pd, resolveBucketRegion as pf, equalModuloMarkedMask as pi, declaresNoEcho as pl, relayedIndexBusyDelete as pn, isFinalSnapshotError as po, crossStackReadsForPartialSave as pr, customResourcesRunWithoutApp as ps, KINESIS_DESTINATION_SETTLE_POLL_MS as pt, malformedRenderedContainersWarning as pu, streamMemberRefusals as q, withAttemptedItemsMasked as qa, isStatefulRecreateTargetSync as qc, parseBootstrapMarker as qd, nameGenerationHighWaterOf as qi, refuseMalformedResourcePropertiesForOrphan as ql, nestedChildStackName as qn, ProviderRegistry as qo, withoutSiblingOwnedSgRules as qr, AWS_CREDENTIAL_ENV_KEYS as qs, contributorInsightsRefusals as qt, splitImportedOps as qu, isSecretBearingReferenceString as r, reachableDivergentParameters as ra, s3BucketDomainName as rc, isAccessDenied$1 as rd, nullPrototypeRecord as rf, replayRollback as ri, withSecretPhysicalIdsMaskedInState as rl, beginDeleteWait as rn, secretNamedRecordNeedles as ro, dropFailedHint as rr, customResourceResponseExpirationWarning as rs, reverseMapSecondaryIndex as rt, malformedExportSourceWarning as ru, nestedSsmNameDeferredNote as s, exportAliasCollisionScrubWarning as sa, coerceParameterTypedValue as sc, isSecretValuedAttribute as sd, describeFileReadFailure as sf, earlyDeletedOld as si, inputFingerprinter as sl, resolveDynamoDbDeleteBudgetMs as sn, extractDeploymentEventError as so, sameJournaledOrphans as sr, isCustomResourceType$1 as ss, desiredBagIsInformative as st, refuseMalformedNestedChildOutputs as su, DeployEngine as t, computeParameterTaint as ta, isUnexposedRecordedIdentity as tc, applyCrossPrefixScan as td, hasOwnKey as tf, canonicalizeIpProtocolValue as ti, secretPhysicalIdSegment as tl, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as tn, secretNamePrintingBags as to, deleteJournaledOrphans as tr, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ts, localSecondaryIndexesKey as tt, repairMalformedOrphansForReadOnly as tu, inheritedProvenanceForChildDiff as u, secretSafeKeyDisplay as ua, AWS_NO_VALUE as uc, missingStateBucketRemedy as ud, renderAssemblyPathEscape as uf, settleUnsettledPrevious as ui, parameterInputsFor as ul, TABLE_INDEX_NOUN as un, ccRoutedFinalSnapshotError as uo, planOrphanAdoption as ur, NO_LOCAL_CUSTOM_RESOURCES_FLAG as us, sentWarmThroughputMembers as ut, repairMalformedOutputsForReadOnly as uu, pendingMovesOutOf as v, isExportAliasCollision as va, promoteInPlaceAttributeDependents as vc, ssmResolvedValueType as vd, findUpdatePolicyReplacementRefusals as vi, malformedOrphanRecordsWarning as vl, isTruthyCfnBoolean as vn, collectGroupsAddedBySiblings as vo, noEchoMacVerdict as vr, waitForLambdaFunctionActive as vs, isTableName as vt, refuseMalformedResourcesForExport as vu, slashedSsmNameHealPendingNote as w, holdsSupersededResources as wa, referenceProvenanceOf as wc, buildAssetRedirectMap as wd, acquireIdempotencyToken as wi, repairMalformedOrphanRecordsForReadOnly as wl, refactorMarkerRefusalMessage as wn, awaitInFlightSibling as wo, hintSidesOf as wr, deleteLeftInPlace as ws, sseSpecificationToSend as wt, STATE_RESOURCES_MALFORMED as wu, healSlashedSsmParameterNames as x, DEFAULT_RESOURCE_WARN_AFTER_MS as xa, recordedOutputReferenceRegions as xc, decodeListingKey as xd, ledgerForStack as xi, refuseMalformedOrphanRecords as xl, readRefactorMarker as xn, isStoredExpression as xo, findDestructiveChanges as xr, RollbackInlinePolicyWriters as xs, pointInTimeRecoveryRefusal as xt, JSON_LISTING_HOLE_VALUE as xu, pendingMovesRefusalMessage as y, bindingSkippedOutputs as ya, keepHeldTokenProvenance as yc, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as yd, replacementCreateRoutesToCloudControl as yi, malformedOrphanRowsKeptWarning as yl, keptForRetainedRecord as yn, collectManagedPolicyArnsAttachedBySiblings as yo, noEchoValueMacsOf as yr, CloudControlProvider as ys, mapSSESpecification as yt, refuseMalformedState as yu, STREAM_TAGS_KEY as z, gray as za, siblingsOf as zc, warnAbsoluteAssetPath as zd, isRedactedRecordedValue as zi, repairMalformedResourceEntriesForReadOnly as zl, startForceQuitFlushes as zn, policyDocumentMatchesDeclared as zo, siblingOwnedRevertDesired as zr, refuseUnreadableCdkCrossAccountRefs as zs, sendTtlWaitingOutRateLimit as zt, dropSupersededProviderReplacements as zu };
|
|
57434
|
-
//# sourceMappingURL=deploy-engine-
|
|
57874
|
+
export { desiredIndexEntriesByName as $, orphanRecordsPrintingBag as $a, APPSYNC_APIKEY_ARN_RESOURCE_PATH as $c, getCdkdAssetBucketName as $d, getCurrentProducerRegions as $i, malformedOrphansWarning as $l, getCurrentNestedStackContext as $n, evaluateSignals as $o, canonicalizeIpv6Cidr as $r, producerRegionsFromState as $s, reverseMapTableContributorInsights as $t, rebuildClientForBucketRegion as $u, diffSecurity as A, supersededResourcesOf as Aa, carriesFetchableDynamicReference as Ac, isDefaultBootstrapRepoName as Ad, planFailedOps as Ai, malformedLocalResourcesWarning as Al, removeSignalReceiverNamed as An, KMS_DEFAULT_KEY_POLICY_ID as Ao, changedReferenceReason as Ar, IntrinsicFunctionResolver as As, isDynamoDBTableArnIn as At, findActionableSdkUnwired as Au, declaredStreamPolicyMember as B, green as Ba, siblingsOf as Bc, warnAbsoluteAssetPath as Bd, redactedDeleteAddressFields as Bi, repairMalformedResourceEntriesForReadOnly as Bl, pendingRequestCount as Bn, reReadUntilSettled as Bo, stripSiblingOwnedParentMembers as Br, applyRoleArnIfSet as Bs, planVectorIndexUpdates as Bt, dropSupersededProviderReplacements as Bu, slashedSsmNameHealNote as C, deleteSupersededEntry as Ca, recordedProvenanceOf as Cc, rememberSynthesizedStacks as Cd, withCreateTokenLedger as Ci, refuseMalformedOrphanRecordsForDestroy as Cl, refactorMarkerMovesOf as Cn, withoutSiblingOwned as Co, findRefactorHints as Cr, deleteIndeterminateGuards as Cs, sseSpecificationRefusal as Ct, accountArgs as Cu, deferredServiceTokenWarning as D, supersededDependentsFirst as Da, withoutVersionAttestation as Dc, createLazyAssetModeContext as Dd, demoteSupersededOrphans as Di, unreadableOrphanRecords as Dl, updateRefactorMarker as Dn, revertStackRecordsView as Do, withMovedTo as Dr, getReadOnlyPropertyPaths as Ds, TAGS_BASELINE_REREAD_DELAYS_MS as Dt, displayLogicalId as Du, inRunStackKey as E, supersededAfterRollback as Ea, referenceTokensIn as Ec, createAssetRedirectResolver as Ed, seedsDeleteFirstGuard as Ei, unpreviewableOrphanRecords as El, sameMove as En, getStackRecords as Eo, rollbackOrphanIds as Er, withIndeterminateGuard as Es, tableNameReleaseWait as Et, UNREADABLE_RESOURCES_MAP_ROW as Eu, perType as F, withPreviousPolicies as Fa, namesRecreatedParent as Fc, AssetManifestLoader as Fd, computeImplicitDeleteEdges as Fi, refuseMalformedResourceEntriesForDeploy as Fl, macWriteOnlyKeys as Fn, declaredPolicyDocument as Fo, parseMappingFile as Fr, isSettledInstanceState as Fs, isTtlAlreadyDisabled as Ft, withoutSdkUnwiredProperties as Fu, streamDeclaresPolicy as G, noEchoExactEchoLeavesOf as Ga, shownType as Gc, assertAssetBucketRegion as Gd, orphanNeedsIdentity as Gi, refuseMalformedResourcePropertiesForDestroy as Gl, dropSettledNestedJournals as Gn, policyContentKey as Go, siblingOwnedSgRuleIdentities as Gr, parseIamRoleArn as Gs, CONTRIBUTOR_INSIGHTS_KEY as Gt, wireAttributeValue as Gu, planStreamMemberOps as H, yellow as Ha, isLegacyHandleId as Hc, AssetModeResolver as Hd, segmentCleanupOptions as Hi, malformedDriftResourcePropertiesWarning as Hl, NESTED_PENDING_PARENT_REASON as Hn, warnUnsettledMember as Ho, recordedRuleIdOf as Hr, assertSendableRoleArn as Hs, vectorIndexesForCreate as Ht, providerReplacementReason as Hu, readProtection as I, findNestedStackTypeChanges as Ia, INTRINSIC_KEYS as Ic, getDockerImageBySourceHash as Id, attemptUsesCompletedCreate as Ii, refuseMalformedResourceEntriesForDestroy as Il, readsOnlyNoEchoParameters as In, efsPolicyMatchesDeclared as Io, propertiesChangedReason as Ir, connectInstanceIdOf as Is, isTtlRateLimited as It, withoutUnwrittenSdkUnwiredProperties as Iu, streamPolicyMatchesDeclared as J, createReadOnlyAttributeHealerFactory as Ja, isStatefulRecreateTargetSync as Jc, parseBootstrapMarker as Jd, nameScopeOf as Ji, refuseMalformedResourcePropertiesForOrphan as Jl, recordDisplacedSkips as Jn, ccBrokenReason as Jo, SG_RULE_ID_PATTERN as Jr, applyCallerIdentityCredentials as Js, indexDeclaresContributorInsights as Jt, splitImportedOps as Ju, streamDeclaresTags as K, noEchoParameterNamesOf as Ka, MULTI_REGION_RECREATE_BLOCKED_TYPES as Kc, isCrossRegionRedirect as Kd, nameGenerationCarriedFrom as Ki, refuseMalformedResourcePropertiesForDrift as Kl, getNestedRevertRun as Kn, CC_BROKEN_REASON as Ko, siblingRecordedSgRuleIds as Kr, sendableAssumeRoleCommand as Ks, completeTableContributorInsightsBaseline as Kt, TemplateParser as Ku, DynamoDBGlobalTableProvider as L, bold as La, containsIntrinsic as Lc, isCfnTemplateAssetPath as Ld, readsRegeneratingSecret as Li, refuseMalformedResourceEntriesForImport as Ll, licensedNameHolder as Ln, lambdaPermissionMatchesDeclared as Lo, proposeRenames as Lr, resolveDynamicReferences as Ls, planTimeToLive as Lt, NO_CC_HANDLERS_REASON as Lu, recordedProtectionNote as M, replacedDeleteFailureVerdict as Ma, carriesDynamicReference as Mc, redirectDockerAsset as Md, recordUnderIdIsNotOwn as Mi, malformedScrubResourceEntriesRefusalMessage as Ml, childRowTags as Mn, OWN_WRITE_REREAD_DELAYS_MS as Mo, isPairableType as Mr, isAlwaysLiveAttribute as Ms, settleWrittenTags as Mt, findSdkUnwiredProperties as Mu, PROTECTION_PROPERTY_BY_TYPE as N, snapshotSegmentSurvivors as Na, keepsSecretReferenceToken as Nc, redirectFileAsset as Nd, replacementNeverSwapped as Ni, refuseMalformedResourceAttributesForOrphan as Nl, childStackTags as Nn, SNS_DEFAULT_POLICY_ID as No, looselyEqual as Nr, poisonRenderedSpellingsCollidingIn as Ns, tagsMatchDeclared as Nt, unwrittenCreateOnlyReplacement as Nu, findServiceTokenRefusals as O, supersededHeldByOtherTypeWarning as Oa, getAccountInfo as Oc, flattenAssetPlaceholders as Od, isJournaledOrphan as Oi, isReadableResourceEntry as Ol, deleteSignalReceiver as On, verifiedIdentityCache as Oo, changedReferenceInDiff as Or, isWaitAbandonedError as Os, clearTagWrites as Ot, hasReadableOutputs as Ou, isProtectionValueActive as P, resolveReplacementOldType as Pa, withSharedDrainBudget as Pc, rewriteTemplateAssetReferences as Pd, IMPLICIT_DELETE_DEPENDENCIES as Pi, refuseMalformedResourceEntries as Pl, literalRowTags as Pn, declaredMemberDocument as Po, mappingPairs as Pr, stackIdTailOf as Ps, takeTagWrite as Pt, withoutAcceptedSdkUnwiredProperties as Pu, deletionProtectionRefusal as Q, namingSecretsWithRecordedNoEcho as Qa, toFiniteNumber as Qc, BOOTSTRAP_MARKER_PREFIX as Qd, withNameGenerationReached as Qi, malformedOrphansRefusalMessage as Ql, collectNestedChildUnaddressed as Qn, classifyHandleUrl as Qo, sgProtocolKey as Qr, classifyReplaySecretRegion as Qs, reverseMapIndexContributorInsights as Qt, hasUnverifiableParameterRefusal as Qu, STREAM_POLICY_KEY as R, cyan as Ra, markNewValueKnownAfterDeploy as Rc, parseAssetManifestBody as Rd, REDACTED_DELETE_ADDRESS_SKIP_REASON as Ri, refuseMalformedResourceEntriesForImportSave as Rl, formatResourceLine as Rn, memberReadFailure as Ro, referencedLogicalIds as Rr, producerLookupOver as Rs, readTtlSpec as Rt, hasNoCloudControlHandlers as Ru, slashedSsmNameHealAdoptedNote as S, maskingRetryLogger as Sa, recordedOutputReferenceRegions as Sc, decodeListingKey as Sd, reserveStackCreateToken as Si, refuseMalformedOrphanRecords as Sl, readRefactorMarkerOnce as Sn, withoutSiblingAttachedArns as So, formatDestructiveChange as Sr, UNSPECIFIED_SKIP_REASON as Ss, readCapacityNumber as St, JSON_LISTING_HOLE_VALUE as Su, scanActiveConsumers as T, isSupersededResourceRecord as Ta, referenceProvenanceOf as Tc, buildAssetRedirectMap as Td, planRollback as Ti, repairMalformedOrphanRecordsForReadOnly as Tl, refuseRefactorMarker as Tn, destroyStackRecordsView as To, movedToHint as Tr, deleteSkipReason as Ts, tableDeleteGoneWait as Tt, STATE_RESOURCES_MALFORMED as Tu, readStreamPolicy as U, noEchoAttributeNamesOf as Ua, findReplacedReadersOfRecreateTargets as Uc, ensureAssetStorage as Ud, removeProtectionTypeList as Ui, malformedResourcePropertiesWarning as Ul, displacedOpClause as Un, verbatimEchoDriftKeys as Uo, sgRuleOwnershipIdentity as Ur, explicitRoleArnOrThrow as Us, vectorIndexesSettled as Ut, normalizeRecordName as Uu, declaredStreamTagsMember as V, red as Va, LEGACY_HANDLE_ID_PREFIX as Vc, warnWholeAssemblyAsSource as Vd, redactedDeleteAddressSkip as Vi, unreadableResourceEntries as Vl, resolvePendingCloudControlRequests as Vn, settleDeclaredMember as Vo, undeclaredGrantSiblingMembers as Vr, assertFlagRoleArn as Vs, readbackVectorIndexes as Vt, providerReplacementOldDeleted as Vu, reverseMapStreamPolicy as W, noEchoComparisonForTemplate as Wa, isPlainReferenceTo as Wc, buildDenyExternalAccessPolicy as Wd, removeProtectionTypes as Wi, refuseMalformedResourceProperties as Wl, displacedPhysicalIdShown as Wn, attemptedPolicyDocument as Wo, sgSiblingDecidedById as Wr, isIamRoleArn as Ws, vectorIndexesShapeDetail as Wt, planSubscriptionAttributes as Wu, canonicalizeStaleIndexDescription as X, journaledOrphanPrintingBag as Xa, isWarmThroughputDecrease as Xc, validateAssetBucketName as Xd, retiredNameGenerationsAfter as Xi, UNREADABLE_ORPHANS_CONTAINER_ROW as Xl, revertedNestedRowIds as Xn, wouldReturnToSdkProvider as Xo, recordedSgRuleId as Xr, envCredentialsAreAssumedRole as Xs, planIndexContributorInsightsOps as Xt, readOnlyStateVersionOf as Xu, streamTagsMatchDeclared as Y, completedReplayEntries as Ya, renderStatefulReason as Yc, readBootstrapMarkerBody as Yd, retiredAfterRollback as Yi, repairMalformedResourcePropertiesForReadOnly as Yl, revertNestedChildFromJournal as Yn, isCustomResource as Yo, cfnIngressPortValue as Yr, callerEnvCredentials as Ys, planContributorInsightsOp as Yt, isKnownTokenFreeState as Yu, declaresIndexList as Z, maskEventTextWithBoundBags as Za, toCfnInteger as Zc, validateContainerRepoName as Zd, retiredNameGenerationsLeaving as Zi, hasReadableOrphans as Zl, withNestedRevertRun as Zn, WaitConditionSignalStore as Zo, sgCidrKey as Zr, classifyRecordedSecretRegion as Zs, readContributorInsightsSpec as Zt, hasReasonlessBaselineRefusal as Zu, hasPendingMovesOut as _, collectPublishedOutputNames as _a, parseWebACLArn as _c, SSM_PARAMETER_VALUE_PREFIX as _d, updatePartialReason as _i, isReadableOrphanRecord as _l, hasCdkAutoDeleteTag as _n, buildFinalSnapshotIdentifier as _o, noEchoMacParametersOf as _r, withCustomResourceStack as _s, isPlainCapacityBlock as _t, refuseMalformedResourcesForDeploy as _u, mergeNoChangeOutputs as a, WITHHELD_NAME_DISPLAY as aa, s3BucketDualStackDomainName as ac, isNotImplemented as ad, ownValue as af, PLANNED_EARLY_DELETE_CONSEQUENCE as ai, getSettledWriteOnlyPropertyPaths as al, deleteBudgetKey as an, stateSecretNameNeedles as ao, journaledOrphanLines as ar, TemplateNoEchoReresolver as as, coerceWarmThroughput as at, malformedLocalOutputsWarning as au, refusePendingMovesOut as b, DEFAULT_RESOURCE_TIMEOUT_MS as ba, keepHeldTokenProvenance as bc, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as bd, earliestDefined as bi, malformedOrphanRowsKeptWarning as bl, recordRetainedForReadoption as bn, collectPrincipalsAttachingPolicy as bo, constructPathOf as br, waitForGoneAfterDelete as bs, maskLeafValue as bt, refuseMalformedState as bu, nestedSsmNameRowNote as c, secretBearing as ca, coerceParameterTypedValue as cc, isSecretValuedAttribute as cd, describeFileReadFailure as cf, buildReadCurrentStateContext as ci, inputFingerprinter as cl, DELETE_INDEX_WAIT_PROCEED_NOTE as cn, ATOMIC_FINAL_SNAPSHOT_TYPES as co, makeForeignHolderScan as cr, getCurrentResourceSecrets as cs, isRefusedWarmThroughput as ct, refuseMalformedNestedChildOutputs as cu, makeCanonicalizePropertiesFn as d, carriedExportAliasExposure as da, AWS_NO_VALUE as dc, missingStateBucketRemedy as dd, renderAssemblyPathEscape as df, withUnprovenUnsettled as di, parameterInputsFor as dl, deleteTableWithIndexBusyRetry as dn, ccRoutedInstanceTakesNoSnapshot as do, DeploymentEventsReader as dr, customResourceStackName as ds, trimUnsentWarmMembers as dt, repairMalformedOutputsForReadOnly as du, inheritProducerRegions as ea, regionLessSecretName as ec, CrossPrefixReadError as ed, getCdkdContainerRepoName as ef, canonicalizeIpv4Cidr as ei, displayPhysicalId as el, stripIndexContributorInsights as en, secretNamePrintingBag as eo, withNestedStackContext as er, isSignalKey as es, gsiUnsendableChangeRefusal as et, refuseMalformedOrphans as eu, conditionFingerprint as f, exportNameNoEchoParameters as fa, cfnRefValueFromPhysicalId as fc, findNestedTemplateTreeDefect as fd, resolveAssemblyPath as ff, calculateResourceDrift as fi, maskedInputProof as fl, maskedLogger as fn, effectiveDeletionPolicy as fo, DeploymentEventsStore as fr, customResourcesFailedWithoutApp as fs, warmThroughputAlreadyMatches as ft, STATE_REGION_DIVERGED as fu, childTemplateLoader as g, collectDeclaredOutputNames as ga, lacksRecordedTableArn as gc, templateIdentity as gd, updatePartialMessage as gi, deployRefusesOrphanRowsReason as gl, S3_AUTO_DELETE_OBJECTS_TAG as gn, createPreDeleteFinalSnapshot as go, noEchoMacBinding as gr, setLocalCustomResourceRuntimeEnabled as gs, hasUsableDeclaredCapacity as gt, malformedStateRefusalMessage as gu, readRecordedConditionVerdicts as h, noEchoParameterValueSeed as ha, lacksRecordedRefArn as hc, renderNestedTemplateTreeDefect as hd, undeclaredEmptyObservedKeys as hi, maskedPropertyFingerprint as hl, ECR_AUTO_DELETE_IMAGES_TAG as hn, unsupportedFinalSnapshotError as ho, createNoEchoValueMacs as hr, localCustomResourceRuntimeActive as hs, deleteTableRetryDelays as ht, malformedResourcesWarning as hu, keptWholeReasonText as i, resourcesNamingDeclaredParameter as ia, s3BucketDomainName as ic, isAccessDenied$1 as id, nullPrototypeRecord as if, DELETED_RESOURCE_REMEDY as ii, withSecretPhysicalIdsMaskedInState as il, compensateRemovedDeletionProtection as in, stackSecretNamesMasker as io, isHandledOrphan as ir, responsePresignClient as is, sameJsonValue as it, malformedExportSourceWarning as iu, recordedProtectionEvidence as j, withoutSuperseded as ja, isNamelessDynamicReferenceError as jc, loadPublishableAssetManifest as jd, recheckFailedPlan as ji, malformedResourceEntriesWarning as jl, settleStackTagChildRuns as jn, LAMBDA_PERMISSION_STATEMENT_KEYS as jo, differingRemedy as jr, isSelectOutOfBounds as js, recordTagWrite as jt, findHandledUnwrittenCreateOnly as ju, serviceTokenBlockingReason as k, supersededHolderOf as ka, isImpossibleEmptyStoredAttribute as kc, isDefaultBootstrapBucketName as kd, isReplacementOrphan as ki, malformedLocalResourceEntriesWarning as kl, isReceiver as kn, withStackRecords as ko, changedReferencePath as kr, markWaitAbandoned as ks, declaredTagsReadback as kt, hasReadableResources as ku, crossStackOutputProvenanceSource as l, secretBearingStateKeyWarning as la, isUnboundTemplateParameter as lc, isSensitiveAttributeName as ld, displayAssemblyPath as lf, recordAfterRollbackUpdate as li, maskedPropertyFingerprintsOf as ll, INDEX_SETTLE_POLL_INTERVAL_MS as ln, PRE_DELETE_SNAPSHOT_TYPES as lo, makeSiblingClaimReader as lr, withPrintingSecrets as ls, readbackWarmThroughput as lt, refuseMalformedOutputs as lu, parentSuppliedValues as m, isWholeDynamicReferenceValue as ma, refStateLookupFromResource as mc, listNestedTemplateRows as md, resolveBucketRegion as mf, equalModuloMask as mi, declaresNoEcho as ml, waitForIndexesSettled as mn, refusesFinalSnapshot as mo, NOECHO_MAC_KEY_ALIAS as mr, localCustomResourceCommand as ms, KINESIS_DISABLE_PENDING_STATUSES as mt, malformedRenderedContainersWarning as mu, applyStackTagsToTemplate as n, namesAnyDeclaredParameter as na, dnsEntryStrings as nc, applyCrossPrefixScan as nd, hasOwnKey as nf, replayFailedOperations as ni, secretPhysicalIdSegment as nl, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as nn, secretNamedAttributeNamesOf as no, dropFailedCommands as nr, applyCustomResourceResponseExpiration as ns, projectIndexesOnto as nt, repairMalformedOrphansForReadOnly as nu, checkNestedSsmNames as o, displayTextOrWithheld as oa, s3BucketRegionalDomainName as oc, stackInstanceIdOf as od, absoluteAssemblyPathEscape as of, earlyDeleteWhen as oi, getTopLevelKeysHoldingUnreadableCreateOnly as ol, resolveDynamoDbDeleteBudgetClock as on, storedSecretNameNeedles as oo, loadJournaledOrphans as or, readsNoEchoDeleteValues as os, declaresWarmThroughput as ot, malformedOutputsRefusalMessage as ou, conditionInputsFrom as p, exportNameSecretExposure as pa, isStalePlaceholderArnAttribute as pc, isAbsoluteAssetPath as pd, clearBucketRegionCache as pf, equalModuloMarkedMask as pi, passedParameterClassesOf as pl, relayedIndexBusyDelete as pn, isFinalSnapshotError as po, crossStackReadsForPartialSave as pr, customResourcesRunWithoutApp as ps, KINESIS_DESTINATION_SETTLE_POLL_MS as pt, refuseDivergentRecordRegionForDestroy as pu, streamMemberRefusals as q, withAttemptedItemsMasked as qa, isStatefulRecreateTargetForReplace as qc, getBootstrapMarkerKey as qd, nameGenerationHighWaterOf as qi, refuseMalformedResourcePropertiesForExport as ql, nestedChildStackName as qn, ProviderRegistry as qo, withoutSiblingOwnedSgRules as qr, AWS_CREDENTIAL_ENV_KEYS as qs, contributorInsightsRefusals as qt, S3StateBackend as qu, isSecretBearingReferenceString as r, reachableDivergentParameters as ra, s3BucketArn as rc, crossPrefixDeniedWarning as rd, hasPlainPrototype as rf, replayRollback as ri, secretSegmentsOfState as rl, beginDeleteWait as rn, secretNamedRecordNeedles as ro, dropFailedHint as rr, customResourceResponseExpirationWarning as rs, reverseMapSecondaryIndex as rt, malformedExportNamesWarning as ru, nestedSsmNameDeferredNote as s, exportAliasCollisionScrubWarning as sa, s3BucketWebsiteUrl as sc, withStackInstanceIdWithheld as sd, assemblyPathEscape as sf, earlyDeletedOld as si, tryGetTopLevelWriteOnlyProperties as sl, resolveDynamoDbDeleteBudgetMs as sn, extractDeploymentEventError as so, sameJournaledOrphans as sr, isCustomResourceType$1 as ss, desiredBagIsInformative as st, malformedOutputsWarning as su, DeployEngine as t, computeParameterTaint as ta, isUnexposedRecordedIdentity as tc, CrossPrefixScanCache as td, defineOwnKey as tf, canonicalizeIpProtocolValue as ti, maskedSecretSegment as tl, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as tn, secretNamePrintingBags as to, deleteJournaledOrphans as tr, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ts, localSecondaryIndexesKey as tt, refuseMalformedOrphansForDestroy as tu, inheritedProvenanceForChildDiff as u, secretSafeKeyDisplay as ua, parameterTypeMayLoseSecretIdentity as uc, stringifyValue as ud, namesTheSameDirectory as uf, settleUnsettledPrevious as ui, movedMaskedProperties as ul, TABLE_INDEX_NOUN as un, ccRoutedFinalSnapshotError as uo, planOrphanAdoption as ur, NO_LOCAL_CUSTOM_RESOURCES_FLAG as us, sentWarmThroughputMembers as ut, refuseMalformedOutputsForDestroy as uu, pendingMovesOutOf as v, isExportAliasCollision as va, extractGetAttRefs as vc, isListParameterType as vd, findUpdatePolicyReplacementRefusals as vi, malformedOrphanRecordsRefusalMessage as vl, isTruthyCfnBoolean as vn, collectGroupsAddedBySiblings as vo, noEchoMacVerdict as vr, waitForLambdaFunctionActive as vs, isTableName as vt, refuseMalformedResourcesForDestroy as vu, slashedSsmNameHealPendingNote as w, holdsSupersededResources as wa, recordedReferenceRegions as wc, synthesizedStacks as wd, acquireIdempotencyToken as wi, refuseMalformedOrphansForOrphan as wl, refactorMarkerRefusalMessage as wn, awaitInFlightSibling as wo, hintSidesOf as wr, deleteLeftInPlace as ws, sseSpecificationToSend as wt, withheldAccountClause as wu, healSlashedSsmParameterNames as x, DEFAULT_RESOURCE_WARN_AFTER_MS as xa, outputReferenceProvenanceOf as xc, purgeNoncurrentKeyVersions as xd, ledgerForStack as xi, previewableOrphanRecords as xl, readRefactorMarker as xn, isStoredExpression as xo, findDestructiveChanges as xr, RollbackInlinePolicyWriters as xs, pointInTimeRecoveryRefusal as xt, repairMalformedResourcesForReadOnly as xu, pendingMovesRefusalMessage as y, bindingSkippedOutputs as ya, promoteInPlaceAttributeDependents as yc, ssmResolvedValueType as yd, replacementCreateRoutesToCloudControl as yi, malformedOrphanRecordsWarning as yl, keptForRetainedRecord as yn, collectManagedPolicyArnsAttachedBySiblings as yo, noEchoValueMacsOf as yr, CloudControlProvider as ys, mapSSESpecification as yt, refuseMalformedResourcesForExport as yu, STREAM_TAGS_KEY as z, gray as za, replacementSidesForLog as zc, resolveFileAssetSourcePath as zd, isRedactedRecordedValue as zi, refuseMalformedResourceEntriesForOrphan as zl, startForceQuitFlushes as zn, policyDocumentMatchesDeclared as zo, siblingOwnedRevertDesired as zr, refuseUnreadableCdkCrossAccountRefs as zs, sendTtlWaitingOutRateLimit as zt, PROPERTY_COVERAGE_BY_TYPE as zu };
|
|
57875
|
+
//# sourceMappingURL=deploy-engine-CjPj4mWd.js.map
|