@cdkd/cli 0.370.7 → 0.371.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-DqS6NWx5.js → ambient-client-defaults-Cq58skpK.js} +3 -3
- package/dist/{ambient-client-defaults-DqS6NWx5.js.map → ambient-client-defaults-Cq58skpK.js.map} +1 -1
- package/dist/{asg-provider-BMQeGpmF.js → asg-provider-B3ngG-X4.js} +8 -8
- package/dist/{asg-provider-BMQeGpmF.js.map → asg-provider-B3ngG-X4.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{created-resource-sink-DGvRiBLW.js → created-resource-sink-Bzk9hJNq.js} +4 -4
- package/dist/{created-resource-sink-DGvRiBLW.js.map → created-resource-sink-Bzk9hJNq.js.map} +1 -1
- package/dist/{custom-resource-runtime-BJFVnN9S.js → custom-resource-runtime-CLHhYoEe.js} +6 -6
- package/dist/{custom-resource-runtime-BJFVnN9S.js.map → custom-resource-runtime-CLHhYoEe.js.map} +1 -1
- package/dist/{db-associated-roles-ConAeY8g.js → db-associated-roles-CYA2C3yZ.js} +2 -2
- package/dist/{db-associated-roles-ConAeY8g.js.map → db-associated-roles-CYA2C3yZ.js.map} +1 -1
- package/dist/{delete-started-Dya9H_gI.js → delete-started-D9FEXTba.js} +4 -4
- package/dist/{delete-started-Dya9H_gI.js.map → delete-started-D9FEXTba.js.map} +1 -1
- package/dist/{deploy-engine-CpeBWcxG.js → deploy-engine-DvPDae31.js} +892 -147
- package/dist/deploy-engine-DvPDae31.js.map +1 -0
- package/dist/{ec2-termination-protection-CVTp4mlC.js → ec2-termination-protection-C19A5IH9.js} +3 -3
- package/dist/{ec2-termination-protection-CVTp4mlC.js.map → ec2-termination-protection-C19A5IH9.js.map} +1 -1
- package/dist/{ecr-uri-DwYinaAB.js → ecr-uri-BW6V_9R5.js} +2 -2
- package/dist/{ecr-uri-DwYinaAB.js.map → ecr-uri-BW6V_9R5.js.map} +1 -1
- package/dist/{emr-cluster-provider-CR_OFsGZ.js → emr-cluster-provider-DVljF3YH.js} +10 -10
- package/dist/{emr-cluster-provider-CR_OFsGZ.js.map → emr-cluster-provider-DVljF3YH.js.map} +1 -1
- package/dist/{expected-bucket-owner-BhnjZsLt.js → expected-bucket-owner-DMq5H0Zm.js} +2 -2
- package/dist/{expected-bucket-owner-BhnjZsLt.js.map → expected-bucket-owner-DMq5H0Zm.js.map} +1 -1
- package/dist/{iam-role-provider-CKIdrdu5.js → iam-role-provider-B8c2g5fS.js} +12 -12
- package/dist/{iam-role-provider-CKIdrdu5.js.map → iam-role-provider-B8c2g5fS.js.map} +1 -1
- package/dist/{identity-read-denied-V23l4pKK.js → identity-read-denied-Cl8km1o3.js} +5 -5
- package/dist/{identity-read-denied-V23l4pKK.js.map → identity-read-denied-Cl8km1o3.js.map} +1 -1
- package/dist/{image-plan-D62M_M30.js → image-plan-Cg5bLNvP.js} +9 -9
- package/dist/{image-plan-D62M_M30.js.map → image-plan-Cg5bLNvP.js.map} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CSLdt93b.js → logger-BUi1Imxa.js} +2 -2
- package/dist/{logger-CSLdt93b.js.map → logger-BUi1Imxa.js.map} +1 -1
- package/dist/{neptune-provider-BCXKNNXR.js → neptune-provider-Ddse7yYJ.js} +9 -9
- package/dist/{neptune-provider-BCXKNNXR.js.map → neptune-provider-Ddse7yYJ.js.map} +1 -1
- package/dist/{program-Lw5gWY1A.js → program-bUaiwzJ2.js} +195 -49
- package/dist/program-bUaiwzJ2.js.map +1 -0
- package/dist/{provider-classes-DOrSeS2t.js → provider-classes-AI1PLFRf.js} +165 -40
- package/dist/provider-classes-AI1PLFRf.js.map +1 -0
- package/dist/{rds-provider-CCpEJkcN.js → rds-provider-6Cj8pik8.js} +103 -24
- package/dist/rds-provider-6Cj8pik8.js.map +1 -0
- package/dist/{read-replica-Dkepeh8a.js → read-replica-DWbYq3Fh.js} +3 -3
- package/dist/{read-replica-Dkepeh8a.js.map → read-replica-DWbYq3Fh.js.map} +1 -1
- package/dist/{redacted-delete-address-BPwMWIOq.js → redacted-delete-address-C1M-bYXm.js} +4 -4
- package/dist/{redacted-delete-address-BPwMWIOq.js.map → redacted-delete-address-C1M-bYXm.js.map} +1 -1
- package/dist/{replacement-rules-aKrUHcS2.js → replacement-rules-BimJi0H1.js} +516 -31
- package/dist/replacement-rules-BimJi0H1.js.map +1 -0
- package/dist/{resource-deadline-DjIkTygT.js → resource-deadline-Cj-4PzvY.js} +2 -2
- package/dist/{resource-deadline-DjIkTygT.js.map → resource-deadline-Cj-4PzvY.js.map} +1 -1
- package/dist/{restore-source-guard-Bprs9w8d.js → restore-source-guard-CP2cxnnh.js} +4 -4
- package/dist/{restore-source-guard-Bprs9w8d.js.map → restore-source-guard-CP2cxnnh.js.map} +1 -1
- package/dist/{run-cli-BfDyKYOs.js → run-cli-C0ZXPvze.js} +2 -2
- package/dist/{run-cli-BfDyKYOs.js.map → run-cli-C0ZXPvze.js.map} +1 -1
- package/dist/{secret-reference-immutable-DK77ST9u.js → secret-reference-immutable-BLsAuIkM.js} +6 -6
- package/dist/{secret-reference-immutable-DK77ST9u.js.map → secret-reference-immutable-BLsAuIkM.js.map} +1 -1
- package/dist/{settle-own-write-members-DgrfaXCf.js → settle-own-write-members-BJ1rf1Yt.js} +13 -13
- package/dist/{settle-own-write-members-DgrfaXCf.js.map → settle-own-write-members-BJ1rf1Yt.js.map} +1 -1
- package/dist/{tag-list-B4_wJ9vt.js → tag-list-CSQWFQbX.js} +4 -4
- package/dist/{tag-list-B4_wJ9vt.js.map → tag-list-CSQWFQbX.js.map} +1 -1
- package/dist/{version-3YWtwAiy.js → version-CQenoJzP.js} +2 -2
- package/dist/{version-3YWtwAiy.js.map → version-CQenoJzP.js.map} +1 -1
- package/package.json +2 -2
- package/dist/deploy-engine-CpeBWcxG.js.map +0 -1
- package/dist/program-Lw5gWY1A.js.map +0 -1
- package/dist/provider-classes-DOrSeS2t.js.map +0 -1
- package/dist/rds-provider-CCpEJkcN.js.map +0 -1
- package/dist/replacement-rules-aKrUHcS2.js.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, E as cutMarker, F as stringifyJsonPayload, 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, b as setPasteableVerbFlags, c as deployReplaceCommand, d as pasteableCommand, 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, x as SAFE_MSG_ALTERED_CHAR, y as setPasteableRunFlags } from "./version-
|
|
2
|
-
import { $ as renderStacksNoLongerSelected, $t as contextOptions, A as followContainerLogs, At as namedEnvAwsRegion, B as resolveRuntimeCodeMountPath, Bt as regionNeedsReconciliation, C as waitForRieReady, Cn as LOCK_FILE_SUFFIX, Ct as resolveContainerRegion, Dn as listAllLockKeys, Dt as warnAwsEmulatorStateSourceHint, E as SENSITIVE_ENV_KEYS, En as describeStateKey, Et as taskRoleAssumedInRealAws, F as removeContainer, Ft as legacyStateBucketFallbackRegion, G as nestedOwnerOfLogicalId, Gt as withOtherIndexRemoval, H as resolveRuntimeImage, Ht as resolveEffectiveRegion, It as namedCliRegion, J as renderAllLeftOutStageStacks, Jt as annotationMessageOptions, K as partitionTopLevel, Kt as strandedProfileCredentialsNotice, L as runDetached, Lt as rawCliRegion, M as killAndDrainContainerLogs, Mt as adoptRegionFlag, N as pickFreePort, Nt as exportInferredRegionForSdk, O as ensureDockerAvailable, On as listAllStateKeys, Ot as workloadGetsEmulatorKeysOnly, P as pullImage, Pt as foldRegionOption, Q as renderNotInAppWarning, Qt as commonOptions, Rt as reconcileExportIndexRegion, S as invokeRie, Sn as parsePositiveIntegerOption, St as realAwsException, T as DockerRunnerError, Tn as STATE_KEY_MAX_CODE_POINTS, Tt as stateRoleRecordIsEmulatorSide, U as describeStack, Ut as stackRegionResolver, V as resolveRuntimeFileExtension, Vt as regionShown, W as matchStacks, Wt as stateWithRegion, X as renderAmbiguousTargetStack, Xt as applyWaitFlagEnv, Y as renderAllNoTopLevelStacks, Yt as appOptions, Z as renderNoStackMatch, Zt as collectRepeated, _ as probeHostGatewaySupport, _n as allowUnsupportedTypesOption, _t as localAwsEmulatorCredentials, a as materializeLayerFromArn, an as noCfnFallbackOption, at as unmatchedPatterns, b as substituteImagePlaceholders, bn as validateResourceTimeouts, bt as prepareLocalLoopbackForwarder, cn as parseStackRegion, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as stackOptions, dt as activateLocalAwsAndRoleArn, en as deployOptions, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as stateOptions, ft as assertAwsEmulatorValue, g as HOST_GATEWAY_MIN_VERSION, gn as parseAssumeRoleToken, gt as localAwsEmulatorActive, h as layerAssetDirectory, hn as normalizeStartApiAssumeRole, ht as keepEmulatorIssuedCredentials, i as resolveInlineCodeFilePath, in as guardStackRegionOptions, it as stacksNoLongerSelected, jt as recordEmulatorDefaultRegion, k as flushStdio, kn as parseStateKey, kt as emulatorDefaultRegion, l as resolveLambdaLayers, ln as regionOption, lt as stackForConstructPath, m as copyLayerTreeLastWins, mn as effectiveAssumeRoleArn, mt as getActiveWorkloadAwsWiring$1, n as resolveTmpfsForLambda, nn as diffUpdatePolicyOptions, nt as stackMatchesPattern, o as resolveLambdaTarget, on as noLocalCustomResourcesOption, ot as buildCdkPathIndex, p as buildContainerImage$1, pn as useCdkBootstrapAssetsOption, pt as attachLocalLoopbackForwarder, q as refuseStackNameRegionCollisions, qt as writeProfileCredentialsFile, r as resolveZipImagePlan, rn as exclusivelyOption, rt as stacksForDependency, s as extractEphemeralStorageMb, sn as parseContextOptions, st as readCdkPathOrUndefined, t as resolveLocalBuildPlan$1, tn as destroyOptions, tt as selectTargetStack, u as assetPathDirs, un as skipFinalSnapshotOption, ut as stackForPathFormTarget, v as resolveHostGatewayExtraHosts, vn as parseDuration, vt as mixedModeActive, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as STATE_FILE_SUFFIX, wt as setContainerRegion, x as tryResolveImageFnJoin, xn as cliArgParser, xt as profileCredentialsForWorkload, y as derivePseudoParametersFromRegion$1, yn as resourceTimeoutOptions, yt as mixedModeEmulatorOverride, z as streamLogs, zt as reconcileMarkerRegionWithLegacyDefault } from "./image-plan-
|
|
3
|
-
import { $t as buildLockContentionMessage, At as resourceTypeShown, C as VALUE_NOT_SHOWN, It as maskDeep, M as remedyLogicalId, Ot as logicalIdShown, P as isMarkedNotGone, Q as runDeleteAttempt, Qt as buildForceUnlockCommand, St as isInterruptedWaitError, Zt as UNREPRODUCIBLE_LOCK_CLAUSE, at as isAwsCliLiteral, b as assertRegionMatch, bt as endCommandInterruptScope, cn as WAIT_CONDITION_SIGNAL_PREFIX, ct as renderDisableCommand, dn as withPasteableAwsProfile, en as forceQuitRecoveryClause, fn as injectiveKey, gt as readRecordedPrincipals, hn as producerRecordKey, ln as setPasteableAwsCaBundle, lt as IAM_PRINCIPAL_NAME, mn as producerCoordinateKey, nn as formatLockOperation, on as CUSTOM_RESOURCE_RESPONSE_PREFIX, rn as formatLockOwner, sn as DEFAULT_STATE_PREFIX, tn as formatLockExpiry, un as setPasteableAwsProfile, ut as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, v as DriftReadRefusedError, xt as interruptWatchListenerCount, y as RESOURCE_NOT_FOUND, yt as beginCommandInterruptScope } from "./created-resource-sink-
|
|
1
|
+
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, E as cutMarker, F as stringifyJsonPayload, 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, b as setPasteableVerbFlags, c as deployReplaceCommand, d as pasteableCommand, 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, x as SAFE_MSG_ALTERED_CHAR, y as setPasteableRunFlags } from "./version-CQenoJzP.js";
|
|
2
|
+
import { $ as renderStacksNoLongerSelected, $t as contextOptions, A as followContainerLogs, At as namedEnvAwsRegion, B as resolveRuntimeCodeMountPath, Bt as regionNeedsReconciliation, C as waitForRieReady, Cn as LOCK_FILE_SUFFIX, Ct as resolveContainerRegion, Dn as listAllLockKeys, Dt as warnAwsEmulatorStateSourceHint, E as SENSITIVE_ENV_KEYS, En as describeStateKey, Et as taskRoleAssumedInRealAws, F as removeContainer, Ft as legacyStateBucketFallbackRegion, G as nestedOwnerOfLogicalId, Gt as withOtherIndexRemoval, H as resolveRuntimeImage, Ht as resolveEffectiveRegion, It as namedCliRegion, J as renderAllLeftOutStageStacks, Jt as annotationMessageOptions, K as partitionTopLevel, Kt as strandedProfileCredentialsNotice, L as runDetached, Lt as rawCliRegion, M as killAndDrainContainerLogs, Mt as adoptRegionFlag, N as pickFreePort, Nt as exportInferredRegionForSdk, O as ensureDockerAvailable, On as listAllStateKeys, Ot as workloadGetsEmulatorKeysOnly, P as pullImage, Pt as foldRegionOption, Q as renderNotInAppWarning, Qt as commonOptions, Rt as reconcileExportIndexRegion, S as invokeRie, Sn as parsePositiveIntegerOption, St as realAwsException, T as DockerRunnerError, Tn as STATE_KEY_MAX_CODE_POINTS, Tt as stateRoleRecordIsEmulatorSide, U as describeStack, Ut as stackRegionResolver, V as resolveRuntimeFileExtension, Vt as regionShown, W as matchStacks, Wt as stateWithRegion, X as renderAmbiguousTargetStack, Xt as applyWaitFlagEnv, Y as renderAllNoTopLevelStacks, Yt as appOptions, Z as renderNoStackMatch, Zt as collectRepeated, _ as probeHostGatewaySupport, _n as allowUnsupportedTypesOption, _t as localAwsEmulatorCredentials, a as materializeLayerFromArn, an as noCfnFallbackOption, at as unmatchedPatterns, b as substituteImagePlaceholders, bn as validateResourceTimeouts, bt as prepareLocalLoopbackForwarder, cn as parseStackRegion, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as stackOptions, dt as activateLocalAwsAndRoleArn, en as deployOptions, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as stateOptions, ft as assertAwsEmulatorValue, g as HOST_GATEWAY_MIN_VERSION, gn as parseAssumeRoleToken, gt as localAwsEmulatorActive, h as layerAssetDirectory, hn as normalizeStartApiAssumeRole, ht as keepEmulatorIssuedCredentials, i as resolveInlineCodeFilePath, in as guardStackRegionOptions, it as stacksNoLongerSelected, jt as recordEmulatorDefaultRegion, k as flushStdio, kn as parseStateKey, kt as emulatorDefaultRegion, l as resolveLambdaLayers, ln as regionOption, lt as stackForConstructPath, m as copyLayerTreeLastWins, mn as effectiveAssumeRoleArn, mt as getActiveWorkloadAwsWiring$1, n as resolveTmpfsForLambda, nn as diffUpdatePolicyOptions, nt as stackMatchesPattern, o as resolveLambdaTarget, on as noLocalCustomResourcesOption, ot as buildCdkPathIndex, p as buildContainerImage$1, pn as useCdkBootstrapAssetsOption, pt as attachLocalLoopbackForwarder, q as refuseStackNameRegionCollisions, qt as writeProfileCredentialsFile, r as resolveZipImagePlan, rn as exclusivelyOption, rt as stacksForDependency, s as extractEphemeralStorageMb, sn as parseContextOptions, st as readCdkPathOrUndefined, t as resolveLocalBuildPlan$1, tn as destroyOptions, tt as selectTargetStack, u as assetPathDirs, un as skipFinalSnapshotOption, ut as stackForPathFormTarget, v as resolveHostGatewayExtraHosts, vn as parseDuration, vt as mixedModeActive, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as STATE_FILE_SUFFIX, wt as setContainerRegion, x as tryResolveImageFnJoin, xn as cliArgParser, xt as profileCredentialsForWorkload, y as derivePseudoParametersFromRegion$1, yn as resourceTimeoutOptions, yt as mixedModeEmulatorOverride, z as streamLogs, zt as reconcileMarkerRegionWithLegacyDefault } from "./image-plan-Cg5bLNvP.js";
|
|
3
|
+
import { $t as buildLockContentionMessage, At as resourceTypeShown, C as VALUE_NOT_SHOWN, It as maskDeep, M as remedyLogicalId, Ot as logicalIdShown, P as isMarkedNotGone, Q as runDeleteAttempt, Qt as buildForceUnlockCommand, St as isInterruptedWaitError, Zt as UNREPRODUCIBLE_LOCK_CLAUSE, at as isAwsCliLiteral, b as assertRegionMatch, bt as endCommandInterruptScope, cn as WAIT_CONDITION_SIGNAL_PREFIX, ct as renderDisableCommand, dn as withPasteableAwsProfile, en as forceQuitRecoveryClause, fn as injectiveKey, gt as readRecordedPrincipals, hn as producerRecordKey, ln as setPasteableAwsCaBundle, lt as IAM_PRINCIPAL_NAME, mn as producerCoordinateKey, nn as formatLockOperation, on as CUSTOM_RESOURCE_RESPONSE_PREFIX, rn as formatLockOwner, sn as DEFAULT_STATE_PREFIX, tn as formatLockExpiry, un as setPasteableAwsProfile, ut as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, v as DriftReadRefusedError, xt as interruptWatchListenerCount, y as RESOURCE_NOT_FOUND, yt as beginCommandInterruptScope } from "./created-resource-sink-Bzk9hJNq.js";
|
|
4
4
|
import { a as runWithStackAwsClients, i as resetAwsClients, l as s3ClientDefaults, o as setAwsClients, s as resolveS3ClientDefaults, t as AwsClients, u as setS3ClientDefaultsDebugLog } from "./aws-clients-DOkPjjAW.js";
|
|
5
|
-
import { $ as withStackScope, A as configStringRefusal, B as generateResourceName, E as coerceCfnBoolean, F as requireConfigString, I as PATTERN_B_NAME_OPTIONS, L as PATTERN_B_NAME_PROPERTIES, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, R as PATTERN_B_RESOURCE_TYPES, S as explicitNamePropertyFor, X as isNameGeneration, a as reserveStdoutForPayload, f as isAwsAuthoredFailure, i as releaseStdoutForPayload, m as verboseAwareText, n as getLogger, p as safeStringify, r as isStdoutReservedForPayload, s as runStackBuffered, u as describeAwsFailure, y as getLiveRenderer, z as derivesPatternBName } from "./logger-
|
|
6
|
-
import { A as stripControlChars, B as retryClassificationText, F as isAmbiguousOutcomeError, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, ct as SynthesisError, et as CdkdError, g as PartialFailureError, h as NestedStackChildDirectDestroyError, i as credentialFingerprint, j as stripForDisplay, k as escapeRegExp, l as withErrorHandling, n as ambientCredentialConfig, o as formatError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, rt as LocalInvokeBuildError$1, s as handleError, st as StateError, t as ambientClientDefaults, tt as DeployCancelledError, u as LocalStartServiceError, v as StackHasActiveImportsError, y as StackTerminationProtectionError, z as isTransientServerError } from "./ambient-client-defaults-
|
|
5
|
+
import { $ as withStackScope, A as configStringRefusal, B as generateResourceName, E as coerceCfnBoolean, F as requireConfigString, I as PATTERN_B_NAME_OPTIONS, L as PATTERN_B_NAME_PROPERTIES, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, R as PATTERN_B_RESOURCE_TYPES, S as explicitNamePropertyFor, X as isNameGeneration, a as reserveStdoutForPayload, f as isAwsAuthoredFailure, i as releaseStdoutForPayload, m as verboseAwareText, n as getLogger, p as safeStringify, r as isStdoutReservedForPayload, s as runStackBuffered, u as describeAwsFailure, y as getLiveRenderer, z as derivesPatternBName } from "./logger-BUi1Imxa.js";
|
|
6
|
+
import { A as stripControlChars, B as retryClassificationText, F as isAmbiguousOutcomeError, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, ct as SynthesisError, et as CdkdError, g as PartialFailureError, h as NestedStackChildDirectDestroyError, i as credentialFingerprint, j as stripForDisplay, k as escapeRegExp, l as withErrorHandling, n as ambientCredentialConfig, o as formatError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, rt as LocalInvokeBuildError$1, s as handleError, st as StateError, t as ambientClientDefaults, tt as DeployCancelledError, u as LocalStartServiceError, v as StackHasActiveImportsError, y as StackTerminationProtectionError, z as isTransientServerError } from "./ambient-client-defaults-Cq58skpK.js";
|
|
7
7
|
import { a as getAssumedRoleCredentials, c as setAssumedRoleCredentials, h as formatAuthority, l as setAwsEndpointOverrideSource, m as runInStackAwsScope, n as awsClientDefaults, r as awsEndpointOverrideActive, s as runWithRealAws } from "./aws-client-defaults-DAebi99J.js";
|
|
8
|
-
import { $ as MIGRATE_TMP_PREFIX, A as formatDockerLoginError, B as resolveApp, C as redactDockerArgvValues, D as warnFinchArgvExposure, E as partitionSensitiveEnv, F as Synthesizer, G as resolveStateBucketWithDefaultAndSource, H as resolveCaptureObservedState, I as synthesisStatusMessage, J as resolveUseCdkBootstrapAssets, K as resolveStateBucketWithSource, L as getDefaultStateBucketName, M as runDockerForeground, N as runDockerStreaming, O as isDockerClientEnvKey, P as abortInFlightMultipartUploads, Q as CFN_TEMPLATE_URL_LIMIT, R as getLegacyStateBucketName, S as redactedDockerCause, T as finchSecretArgvRefusal, U as resolveSkipPrefix, V as resolveAutoAssetStorage, W as resolveStateBucketWithDefault, X as warnDeprecatedNoPrefixCliFlag, Y as stateBucketExistenceConfirmed, Z as CFN_TEMPLATE_BODY_LIMIT, _ as resolveDockerContextDirectory, at as bindLegacyStackAssetParameters, b as describeDockerFailure, ct as predictedAutoCreatedAssetMode, d as DagBuilder, dt as processStackMessages, et as findLargeInlineResources, f as LockManager, ft as setChildProcessAwsEnv, g as buildDockerImage, h as WorkGraph, i as mergeDeclaredEntries, it as StageLoadError, j as getDockerCmd, k as isMalformedEnvKey, l as DiffCalculator, lt as prepareLegacyStackAssets, m as AssetPublisher, n as declaredStringList, nt as refuseFailedLookups, ot as createLegacyAssetParameterBinder, p as isLockInfoExpired, q as resolveUpdatePolicy, r as inlinePoliciesAreDeclared, rt as AssemblyReader, s as stringListIsDeclared, st as legacyPlanAssetCount, t as declaredInlinePolicies, tt as uploadCfnTemplate, u as LEGACY_HANDLE_HEAL_REASON, ut as CdkToolkitBucketMissingError, w as dockerSpawnEnvWithSensitive, x as redactedCause, y as describeDockerExecFailure, z as loadCdkJson } from "./settle-own-write-members-
|
|
9
|
-
import { $a as secretNamePrintingBag, $c as displayPhysicalId, $i as inheritProducerRegions, $l as refuseMalformedOrphans, $n as collectNestedChildUnaddressed, $o as isSignalKey, $r as recordedSgRuleId, $s as regionLessSecretName, $u as CrossPrefixReadError, A as diffSecurity, Aa as withoutSuperseded, Ac as isNamelessDynamicReferenceError, Ad as loadPublishableAssetManifest, Ai as demoteSupersededOrphans, Al as malformedResourceEntriesWarning, An as isReceiver, Ao as LAMBDA_PERMISSION_STATEMENT_KEYS, Ar as withMovedTo, As as isSelectOutOfBounds, Au as findHandledUnwrittenCreateOnly, Ba as red, Bi as readsRegeneratingSecret, Bl as unreadableResourceEntries, Bn as startForceQuitFlushes, Br as proposeRenames, Bs as assertFlagRoleArn, Bu as providerReplacementOldDeleted, C as slashedSsmNameHealNote, Ca as holdsSupersededResources, Cc as recordedReferenceRegions, Cl as refuseMalformedOrphansForOrphan, Cn as readRefactorMarkerOnce, Cr as formatChangeCounts, Cs as deleteLeftInPlace, Cu as withheldAccountClause, D as deferredServiceTokenWarning, Da as supersededHeldByOtherTypeWarning, Dc as getAccountInfo, Dl as isReadableResourceEntry, Dn as sameMove, Dr as hintSidesOf, Ds as isWaitAbandonedError, Du as hasReadableOutputs, E as inRunStackKey, Ea as supersededDependentsFirst, Ec as withoutVersionAttestation, Ed as createLazyAssetModeContext, Ei as withCreateTokenLedger, El as unreadableOrphanRecords, En as refuseRefactorMarker, Eo as revertStackRecordsView, Er as findRefactorHints, Es as getReadOnlyPropertyPaths, Eu as displayLogicalId, F as perType, Fa as findNestedStackTypeChanges, Fc as INTRINSIC_KEYS, Fd as getDockerImageBySourceHash, Fi as recordUnderIdIsNotOwn, Fl as refuseMalformedResourceEntriesForDestroy, Fn as literalRowTags, Fo as efsPolicyMatchesDeclared, Fr as isPairableType, Ga as noEchoParameterNamesOf, Gc as MULTI_REGION_RECREATE_BLOCKED_TYPES, Gd as isCrossRegionRedirect, Gi as nameGenerationCarriedFrom, Gl as refuseMalformedResourcePropertiesForDrift, Gn as displacedPhysicalIdShown, Go as CC_BROKEN_REASON, Gr as recordedRuleIdOf, Gs as sendableAssumeRoleCommand, Gu as TemplateParser, Ha as noEchoAttributeNamesOf, Hc as findReplacedReadersOfRecreateTargets, Hd as ensureAssetStorage, Hi as removeProtectionTypeList, Hl as malformedResourcePropertiesWarning, Hn as resolvePendingCloudControlRequests, Ho as verbatimEchoDriftKeys, Hr as siblingOwnedRevertDesired, Hs as explicitRoleArnOrThrow, I as readProtection, Ia as bold, Ii as replacementNeverSwapped, Il as refuseMalformedResourceEntriesForImport, In as macWriteOnlyKeys, Io as lambdaPermissionMatchesDeclared, Ir as looselyEqual, Is as resolveDynamicReferences, Iu as NO_CC_HANDLERS_REASON, J as streamPolicyMatchesDeclared, Ja as completedReplayEntries, Jc as renderStatefulReason, Jd as readBootstrapMarkerBody, Ji as retiredAfterRollback, Jl as repairMalformedResourcePropertiesForReadOnly, Jn as nestedChildStackName$1, Jo as isCustomResource, Js as callerEnvCredentials, Ka as withAttemptedItemsMasked, Kc as isStatefulRecreateTargetForReplace, Kd as getBootstrapMarkerKey, Ki as nameGenerationHighWaterOf, Kl as refuseMalformedResourcePropertiesForExport, Kn as dropSettledNestedJournals, Ko as ProviderRegistry, Kr as sgRuleOwnershipIdentity, Ks as AWS_CREDENTIAL_ENV_KEYS, Ku as S3StateBackend, La as cyan, Li as IMPLICIT_DELETE_DEPENDENCIES, Ll as refuseMalformedResourceEntriesForImportSave, Ln as readsOnlyNoEchoParameters, Lo as memberReadFailure, Lr as mappingPairs, Ls as producerLookupOver, Lu as hasNoCloudControlHandlers, M as recordedProtectionNote, Ma as snapshotSegmentSurvivors, Mc as keepsSecretReferenceToken, Mi as isReplacementOrphan, Ml as refuseMalformedResourceAttributesForOrphan, Mn as settleStackTagChildRuns, Mr as changedReferencePath, Ms as poisonRenderedSpellingsCollidingIn, Mu as unwrittenCreateOnlyReplacement, N as PROTECTION_PROPERTY_BY_TYPE, Na as resolveReplacementOldType, Nc as withSharedDrainBudget, Nd as rewriteTemplateAssetReferences, Ni as planFailedOps, Nl as refuseMalformedResourceEntries, No as declaredMemberDocument, Nr as changedReferenceReason, Ns as stackIdTailOf, Nt as tagsMatchDeclared, O as findServiceTokenRefusals, Oa as supersededHolderOf, Oc as isImpossibleEmptyStoredAttribute, Oi as planRollback, Ol as malformedLocalResourceEntriesWarning, On as updateRefactorMarker, Oo as withStackRecords, Or as movedToHint, Ou as hasReadableResources, P as isProtectionValueActive, Pa as withPreviousPolicies, Pd as AssetManifestLoader, Pi as recheckFailedPlan, Pl as refuseMalformedResourceEntriesForDeploy, Pn as childStackTags, Po as declaredPolicyDocument, Pr as differingRemedy, Qa as orphanRecordsPrintingBag, Ql as malformedOrphansWarning, Qn as withNestedRevertRun, Qr as cfnIngressPortValue, Qs as producerRegionsFromState, Qu as rebuildClientForBucketRegion, Ra as gray, Ri as computeImplicitDeleteEdges, Rl as refuseMalformedResourceEntriesForOrphan, Ro as policyDocumentMatchesDeclared, Rr as parseMappingFile, Rs as refuseUnreadableCdkCrossAccountRefs, Ru as PROPERTY_COVERAGE_BY_TYPE, S as slashedSsmNameHealAdoptedNote, Sa as deleteSupersededEntry, Si as replacementCreateRoutesToCloudControl, Sl as refuseMalformedOrphanRecordsForDestroy, Sn as readRefactorMarker, Sr as findDestructiveChanges, Ss as deleteIndeterminateGuards, Su as accountArgs, T as scanActiveConsumers, Ta as supersededAfterRollback, Td as createAssetRedirectResolver, Tl as unpreviewableOrphanRecords, Tn as refactorMarkerRefusalMessage, Tr as orphanedLogicalIds, Tu as UNREADABLE_RESOURCES_MAP_ROW, U as readStreamPolicy, Ua as noEchoComparisonForTemplate, Ud as buildDenyExternalAccessPolicy, Ui as removeProtectionTypes, Un as NESTED_PENDING_PARENT_REASON, Ur as stripSiblingOwnedParentMembers, Us as isIamRoleArn, Va as yellow, Vd as AssetModeResolver, Vi as segmentCleanupOptions, Vl as malformedDriftResourcePropertiesWarning, Vn as pendingRequestCount, Vr as referencedLogicalIds, Vs as assertSendableRoleArn, Wa as noEchoExactEchoLeavesOf, Wc as shownType, Wd as assertAssetBucketRegion, Wi as orphanNeedsIdentity, Wl as refuseMalformedResourcePropertiesForDestroy, Wn as displacedOpClause, Wr as undeclaredGrantSiblingMembers, Ws as parseIamRoleArn, Xa as maskEventTextWithBoundBags, Xd as validateContainerRepoName, Xi as retiredNameGenerationsLeaving, Xl as hasReadableOrphans, Xo as WaitConditionSignalStore, Xs as classifyRecordedSecretRegion, Xu as hasReasonlessBaselineRefusal, Ya as journaledOrphanPrintingBag, Yd as validateAssetBucketName, Yi as retiredNameGenerationsAfter, Yl as UNREADABLE_ORPHANS_CONTAINER_ROW, Yn as recordDisplacedSkips, Yo as wouldReturnToSdkProvider, Yr as siblingRecordedSgRuleIds, Ys as envCredentialsAreAssumedRole, Yu as readOnlyStateVersionOf, Za as namingSecretsWithRecordedNoEcho, Zd as BOOTSTRAP_MARKER_PREFIX, Zi as withNameGenerationReached, Zl as malformedOrphansRefusalMessage, Zn as revertedNestedRowIds, Zo as classifyHandleUrl, Zs as classifyReplaySecretRegion, Zu as hasUnverifiableParameterRefusal, _ as hasPendingMovesOut, _a as isExportAliasCollision, _i as equalModuloMask, _l as malformedOrphanRecordsRefusalMessage, _r as noEchoMacBinding, _u as refuseMalformedResourcesForDestroy, a as mergeNoChangeOutputs, aa as displayTextOrWithheld, ad as stackInstanceIdOf, ai as replayFailedOperations, al as getTopLevelKeysHoldingUnreadableCreateOnly, ao as storedSecretNameNeedles, ar as isHandledOrphan, as as readsNoEchoDeleteValues, au as malformedOutputsRefusalMessage, b as refusePendingMovesOut, ba as DEFAULT_RESOURCE_WARN_AFTER_MS, bi as updatePartialReason, bl as previewableOrphanRecords, bn as keptForRetainedRecord, br as noEchoValueMacsOf, bs as RollbackInlinePolicyWriters, bu as repairMalformedResourcesForReadOnly, c as nestedSsmNameRowNote, ca as secretBearingStateKeyWarning, cc as isUnboundTemplateParameter, cd as isSensitiveAttributeName, cf as displayAssemblyPath, ci as PLANNED_EARLY_DELETE_CONSEQUENCE, cl as maskedPropertyFingerprintsOf, co as PRE_DELETE_SNAPSHOT_TYPES, cr as sameJournaledOrphans, cs as withPrintingSecrets, cu as refuseMalformedOutputs, d as makeCanonicalizePropertiesFn, da as exportNameNoEchoParameters, dc as cfnRefValueFromPhysicalId, dd as findNestedTemplateTreeDefect, df as resolveAssemblyPath, di as buildReadCurrentStateContext, dl as maskedInputProof, do as effectiveDeletionPolicy, dr as planOrphanAdoption, ds as customResourcesFailedWithoutApp, du as STATE_REGION_DIVERGED, ea as computeParameterTaint, ec as isUnexposedRecordedIdentity, ed as CrossPrefixScanCache, ef as defineOwnKey, ei as sgCidrKey, eo as secretNamePrintingBags, er as getCurrentNestedStackContext, es as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, eu as refuseMalformedOrphansForDestroy, f as conditionFingerprint, fa as exportNameSecretExposure, fc as isStalePlaceholderArnAttribute, fd as isAbsoluteAssetPath, fi as recordAfterRollbackUpdate, fo as isFinalSnapshotError, fr as DeploymentEventsReader, fs as customResourcesRunWithoutApp, fu as refuseDivergentRecordRegionForDestroy, g as childTemplateLoader, ga as collectPublishedOutputNames, gi as equalModuloMarkedMask, gl as isReadableOrphanRecord, go as buildFinalSnapshotIdentifier, gr as createNoEchoValueMacs, gs as withCustomResourceStack, gu as refuseMalformedResourcesForDeploy, h as readRecordedConditionVerdicts, ha as collectDeclaredOutputNames, hc as lacksRecordedTableArn, hd as templateIdentity, hi as calculateResourceDrift, hl as deployRefusesOrphanRowsReason, ho as createPreDeleteFinalSnapshot, hr as NOECHO_MAC_KEY_ALIAS, hs as setLocalCustomResourceRuntimeEnabled, hu as malformedStateRefusalMessage, i as keptWholeReasonText, ia as WITHHELD_NAME_DISPLAY, id as isNotImplemented, if as ownValue, ii as canonicalizeIpProtocolValue, il as getSettledWriteOnlyPropertyPaths, io as stateSecretNameNeedles, ir as dropFailedHint, is as TemplateNoEchoReresolver, iu as malformedLocalOutputsWarning, j as recordedProtectionEvidence, jc as carriesDynamicReference, ji as isJournaledOrphan, jl as malformedScrubResourceEntriesRefusalMessage, jn as removeSignalReceiverNamed, jr as changedReferenceInDiff, js as isAlwaysLiveAttribute, k as serviceTokenBlockingReason, ka as supersededResourcesOf, kc as carriesFetchableDynamicReference, ki as seedsDeleteFirstGuard, kl as malformedLocalResourcesWarning, kn as deleteSignalReceiver, kr as rollbackOrphanIds, ks as IntrinsicFunctionResolver, kt as declaredTagsReadback, ku as findActionableSdkUnwired, l as crossStackOutputProvenanceSource, la as secretSafeKeyDisplay, lc as parameterTypeMayLoseSecretIdentity, li as earlyDeleteWhen, lo as ccRoutedFinalSnapshotError, lr as makeForeignHolderScan, ls as NO_LOCAL_CUSTOM_RESOURCES_FLAG, lu as refuseMalformedOutputsForDestroy, m as parentSuppliedValues, ma as noEchoParameterValueSeed, mc as lacksRecordedRefArn, md as renderNestedTemplateTreeDefect, mi as withUnprovenUnsettled, ml as maskedPropertyFingerprint, mo as unsupportedFinalSnapshotError, mr as crossStackReadsForPartialSave, mu as malformedResourcesWarning, n as applyStackTagsToTemplate, na as reachableDivergentParameters, nd as crossPrefixDeniedWarning, nf as hasPlainPrototype, nl as secretSegmentsOfState, no as secretNamedRecordNeedles, nr as deleteJournaledOrphans, ns as customResourceResponseExpirationWarning, nu as malformedExportNamesWarning, o as checkNestedSsmNames, oa as exportAliasCollisionScrubWarning, od as withStackInstanceIdWithheld, oi as replayRollback, ol as tryGetTopLevelWriteOnlyProperties, oo as extractDeploymentEventError, or as journaledOrphanLines, os as isCustomResourceType$1, ou as malformedOutputsWarning, p as conditionInputsFrom, pa as isWholeDynamicReferenceValue, pc as refStateLookupFromResource, pd as listNestedTemplateRows, pf as resolveBucketRegion, pi as settleUnsettledPrevious, pl as declaresNoEcho, po as refusesFinalSnapshot, pr as DeploymentEventsStore, ps as localCustomResourceCommand, pu as malformedRenderedContainersWarning, qa as createReadOnlyAttributeHealerFactory, qc as isStatefulRecreateTargetSync, qd as parseBootstrapMarker, qi as nameScopeOf, ql as refuseMalformedResourcePropertiesForOrphan, qo as ccBrokenReason, qr as sgSiblingDecidedById, qs as applyCallerIdentityCredentials, qu as splitImportedOps, r as isSecretBearingReferenceString, ra as resourcesNamingDeclaredParameter, rd as isAccessDenied, rf as nullPrototypeRecord, ri as canonicalizeIpv4Cidr, rl as withSecretPhysicalIdsMaskedInState, ro as stackSecretNamesMasker, rr as dropFailedCommands, ru as malformedExportSourceWarning, s as nestedSsmNameDeferredNote, sa as secretBearing, sc as coerceParameterTypedValue, sd as isSecretValuedAttribute, sf as describeFileReadFailure, si as DELETED_RESOURCE_REMEDY, so as ATOMIC_FINAL_SNAPSHOT_TYPES, sr as loadJournaledOrphans, t as DeployEngine, ta as namesAnyDeclaredParameter, td as applyCrossPrefixScan, tf as hasOwnKey, ti as sgProtocolKey, tl as secretPhysicalIdSegment, tr as withNestedStackContext, ts as applyCustomResourceResponseExpiration, tu as repairMalformedOrphansForReadOnly, u as inheritedProvenanceForChildDiff, ua as carriedExportAliasExposure, uc as AWS_NO_VALUE, uf as renderAssemblyPathEscape, ui as earlyDeletedOld, ul as parameterInputsFor, uo as ccRoutedInstanceTakesNoSnapshot, ur as makeSiblingClaimReader, uu as repairMalformedOutputsForReadOnly, v as pendingMovesOutOf, va as bindingSkippedOutputs, vd as ssmResolvedValueType, vi as undeclaredEmptyObservedKeys, vl as malformedOrphanRecordsWarning, vr as noEchoMacParametersOf, vs as CloudControlProvider, vu as refuseMalformedResourcesForExport, w as slashedSsmNameHealPendingNote, wa as isSupersededResourceRecord, wd as buildAssetRedirectMap, wi as ledgerForStack, wl as repairMalformedOrphanRecordsForReadOnly, wn as refactorMarkerMovesOf, wo as destroyStackRecordsView, wr as formatDestructiveChange, ws as deleteSkipReason, wu as STATE_RESOURCES_MALFORMED, x as healSlashedSsmParameterNames, xa as maskingRetryLogger, xc as recordedOutputReferenceRegions, xd as decodeListingKey, xi as findUpdatePolicyReplacementRefusals, xl as refuseMalformedOrphanRecords, xn as recordRetainedForReadoption, xr as constructPathOf$1, xs as UNSPECIFIED_SKIP_REASON, xu as JSON_LISTING_HOLE_VALUE, y as pendingMovesRefusalMessage, ya as DEFAULT_RESOURCE_TIMEOUT_MS, yc as keepHeldTokenProvenance, yd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, yi as updatePartialMessage, yl as malformedOrphanRowsKeptWarning, yn as NestedCleanupQueue, yr as noEchoMacVerdict, yu as refuseMalformedState, za as green, zi as attemptUsesCompletedCreate, zl as repairMalformedResourceEntriesForReadOnly, zn as formatResourceLine, zo as reReadUntilSettled, zr as propertiesChangedReason, zs as applyRoleArnIfSet } from "./deploy-engine-CpeBWcxG.js";
|
|
8
|
+
import { $ as MIGRATE_TMP_PREFIX, A as formatDockerLoginError, B as resolveApp, C as redactDockerArgvValues, D as warnFinchArgvExposure, E as partitionSensitiveEnv, F as Synthesizer, G as resolveStateBucketWithDefaultAndSource, H as resolveCaptureObservedState, I as synthesisStatusMessage, J as resolveUseCdkBootstrapAssets, K as resolveStateBucketWithSource, L as getDefaultStateBucketName, M as runDockerForeground, N as runDockerStreaming, O as isDockerClientEnvKey, P as abortInFlightMultipartUploads, Q as CFN_TEMPLATE_URL_LIMIT, R as getLegacyStateBucketName, S as redactedDockerCause, T as finchSecretArgvRefusal, U as resolveSkipPrefix, V as resolveAutoAssetStorage, W as resolveStateBucketWithDefault, X as warnDeprecatedNoPrefixCliFlag, Y as stateBucketExistenceConfirmed, Z as CFN_TEMPLATE_BODY_LIMIT, _ as resolveDockerContextDirectory, at as bindLegacyStackAssetParameters, b as describeDockerFailure, ct as predictedAutoCreatedAssetMode, d as DagBuilder, dt as processStackMessages, et as findLargeInlineResources, f as LockManager, ft as setChildProcessAwsEnv, g as buildDockerImage, h as WorkGraph, i as mergeDeclaredEntries, it as StageLoadError, j as getDockerCmd, k as isMalformedEnvKey, l as DiffCalculator, lt as prepareLegacyStackAssets, m as AssetPublisher, n as declaredStringList, nt as refuseFailedLookups, ot as createLegacyAssetParameterBinder, p as isLockInfoExpired, q as resolveUpdatePolicy, r as inlinePoliciesAreDeclared, rt as AssemblyReader, s as stringListIsDeclared, st as legacyPlanAssetCount, t as declaredInlinePolicies, tt as uploadCfnTemplate, u as LEGACY_HANDLE_HEAL_REASON, ut as CdkToolkitBucketMissingError, w as dockerSpawnEnvWithSensitive, x as redactedCause, y as describeDockerExecFailure, z as loadCdkJson } from "./settle-own-write-members-BJ1rf1Yt.js";
|
|
9
|
+
import { $a as maskEventTextWithBoundBags, $d as validateAssetBucketName, $i as retiredNameGenerationsLeaving, $l as UNREADABLE_ORPHANS_CONTAINER_ROW, $o as WaitConditionSignalStore, $s as classifyRecordedSecretRegion, $u as readOnlyStateVersionOf, A as deferredServiceTokenWarning, Aa as supersededHeldByOtherTypeWarning, Ac as withoutVersionAttestation, Ad as createLazyAssetModeContext, Al as unreadableOrphanRecords, An as sameMove, Ar as hintSidesOf, As as isWaitAbandonedError, Au as displayLogicalId, Ba as cyan, Bi as IMPLICIT_DELETE_DEPENDENCIES, Bl as refuseMalformedResourceEntriesForImport, Bn as readsOnlyNoEchoParameters, Bo as memberReadFailure, Br as mappingPairs, Bs as producerLookupOver, Bu as NO_CC_HANDLERS_REASON, C as warnLegacySpelling, Ca as DEFAULT_RESOURCE_WARN_AFTER_MS, Cc as keepHeldTokenProvenance, Cd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Ci as updatePartialReason, Cl as malformedOrphanRowsKeptWarning, Cn as keptForRetainedRecord, Cr as noEchoValueMacsOf, Cs as RollbackInlinePolicyWriters, Cu as refuseMalformedState, D as slashedSsmNameHealPendingNote, Da as isSupersededResourceRecord, Dc as recordedReferenceRegions, Di as ledgerForStack, Dl as refuseMalformedOrphansForOrphan, Dn as refactorMarkerMovesOf, Do as destroyStackRecordsView, Dr as formatDestructiveChange, Ds as deleteSkipReason, Du as withheldAccountClause, E as slashedSsmNameHealNote, Ea as holdsSupersededResources, El as refuseMalformedOrphanRecordsForDestroy, En as readRefactorMarkerOnce, Er as formatChangeCounts, Es as deleteLeftInPlace, Eu as accountArgs, F as recordedProtectionNote, Fa as snapshotSegmentSurvivors, Fc as carriesDynamicReference, Fi as isReplacementOrphan, Fl as malformedScrubResourceEntriesRefusalMessage, Fn as settleStackTagChildRuns, Fr as changedReferencePath, Fs as poisonRenderedSpellingsCollidingIn, Ga as noEchoAttributeNamesOf, Gd as AssetModeResolver, Gi as removeProtectionTypeList, Gl as malformedDriftResourcePropertiesWarning, Gn as resolvePendingCloudControlRequests, Go as verbatimEchoDriftKeys, Gr as siblingOwnedRevertDesired, Gs as explicitRoleArnOrThrow, Ha as green, Hi as attemptUsesCompletedCreate, Hl as refuseMalformedResourceEntriesForOrphan, Hn as formatResourceLine, Ho as reReadUntilSettled, Hr as propertiesChangedReason, Hs as applyRoleArnIfSet, Hu as PROPERTY_COVERAGE_BY_TYPE, I as PROTECTION_PROPERTY_BY_TYPE, Ia as resolveReplacementOldType, Ic as keepsSecretReferenceToken, Ii as planFailedOps, Il as refuseMalformedResourceAttributesForOrphan, Io as declaredMemberDocument, Ir as changedReferenceReason, Is as stackIdTailOf, It as tagsMatchDeclared, Iu as unwrittenCreateOnlyReplacement, Ja as noEchoParameterNamesOf, Jc as shownType, Jd as assertAssetBucketRegion, Ji as nameGenerationCarriedFrom, Jl as refuseMalformedResourcePropertiesForDestroy, Jn as displacedPhysicalIdShown, Jo as CC_BROKEN_REASON, Jr as recordedRuleIdOf, Js as sendableAssumeRoleCommand, K as readStreamPolicy, Ka as noEchoComparisonForTemplate, Kc as findReplacedReadersOfRecreateTargets, Kd as ensureAssetStorage, Ki as removeProtectionTypes, Kl as malformedResourcePropertiesWarning, Kn as NESTED_PENDING_PARENT_REASON, Kr as stripSiblingOwnedParentMembers, Ks as isIamRoleArn, L as isProtectionValueActive, La as withPreviousPolicies, Lc as withSharedDrainBudget, Ld as rewriteTemplateAssetReferences, Li as recheckFailedPlan, Ll as refuseMalformedResourceEntries, Ln as childStackTags, Lo as declaredPolicyDocument, Lr as differingRemedy, M as serviceTokenBlockingReason, Ma as supersededResourcesOf, Mc as isImpossibleEmptyStoredAttribute, Mi as seedsDeleteFirstGuard, Ml as malformedLocalResourceEntriesWarning, Mn as deleteSignalReceiver, Mr as rollbackOrphanIds, Ms as IntrinsicFunctionResolver, Mt as declaredTagsReadback, Mu as hasReadableResources, N as diffSecurity, Na as withoutSuperseded, Nc as carriesFetchableDynamicReference, Ni as demoteSupersededOrphans, Nl as malformedLocalResourcesWarning, Nn as isReceiver, No as LAMBDA_PERMISSION_STATEMENT_KEYS, Nr as withMovedTo, Ns as isSelectOutOfBounds, Nu as findActionableSdkUnwired, O as scanActiveConsumers, Oa as supersededAfterRollback, Od as buildAssetRedirectMap, Ol as repairMalformedOrphanRecordsForReadOnly, On as refactorMarkerRefusalMessage, Or as orphanedLogicalIds, Ou as STATE_RESOURCES_MALFORMED, P as recordedProtectionEvidence, Pc as isNamelessDynamicReferenceError, Pd as loadPublishableAssetManifest, Pi as isJournaledOrphan, Pl as malformedResourceEntriesWarning, Pn as removeSignalReceiverNamed, Pr as changedReferenceInDiff, Ps as isAlwaysLiveAttribute, Pu as findHandledUnwrittenCreateOnly, Qa as journaledOrphanPrintingBag, Qc as renderStatefulReason, Qd as readBootstrapMarkerBody, Qi as retiredNameGenerationsAfter, Ql as repairMalformedResourcePropertiesForReadOnly, Qn as recordDisplacedSkips, Qo as wouldReturnToSdkProvider, Qr as siblingRecordedSgRuleIds, Qs as envCredentialsAreAssumedRole, R as perType, Ra as findNestedStackTypeChanges, Rd as AssetManifestLoader, Ri as recordUnderIdIsNotOwn, Rl as refuseMalformedResourceEntriesForDeploy, Rn as literalRowTags, Ro as efsPolicyMatchesDeclared, Rr as isPairableType, S as refusePendingMovesOut, Sa as DEFAULT_RESOURCE_TIMEOUT_MS, Sd as ssmResolvedValueType, Si as updatePartialMessage, Sl as malformedOrphanRecordsWarning, Sn as NestedCleanupQueue, Sr as noEchoMacVerdict, Su as refuseMalformedResourcesForExport, T as slashedSsmNameHealAdoptedNote, Ta as deleteSupersededEntry, Tc as recordedOutputReferenceRegions, Td as decodeListingKey, Ti as replacementCreateRoutesToCloudControl, Tl as refuseMalformedOrphanRecords, Tn as readRefactorMarker, Tr as findDestructiveChanges, Ts as deleteIndeterminateGuards, Tu as JSON_LISTING_HOLE_VALUE, Ua as red, Ui as readsRegeneratingSecret, Ul as repairMalformedResourceEntriesForReadOnly, Un as startForceQuitFlushes, Ur as proposeRenames, Us as assertFlagRoleArn, Va as gray, Vi as computeImplicitDeleteEdges, Vl as refuseMalformedResourceEntriesForImportSave, Vo as policyDocumentMatchesDeclared, Vr as parseMappingFile, Vs as refuseUnreadableCdkCrossAccountRefs, Vu as hasNoCloudControlHandlers, Wa as yellow, Wi as segmentCleanupOptions, Wl as unreadableResourceEntries, Wn as pendingRequestCount, Wr as referencedLogicalIds, Ws as assertSendableRoleArn, Wu as providerReplacementOldDeleted, Xa as createReadOnlyAttributeHealerFactory, Xc as isStatefulRecreateTargetForReplace, Xd as getBootstrapMarkerKey, Xi as nameScopeOf, Xl as refuseMalformedResourcePropertiesForExport, Xo as ccBrokenReason, Xr as sgSiblingDecidedById, Xs as applyCallerIdentityCredentials, Xu as S3StateBackend, Ya as withAttemptedItemsMasked, Yc as MULTI_REGION_RECREATE_BLOCKED_TYPES, Yd as isCrossRegionRedirect, Yi as nameGenerationHighWaterOf, Yl as refuseMalformedResourcePropertiesForDrift, Yn as dropSettledNestedJournals, Yo as ProviderRegistry, Yr as sgRuleOwnershipIdentity, Ys as AWS_CREDENTIAL_ENV_KEYS, Yu as TemplateParser, Z as streamPolicyMatchesDeclared, Za as completedReplayEntries, Zc as isStatefulRecreateTargetSync, Zd as parseBootstrapMarker, Zi as retiredAfterRollback, Zl as refuseMalformedResourcePropertiesForOrphan, Zn as nestedChildStackName$1, Zo as isCustomResource, Zs as callerEnvCredentials, Zu as splitImportedOps, _ as readRecordedConditionVerdicts, _a as noEchoParameterValueSeed, _c as refStateLookupFromResource, _d as listNestedTemplateRows, _f as resolveBucketRegion, _i as withUnprovenUnsettled, _l as declaresNoEcho, _o as unsupportedFinalSnapshotError, _r as crossStackReadsForPartialSave, _u as malformedRenderedContainersWarning, a as mergeNoChangeOutputs, aa as reachableDivergentParameters, ad as applyCrossPrefixScan, af as hasOwnKey, al as secretPhysicalIdSegment, ao as secretNamedRecordNeedles, ar as deleteJournaledOrphans, as as customResourceResponseExpirationWarning, au as repairMalformedOrphansForReadOnly, b as pendingMovesOutOf, ba as isExportAliasCollision, bi as equalModuloMask, bl as isReadableOrphanRecord, br as noEchoMacBinding, bu as refuseMalformedResourcesForDeploy, c as nestedSsmNameRowNote, ca as displayTextOrWithheld, cd as isNotImplemented, cf as ownValue, ci as replayFailedOperations, cl as getSettledWriteOnlyPropertyPaths, co as storedSecretNameNeedles, cr as isHandledOrphan, cs as readsNoEchoDeleteValues, cu as malformedLocalOutputsWarning, d as makeCanonicalizePropertiesFn, da as secretBearingStateKeyWarning, dc as coerceParameterTypedValue, dd as isSecretValuedAttribute, df as describeFileReadFailure, di as PLANNED_EARLY_DELETE_CONSEQUENCE, do as PRE_DELETE_SNAPSHOT_TYPES, dr as sameJournaledOrphans, ds as withPrintingSecrets, ea as withNameGenerationReached, ec as classifyReplaySecretRegion, ed as hasReasonlessBaselineRefusal, ef as validateContainerRepoName, eo as namingSecretsWithRecordedNoEcho, er as revertedNestedRowIds, es as classifyHandleUrl, eu as hasReadableOrphans, f as readDbInstanceAvailabilityZone, fa as secretSafeKeyDisplay, fc as isUnboundTemplateParameter, fd as isSensitiveAttributeName, ff as displayAssemblyPath, fi as earlyDeleteWhen, fl as maskedPropertyFingerprintsOf, fo as ccRoutedFinalSnapshotError, fr as makeForeignHolderScan, fs as NO_LOCAL_CUSTOM_RESOURCES_FLAG, fu as refuseMalformedOutputs, g as parentSuppliedValues, ga as isWholeDynamicReferenceValue, gc as isStalePlaceholderArnAttribute, gd as isAbsoluteAssetPath, gi as settleUnsettledPrevious, go as refusesFinalSnapshot, gr as DeploymentEventsStore, gs as localCustomResourceCommand, gu as refuseDivergentRecordRegionForDestroy, h as conditionInputsFrom, ha as exportNameSecretExposure, hc as cfnRefValueFromPhysicalId, hd as findNestedTemplateTreeDefect, hf as resolveAssemblyPath, hi as recordAfterRollbackUpdate, hl as maskedInputProof, ho as isFinalSnapshotError, hr as DeploymentEventsReader, hs as customResourcesRunWithoutApp, hu as STATE_REGION_DIVERGED, i as keptWholeReasonText, ia as namesAnyDeclaredParameter, ic as isUnexposedRecordedIdentity, id as CrossPrefixScanCache, if as defineOwnKey, ii as sgProtocolKey, ir as withNestedStackContext, is as applyCustomResourceResponseExpiration, iu as refuseMalformedOrphansForDestroy, j as findServiceTokenRefusals, ja as supersededHolderOf, jc as getAccountInfo, ji as planRollback, jl as isReadableResourceEntry, jn as updateRefactorMarker, jo as withStackRecords, jr as movedToHint, ju as hasReadableOutputs, k as inRunStackKey, ka as supersededDependentsFirst, kd as createAssetRedirectResolver, ki as withCreateTokenLedger, kl as unpreviewableOrphanRecords, kn as refuseRefactorMarker, ko as revertStackRecordsView, kr as findRefactorHints, ks as getReadOnlyPropertyPaths, ku as UNREADABLE_RESOURCES_MAP_ROW, l as crossStackOutputProvenanceSource, la as exportAliasCollisionScrubWarning, ld as stackInstanceIdOf, li as replayRollback, ll as getTopLevelKeysHoldingUnreadableCreateOnly, lo as extractDeploymentEventError, lr as journaledOrphanLines, ls as isCustomResourceType$1, lu as malformedOutputsRefusalMessage, m as conditionFingerprint, ma as exportNameNoEchoParameters, mc as AWS_NO_VALUE, mf as renderAssemblyPathEscape, mi as buildReadCurrentStateContext, ml as parameterInputsFor, mo as effectiveDeletionPolicy, mr as planOrphanAdoption, ms as customResourcesFailedWithoutApp, mu as repairMalformedOutputsForReadOnly, n as applyStackTagsToTemplate, na as inheritProducerRegions, nc as regionLessSecretName, nd as rebuildClientForBucketRegion, ni as recordedSgRuleId, no as secretNamePrintingBag, nr as collectNestedChildUnaddressed, ns as isSignalKey, nu as malformedOrphansWarning, o as checkNestedSsmNames, oa as resourcesNamingDeclaredParameter, od as crossPrefixDeniedWarning, of as hasPlainPrototype, oi as canonicalizeIpv4Cidr, ol as secretSegmentsOfState, oo as stackSecretNamesMasker, or as dropFailedCommands, ou as malformedExportNamesWarning, p as healZonelessDbInstanceRecords, pa as carriedExportAliasExposure, pc as parameterTypeMayLoseSecretIdentity, pi as earlyDeletedOld, po as ccRoutedInstanceTakesNoSnapshot, pr as makeSiblingClaimReader, pu as refuseMalformedOutputsForDestroy, qa as noEchoExactEchoLeavesOf, qd as buildDenyExternalAccessPolicy, qi as orphanNeedsIdentity, qn as displacedOpClause, qr as undeclaredGrantSiblingMembers, qs as parseIamRoleArn, r as isSecretBearingReferenceString, ra as computeParameterTaint, rc as withoutLapsedStaleShapeStamp, rd as CrossPrefixReadError, ri as sgCidrKey, rl as displayPhysicalId, ro as secretNamePrintingBags, rr as getCurrentNestedStackContext, rs as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, ru as refuseMalformedOrphans, s as nestedSsmNameDeferredNote, sa as WITHHELD_NAME_DISPLAY, sd as isAccessDenied, sf as nullPrototypeRecord, si as canonicalizeIpProtocolValue, sl as withSecretPhysicalIdsMaskedInState, so as stateSecretNameNeedles, sr as dropFailedHint, ss as TemplateNoEchoReresolver, su as malformedExportSourceWarning, t as DeployEngine, tc as producerRegionsFromState, td as hasUnverifiableParameterRefusal, tf as BOOTSTRAP_MARKER_PREFIX, ti as cfnIngressPortValue, to as orphanRecordsPrintingBag, tr as withNestedRevertRun, tu as malformedOrphansRefusalMessage, u as inheritedProvenanceForChildDiff, ua as secretBearing, ud as withStackInstanceIdWithheld, ui as DELETED_RESOURCE_REMEDY, ul as tryGetTopLevelWriteOnlyProperties, uo as ATOMIC_FINAL_SNAPSHOT_TYPES, ur as loadJournaledOrphans, uu as malformedOutputsWarning, v as childTemplateLoader, va as collectDeclaredOutputNames, vc as lacksRecordedRefArn, vd as renderNestedTemplateTreeDefect, vi as calculateResourceDrift, vl as maskedPropertyFingerprint, vo as createPreDeleteFinalSnapshot, vr as NOECHO_MAC_KEY_ALIAS, vs as setLocalCustomResourceRuntimeEnabled, vu as malformedResourcesWarning, w as healSlashedSsmParameterNames, wa as maskingRetryLogger, wi as findUpdatePolicyReplacementRefusals, wl as previewableOrphanRecords, wn as recordRetainedForReadoption, wr as constructPathOf$1, ws as UNSPECIFIED_SKIP_REASON, wu as repairMalformedResourcesForReadOnly, x as pendingMovesRefusalMessage, xa as bindingSkippedOutputs, xi as undeclaredEmptyObservedKeys, xl as malformedOrphanRecordsRefusalMessage, xr as noEchoMacParametersOf, xs as CloudControlProvider, xu as refuseMalformedResourcesForDestroy, y as hasPendingMovesOut, ya as collectPublishedOutputNames, yc as lacksRecordedTableArn, yd as templateIdentity, yi as equalModuloMarkedMask, yl as deployRefusesOrphanRowsReason, yo as buildFinalSnapshotIdentifier, yr as createNoEchoValueMacs, ys as withCustomResourceStack, yu as malformedStateRefusalMessage, z as readProtection, za as bold, zc as INTRINSIC_KEYS, zd as getDockerImageBySourceHash, zi as replacementNeverSwapped, zl as refuseMalformedResourceEntriesForDestroy, zn as macWriteOnlyKeys, zo as lambdaPermissionMatchesDeclared, zr as looselyEqual, zs as resolveDynamicReferences } from "./deploy-engine-DvPDae31.js";
|
|
10
10
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix, t as PARTITION_TABLE } from "./aws-partition-DA0r2sr-.js";
|
|
11
|
-
import { C as timePhase, D as parseFailureDebugDetail, S as renderPhaseTimings, T as describeJsonParseFailure, a as getCreateOnlyPropertyPaths, c as templateResourceTypes, g as withRetry, k as utf8ByteLength, s as prefetchCreateOnlyPropertyPaths, u as describeTypeWithThrottleRetry, v as PhaseClock } from "./secret-reference-immutable-
|
|
12
|
-
import { l as setResolvedResourceTimeouts } from "./ec2-termination-protection-
|
|
13
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
14
|
-
import { Ct as isReadableBag, Et as shouldRetainResource, Ot as stackInstanceIdCarriedFrom, St as importableOutputs, Tt as orphansCarriedFrom, _t as acceptedCreateOnlyDropsOf, bt as hasReadableExportSet, gt as slowCcOperationTimeoutMs, vt as describeRegionValueKind, wt as orphansAfterRollback, xt as importableOutputKeys, yt as exportNamesCarriedFrom } from "./delete-started-
|
|
15
|
-
import {
|
|
16
|
-
import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-
|
|
17
|
-
import { u as differingIdentityWarning } from "./identity-read-denied-
|
|
18
|
-
import { n as isRedactedRecordedValue } from "./redacted-delete-address-
|
|
19
|
-
import { a as withResourceDeadline } from "./resource-deadline-
|
|
20
|
-
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-
|
|
11
|
+
import { C as timePhase, D as parseFailureDebugDetail, S as renderPhaseTimings, T as describeJsonParseFailure, a as getCreateOnlyPropertyPaths, c as templateResourceTypes, g as withRetry, k as utf8ByteLength, s as prefetchCreateOnlyPropertyPaths, u as describeTypeWithThrottleRetry, v as PhaseClock } from "./secret-reference-immutable-BLsAuIkM.js";
|
|
12
|
+
import { l as setResolvedResourceTimeouts } from "./ec2-termination-protection-C19A5IH9.js";
|
|
13
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-DMq5H0Zm.js";
|
|
14
|
+
import { Ct as isReadableBag, Et as shouldRetainResource, Ot as stackInstanceIdCarriedFrom, St as importableOutputs, Tt as orphansCarriedFrom, _t as acceptedCreateOnlyDropsOf, bt as hasReadableExportSet, gt as slowCcOperationTimeoutMs, vt as describeRegionValueKind, wt as orphansAfterRollback, xt as importableOutputKeys, yt as exportNamesCarriedFrom } from "./delete-started-D9FEXTba.js";
|
|
15
|
+
import { Bn as recordNoEchoAttributeValues, Cn as splitGetAttStringForm, Ct as maskSecretsInError, E as noEchoOutputsComparison, F as valueAtCoordinate, Fn as provenPublicValue, Ft as scrubResourceRecord, Gn as WHOLE_DYNAMIC_REFERENCE_PATTERN, Hn as recordProvenPublicExpression, It as withPhysicalNameCopies, Kt as spelledKeysOf, L as liveMatchesUnresolvedTokenFrame, N as recordedNoEchoValuesOf, Rn as recordMaskOnlyValue, S as maskedLeafCoordinatesOf, T as noEchoLeavesOf, Un as wholeStringLeavesOf, Ut as dynamicReferenceTokens, Vn as recordNoEchoParameterFreshValue, Vt as DYNAMIC_REFERENCE_TOKEN_SCAN, Wt as keepTemplateLiteralLeaves, X as redactForState, Yt as identityKeyFor, _t as recordLogOnlyValue, b as maskReadbackAtCoordinates, bt as createSecretMasker, ct as createUnionSecretMasker, dt as literalSplitDelimitersOf, ft as logOnlyValueCount, g as canonicalCoordinates, gn as physicalNameCopiesOf, ht as recordLogOnlyParameterValue, in as inheritNestedStackParameterAssociations, j as readsNoEchoSource, mt as printingCorpusOf, ot as carryLogOnlyValues, qn as isSingleDynamicReferenceToken, qt as pathCrossesDottedKey, ut as hasMaskableValues, v as isMarkedCoordinate, vn as recordPhysicalNameCopy, vt as shareLogOnlyValues, w as noEchoCoordinatesOf, wn as carriesSecretMask, wt as maskSecretsInText, x as maskWholeValue, xt as errorCauseChain, y as maskAtCoordinates, yn as recordNestedStackParameterExpressions, yt as unionOfSecretBags, zn as recordMaskOnlyValuesIn, zt as isUncertifiedBaselineMaskPosition } from "./replacement-rules-BimJi0H1.js";
|
|
16
|
+
import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-CP2cxnnh.js";
|
|
17
|
+
import { u as differingIdentityWarning } from "./identity-read-denied-Cl8km1o3.js";
|
|
18
|
+
import { n as isRedactedRecordedValue } from "./redacted-delete-address-C1M-bYXm.js";
|
|
19
|
+
import { a as withResourceDeadline } from "./resource-deadline-Cj-4PzvY.js";
|
|
20
|
+
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-BW6V_9R5.js";
|
|
21
21
|
import { t as cdkdCacheHome } from "./cache-home-BVYKj3de.js";
|
|
22
22
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
23
23
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutBucketVersioningCommand, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -1595,7 +1595,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
1595
1595
|
// src/provisioning/register-providers.ts
|
|
1596
1596
|
let providerClasses;
|
|
1597
1597
|
function loadProviderClasses() {
|
|
1598
|
-
providerClasses ??= import("./provider-classes-
|
|
1598
|
+
providerClasses ??= import("./provider-classes-AI1PLFRf.js");
|
|
1599
1599
|
return providerClasses;
|
|
1600
1600
|
}
|
|
1601
1601
|
function registerAllProviders(registry, classes) {
|
|
@@ -5349,6 +5349,39 @@ function computeOutputsDiff(current, desired, exportNames, secretSourceKeys = /*
|
|
|
5349
5349
|
// src/cli/commands/diff-recursive/logger.ts
|
|
5350
5350
|
const logger = getLogger().child("DiffRecursive");
|
|
5351
5351
|
|
|
5352
|
+
// src/cli/commands/diff-recursive/preview-record-heals.ts
|
|
5353
|
+
function previewSsmNameHeal(state, template, stackName, mode) {
|
|
5354
|
+
const healed = healSlashedSsmParameterNames(state, template, stackName);
|
|
5355
|
+
if (healed.heals.length === 0) return state;
|
|
5356
|
+
for (const heal of healed.heals) if (mode === "apply") logger.info(slashedSsmNameHealNote(heal));
|
|
5357
|
+
else logger.info(slashedSsmNameHealPendingNote(heal, stackName));
|
|
5358
|
+
return mode === "apply" ? {
|
|
5359
|
+
...state,
|
|
5360
|
+
resources: healed.resources
|
|
5361
|
+
} : state;
|
|
5362
|
+
}
|
|
5363
|
+
function noteAdoptedSsmNameHeals(state, adoptedRecords, template, stackName) {
|
|
5364
|
+
if (Object.keys(adoptedRecords ?? {}).length === 0) return;
|
|
5365
|
+
const adopted = {
|
|
5366
|
+
...state,
|
|
5367
|
+
resources: adoptedRecords ?? {}
|
|
5368
|
+
};
|
|
5369
|
+
for (const heal of healSlashedSsmParameterNames(adopted, template, stackName).heals) logger.info(slashedSsmNameHealAdoptedNote(heal));
|
|
5370
|
+
}
|
|
5371
|
+
async function previewZonelessDbInstanceHeal(state, template, resolve, readLiveZone) {
|
|
5372
|
+
const resources = { ...state.resources };
|
|
5373
|
+
return (await healZonelessDbInstanceRecords({
|
|
5374
|
+
resources,
|
|
5375
|
+
template,
|
|
5376
|
+
resolve,
|
|
5377
|
+
readLiveZone,
|
|
5378
|
+
log: (line, level) => logger[level](line)
|
|
5379
|
+
})).length === 0 ? state : {
|
|
5380
|
+
...state,
|
|
5381
|
+
resources
|
|
5382
|
+
};
|
|
5383
|
+
}
|
|
5384
|
+
|
|
5352
5385
|
// src/cli/commands/diff-recursive/trust.ts
|
|
5353
5386
|
const STABLE_PSEUDO_PARAMETERS = /* @__PURE__ */ new Set([
|
|
5354
5387
|
"AWS::Region",
|
|
@@ -5957,18 +5990,8 @@ async function previewNoEchoMacChanges(args) {
|
|
|
5957
5990
|
|
|
5958
5991
|
// src/cli/commands/diff-recursive/compute-stack-diff.ts
|
|
5959
5992
|
async function computeStackDiff(loadedState, template, region, stackName, stateBackend, diffCalculator, options = {}) {
|
|
5960
|
-
const { parameters, canonicalizeProperties, ccRouteUnavailableReason, cfnFallback, producerLookup, consumerAccount, noEchoMacCache, macWriteOnlyLookups, inheritSecretBearingTemplate, inheritedSecrets, inheritedSecretTokens, inheritedDerivedNames, attributeHealer: unboundAttributeHealer, parentUnresolvedParameters, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, ssmNameHeal = "apply", crossStackPreview, recordCrossStackPreview } = options;
|
|
5961
|
-
const
|
|
5962
|
-
const healed = healSlashedSsmParameterNames(state, template, stackName);
|
|
5963
|
-
if (healed.heals.length === 0) return state;
|
|
5964
|
-
for (const heal of healed.heals) if (ssmNameHeal === "apply") logger.info(slashedSsmNameHealNote(heal));
|
|
5965
|
-
else logger.info(slashedSsmNameHealPendingNote(heal, stackName));
|
|
5966
|
-
return ssmNameHeal === "apply" ? {
|
|
5967
|
-
...state,
|
|
5968
|
-
resources: healed.resources
|
|
5969
|
-
} : state;
|
|
5970
|
-
};
|
|
5971
|
-
const currentState = healSsmNames(loadedState);
|
|
5993
|
+
const { parameters, canonicalizeProperties, ccRouteUnavailableReason, cfnFallback, producerLookup, consumerAccount, noEchoMacCache, macWriteOnlyLookups, inheritSecretBearingTemplate, inheritedSecrets, inheritedSecretTokens, inheritedDerivedNames, attributeHealer: unboundAttributeHealer, readLiveDbInstanceZone, parentUnresolvedParameters, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, ssmNameHeal = "apply", crossStackPreview, recordCrossStackPreview } = options;
|
|
5994
|
+
const currentState = previewSsmNameHeal(loadedState, template, stackName, ssmNameHeal);
|
|
5972
5995
|
let healResources = currentState.resources ?? {};
|
|
5973
5996
|
let healNamingSecrets;
|
|
5974
5997
|
const attributeHealer = unboundAttributeHealer && healerUnderRecordPrintingBag(unboundAttributeHealer, () => healResources, (map) => healNamingSecrets?.(map));
|
|
@@ -6082,14 +6105,8 @@ async function computeStackDiff(loadedState, template, region, stackName, stateB
|
|
|
6082
6105
|
}
|
|
6083
6106
|
});
|
|
6084
6107
|
const { adoptedOrphans, adoptedRecords, deployRefusals, unreadableOrphans } = orphanSplice;
|
|
6085
|
-
const
|
|
6086
|
-
|
|
6087
|
-
const adopted = {
|
|
6088
|
-
...currentState,
|
|
6089
|
-
resources: adoptedRecords
|
|
6090
|
-
};
|
|
6091
|
-
for (const heal of healSlashedSsmParameterNames(adopted, template, stackName).heals) logger.info(slashedSsmNameHealAdoptedNote(heal));
|
|
6092
|
-
}
|
|
6108
|
+
const stateForDiff = await previewZonelessDbInstanceHeal(orphanSplice.stateForDiff, effectiveTemplate, resolveFn, readLiveDbInstanceZone);
|
|
6109
|
+
noteAdoptedSsmNameHeals(currentState, adoptedRecords, template, stackName);
|
|
6093
6110
|
let { blocking } = orphanSplice;
|
|
6094
6111
|
let maskedInputs;
|
|
6095
6112
|
if (options.previewMaskedInputs === true) {
|
|
@@ -6132,6 +6149,7 @@ async function computeStackDiff(loadedState, template, region, stackName, stateB
|
|
|
6132
6149
|
...options.inheritedReferenceProvenance && { inherited: options.inheritedReferenceProvenance },
|
|
6133
6150
|
crossStackOutputs: crossStackOutputProvenanceSource(crossStackReads, crossStackReads, stateBackend)
|
|
6134
6151
|
}, options.forcedNestedChildRuns, options.updatePolicy === true);
|
|
6152
|
+
warnLegacySpelling(changes, effectiveTemplate, stackName, logger);
|
|
6135
6153
|
const childStackTags = await settleStackTagChildRuns({
|
|
6136
6154
|
changes,
|
|
6137
6155
|
template: effectiveTemplate,
|
|
@@ -6393,7 +6411,7 @@ function childRowRunsEngine(row) {
|
|
|
6393
6411
|
return row?.changeType === "UPDATE" && (row.propertyChanges?.length ?? 0) > 0;
|
|
6394
6412
|
}
|
|
6395
6413
|
async function buildDiffTree(args) {
|
|
6396
|
-
const { stackName, displayName, region, template: synthTemplate, nestedTemplates, recursive, stateBackend, diffCalculator, parentHasSecretReference, parameters, parentUnresolvedParameters, canonicalizeProperties, ccRouteUnavailableReason, assetRedirect, cfnFallback, updatePolicy, createRouteOf, producerLookup, crossStackPreview, consumerAccount, previewOrphanAdoption, attributeHealerFor, ancestorTemplatePaths, isNestedChild, ssmNameHeal, inheritedSecrets, inheritedDerivedNames, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, refusalRecovery, inheritedReferenceProvenance, inheritedSecretTokens, stackTags } = args;
|
|
6414
|
+
const { stackName, displayName, region, template: synthTemplate, nestedTemplates, recursive, stateBackend, diffCalculator, parentHasSecretReference, parameters, parentUnresolvedParameters, canonicalizeProperties, ccRouteUnavailableReason, assetRedirect, cfnFallback, updatePolicy, createRouteOf, producerLookup, crossStackPreview, consumerAccount, previewOrphanAdoption, attributeHealerFor, liveDbInstanceZoneReaderFor, ancestorTemplatePaths, isNestedChild, ssmNameHeal, inheritedSecrets, inheritedDerivedNames, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, refusalRecovery, inheritedReferenceProvenance, inheritedSecretTokens, stackTags } = args;
|
|
6397
6415
|
const unboundHealer = attributeHealerFor?.(stackName, region);
|
|
6398
6416
|
const stackTagged = applyStackTagsToTemplate(synthTemplate, stackTags, (line) => logger.warn(line));
|
|
6399
6417
|
const { state, unreadable, unreadableContainers, deployRefusals, found } = await loadStateOrEmpty(stackName, region, stateBackend, refusalRecovery);
|
|
@@ -6435,6 +6453,7 @@ async function buildDiffTree(args) {
|
|
|
6435
6453
|
...inheritedReferenceProvenance && { inheritedReferenceProvenance },
|
|
6436
6454
|
...inheritedSecretTokens && { inheritedSecretTokens },
|
|
6437
6455
|
...attributeHealer && { attributeHealer },
|
|
6456
|
+
...liveDbInstanceZoneReaderFor && { readLiveDbInstanceZone: liveDbInstanceZoneReaderFor(region) },
|
|
6438
6457
|
...refusalRecovery && { refusalRecovery },
|
|
6439
6458
|
inheritSecretBearingTemplate: false,
|
|
6440
6459
|
previewMaskedInputs: !isNestedChild,
|
|
@@ -6537,6 +6556,7 @@ async function buildDiffTree(args) {
|
|
|
6537
6556
|
...crossStackPreview && { crossStackPreview },
|
|
6538
6557
|
...previewOrphanAdoption && { previewOrphanAdoption },
|
|
6539
6558
|
...attributeHealerFor && { attributeHealerFor },
|
|
6559
|
+
...liveDbInstanceZoneReaderFor && { liveDbInstanceZoneReaderFor },
|
|
6540
6560
|
ancestorTemplatePaths: childAncestorTemplatePaths,
|
|
6541
6561
|
isNestedChild: true,
|
|
6542
6562
|
ssmNameHeal: ssmNameHeal !== "pending" && childRowRunsEngine(changes.get(logicalId)) ? "apply" : "pending",
|
|
@@ -7060,6 +7080,7 @@ async function diffCommand(stacks, options) {
|
|
|
7060
7080
|
}).provider,
|
|
7061
7081
|
inRegion: (healRegion, fn) => runWithStackAwsClients(stackRegionScope(healRegion).clients, fn)
|
|
7062
7082
|
});
|
|
7083
|
+
const liveDbInstanceZoneReaderFor = (zoneRegion) => (identifier) => runWithStackAwsClients(stackRegionScope(zoneRegion).clients, () => readDbInstanceAvailabilityZone(identifier, zoneRegion));
|
|
7063
7084
|
const recursive = (options.recursive ?? false) || failOn === "destructive" || failOn === "broadening" || securityOnly;
|
|
7064
7085
|
const assetModeOptions = {
|
|
7065
7086
|
stateBackend,
|
|
@@ -7114,6 +7135,7 @@ async function diffCommand(stacks, options) {
|
|
|
7114
7135
|
...stackInfo.account && { consumerAccount: stackInfo.account },
|
|
7115
7136
|
previewOrphanAdoption,
|
|
7116
7137
|
attributeHealerFor,
|
|
7138
|
+
liveDbInstanceZoneReaderFor,
|
|
7117
7139
|
isNestedChild: false,
|
|
7118
7140
|
refusalRecovery
|
|
7119
7141
|
}));
|
|
@@ -9099,7 +9121,8 @@ async function scrubStackRewritePass({ stack, region, stateBackend, opts, logger
|
|
|
9099
9121
|
properties: "unproven",
|
|
9100
9122
|
observed: "unproven"
|
|
9101
9123
|
});
|
|
9102
|
-
const
|
|
9124
|
+
const rewritten = keepHeldTokenProvenance(applyScrubNoEcho(migrated, record, plan));
|
|
9125
|
+
const written = JSON.stringify(rewritten) === JSON.stringify(record) ? rewritten : withoutLapsedStaleShapeStamp(rewritten);
|
|
9103
9126
|
if (JSON.stringify(written) !== JSON.stringify(record)) recordsChanged++;
|
|
9104
9127
|
newResources[logicalId] = written;
|
|
9105
9128
|
}
|
|
@@ -9116,7 +9139,7 @@ async function scrubStackRewritePass({ stack, region, stateBackend, opts, logger
|
|
|
9116
9139
|
recordsChanged++;
|
|
9117
9140
|
return {
|
|
9118
9141
|
...record,
|
|
9119
|
-
state: scrubbed
|
|
9142
|
+
state: withoutLapsedStaleShapeStamp(scrubbed)
|
|
9120
9143
|
};
|
|
9121
9144
|
});
|
|
9122
9145
|
const newSuperseded = Array.isArray(state.supersededResources) ? state.supersededResources.map((entry) => {
|
|
@@ -9131,7 +9154,7 @@ async function scrubStackRewritePass({ stack, region, stateBackend, opts, logger
|
|
|
9131
9154
|
recordsChanged++;
|
|
9132
9155
|
return {
|
|
9133
9156
|
...entry,
|
|
9134
|
-
state: scrubbed
|
|
9157
|
+
state: withoutLapsedStaleShapeStamp(scrubbed)
|
|
9135
9158
|
};
|
|
9136
9159
|
}) : void 0;
|
|
9137
9160
|
const crossStackNeedles = allRecordedSecrets(outputSecrets, perResourceSecrets, orphanSecrets);
|
|
@@ -13972,6 +13995,100 @@ function refuseCcGroupRevertChangingRules(logicalId, groupId, resourceType, prop
|
|
|
13972
13995
|
throw new ResourceUpdateNotSupportedError(resourceType, logicalId, `its ${changed.join(" and ")} would change, and a security group provisioned through Cloud Control replaces the whole list, which would drop the rules this stack's standalone rule resources own. Nothing was changed; revert it by redeploying the stack`);
|
|
13973
13996
|
}
|
|
13974
13997
|
|
|
13998
|
+
// src/cli/commands/drift/revert-verify.ts
|
|
13999
|
+
function sentDiffPaths(sent, live, paths, provider, resourceType, recordedProperties) {
|
|
14000
|
+
const keys = new Set(paths.map((p) => p.split(".", 1)[0] ?? ""));
|
|
14001
|
+
const sentTargets = {};
|
|
14002
|
+
for (const key of keys) defineOwnKey(sentTargets, key, Object.prototype.hasOwnProperty.call(sent, key) ? sent[key] : void 0);
|
|
14003
|
+
const protocols = canonicalizeIpProtocols(sentTargets, live, resourceType);
|
|
14004
|
+
const canonical = provider.canonicalizeDriftProperties ? {
|
|
14005
|
+
baseline: provider.canonicalizeDriftProperties(resourceType, protocols.baseline),
|
|
14006
|
+
aws: provider.canonicalizeDriftProperties(resourceType, protocols.aws)
|
|
14007
|
+
} : protocols;
|
|
14008
|
+
return calculateResourceDrift(canonical.baseline, canonical.aws, {
|
|
14009
|
+
ignorePaths: provider.getDriftUnknownPaths?.(resourceType, recordedProperties) ?? [],
|
|
14010
|
+
unionWalkObjects: true,
|
|
14011
|
+
unorderedPaths: provider.getDriftUnorderedPaths?.(resourceType) ?? [],
|
|
14012
|
+
unionWalkPaths: verbatimEchoDriftKeys(resourceType),
|
|
14013
|
+
resourceType
|
|
14014
|
+
}).map((change) => change.path).filter((path) => paths.some((target) => overlaps(path, target)));
|
|
14015
|
+
}
|
|
14016
|
+
const REVERT_VERIFY_RETRY_DELAYS_MS = [5e3, 8e3];
|
|
14017
|
+
function overlaps(path, target) {
|
|
14018
|
+
return path === target || path.startsWith(`${target}.`) || target.startsWith(`${path}.`);
|
|
14019
|
+
}
|
|
14020
|
+
function unverifiableReason(outcome) {
|
|
14021
|
+
if (outcome === void 0) return "the re-read did not report it";
|
|
14022
|
+
return matchOutcome(outcome, {
|
|
14023
|
+
drifted: () => void 0,
|
|
14024
|
+
clean: () => void 0,
|
|
14025
|
+
notCompared: (o) => `the re-read could not compare it (${o.notComparedCause})`,
|
|
14026
|
+
unsupported: () => "no provider could read it back",
|
|
14027
|
+
skipped: () => "the re-read skipped it",
|
|
14028
|
+
deleted: () => "AWS reports it deleted"
|
|
14029
|
+
});
|
|
14030
|
+
}
|
|
14031
|
+
async function verifyRevertedStack(stackName, region, reverted, redetect, logger, delays = REVERT_VERIFY_RETRY_DELAYS_MS, sleep = (ms) => new Promise((r) => setTimeout(r, ms))) {
|
|
14032
|
+
let pending = [...reverted];
|
|
14033
|
+
let stillDiffering = /* @__PURE__ */ new Map();
|
|
14034
|
+
let unverified = 0;
|
|
14035
|
+
for (let attempt = 0; attempt <= delays.length && pending.length > 0; attempt++) {
|
|
14036
|
+
if (attempt > 0) await sleep(delays[attempt - 1]);
|
|
14037
|
+
const level = logger.getLevel();
|
|
14038
|
+
if (level !== "debug") logger.setLevel("error");
|
|
14039
|
+
let fresh;
|
|
14040
|
+
let failure;
|
|
14041
|
+
try {
|
|
14042
|
+
fresh = await redetect(stackName, region);
|
|
14043
|
+
} catch (err) {
|
|
14044
|
+
failure = err;
|
|
14045
|
+
} finally {
|
|
14046
|
+
logger.setLevel(level);
|
|
14047
|
+
}
|
|
14048
|
+
if (fresh === void 0) {
|
|
14049
|
+
for (const r of pending) logger.warn(safeMsg` ? ${stackName}/${r.logicalId} (${r.resourceType}): reverted, but cdkd could not verify it: the re-read failed (${describeAwsFailure(failure).detail}).`);
|
|
14050
|
+
return {
|
|
14051
|
+
notApplied: 0,
|
|
14052
|
+
unverified: unverified + pending.length
|
|
14053
|
+
};
|
|
14054
|
+
}
|
|
14055
|
+
const byId = new Map(fresh.outcomes.map((o) => [o.logicalId, o]));
|
|
14056
|
+
const next = [];
|
|
14057
|
+
stillDiffering = /* @__PURE__ */ new Map();
|
|
14058
|
+
for (const r of pending) {
|
|
14059
|
+
const outcome = byId.get(r.logicalId);
|
|
14060
|
+
const reason = unverifiableReason(outcome);
|
|
14061
|
+
if (reason !== void 0) {
|
|
14062
|
+
unverified++;
|
|
14063
|
+
logger.warn(safeMsg` ? ${stackName}/${r.logicalId} (${r.resourceType}): reverted, but cdkd could not verify it: ${reason}.`);
|
|
14064
|
+
continue;
|
|
14065
|
+
}
|
|
14066
|
+
if (outcome?.kind !== "drifted") continue;
|
|
14067
|
+
let notAsSent;
|
|
14068
|
+
try {
|
|
14069
|
+
notAsSent = r.differsFromSent(outcome.awsProperties);
|
|
14070
|
+
} catch {
|
|
14071
|
+
unverified++;
|
|
14072
|
+
logger.warn(safeMsg` ? ${stackName}/${r.logicalId} (${r.resourceType}): reverted, but cdkd could not verify it: comparing the re-read with the value sent failed.`);
|
|
14073
|
+
continue;
|
|
14074
|
+
}
|
|
14075
|
+
const differing = outcome.changes.map((c) => c.path).filter((p) => r.paths.some((target) => overlaps(p, target))).filter((p) => notAsSent.some((q) => overlaps(p, q)));
|
|
14076
|
+
if (differing.length === 0) continue;
|
|
14077
|
+
next.push(r);
|
|
14078
|
+
stillDiffering.set(r, differing.map((p) => reportPath(displayDriftPath(outcome, p))));
|
|
14079
|
+
}
|
|
14080
|
+
pending = next;
|
|
14081
|
+
}
|
|
14082
|
+
for (const r of pending) {
|
|
14083
|
+
const paths = (stillDiffering.get(r) ?? []).join(", ");
|
|
14084
|
+
logger.error(safeMsg` ✗ ${stackName}/${r.logicalId} (${r.resourceType}): not applied by AWS — AWS accepted the update without applying the reverted value; a re-read still differs from cdkd state at ${paths}.`);
|
|
14085
|
+
}
|
|
14086
|
+
return {
|
|
14087
|
+
notApplied: pending.length,
|
|
14088
|
+
unverified
|
|
14089
|
+
};
|
|
14090
|
+
}
|
|
14091
|
+
|
|
13975
14092
|
// src/cli/commands/drift/revert-apply.ts
|
|
13976
14093
|
function applyRevertUpdate(args) {
|
|
13977
14094
|
return withStackRecords(revertStackRecordsView(args.report.state.resources), () => applyRevertUpdateInScope(args));
|
|
@@ -14027,10 +14144,12 @@ async function applyRevertUpdateInScope(args) {
|
|
|
14027
14144
|
const revertPartial = updatePartialReason(updateResult);
|
|
14028
14145
|
if (revertPartial !== void 0) logger.warn(` ✓ ${report.stackName}/${outcome.logicalId} (${outcome.resourceType}): reverted, ${maskSecretsInText(updatePartialMessage(revertPartial), secrets)}`);
|
|
14029
14146
|
else logger.info(` ✓ ${report.stackName}/${outcome.logicalId} (${outcome.resourceType}): reverted.`);
|
|
14147
|
+
let narrowedKeys = [];
|
|
14030
14148
|
try {
|
|
14031
14149
|
if (updateResult?.effectiveProperties) {
|
|
14032
14150
|
const delta = collectNarrowedTopLevelKeys(newProperties, updateResult.effectiveProperties);
|
|
14033
|
-
|
|
14151
|
+
narrowedKeys = Object.keys(delta);
|
|
14152
|
+
if (narrowedKeys.length > 0) narrowedByLogicalId.set(outcome.logicalId, keepBaselineAtUncertifiedPaths(redactForState(delta, {
|
|
14034
14153
|
provenance: stateResource.observedProperties !== void 0 ? "state-baseline" : "state-readback",
|
|
14035
14154
|
secrets,
|
|
14036
14155
|
source: revertBaseline
|
|
@@ -14039,6 +14158,15 @@ async function applyRevertUpdateInScope(args) {
|
|
|
14039
14158
|
} catch (captureErr) {
|
|
14040
14159
|
logger.warn(` ${report.stackName}/${outcome.logicalId} (${outcome.resourceType}): reverted, but the provider's reported effective properties could not be read — ${maskSecretsInText(describeAwsFailure(captureErr).detail, secrets)}`);
|
|
14041
14160
|
}
|
|
14161
|
+
const verifiedPaths = outcome.changes.map((change) => change.path).filter((path) => !narrowedKeys.includes(path.split(".", 1)[0] ?? ""));
|
|
14162
|
+
tally.reverted.push({
|
|
14163
|
+
stackName: report.stackName,
|
|
14164
|
+
region: report.region,
|
|
14165
|
+
logicalId: outcome.logicalId,
|
|
14166
|
+
resourceType: outcome.resourceType,
|
|
14167
|
+
paths: verifiedPaths,
|
|
14168
|
+
differsFromSent: (live) => sentDiffPaths(newProperties, live, verifiedPaths, provider, outcome.resourceType, stateResource.properties ?? {})
|
|
14169
|
+
});
|
|
14042
14170
|
recordReturnedIdentity(args, updateResult, "reverted");
|
|
14043
14171
|
} catch (err) {
|
|
14044
14172
|
if (err instanceof ResourceUpdateNotSupportedError) {
|
|
@@ -14202,7 +14330,7 @@ async function revertDriftedOutcome(args) {
|
|
|
14202
14330
|
}
|
|
14203
14331
|
|
|
14204
14332
|
// src/cli/commands/drift/revert.ts
|
|
14205
|
-
async function runRevert(reports, regionScope, stateBackend, stateConfig, awsClients, options) {
|
|
14333
|
+
async function runRevert(reports, regionScope, stateBackend, stateConfig, awsClients, options, redetect) {
|
|
14206
14334
|
const logger = getLogger();
|
|
14207
14335
|
const out = humanTextSink(options.json);
|
|
14208
14336
|
const lockRecovery = {
|
|
@@ -14255,7 +14383,8 @@ async function runRevert(reports, regionScope, stateBackend, stateConfig, awsCli
|
|
|
14255
14383
|
totalFailed: 0,
|
|
14256
14384
|
totalUnsupported: 0,
|
|
14257
14385
|
totalSucceeded: 0,
|
|
14258
|
-
totalUnresolvable: 0
|
|
14386
|
+
totalUnresolvable: 0,
|
|
14387
|
+
reverted: []
|
|
14259
14388
|
};
|
|
14260
14389
|
const writeAheadFailedStacks = [];
|
|
14261
14390
|
for (const report of reports) {
|
|
@@ -14395,16 +14524,29 @@ async function runRevert(reports, regionScope, stateBackend, stateConfig, awsCli
|
|
|
14395
14524
|
}
|
|
14396
14525
|
});
|
|
14397
14526
|
}
|
|
14527
|
+
let totalNotApplied = 0;
|
|
14528
|
+
let totalUnverified = 0;
|
|
14529
|
+
for (const report of reports) {
|
|
14530
|
+
const reverted = tally.reverted.filter((r) => r.stackName === report.stackName && r.region === report.region);
|
|
14531
|
+
if (reverted.length === 0) continue;
|
|
14532
|
+
const verified = await verifyRevertedStack(report.stackName, report.region, reverted, redetect, logger);
|
|
14533
|
+
totalNotApplied += verified.notApplied;
|
|
14534
|
+
totalUnverified += verified.unverified;
|
|
14535
|
+
}
|
|
14398
14536
|
const { totalFailed, totalUnsupported, totalSucceeded, totalUnresolvable } = tally;
|
|
14399
14537
|
const summaryParts = [`${totalSucceeded} reverted`];
|
|
14538
|
+
if (totalNotApplied > 0) summaryParts.push(`${totalNotApplied} not applied by AWS`);
|
|
14539
|
+
if (totalUnverified > 0) summaryParts.push(`${totalUnverified} not verified`);
|
|
14400
14540
|
if (totalUnsupported > 0) summaryParts.push(`${totalUnsupported} update-not-supported`);
|
|
14401
14541
|
if (totalUnresolvable > 0) summaryParts.push(`${totalUnresolvable} reference-unresolvable`);
|
|
14402
14542
|
if (totalFailed > 0) summaryParts.push(`${totalFailed} failed`);
|
|
14403
14543
|
if (writeAheadFailedStacks.length > 0) summaryParts.push(`${writeAheadFailedStacks.length} stack(s) not reverted`);
|
|
14404
14544
|
logger.info(`\nRevert summary: ${summaryParts.join(", ")}.`);
|
|
14405
|
-
|
|
14545
|
+
const notAppliedSentence = totalNotApplied > 0 ? `${totalNotApplied} reverted resource(s) were not applied by AWS: the update was accepted, but a re-read still shows the drift on the paths named above. Re-running --revert sends the same update; this is usually a cdkd provider sending a value the service ignores, so please report it.` : "";
|
|
14546
|
+
if (writeAheadFailedStacks.length > 0) throw new PartialFailureError(`Nothing was reverted for ${writeAheadFailedStacks.join(", ")}: cdkd could not save state before sending secret values, so no AWS update ran there (the cause is logged above). Re-run ${pasteableCommand("cdkd drift", [{ hole: "stacks..." }, { literal: "--revert" }]).command} once state writes succeed.` + (totalFailed + totalUnsupported + totalUnresolvable > 0 ? ` Other stacks also reported ${totalFailed + totalUnsupported + totalUnresolvable} resource error(s) above.` : "") + (notAppliedSentence ? ` ${notAppliedSentence}` : ""));
|
|
14406
14547
|
if (totalUnsupported > 0) logger.warn(`${totalUnsupported} resource(s) cannot be reverted in place — re-deploy the stack with ${deployReplaceCommand()}, or destroy + redeploy to push the cdkd-state values back into AWS.`);
|
|
14407
|
-
if (totalFailed > 0 || totalUnsupported > 0 || totalUnresolvable > 0) throw new PartialFailureError(`Revert completed with ${totalFailed + totalUnsupported + totalUnresolvable} resource error(s) (${totalFailed} AWS update failure(s), ${totalUnsupported} update-not-supported, ${totalUnresolvable} refused or unresolvable — those never reached provider.update; each per-resource message above names its cause and remedy, e.g. missing secretsmanager:GetSecretValue / ssm:GetParameter grants for an unresolvable reference). Re-run ${pasteableCommand("cdkd drift", [{ hole: "stacks..." }]).command} to see the remaining drift, then ${pasteableCommand("cdkd drift", [{ hole: "stacks..." }, { literal: "--revert" }]).command} to retry.`);
|
|
14548
|
+
if (totalFailed > 0 || totalUnsupported > 0 || totalUnresolvable > 0) throw new PartialFailureError(`Revert completed with ${totalFailed + totalUnsupported + totalUnresolvable} resource error(s) (${totalFailed} AWS update failure(s), ${totalUnsupported} update-not-supported, ${totalUnresolvable} refused or unresolvable — those never reached provider.update; each per-resource message above names its cause and remedy, e.g. missing secretsmanager:GetSecretValue / ssm:GetParameter grants for an unresolvable reference). Re-run ${pasteableCommand("cdkd drift", [{ hole: "stacks..." }]).command} to see the remaining drift, then ${pasteableCommand("cdkd drift", [{ hole: "stacks..." }, { literal: "--revert" }]).command} to retry.` + (notAppliedSentence ? ` ${notAppliedSentence}` : ""));
|
|
14549
|
+
if (totalNotApplied > 0) throw new PartialFailureError(`${notAppliedSentence} Re-run ${pasteableCommand("cdkd drift", [{ hole: "stacks..." }]).command} to see what still differs.`);
|
|
14408
14550
|
}
|
|
14409
14551
|
|
|
14410
14552
|
// src/cli/commands/drift/command.ts
|
|
@@ -14538,7 +14680,10 @@ async function driftCommand(stacks, options) {
|
|
|
14538
14680
|
let outcome;
|
|
14539
14681
|
if (options.accept) outcome = await runAccept(reports, stackRegionScope, stateBackend, stateConfig, awsClients, options);
|
|
14540
14682
|
else try {
|
|
14541
|
-
outcome = await runRevert(reports, stackRegionScope, stateBackend, stateConfig, awsClients, options)
|
|
14683
|
+
outcome = await runRevert(reports, stackRegionScope, stateBackend, stateConfig, awsClients, options, (stackName, stackRegion) => {
|
|
14684
|
+
const scope = stackRegionScope(stackRegion);
|
|
14685
|
+
return runWithStackAwsClients(scope.clients, () => runDriftForStack(stackName, stackRegion, stateBackend, scope.registry, scope.ccApiFallback, resolvePrincipalUniqueId, "refuse", nestedChildRecord, refusalRecovery));
|
|
14686
|
+
});
|
|
14542
14687
|
} catch (err) {
|
|
14543
14688
|
if (anyRefusedDeleted && err instanceof PartialFailureError) throw new PartialFailureError(`${err.message} ${deletedRefusalError(refusedDeleted, mode).message}`, err);
|
|
14544
14689
|
throw err;
|
|
@@ -26314,6 +26459,7 @@ async function refactorCommand(stacks, options) {
|
|
|
26314
26459
|
...stackInfo.account && { consumerAccount: stackInfo.account },
|
|
26315
26460
|
noEchoMacCache,
|
|
26316
26461
|
macWriteOnlyLookups,
|
|
26462
|
+
readLiveDbInstanceZone: (id) => readDbInstanceAvailabilityZone(id, stackRegion),
|
|
26317
26463
|
refusalRecovery: recovery,
|
|
26318
26464
|
inheritSecretBearingTemplate: false,
|
|
26319
26465
|
previewMaskedInputs: true,
|
|
@@ -37619,4 +37765,4 @@ function collectVerbFlags(program) {
|
|
|
37619
37765
|
}
|
|
37620
37766
|
|
|
37621
37767
|
export { effectiveInventoryItem as $, withRecordedCidrSpelling as A, LIFECYCLE_DEFAULT_STATUS as B, securityGroupReadbackDelays as C, stackIngressRuleHolder as D, singleSecurityGroupRuleId as E, clearLifecycleWritesOf as F, canonicalizeItemList as G, LIFECYCLE_RULE_PATH as H, lifecycleSettleTarget as I, lifecycleUsesFilterForm as J, effectiveLifecycleConfiguration as K, recordLifecycleWrite as L, sgRemovalRuleKey as M, sgRuleListMember as N, survivingRecordOfRuleId as O, LIFECYCLE_BASELINE_REREAD_DELAYS_MS as P, effectiveIntelligentTieringItem as Q, settleLifecycleRead as R, reconcileSgRules as S, sgRuleKey as T, LIFECYCLE_TAG_FILTERS_PATH as U, LIFECYCLE_FILTER_PATH as V, canonicalizeBlock as W, EVENTBRIDGE_CONFIG_PATH as X, parseCfnTimestamp as Y, effectiveAnalyticsItem as Z, ingressRuleIdentity as _, refuseRevertRevokingSiblingRules as a, declaresBucketObjectLock as at, isResendableSocketFailure as b, buildProgram, siblingIdOwnedSgRules as c, isPlainObject as ct, authorizeDefinitelyNotApplied as d, shownLifecycleRuleId as dt, effectiveNotificationConfiguration as et, canonicalizeSgInlineRuleProtocols as f, flattenIpPermissions as g, descriptionKey as h, resolveSecretDerivedPrincipals as i, configItemId as it, markCopiesAgreed as j, tagListsMatch as k, SG_READBACK_RETRY_DELAY_MS as l, manualBucketDeletionClause as lt, comparableIngressIdentity as m, holdsUnprovenSecretPrincipalToken as n, caughtErrorName as nt, sgRuleDiffKey as o, declaresNestedObjectLock as ot, canonicalizeSgRuleProtocol as p, lifecycleRuleScope as q, isResolvableSecretPrincipalList as r, coerceCfnNumber as rt, readSgIngressById as s, describeValue as st, runDestroyForStack as t, eventBridgeEnabledOf as tt, SG_RULE_PAGE_SIZE$1 as u, mergeLegacySingular as ut, isConnectTimeout as v, securityGroupRuleMatchesCfnIngress as w, narrowIngressIpProtocol as x, isDefaultEgressRule as y, takeLifecycleWrite as z };
|
|
37622
|
-
//# sourceMappingURL=program-
|
|
37768
|
+
//# sourceMappingURL=program-bUaiwzJ2.js.map
|