@cdkd/cli 0.370.5 → 0.370.7
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-_gbXecg4.js → ambient-client-defaults-DqS6NWx5.js} +3 -3
- package/dist/{ambient-client-defaults-_gbXecg4.js.map → ambient-client-defaults-DqS6NWx5.js.map} +1 -1
- package/dist/{asg-provider-CjeG96E1.js → asg-provider-BMQeGpmF.js} +8 -8
- package/dist/{asg-provider-CjeG96E1.js.map → asg-provider-BMQeGpmF.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{created-resource-sink-C7boxhUv.js → created-resource-sink-DGvRiBLW.js} +4 -4
- package/dist/{created-resource-sink-C7boxhUv.js.map → created-resource-sink-DGvRiBLW.js.map} +1 -1
- package/dist/{custom-resource-runtime-cBX5VM9j.js → custom-resource-runtime-BJFVnN9S.js} +6 -6
- package/dist/{custom-resource-runtime-cBX5VM9j.js.map → custom-resource-runtime-BJFVnN9S.js.map} +1 -1
- package/dist/{db-associated-roles-cX92h3D3.js → db-associated-roles-ConAeY8g.js} +2 -2
- package/dist/{db-associated-roles-cX92h3D3.js.map → db-associated-roles-ConAeY8g.js.map} +1 -1
- package/dist/{delete-started-CiNcThIH.js → delete-started-Dya9H_gI.js} +4 -4
- package/dist/{delete-started-CiNcThIH.js.map → delete-started-Dya9H_gI.js.map} +1 -1
- package/dist/{deploy-engine-KvFzqr5K.js → deploy-engine-CpeBWcxG.js} +433 -66
- package/dist/deploy-engine-CpeBWcxG.js.map +1 -0
- package/dist/{ec2-termination-protection-b1731I7q.js → ec2-termination-protection-CVTp4mlC.js} +3 -3
- package/dist/{ec2-termination-protection-b1731I7q.js.map → ec2-termination-protection-CVTp4mlC.js.map} +1 -1
- package/dist/{ecr-uri-DUZFbM_U.js → ecr-uri-DwYinaAB.js} +2 -2
- package/dist/{ecr-uri-DUZFbM_U.js.map → ecr-uri-DwYinaAB.js.map} +1 -1
- package/dist/{emr-cluster-provider-CUcdSnHU.js → emr-cluster-provider-CR_OFsGZ.js} +10 -10
- package/dist/{emr-cluster-provider-CUcdSnHU.js.map → emr-cluster-provider-CR_OFsGZ.js.map} +1 -1
- package/dist/{expected-bucket-owner-BoaNqixA.js → expected-bucket-owner-BhnjZsLt.js} +2 -2
- package/dist/{expected-bucket-owner-BoaNqixA.js.map → expected-bucket-owner-BhnjZsLt.js.map} +1 -1
- package/dist/{iam-role-provider-TMidCxAo.js → iam-role-provider-CKIdrdu5.js} +12 -12
- package/dist/{iam-role-provider-TMidCxAo.js.map → iam-role-provider-CKIdrdu5.js.map} +1 -1
- package/dist/{identity-read-denied-BiQ1PmTI.js → identity-read-denied-V23l4pKK.js} +5 -5
- package/dist/{identity-read-denied-BiQ1PmTI.js.map → identity-read-denied-V23l4pKK.js.map} +1 -1
- package/dist/{image-plan-CiCgw-_z.js → image-plan-D62M_M30.js} +8 -8
- package/dist/{image-plan-CiCgw-_z.js.map → image-plan-D62M_M30.js.map} +1 -1
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-Cjqxcxk-.js → logger-CSLdt93b.js} +2 -2
- package/dist/{logger-Cjqxcxk-.js.map → logger-CSLdt93b.js.map} +1 -1
- package/dist/{neptune-provider-CgQ0L8DK.js → neptune-provider-BCXKNNXR.js} +9 -9
- package/dist/{neptune-provider-CgQ0L8DK.js.map → neptune-provider-BCXKNNXR.js.map} +1 -1
- package/dist/{program-NrkL-6ty.js → program-Lw5gWY1A.js} +176 -43
- package/dist/program-Lw5gWY1A.js.map +1 -0
- package/dist/{provider-classes-qAFZUcm_.js → provider-classes-DOrSeS2t.js} +295 -168
- package/dist/{provider-classes-qAFZUcm_.js.map → provider-classes-DOrSeS2t.js.map} +1 -1
- package/dist/{rds-provider-D6DGl9MF.js → rds-provider-CCpEJkcN.js} +13 -13
- package/dist/{rds-provider-D6DGl9MF.js.map → rds-provider-CCpEJkcN.js.map} +1 -1
- package/dist/{read-replica-BOG51Xwi.js → read-replica-Dkepeh8a.js} +3 -3
- package/dist/{read-replica-BOG51Xwi.js.map → read-replica-Dkepeh8a.js.map} +1 -1
- package/dist/{redacted-delete-address-CkhP6PGm.js → redacted-delete-address-BPwMWIOq.js} +4 -4
- package/dist/{redacted-delete-address-CkhP6PGm.js.map → redacted-delete-address-BPwMWIOq.js.map} +1 -1
- package/dist/{replacement-rules-C133K0Bf.js → replacement-rules-aKrUHcS2.js} +3 -3
- package/dist/{replacement-rules-C133K0Bf.js.map → replacement-rules-aKrUHcS2.js.map} +1 -1
- package/dist/{resource-deadline-DmY8KRLF.js → resource-deadline-DjIkTygT.js} +2 -2
- package/dist/{resource-deadline-DmY8KRLF.js.map → resource-deadline-DjIkTygT.js.map} +1 -1
- package/dist/{restore-source-guard-gJLarbaA.js → restore-source-guard-Bprs9w8d.js} +4 -4
- package/dist/{restore-source-guard-gJLarbaA.js.map → restore-source-guard-Bprs9w8d.js.map} +1 -1
- package/dist/{run-cli-BHRNcfiS.js → run-cli-BfDyKYOs.js} +2 -2
- package/dist/{run-cli-BHRNcfiS.js.map → run-cli-BfDyKYOs.js.map} +1 -1
- package/dist/{secret-reference-immutable-DBrHYI3L.js → secret-reference-immutable-DK77ST9u.js} +6 -6
- package/dist/{secret-reference-immutable-DBrHYI3L.js.map → secret-reference-immutable-DK77ST9u.js.map} +1 -1
- package/dist/{settle-own-write-members-D9k3sUDy.js → settle-own-write-members-DgrfaXCf.js} +13 -13
- package/dist/{settle-own-write-members-D9k3sUDy.js.map → settle-own-write-members-DgrfaXCf.js.map} +1 -1
- package/dist/{tag-list-KIeuaiQn.js → tag-list-B4_wJ9vt.js} +4 -4
- package/dist/{tag-list-KIeuaiQn.js.map → tag-list-B4_wJ9vt.js.map} +1 -1
- package/dist/{version-CdTuXY-x.js → version-3YWtwAiy.js} +2 -2
- package/dist/{version-CdTuXY-x.js.map → version-3YWtwAiy.js.map} +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-KvFzqr5K.js.map +0 -1
- package/dist/program-NrkL-6ty.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-3YWtwAiy.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-D62M_M30.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-DGvRiBLW.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-CSLdt93b.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-DqS6NWx5.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 secretNamedRecordNeedles, $c as secretSegmentsOfState, $d as hasPlainPrototype, $i as reachableDivergentParameters, $l as malformedExportNamesWarning, $n as getCurrentNestedStackContext, $o as customResourceResponseExpirationWarning, $u as crossPrefixDeniedWarning, A as diffSecurity, Aa as resolveReplacementOldType, Ac as withSharedDrainBudget, Ad as rewriteTemplateAssetReferences, Ai as planFailedOps, Al as refuseMalformedResourceEntries, An as removeSignalReceiverNamed, Ao as declaredMemberDocument, Ar as changedReferenceReason, As as stackIdTailOf, Ba as noEchoComparisonForTemplate, Bd as buildDenyExternalAccessPolicy, Bi as removeProtectionTypes, Bn as pendingRequestCount, Br as stripSiblingOwnedParentMembers, Bs as isIamRoleArn, C as slashedSsmNameHealNote, Ca as supersededDependentsFirst, Cc as withoutVersionAttestation, Cd as createLazyAssetModeContext, Ci as withCreateTokenLedger, Cl as unreadableOrphanRecords, Cn as refactorMarkerMovesOf, Co as revertStackRecordsView, Cr as findRefactorHints, Cs as getReadOnlyPropertyPaths, Cu as displayLogicalId, D as deferredServiceTokenWarning, Da as withoutSuperseded, Dc as isNamelessDynamicReferenceError, Dd as loadPublishableAssetManifest, Di as demoteSupersededOrphans, Dl as malformedResourceEntriesWarning, Dn as updateRefactorMarker, Do as LAMBDA_PERMISSION_STATEMENT_KEYS, Dr as withMovedTo, Ds as isSelectOutOfBounds, Du as findHandledUnwrittenCreateOnly, E as inRunStackKey, Ea as supersededResourcesOf, Ec as carriesFetchableDynamicReference, Ei as seedsDeleteFirstGuard, El as malformedLocalResourcesWarning, En as sameMove, Er as rollbackOrphanIds, Es as IntrinsicFunctionResolver, Eu as findActionableSdkUnwired, F as perType, Fa as gray, Fi as computeImplicitDeleteEdges, Fl as refuseMalformedResourceEntriesForOrphan, Fn as macWriteOnlyKeys, Fo as policyDocumentMatchesDeclared, Fr as parseMappingFile, Fs as refuseUnreadableCdkCrossAccountRefs, Fu as PROPERTY_COVERAGE_BY_TYPE, Ga as completedReplayEntries, Gc as renderStatefulReason, Gd as readBootstrapMarkerBody, Gi as retiredAfterRollback, Gl as repairMalformedResourcePropertiesForReadOnly, Gn as dropSettledNestedJournals, Go as isCustomResource, Gs as callerEnvCredentials, Ha as noEchoParameterNamesOf, Hc as MULTI_REGION_RECREATE_BLOCKED_TYPES, Hd as isCrossRegionRedirect, Hi as nameGenerationCarriedFrom, Hl as refuseMalformedResourcePropertiesForDrift, Hn as NESTED_PENDING_PARENT_REASON, Ho as CC_BROKEN_REASON, Hr as recordedRuleIdOf, Hs as sendableAssumeRoleCommand, Hu as TemplateParser, I as readProtection, Ia as green, Ii as attemptUsesCompletedCreate, Il as repairMalformedResourceEntriesForReadOnly, In as readsOnlyNoEchoParameters, Io as reReadUntilSettled, Ir as propertiesChangedReason, Is as applyRoleArnIfSet, J as streamPolicyMatchesDeclared, Ja as namingSecretsWithRecordedNoEcho, Jd as BOOTSTRAP_MARKER_PREFIX, Ji as withNameGenerationReached, Jl as malformedOrphansRefusalMessage, Jn as recordDisplacedSkips, Jo as classifyHandleUrl, Js as classifyReplaySecretRegion, Ju as hasUnverifiableParameterRefusal, Ka as journaledOrphanPrintingBag, Kd as validateAssetBucketName, Ki as retiredNameGenerationsAfter, Kl as UNREADABLE_ORPHANS_CONTAINER_ROW, Ko as wouldReturnToSdkProvider, Kr as siblingRecordedSgRuleIds, Ks as envCredentialsAreAssumedRole, Ku as readOnlyStateVersionOf, La as red, Li as readsRegeneratingSecret, Ll as unreadableResourceEntries, Lr as proposeRenames, Ls as assertFlagRoleArn, Lu as providerReplacementOldDeleted, M as recordedProtectionNote, Ma as findNestedStackTypeChanges, Mc as INTRINSIC_KEYS, Md as getDockerImageBySourceHash, Mi as recordUnderIdIsNotOwn, Ml as refuseMalformedResourceEntriesForDestroy, Mo as efsPolicyMatchesDeclared, Mr as isPairableType, N as PROTECTION_PROPERTY_BY_TYPE, Na as bold, Ni as replacementNeverSwapped, Nl as refuseMalformedResourceEntriesForImport, Nn as childStackTags, No as lambdaPermissionMatchesDeclared, Nr as looselyEqual, Ns as resolveDynamicReferences, Nt as tagsMatchDeclared, Nu as NO_CC_HANDLERS_REASON, O as findServiceTokenRefusals, Oc as carriesDynamicReference, Oi as isJournaledOrphan, Ol as malformedScrubResourceEntriesRefusalMessage, On as deleteSignalReceiver, Or as changedReferenceInDiff, Os as isAlwaysLiveAttribute, P as isProtectionValueActive, Pa as cyan, Pi as IMPLICIT_DELETE_DEPENDENCIES, Pl as refuseMalformedResourceEntriesForImportSave, Pn as literalRowTags, Po as memberReadFailure, Pr as mappingPairs, Ps as producerLookupOver, Pu as hasNoCloudControlHandlers, Qc as secretPhysicalIdSegment, Qd as hasOwnKey, Qi as namesAnyDeclaredParameter, Ql as repairMalformedOrphansForReadOnly, Qn as collectNestedChildUnaddressed, Qo as applyCustomResourceResponseExpiration, Qr as sgProtocolKey, Qu as applyCrossPrefixScan, Ra as yellow, Rd as AssetModeResolver, Ri as segmentCleanupOptions, Rl as malformedDriftResourcePropertiesWarning, Rn as formatResourceLine, Rr as referencedLogicalIds, Rs as assertSendableRoleArn, S as slashedSsmNameHealAdoptedNote, Sa as supersededAfterRollback, Sd as createAssetRedirectResolver, Sl as unpreviewableOrphanRecords, Sn as readRefactorMarkerOnce, Sr as formatDestructiveChange, Su as UNREADABLE_RESOURCES_MAP_ROW, T as scanActiveConsumers, Ta as supersededHolderOf, Tc as isImpossibleEmptyStoredAttribute, Ti as planRollback, Tl as malformedLocalResourceEntriesWarning, Tn as refuseRefactorMarker, To as withStackRecords, Tr as movedToHint, Tu as hasReadableResources, U as readStreamPolicy, Ua as withAttemptedItemsMasked, Uc as isStatefulRecreateTargetForReplace, Ud as getBootstrapMarkerKey, Ui as nameGenerationHighWaterOf, Ul as refuseMalformedResourcePropertiesForExport, Un as displacedOpClause, Uo as ProviderRegistry, Ur as sgRuleOwnershipIdentity, Us as AWS_CREDENTIAL_ENV_KEYS, Uu as S3StateBackend, Va as noEchoExactEchoLeavesOf, Vc as shownType, Vd as assertAssetBucketRegion, Vi as orphanNeedsIdentity, Vl as refuseMalformedResourcePropertiesForDestroy, Vn as resolvePendingCloudControlRequests, Vr as undeclaredGrantSiblingMembers, Vs as parseIamRoleArn, Wa as createReadOnlyAttributeHealerFactory, Wc as isStatefulRecreateTargetSync, Wd as parseBootstrapMarker, Wi as nameScopeOf, Wl as refuseMalformedResourcePropertiesForOrphan, Wn as displacedPhysicalIdShown, Wo as ccBrokenReason, Wr as sgSiblingDecidedById, Ws as applyCallerIdentityCredentials, Wu as splitImportedOps, Xa as secretNamePrintingBag, Xc as displayPhysicalId, Xi as inheritProducerRegions, Xl as refuseMalformedOrphans, Xn as revertedNestedRowIds, Xo as isSignalKey, Xr as recordedSgRuleId, Xs as regionLessSecretName, Xu as CrossPrefixReadError, Ya as orphanRecordsPrintingBag, Yl as malformedOrphansWarning, Yr as cfnIngressPortValue, Ys as producerRegionsFromState, Yu as rebuildClientForBucketRegion, Za as secretNamePrintingBags, Zd as defineOwnKey, Zi as computeParameterTaint, Zl as refuseMalformedOrphansForDestroy, Zn as withNestedRevertRun, Zo as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, Zr as sgCidrKey, Zs as isUnexposedRecordedIdentity, Zu as CrossPrefixScanCache, _ as hasPendingMovesOut, _a as DEFAULT_RESOURCE_WARN_AFTER_MS, _i as updatePartialReason, _l as previewableOrphanRecords, _r as noEchoMacParametersOf, _s as RollbackInlinePolicyWriters, _u as repairMalformedResourcesForReadOnly, a as mergeNoChangeOutputs, aa as secretBearingStateKeyWarning, ac as isUnboundTemplateParameter, ad as isSensitiveAttributeName, af as displayAssemblyPath, ai as PLANNED_EARLY_DELETE_CONSEQUENCE, al as maskedPropertyFingerprintsOf, ao as PRE_DELETE_SNAPSHOT_TYPES, ar as journaledOrphanLines, as as withPrintingSecrets, au as refuseMalformedOutputs, b as refusePendingMovesOut, ba as holdsSupersededResources, bc as recordedReferenceRegions, bl as refuseMalformedOrphansForOrphan, bn as recordRetainedForReadoption, br as constructPathOf$1, bs as deleteLeftInPlace, bu as withheldAccountClause, c as nestedSsmNameRowNote, ca as exportNameNoEchoParameters, cc as cfnRefValueFromPhysicalId, cd as findNestedTemplateTreeDefect, cf as resolveAssemblyPath, ci as buildReadCurrentStateContext, cl as maskedInputProof, co as effectiveDeletionPolicy, cr as makeForeignHolderScan, cs as customResourcesFailedWithoutApp, cu as STATE_REGION_DIVERGED, d as makeCanonicalizePropertiesFn, da as noEchoParameterValueSeed, dc as lacksRecordedRefArn, dd as renderNestedTemplateTreeDefect, di as withUnprovenUnsettled, dl as maskedPropertyFingerprint, do as unsupportedFinalSnapshotError, dr as DeploymentEventsReader, du as malformedResourcesWarning, ea as resourcesNamingDeclaredParameter, ed as isAccessDenied, ef as nullPrototypeRecord, ei as canonicalizeIpv4Cidr, el as withSecretPhysicalIdsMaskedInState, eo as stackSecretNamesMasker, er as withNestedStackContext, eu as malformedExportSourceWarning, f as conditionFingerprint, fa as collectDeclaredOutputNames, fc as lacksRecordedTableArn, fd as templateIdentity, fi as calculateResourceDrift, fl as deployRefusesOrphanRowsReason, fo as createPreDeleteFinalSnapshot, fr as DeploymentEventsStore, fs as setLocalCustomResourceRuntimeEnabled, fu as malformedStateRefusalMessage, g as childTemplateLoader, ga as DEFAULT_RESOURCE_TIMEOUT_MS, gc as keepHeldTokenProvenance, gd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, gi as updatePartialMessage, gl as malformedOrphanRowsKeptWarning, gr as noEchoMacBinding, gu as refuseMalformedState, h as readRecordedConditionVerdicts, ha as bindingSkippedOutputs, hd as ssmResolvedValueType, hi as undeclaredEmptyObservedKeys, hl as malformedOrphanRecordsWarning, hr as createNoEchoValueMacs, hs as CloudControlProvider, hu as refuseMalformedResourcesForExport, i as keptWholeReasonText, ia as secretBearing, ic as coerceParameterTypedValue, id as isSecretValuedAttribute, if as describeFileReadFailure, ii as DELETED_RESOURCE_REMEDY, io as ATOMIC_FINAL_SNAPSHOT_TYPES, ir as isHandledOrphan, j as recordedProtectionEvidence, ja as withPreviousPolicies, jd as AssetManifestLoader, ji as recheckFailedPlan, jl as refuseMalformedResourceEntriesForDeploy, jn as settleStackTagChildRuns, jo as declaredPolicyDocument, jr as differingRemedy, k as serviceTokenBlockingReason, ka as snapshotSegmentSurvivors, kc as keepsSecretReferenceToken, ki as isReplacementOrphan, kl as refuseMalformedResourceAttributesForOrphan, kn as isReceiver, kr as changedReferencePath, ks as poisonRenderedSpellingsCollidingIn, kt as declaredTagsReadback, ku as unwrittenCreateOnlyReplacement, l as crossStackOutputProvenanceSource, la as exportNameSecretExposure, lc as isStalePlaceholderArnAttribute, ld as isAbsoluteAssetPath, li as recordAfterRollbackUpdate, lo as isFinalSnapshotError, lr as makeSiblingClaimReader, ls as customResourcesRunWithoutApp, lu as refuseDivergentRecordRegionForDestroy, m as parentSuppliedValues, ma as isExportAliasCollision, mi as equalModuloMask, ml as malformedOrphanRecordsRefusalMessage, mr as NOECHO_MAC_KEY_ALIAS, mu as refuseMalformedResourcesForDestroy, n as applyStackTagsToTemplate, na as displayTextOrWithheld, nd as stackInstanceIdOf, ni as replayFailedOperations, nl as getTopLevelKeysHoldingUnreadableCreateOnly, no as storedSecretNameNeedles, nr as dropFailedCommands, ns as readsNoEchoDeleteValues, nu as malformedOutputsRefusalMessage, o as checkNestedSsmNames, oa as secretSafeKeyDisplay, oc as parameterTypeMayLoseSecretIdentity, oi as earlyDeleteWhen, oo as ccRoutedFinalSnapshotError, or as loadJournaledOrphans, os as NO_LOCAL_CUSTOM_RESOURCES_FLAG, ou as refuseMalformedOutputsForDestroy, p as conditionInputsFrom, pa as collectPublishedOutputNames, pi as equalModuloMarkedMask, pl as isReadableOrphanRecord, po as buildFinalSnapshotIdentifier, pr as crossStackReadsForPartialSave, ps as withCustomResourceStack, pu as refuseMalformedResourcesForDeploy, qa as maskEventTextWithBoundBags, qd as validateContainerRepoName, qi as retiredNameGenerationsLeaving, ql as hasReadableOrphans, qn as nestedChildStackName$1, qo as WaitConditionSignalStore, qs as classifyRecordedSecretRegion, qu as hasReasonlessBaselineRefusal, r as isSecretBearingReferenceString, ra as exportAliasCollisionScrubWarning, rd as withStackInstanceIdWithheld, ri as replayRollback, rl as tryGetTopLevelWriteOnlyProperties, ro as extractDeploymentEventError, rr as dropFailedHint, rs as isCustomResourceType$1, ru as malformedOutputsWarning, s as nestedSsmNameDeferredNote, sa as carriedExportAliasExposure, sc as AWS_NO_VALUE, sf as renderAssemblyPathEscape, si as earlyDeletedOld, sl as parameterInputsFor, so as ccRoutedInstanceTakesNoSnapshot, sr as sameJournaledOrphans, su as repairMalformedOutputsForReadOnly, t as DeployEngine, ta as WITHHELD_NAME_DISPLAY, td as isNotImplemented, tf as ownValue, ti as canonicalizeIpProtocolValue, tl as getSettledWriteOnlyPropertyPaths, to as stateSecretNameNeedles, tr as deleteJournaledOrphans, ts as TemplateNoEchoReresolver, tu as malformedLocalOutputsWarning, u as inheritedProvenanceForChildDiff, ua as isWholeDynamicReferenceValue, uc as refStateLookupFromResource, ud as listNestedTemplateRows, uf as resolveBucketRegion, ui as settleUnsettledPrevious, ul as declaresNoEcho, uo as refusesFinalSnapshot, ur as planOrphanAdoption, us as localCustomResourceCommand, uu as malformedRenderedContainersWarning, v as pendingMovesOutOf, va as maskingRetryLogger, vc as recordedOutputReferenceRegions, vd as decodeListingKey, vi as findUpdatePolicyReplacementRefusals, vl as refuseMalformedOrphanRecords, vr as noEchoMacVerdict, vs as UNSPECIFIED_SKIP_REASON, vu as JSON_LISTING_HOLE_VALUE, w as slashedSsmNameHealPendingNote, wa as supersededHeldByOtherTypeWarning, wc as getAccountInfo, wl as isReadableResourceEntry, wn as refactorMarkerRefusalMessage, wr as hintSidesOf, ws as isWaitAbandonedError, wu as hasReadableOutputs, x as healSlashedSsmParameterNames, xa as isSupersededResourceRecord, xd as buildAssetRedirectMap, xi as ledgerForStack, xl as repairMalformedOrphanRecordsForReadOnly, xn as readRefactorMarker, xo as destroyStackRecordsView, xr as findDestructiveChanges, xs as deleteSkipReason, xu as STATE_RESOURCES_MALFORMED, y as pendingMovesRefusalMessage, ya as deleteSupersededEntry, yi as replacementCreateRoutesToCloudControl, yl as refuseMalformedOrphanRecordsForDestroy, yn as keptForRetainedRecord, yr as noEchoValueMacsOf, ys as deleteIndeterminateGuards, yu as accountArgs, za as noEchoAttributeNamesOf, zc as findReplacedReadersOfRecreateTargets, zd as ensureAssetStorage, zi as removeProtectionTypeList, zl as malformedResourcePropertiesWarning, zn as startForceQuitFlushes, zo as verbatimEchoDriftKeys, zr as siblingOwnedRevertDesired, zs as explicitRoleArnOrThrow } from "./deploy-engine-KvFzqr5K.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-DgrfaXCf.js";
|
|
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";
|
|
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 { At as withPhysicalNameCopies, Bn as isSingleDynamicReferenceToken, Bt as pathCrossesDottedKey, D as recordedNoEchoValuesOf, Fn as recordProvenPublicExpression, Ft as dynamicReferenceTokens, Ht as identityKeyFor, In as wholeStringLeavesOf, It as isUncertifiedBaselineMaskPosition, Lt as keepTemplateLiteralLeaves, Mn as recordMaskOnlyValuesIn, Nn as recordNoEchoAttributeValues, Nt as DYNAMIC_REFERENCE_TOKEN_SCAN, On as provenPublicValue, Pn as recordNoEchoParameterFreshValue, Rn as WHOLE_DYNAMIC_REFERENCE_PATTERN, T as readsNoEchoSource, W as redactForState, Zt as inheritNestedStackParameterAssociations, _n as carriesSecretMask, _t as maskSecretsInError, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, ct as printingCorpusOf, dn as recordPhysicalNameCopy, dt as recordLogOnlyValue, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as recordNestedStackParameterExpressions, ft as shareLogOnlyValues, g as maskedLeafCoordinatesOf, gn as splitGetAttStringForm, h as maskWholeValue, ht as errorCauseChain, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as recordMaskOnlyValue, k as valueAtCoordinate, kt as scrubResourceRecord, ln as physicalNameCopiesOf, lt as recordLogOnlyParameterValue, m as maskReadbackAtCoordinates, mt as createSecretMasker, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pt as unionOfSecretBags, u as canonicalCoordinates, v as noEchoCoordinatesOf, vt as maskSecretsInText, y as noEchoLeavesOf, zt as spelledKeysOf } from "./replacement-rules-
|
|
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-DK77ST9u.js";
|
|
12
|
+
import { l as setResolvedResourceTimeouts } from "./ec2-termination-protection-CVTp4mlC.js";
|
|
13
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-BhnjZsLt.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-Dya9H_gI.js";
|
|
15
|
+
import { At as withPhysicalNameCopies, Bn as isSingleDynamicReferenceToken, Bt as pathCrossesDottedKey, D as recordedNoEchoValuesOf, Fn as recordProvenPublicExpression, Ft as dynamicReferenceTokens, Ht as identityKeyFor, In as wholeStringLeavesOf, It as isUncertifiedBaselineMaskPosition, Lt as keepTemplateLiteralLeaves, Mn as recordMaskOnlyValuesIn, Nn as recordNoEchoAttributeValues, Nt as DYNAMIC_REFERENCE_TOKEN_SCAN, On as provenPublicValue, Pn as recordNoEchoParameterFreshValue, Rn as WHOLE_DYNAMIC_REFERENCE_PATTERN, T as readsNoEchoSource, W as redactForState, Zt as inheritNestedStackParameterAssociations, _n as carriesSecretMask, _t as maskSecretsInError, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, ct as printingCorpusOf, dn as recordPhysicalNameCopy, dt as recordLogOnlyValue, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as recordNestedStackParameterExpressions, ft as shareLogOnlyValues, g as maskedLeafCoordinatesOf, gn as splitGetAttStringForm, h as maskWholeValue, ht as errorCauseChain, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as recordMaskOnlyValue, k as valueAtCoordinate, kt as scrubResourceRecord, ln as physicalNameCopiesOf, lt as recordLogOnlyParameterValue, m as maskReadbackAtCoordinates, mt as createSecretMasker, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pt as unionOfSecretBags, u as canonicalCoordinates, v as noEchoCoordinatesOf, vt as maskSecretsInText, y as noEchoLeavesOf, zt as spelledKeysOf } from "./replacement-rules-aKrUHcS2.js";
|
|
16
|
+
import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-Bprs9w8d.js";
|
|
17
|
+
import { u as differingIdentityWarning } from "./identity-read-denied-V23l4pKK.js";
|
|
18
|
+
import { n as isRedactedRecordedValue } from "./redacted-delete-address-BPwMWIOq.js";
|
|
19
|
+
import { a as withResourceDeadline } from "./resource-deadline-DjIkTygT.js";
|
|
20
|
+
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-DwYinaAB.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";
|
|
@@ -1248,8 +1248,10 @@ function renderApprovalRequest(request) {
|
|
|
1248
1248
|
for (const change of request.destructiveChanges) lines.push(` ${formatDestructiveChange(change)}`);
|
|
1249
1249
|
lines.push("");
|
|
1250
1250
|
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1251
|
+
lines.push(request.outputsOnly ? `Stack ${displayIdent(request.stackName)}: no resource changes; its Outputs change.` : `Stack ${displayIdent(request.stackName)}: ${formatChangeCounts({
|
|
1252
|
+
orphan: 0,
|
|
1253
|
+
...request.counts
|
|
1254
|
+
})}.`);
|
|
1253
1255
|
lines.push(request.level === "destructive" ? `Stack includes destructive updates and "--require-approval" is set to 'destructive'.` : request.level === "broadening" ? `Stack includes security-sensitive updates and "--require-approval" is set to 'broadening'.` : `Stack includes updates and "--require-approval" is set to 'any-change'.`);
|
|
1254
1256
|
return `${lines.join("\n")}\n`;
|
|
1255
1257
|
}
|
|
@@ -1593,7 +1595,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
1593
1595
|
// src/provisioning/register-providers.ts
|
|
1594
1596
|
let providerClasses;
|
|
1595
1597
|
function loadProviderClasses() {
|
|
1596
|
-
providerClasses ??= import("./provider-classes-
|
|
1598
|
+
providerClasses ??= import("./provider-classes-DOrSeS2t.js");
|
|
1597
1599
|
return providerClasses;
|
|
1598
1600
|
}
|
|
1599
1601
|
function registerAllProviders(registry, classes) {
|
|
@@ -1766,6 +1768,90 @@ function registerAllProviders(registry, classes) {
|
|
|
1766
1768
|
registry.register("AWS::CloudFormation::WaitCondition", new WaitConditionProvider(registry.waitConditionSignals));
|
|
1767
1769
|
}
|
|
1768
1770
|
|
|
1771
|
+
// src/cli/commands/deploy/consumer-cleanup-hold.ts
|
|
1772
|
+
var ConsumerCleanupHold = class ConsumerCleanupHold {
|
|
1773
|
+
consumers;
|
|
1774
|
+
settled = /* @__PURE__ */ new Map();
|
|
1775
|
+
waiters = /* @__PURE__ */ new Set();
|
|
1776
|
+
releases = /* @__PURE__ */ new Map();
|
|
1777
|
+
constructor(consumers) {
|
|
1778
|
+
this.consumers = consumers;
|
|
1779
|
+
}
|
|
1780
|
+
static build(stacks, producersOf) {
|
|
1781
|
+
const inRun = new Set(stacks);
|
|
1782
|
+
const consumers = /* @__PURE__ */ new Map();
|
|
1783
|
+
for (const consumer of stacks) for (const producer of producersOf(consumer)) {
|
|
1784
|
+
if (producer === consumer || !inRun.has(producer)) continue;
|
|
1785
|
+
let set = consumers.get(producer);
|
|
1786
|
+
if (set === void 0) consumers.set(producer, set = /* @__PURE__ */ new Set());
|
|
1787
|
+
set.add(consumer);
|
|
1788
|
+
}
|
|
1789
|
+
return consumers.size === 0 ? void 0 : new ConsumerCleanupHold(consumers);
|
|
1790
|
+
}
|
|
1791
|
+
hasConsumers(producer) {
|
|
1792
|
+
return this.consumers.has(producer);
|
|
1793
|
+
}
|
|
1794
|
+
queueFor(producer) {
|
|
1795
|
+
return this.hasConsumers(producer) ? new NestedCleanupQueue() : void 0;
|
|
1796
|
+
}
|
|
1797
|
+
settle(stack, deployed) {
|
|
1798
|
+
if (this.settled.has(stack)) return;
|
|
1799
|
+
this.settled.set(stack, deployed);
|
|
1800
|
+
for (const wake of [...this.waiters]) wake();
|
|
1801
|
+
}
|
|
1802
|
+
settleRest() {
|
|
1803
|
+
for (const set of this.consumers.values()) for (const consumer of set) this.settle(consumer, false);
|
|
1804
|
+
}
|
|
1805
|
+
released(producer) {
|
|
1806
|
+
return this.releaseOf(producer).promise;
|
|
1807
|
+
}
|
|
1808
|
+
async waitForConsumers(producer) {
|
|
1809
|
+
this.releaseOf(producer).resolve();
|
|
1810
|
+
const consumers = [...this.consumers.get(producer) ?? []];
|
|
1811
|
+
while (consumers.some((consumer) => !this.settled.has(consumer))) await new Promise((resolve) => {
|
|
1812
|
+
const wake = () => {
|
|
1813
|
+
this.waiters.delete(wake);
|
|
1814
|
+
resolve();
|
|
1815
|
+
};
|
|
1816
|
+
this.waiters.add(wake);
|
|
1817
|
+
});
|
|
1818
|
+
return consumers.filter((consumer) => this.settled.get(consumer) !== true);
|
|
1819
|
+
}
|
|
1820
|
+
releaseOf(producer) {
|
|
1821
|
+
let release = this.releases.get(producer);
|
|
1822
|
+
if (release === void 0) {
|
|
1823
|
+
let resolve;
|
|
1824
|
+
release = {
|
|
1825
|
+
promise: new Promise((r) => resolve = r),
|
|
1826
|
+
resolve
|
|
1827
|
+
};
|
|
1828
|
+
this.releases.set(producer, release);
|
|
1829
|
+
}
|
|
1830
|
+
return release;
|
|
1831
|
+
}
|
|
1832
|
+
};
|
|
1833
|
+
async function runHeldProducerCleanup(hold, queue, producer, logger) {
|
|
1834
|
+
const notDeployed = await hold.waitForConsumers(producer);
|
|
1835
|
+
if (notDeployed.length > 0) {
|
|
1836
|
+
logger.info(safeMsg`Keeping the replaced resources of stack ${displayStackName(producer.stackName)}: ${notDeployed.map((c) => displayStackName(c.stackName)).join(", ")} (importing its outputs) did not deploy and may still use them. cdkd keeps them in state, and the next deploy deletes them`);
|
|
1837
|
+
queue.abandon("consumer-failed");
|
|
1838
|
+
return {
|
|
1839
|
+
updatePartial: 0,
|
|
1840
|
+
nestedUpdatePartial: 0
|
|
1841
|
+
};
|
|
1842
|
+
}
|
|
1843
|
+
let interrupted = false;
|
|
1844
|
+
const onSigint = () => {
|
|
1845
|
+
interrupted = true;
|
|
1846
|
+
};
|
|
1847
|
+
process.on("SIGINT", onSigint);
|
|
1848
|
+
try {
|
|
1849
|
+
return await queue.runAll({ interrupted: () => interrupted }, logger);
|
|
1850
|
+
} finally {
|
|
1851
|
+
process.removeListener("SIGINT", onSigint);
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1769
1855
|
// src/cli/commands/registry-release.ts
|
|
1770
1856
|
async function releaseRegistryMarkerQuietly(backend, stackName, region, logger, known) {
|
|
1771
1857
|
if (stackName.includes("~")) return;
|
|
@@ -3244,6 +3330,7 @@ async function deployStackInScope(ctx, stackInfo, stackRegion, stackAwsClients)
|
|
|
3244
3330
|
dryRun: options.dryRun
|
|
3245
3331
|
});
|
|
3246
3332
|
let runResult = "SUCCEEDED";
|
|
3333
|
+
const consumerCleanupQueue = ctx.consumerHold?.queueFor(stackInfo);
|
|
3247
3334
|
try {
|
|
3248
3335
|
const migrationGate = createPrefixMigrationGate({
|
|
3249
3336
|
stackName: stackInfo.stackName,
|
|
@@ -3368,10 +3455,11 @@ async function deployStackInScope(ctx, stackInfo, stackRegion, stackAwsClients)
|
|
|
3368
3455
|
},
|
|
3369
3456
|
...stackInfo.terminationProtection === true && { terminationProtection: true },
|
|
3370
3457
|
...stackTags !== void 0 && { stackTags },
|
|
3371
|
-
inRunStacks: ctx.inRunStacks
|
|
3458
|
+
inRunStacks: ctx.inRunStacks,
|
|
3459
|
+
...consumerCleanupQueue !== void 0 && { consumerCleanupQueue }
|
|
3372
3460
|
};
|
|
3373
3461
|
const stackDeployEngine = new DeployEngine(stackStateBackend, stackLockManager, dagBuilder, diffCalculator, stackProviderRegistry, deployEngineOptions, stackRegion, exportIndexStore);
|
|
3374
|
-
const
|
|
3462
|
+
const deployed = await withNestedStackContext({
|
|
3375
3463
|
stateBackend: stackStateBackend,
|
|
3376
3464
|
lockManager: stackLockManager,
|
|
3377
3465
|
providerRegistry: stackProviderRegistry,
|
|
@@ -3391,6 +3479,16 @@ async function deployStackInScope(ctx, stackInfo, stackRegion, stackAwsClients)
|
|
|
3391
3479
|
},
|
|
3392
3480
|
...assetRedirect && { assetRedirect }
|
|
3393
3481
|
}, () => stackDeployEngine.deploy(stackInfo.stackName, stackInfo.template));
|
|
3482
|
+
ctx.consumerHold?.settle(stackInfo, true);
|
|
3483
|
+
let deployResult = deployed;
|
|
3484
|
+
if (ctx.consumerHold !== void 0 && (consumerCleanupQueue?.size ?? 0) > 0) {
|
|
3485
|
+
const held = await runHeldProducerCleanup(ctx.consumerHold, consumerCleanupQueue, stackInfo, logger);
|
|
3486
|
+
deployResult = {
|
|
3487
|
+
...deployed,
|
|
3488
|
+
updatePartial: deployed.updatePartial + held.updatePartial,
|
|
3489
|
+
nestedUpdatePartial: (deployed.nestedUpdatePartial ?? 0) + held.nestedUpdatePartial
|
|
3490
|
+
};
|
|
3491
|
+
}
|
|
3394
3492
|
logger.info(`\n${bold("Deployment Summary:")}`);
|
|
3395
3493
|
logger.info(` Stack: ${bold(cyan(deployResult.stackName))}`);
|
|
3396
3494
|
logger.info(` Created: ${deployResult.created > 0 ? green(deployResult.created) : gray(deployResult.created)}`);
|
|
@@ -3432,6 +3530,7 @@ async function deployStackInScope(ctx, stackInfo, stackRegion, stackAwsClients)
|
|
|
3432
3530
|
recordRunFailed(eventRecorder, stackInfo.stackName, deployError);
|
|
3433
3531
|
throw deployError;
|
|
3434
3532
|
} finally {
|
|
3533
|
+
consumerCleanupQueue?.abandon("failed");
|
|
3435
3534
|
await Promise.all([eventRecorder?.finalize(runResult), stackLockManager.settleDeferredPurges()]);
|
|
3436
3535
|
stackAwsClients.destroy();
|
|
3437
3536
|
stateS3Client.destroy();
|
|
@@ -3709,6 +3808,12 @@ async function deployCommand(stacks, options) {
|
|
|
3709
3808
|
let totalCrossPrefixKept = 0;
|
|
3710
3809
|
let cancelledStacks = 0;
|
|
3711
3810
|
const stackOutputs = {};
|
|
3811
|
+
const consumerHold = options.dryRun ? void 0 : ConsumerCleanupHold.build(targetStacks, (s) => inferredCrossStackDeps.get(s) ?? []);
|
|
3812
|
+
const heldStacks = [];
|
|
3813
|
+
const flushStackRun = (outcome) => {
|
|
3814
|
+
if (outcome.lines.length > 0) process.stdout.write(outcome.lines.join("\n") + "\n");
|
|
3815
|
+
if (!outcome.ok) throw outcome.error;
|
|
3816
|
+
};
|
|
3712
3817
|
const runStack = async (stackInfo) => {
|
|
3713
3818
|
return withSkipPrefix(skipPrefix, () => runStackInner(stackInfo));
|
|
3714
3819
|
};
|
|
@@ -3751,11 +3856,13 @@ async function deployCommand(stacks, options) {
|
|
|
3751
3856
|
addCancelledStack: () => {
|
|
3752
3857
|
cancelledStacks++;
|
|
3753
3858
|
},
|
|
3754
|
-
inRunStacks: new Set(targetStacks.map((s) => inRunStackKey(s.stackName, stackRegions.get(s) ?? deployStackRegion(s, baseRegion))))
|
|
3859
|
+
inRunStacks: new Set(targetStacks.map((s) => inRunStackKey(s.stackName, stackRegions.get(s) ?? deployStackRegion(s, baseRegion)))),
|
|
3860
|
+
...consumerHold !== void 0 && { consumerHold }
|
|
3755
3861
|
};
|
|
3756
3862
|
checkPinCcApiOptions(options, targetStacks, logger);
|
|
3757
3863
|
runClock.lap("work graph build, recreate checks");
|
|
3758
3864
|
let workGraphCompleted = false;
|
|
3865
|
+
let heldFailure;
|
|
3759
3866
|
try {
|
|
3760
3867
|
await workGraph.execute({
|
|
3761
3868
|
"asset-build": options.imageBuildConcurrency,
|
|
@@ -3769,15 +3876,29 @@ async function deployCommand(stacks, options) {
|
|
|
3769
3876
|
await runStack(stackInfo);
|
|
3770
3877
|
return;
|
|
3771
3878
|
}
|
|
3772
|
-
const
|
|
3773
|
-
|
|
3774
|
-
|
|
3879
|
+
const run = runStackBuffered(() => runStack(stackInfo)).then((outcome) => {
|
|
3880
|
+
consumerHold?.settle(stackInfo, false);
|
|
3881
|
+
return outcome;
|
|
3882
|
+
});
|
|
3883
|
+
if (consumerHold?.hasConsumers(stackInfo) === true && await Promise.race([run.then(() => false), consumerHold.released(stackInfo).then(() => true)])) {
|
|
3884
|
+
heldStacks.push(run);
|
|
3885
|
+
return;
|
|
3886
|
+
}
|
|
3887
|
+
flushStackRun(await run);
|
|
3775
3888
|
}
|
|
3776
3889
|
});
|
|
3777
3890
|
workGraphCompleted = true;
|
|
3778
3891
|
} finally {
|
|
3892
|
+
consumerHold?.settleRest();
|
|
3893
|
+
for (const held of heldStacks) try {
|
|
3894
|
+
flushStackRun(await held);
|
|
3895
|
+
} catch (error) {
|
|
3896
|
+
workGraphCompleted = false;
|
|
3897
|
+
heldFailure ??= error;
|
|
3898
|
+
}
|
|
3779
3899
|
if (outputsFile !== void 0) writeStackOutputsFile(outputsFile, stackOutputs, { deployFailed: !workGraphCompleted });
|
|
3780
3900
|
}
|
|
3901
|
+
if (heldFailure !== void 0) throw heldFailure;
|
|
3781
3902
|
if (totalUnaddressed > 0 && !options.allowUnaddressed) throw new PartialFailureError(`Deploy left ${totalUnaddressed} resource(s) unaddressed, so they may still exist in AWS. The two cases differ in what happens next: a DELETE the provider could not issue KEEPS its state record, so the next 'cdkd deploy' re-attempts it, while a replacement's surviving predecessor is NOT tracked and will never be retried — delete it by hand. ` + (totalCrossPrefixKept > 0 ? "A replacement kept because another state prefix records the stack, or the check could not run, keeps its old resource and applies no new value — resolve the pair, or let the check run, and re-deploy. " : "") + "The per-stack summaries above give the breakdown, and each resource's own warning names its cause and remedy. " + (cancelledStacks > 0 ? `Note ${cancelledStacks} stack(s) were also cancelled and never deployed, so the template is not fully applied beyond the resources named above. ` : "") + `Pass --allow-unaddressed to exit 0 instead.`);
|
|
3782
3903
|
} finally {
|
|
3783
3904
|
runClock.lap("assets + stacks, summary");
|
|
@@ -6617,10 +6738,11 @@ function renderDiffValue(own, filtered, indent, isNewSide) {
|
|
|
6617
6738
|
}
|
|
6618
6739
|
return (JSON.stringify(filtered, null, 2) ?? "undefined").replace(/\n/g, `\n${indent}`);
|
|
6619
6740
|
}
|
|
6620
|
-
function renderChangeLines(changes, logFn, ccApiRoutes, adoptedOrphans, refactorHints) {
|
|
6741
|
+
function renderChangeLines(changes, logFn, ccApiRoutes, adoptedOrphans, refactorHints, orphaned) {
|
|
6621
6742
|
let createCount = 0;
|
|
6622
6743
|
let updateCount = 0;
|
|
6623
6744
|
let deleteCount = 0;
|
|
6745
|
+
let orphanCount = 0;
|
|
6624
6746
|
const adopted = new Set(adoptedOrphans ?? []);
|
|
6625
6747
|
const annotateAdoption = (logicalId) => adopted.has(logicalId) ? " [adopted from a rollback orphan]" : "";
|
|
6626
6748
|
const annotateRouting = (logicalId) => {
|
|
@@ -6661,17 +6783,19 @@ function renderChangeLines(changes, logFn, ccApiRoutes, adoptedOrphans, refactor
|
|
|
6661
6783
|
if (change.nestedChildHeal === true) logFn(" - [nested stack deployed to re-spell an SSM parameter name; go-to-k/cdkd#6282]");
|
|
6662
6784
|
if (change.nestedStackTagsChanged === true) logFn(" - [nested stack deployed to apply its changed stack tags]");
|
|
6663
6785
|
break;
|
|
6664
|
-
case "DELETE":
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
}
|
|
6786
|
+
case "DELETE": {
|
|
6787
|
+
const orphan = orphaned?.has(logicalId) === true;
|
|
6788
|
+
if (orphan) orphanCount++;
|
|
6789
|
+
else deleteCount++;
|
|
6790
|
+
const movedTo = refactorHints?.get(logicalId);
|
|
6791
|
+
logFn(` [-] ${logicalId} (${change.resourceType})` + (orphan ? " [orphan: its DeletionPolicy keeps it in AWS]" : "") + (movedTo !== void 0 ? movedToHint(movedTo) : ""));
|
|
6792
|
+
}
|
|
6670
6793
|
}
|
|
6671
6794
|
return {
|
|
6672
6795
|
create: createCount,
|
|
6673
6796
|
update: updateCount,
|
|
6674
|
-
delete: deleteCount
|
|
6797
|
+
delete: deleteCount,
|
|
6798
|
+
orphan: orphanCount
|
|
6675
6799
|
};
|
|
6676
6800
|
}
|
|
6677
6801
|
const redactedLegacyPlaintext = () => `<redacted: may be legacy plaintext in state — run ${proseQuoted(cdkdRemedy("cdkd scrub"), "`")}>`;
|
|
@@ -6730,9 +6854,9 @@ function renderDiffTree(node, isRoot, logFn) {
|
|
|
6730
6854
|
const hasChanges = nodeHasChanges(node);
|
|
6731
6855
|
if (hasChanges || node.blocking.length > 0) logFn(isRoot ? `\nStack ${stripForDisplay(node.stackName)}:` : `\nNested stack: ${stripForDisplay(node.displayName)}`);
|
|
6732
6856
|
if (hasChanges) {
|
|
6733
|
-
const
|
|
6857
|
+
const counts = renderChangeLines(node.changes, logFn, node.ccApiRoutes, node.adoptedOrphans, node.refactorHints, orphanedLogicalIds(node.destructiveChanges));
|
|
6734
6858
|
const outputs = renderOutputChangeLines(node.outputChanges, logFn);
|
|
6735
|
-
logFn(`\n${
|
|
6859
|
+
logFn(`\n${formatChangeCounts(counts)}`);
|
|
6736
6860
|
if (outputs.add + outputs.change + outputs.remove > 0) logFn(`${outputs.add} output(s) to add, ${outputs.change} to change, ${outputs.remove} to remove`);
|
|
6737
6861
|
if (node.adoptedOrphans.length > 0) logFn(`${node.adoptedOrphans.length} resource(s) to adopt from a previous rollback: ${node.adoptedOrphans.map((id) => displayLogicalId(id)).join(", ")}`);
|
|
6738
6862
|
const unreadableTotal = unreadableCount(node);
|
|
@@ -14590,7 +14714,7 @@ function recordDestroyEvent(recorder, event) {
|
|
|
14590
14714
|
const SKIPPED_REMEDY = "Each 'skipped (...)' line above names its cause, and its warning says whether repairing the record in state.json helps. Where it does, repair it and re-run. Otherwise (for example a custom-resource Delete handler that reported FAILED), delete the resources by hand, then drop the records.";
|
|
14591
14715
|
function countProtectedResources(state) {
|
|
14592
14716
|
let count = 0;
|
|
14593
|
-
const records = [...Object.values(state.resources ?? {}), ...supersededResourcesOf(state).map((entry) => entry.state)];
|
|
14717
|
+
const records = [...Object.values(state.resources ?? {}).filter((r) => !shouldRetainResource(r.deletionPolicy)), ...supersededResourcesOf(state).map((entry) => entry.state)];
|
|
14594
14718
|
for (const resource of records) {
|
|
14595
14719
|
const locator = perType(PROTECTION_PROPERTY_BY_TYPE, resource.resourceType);
|
|
14596
14720
|
if (locator) {
|
|
@@ -14794,7 +14918,7 @@ async function destroyEmptyStack({ stackName, ctx, logger, stackLockBase, region
|
|
|
14794
14918
|
result.skippedEmpty = true;
|
|
14795
14919
|
return result;
|
|
14796
14920
|
}
|
|
14797
|
-
async function announceOrphansAndConfirm({ state, logger, stackNoEchoValues, journaledOrphans, ctx, stackName, resourceCount, protectedCount, result }) {
|
|
14921
|
+
async function announceOrphansAndConfirm({ state, logger, stackNoEchoValues, journaledOrphans, ctx, stackName, resourceCount, keptCount, protectedCount, result }) {
|
|
14798
14922
|
const orphansAtDestroy = state.orphans ?? [];
|
|
14799
14923
|
if (orphansAtDestroy.length > 0) {
|
|
14800
14924
|
logger.info(`\n${orphansAtDestroy.length} resource(s) are still in AWS from an earlier failed deploy. cdkd left them there because their DeletionPolicy is Retain (CDK's RemovalPolicy.RETAIN), and has been tracking them so a later deploy of this stack could adopt them back instead of colliding with their names.`);
|
|
@@ -14816,8 +14940,9 @@ async function announceOrphansAndConfirm({ state, logger, stackNoEchoValues, jou
|
|
|
14816
14940
|
output: process.stdout
|
|
14817
14941
|
});
|
|
14818
14942
|
const journaledClause = journaledOrphans.count > 0 ? ` and ${journaledOrphans.count} recorded only in its rollback journal` : "";
|
|
14943
|
+
const keptClause = keptCount > 0 ? ` (${keptCount} kept in AWS by their DeletionPolicy)` : "";
|
|
14819
14944
|
const stackLabel = displayStackName(stackName) + (ctx.confirmationNote !== void 0 ? ` (${ctx.confirmationNote})` : "");
|
|
14820
|
-
const prompt = ctx.removeProtection ? `\nAbout to destroy ${resourceCount} resources${journaledClause} from stack ${stackLabel}, REMOVING DELETION PROTECTION on ${protectedCount} of them. Continue? (y/N): ` : `\nAre you sure you want to destroy stack ${stackLabel} and delete all ${resourceCount} resources${journaledClause}? (Y/n): `;
|
|
14945
|
+
const prompt = ctx.removeProtection ? `\nAbout to destroy ${resourceCount} resources${journaledClause} from stack ${stackLabel}${keptClause}, REMOVING DELETION PROTECTION on ${protectedCount} of them. Continue? (y/N): ` : `\nAre you sure you want to destroy stack ${stackLabel} and delete all ${resourceCount} resources${journaledClause}${keptClause}? (Y/n): `;
|
|
14821
14946
|
const answer = await rl.question(prompt);
|
|
14822
14947
|
rl.close();
|
|
14823
14948
|
const trimmed = answer.trim().toLowerCase();
|
|
@@ -15977,8 +16102,15 @@ async function destroyStackInRegion(stackName, state, ctx, stackScope) {
|
|
|
15977
16102
|
const consumers = await scanActiveConsumers(stackName, regionForState, ctx);
|
|
15978
16103
|
if (consumers.length > 0) throw new StackHasActiveImportsError(stackName, regionForState, consumers);
|
|
15979
16104
|
}
|
|
15980
|
-
|
|
15981
|
-
|
|
16105
|
+
const entries = Object.entries(state.resources);
|
|
16106
|
+
const toDelete = entries.filter(([, r]) => !shouldRetainResource(r.deletionPolicy));
|
|
16107
|
+
const toKeep = entries.filter(([, r]) => shouldRetainResource(r.deletionPolicy));
|
|
16108
|
+
logger.info(`\nResources to be deleted (${toDelete.length}):`);
|
|
16109
|
+
for (const [logicalId, resource] of toDelete) logger.info(` - ${displaySafe(logicalId)} (${displaySafe(resource.resourceType)})`);
|
|
16110
|
+
if (toKeep.length > 0) {
|
|
16111
|
+
logger.info(safeMsg`\nResources kept in AWS by their DeletionPolicy (${toKeep.length}):`);
|
|
16112
|
+
for (const [logicalId, resource] of toKeep) logger.info(safeMsg` - ${logicalId} (${resource.resourceType}), DeletionPolicy: ${resource.deletionPolicy}`);
|
|
16113
|
+
}
|
|
15982
16114
|
if (supersededCount > 0) {
|
|
15983
16115
|
logger.info(safeMsg`\nOld resources a replacement left to delete (${supersededCount}):`);
|
|
15984
16116
|
for (const entry of supersededResourcesOf(state)) logger.info(safeMsg` - ${entry.logicalId} (${entry.state.resourceType}), superseded`);
|
|
@@ -16009,7 +16141,8 @@ async function destroyStackInRegion(stackName, state, ctx, stackScope) {
|
|
|
16009
16141
|
journaledOrphans,
|
|
16010
16142
|
ctx,
|
|
16011
16143
|
stackName,
|
|
16012
|
-
resourceCount,
|
|
16144
|
+
resourceCount: toDelete.length,
|
|
16145
|
+
keptCount: toKeep.length,
|
|
16013
16146
|
protectedCount,
|
|
16014
16147
|
result
|
|
16015
16148
|
});
|
|
@@ -37486,4 +37619,4 @@ function collectVerbFlags(program) {
|
|
|
37486
37619
|
}
|
|
37487
37620
|
|
|
37488
37621
|
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 };
|
|
37489
|
-
//# sourceMappingURL=program-
|
|
37622
|
+
//# sourceMappingURL=program-Lw5gWY1A.js.map
|