@cdkd/cli 0.364.0 → 0.365.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ambient-client-defaults-BKnLt9R9.js → ambient-client-defaults-AnEvWPy0.js} +3 -3
- package/dist/{ambient-client-defaults-BKnLt9R9.js.map → ambient-client-defaults-AnEvWPy0.js.map} +1 -1
- package/dist/{asg-provider-D-wGQIgg.js → asg-provider-BzCU3XtA.js} +20 -13
- package/dist/{asg-provider-D-wGQIgg.js.map → asg-provider-BzCU3XtA.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-BDRipTIL.js → custom-resource-runtime-SB_NsQMH.js} +6 -6
- package/dist/{custom-resource-runtime-BDRipTIL.js.map → custom-resource-runtime-SB_NsQMH.js.map} +1 -1
- package/dist/{db-associated-roles-cQd3Zmr5.js → db-associated-roles-D1wmFO_Y.js} +2 -2
- package/dist/{db-associated-roles-cQd3Zmr5.js.map → db-associated-roles-D1wmFO_Y.js.map} +1 -1
- package/dist/{delete-started-DHQvQxWa.js → delete-started-BJNrzLUk.js} +6 -6
- package/dist/{delete-started-DHQvQxWa.js.map → delete-started-BJNrzLUk.js.map} +1 -1
- package/dist/{deploy-engine-9rzhYsZc.js → deploy-engine-BSqVfcSN.js} +420 -141
- package/dist/deploy-engine-BSqVfcSN.js.map +1 -0
- package/dist/{ec2-termination-protection-Dttj-XrE.js → ec2-termination-protection-ekOvhSp9.js} +6 -6
- package/dist/{ec2-termination-protection-Dttj-XrE.js.map → ec2-termination-protection-ekOvhSp9.js.map} +1 -1
- package/dist/{ecr-uri-BYWBRpzv.js → ecr-uri-VpDi19pi.js} +2 -2
- package/dist/{ecr-uri-BYWBRpzv.js.map → ecr-uri-VpDi19pi.js.map} +1 -1
- package/dist/{expected-bucket-owner-DWEAlmAk.js → expected-bucket-owner-CmPtCsrQ.js} +2 -2
- package/dist/{expected-bucket-owner-DWEAlmAk.js.map → expected-bucket-owner-CmPtCsrQ.js.map} +1 -1
- package/dist/{iam-role-provider-fCKVbuHw.js → iam-role-provider-Ct6UbKFo.js} +132 -50
- package/dist/iam-role-provider-Ct6UbKFo.js.map +1 -0
- package/dist/{image-plan-XyUNOBmz.js → image-plan-gTOaUUbI.js} +8 -8
- package/dist/{image-plan-XyUNOBmz.js.map → image-plan-gTOaUUbI.js.map} +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-xueeC0uS.js → logger-IBUeRw1z.js} +2 -2
- package/dist/{logger-xueeC0uS.js.map → logger-IBUeRw1z.js.map} +1 -1
- package/dist/{neptune-provider-ClN-LvMb.js → neptune-provider-QgaV_sKy.js} +14 -7
- package/dist/{neptune-provider-ClN-LvMb.js.map → neptune-provider-QgaV_sKy.js.map} +1 -1
- package/dist/{program-Dz-HwMKe.js → program-tHhew1Z5.js} +192 -33
- package/dist/program-tHhew1Z5.js.map +1 -0
- package/dist/{provider-classes-Bmipcl6d.js → provider-classes-DTMnDVMz.js} +1863 -805
- package/dist/provider-classes-DTMnDVMz.js.map +1 -0
- package/dist/{rds-provider-X8pB7V-7.js → rds-provider-D2dkhl8m.js} +17 -10
- package/dist/rds-provider-D2dkhl8m.js.map +1 -0
- package/dist/{read-replica-B9F3-d8h.js → read-replica-CfbVMoYV.js} +3 -3
- package/dist/{read-replica-B9F3-d8h.js.map → read-replica-CfbVMoYV.js.map} +1 -1
- package/dist/{replacement-rules-TNt9wPax.js → replacement-rules-BiIOJMA-.js} +5 -4
- package/dist/{replacement-rules-TNt9wPax.js.map → replacement-rules-BiIOJMA-.js.map} +1 -1
- package/dist/{resource-deadline-CUApArbf.js → resource-deadline-BSpNiiNd.js} +34 -5
- package/dist/resource-deadline-BSpNiiNd.js.map +1 -0
- package/dist/{restore-source-guard-jCM5yJzQ.js → restore-source-guard-Be6A_rNB.js} +4 -4
- package/dist/{restore-source-guard-jCM5yJzQ.js.map → restore-source-guard-Be6A_rNB.js.map} +1 -1
- package/dist/{run-cli-BDjbpUsh.js → run-cli-BkrNHPD5.js} +2 -2
- package/dist/{run-cli-BDjbpUsh.js.map → run-cli-BkrNHPD5.js.map} +1 -1
- package/dist/{settle-own-write-members-CSkozE9A.js → settle-own-write-members-BqAKt1e7.js} +12 -12
- package/dist/{settle-own-write-members-CSkozE9A.js.map → settle-own-write-members-BqAKt1e7.js.map} +1 -1
- package/dist/{version-BXn3jGiB.js → version-0AMFL2lR.js} +2 -2
- package/dist/{version-BXn3jGiB.js.map → version-0AMFL2lR.js.map} +1 -1
- package/package.json +2 -2
- package/dist/deploy-engine-9rzhYsZc.js.map +0 -1
- package/dist/iam-role-provider-fCKVbuHw.js.map +0 -1
- package/dist/program-Dz-HwMKe.js.map +0 -1
- package/dist/provider-classes-Bmipcl6d.js.map +0 -1
- package/dist/rds-provider-X8pB7V-7.js.map +0 -1
- package/dist/resource-deadline-CUApArbf.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
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 deployOptions, A as followContainerLogs, At as namedEnvAwsRegion, B as resolveRuntimeCodeMountPath, Bt as regionNeedsReconciliation, C as waitForRieReady, Cn as STATE_FILE_SUFFIX, Ct as resolveContainerRegion, Dn as listAllStateKeys, Dt as warnAwsEmulatorStateSourceHint, E as SENSITIVE_ENV_KEYS, En as listAllLockKeys, 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 parseStateKey, Ot as workloadGetsEmulatorKeysOnly, P as pullImage, Pt as foldRegionOption, Q as renderNotInAppWarning, Qt as contextOptions, Rt as reconcileExportIndexRegion, S as invokeRie, Sn as LOCK_FILE_SUFFIX, St as realAwsException, T as DockerRunnerError, Tn as describeStateKey, 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 commonOptions, _ as probeHostGatewaySupport, _n as parseDuration, _t as localAwsEmulatorCredentials, a as materializeLayerFromArn, an as noLocalCustomResourcesOption, at as unmatchedPatterns, b as substituteImagePlaceholders, bn as cliArgParser, bt as prepareLocalLoopbackForwarder, cn as regionOption, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as stateOptions, dt as activateLocalAwsAndRoleArn, en as destroyOptions, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as useCdkBootstrapAssetsOption, ft as assertAwsEmulatorValue, g as HOST_GATEWAY_MIN_VERSION, gn as allowUnsupportedTypesOption, gt as localAwsEmulatorActive, h as layerAssetDirectory, hn as parseAssumeRoleToken, ht as keepEmulatorIssuedCredentials, i as resolveInlineCodeFilePath, in as noCfnFallbackOption, it as stacksNoLongerSelected, jt as recordEmulatorDefaultRegion, k as flushStdio, kt as emulatorDefaultRegion, l as resolveLambdaLayers, ln as skipFinalSnapshotOption, lt as stackForConstructPath, m as copyLayerTreeLastWins, mn as normalizeStartApiAssumeRole, mt as getActiveWorkloadAwsWiring$1, n as resolveTmpfsForLambda, nn as exclusivelyOption, nt as stackMatchesPattern, o as resolveLambdaTarget, on as parseContextOptions, ot as buildCdkPathIndex, p as buildContainerImage$1, pn as effectiveAssumeRoleArn, pt as attachLocalLoopbackForwarder, q as refuseStackNameRegionCollisions, qt as writeProfileCredentialsFile, r as resolveZipImagePlan, rn as guardStackRegionOptions, rt as stacksForDependency, s as extractEphemeralStorageMb, sn as parseStackRegion, st as readCdkPathOrUndefined, t as resolveLocalBuildPlan$1, tn as diffUpdatePolicyOptions, tt as selectTargetStack, u as assetPathDirs, un as stackOptions, ut as stackForPathFormTarget, v as resolveHostGatewayExtraHosts, vn as resourceTimeoutOptions, vt as mixedModeActive, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as STATE_KEY_MAX_CODE_POINTS, wt as setContainerRegion, x as tryResolveImageFnJoin, xn as parsePositiveIntegerOption, xt as profileCredentialsForWorkload, y as derivePseudoParametersFromRegion$1, yn as validateResourceTimeouts, yt as mixedModeEmulatorOverride, z as streamLogs, zt as reconcileMarkerRegionWithLegacyDefault } from "./image-plan-
|
|
3
|
-
import { A as assertRegionMatch,
|
|
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-0AMFL2lR.js";
|
|
2
|
+
import { $ as renderStacksNoLongerSelected, $t as deployOptions, A as followContainerLogs, At as namedEnvAwsRegion, B as resolveRuntimeCodeMountPath, Bt as regionNeedsReconciliation, C as waitForRieReady, Cn as STATE_FILE_SUFFIX, Ct as resolveContainerRegion, Dn as listAllStateKeys, Dt as warnAwsEmulatorStateSourceHint, E as SENSITIVE_ENV_KEYS, En as listAllLockKeys, 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 parseStateKey, Ot as workloadGetsEmulatorKeysOnly, P as pullImage, Pt as foldRegionOption, Q as renderNotInAppWarning, Qt as contextOptions, Rt as reconcileExportIndexRegion, S as invokeRie, Sn as LOCK_FILE_SUFFIX, St as realAwsException, T as DockerRunnerError, Tn as describeStateKey, 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 commonOptions, _ as probeHostGatewaySupport, _n as parseDuration, _t as localAwsEmulatorCredentials, a as materializeLayerFromArn, an as noLocalCustomResourcesOption, at as unmatchedPatterns, b as substituteImagePlaceholders, bn as cliArgParser, bt as prepareLocalLoopbackForwarder, cn as regionOption, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as stateOptions, dt as activateLocalAwsAndRoleArn, en as destroyOptions, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as useCdkBootstrapAssetsOption, ft as assertAwsEmulatorValue, g as HOST_GATEWAY_MIN_VERSION, gn as allowUnsupportedTypesOption, gt as localAwsEmulatorActive, h as layerAssetDirectory, hn as parseAssumeRoleToken, ht as keepEmulatorIssuedCredentials, i as resolveInlineCodeFilePath, in as noCfnFallbackOption, it as stacksNoLongerSelected, jt as recordEmulatorDefaultRegion, k as flushStdio, kt as emulatorDefaultRegion, l as resolveLambdaLayers, ln as skipFinalSnapshotOption, lt as stackForConstructPath, m as copyLayerTreeLastWins, mn as normalizeStartApiAssumeRole, mt as getActiveWorkloadAwsWiring$1, n as resolveTmpfsForLambda, nn as exclusivelyOption, nt as stackMatchesPattern, o as resolveLambdaTarget, on as parseContextOptions, ot as buildCdkPathIndex, p as buildContainerImage$1, pn as effectiveAssumeRoleArn, pt as attachLocalLoopbackForwarder, q as refuseStackNameRegionCollisions, qt as writeProfileCredentialsFile, r as resolveZipImagePlan, rn as guardStackRegionOptions, rt as stacksForDependency, s as extractEphemeralStorageMb, sn as parseStackRegion, st as readCdkPathOrUndefined, t as resolveLocalBuildPlan$1, tn as diffUpdatePolicyOptions, tt as selectTargetStack, u as assetPathDirs, un as stackOptions, ut as stackForPathFormTarget, v as resolveHostGatewayExtraHosts, vn as resourceTimeoutOptions, vt as mixedModeActive, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as STATE_KEY_MAX_CODE_POINTS, wt as setContainerRegion, x as tryResolveImageFnJoin, xn as parsePositiveIntegerOption, xt as profileCredentialsForWorkload, y as derivePseudoParametersFromRegion$1, yn as validateResourceTimeouts, yt as mixedModeEmulatorOverride, z as streamLogs, zt as reconcileMarkerRegionWithLegacyDefault } from "./image-plan-gTOaUUbI.js";
|
|
3
|
+
import { A as assertRegionMatch, B as remedyLogicalId, Cn as producerRecordKey, Ct as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, H as isMarkedNotGone, It as logicalIdShown, M as VALUE_NOT_SHOWN, O as DriftReadRefusedError, Rt as resourceTypeShown, Sn as producerCoordinateKey, St as IAM_PRINCIPAL_NAME, Wt as maskDeep, _n as setPasteableAwsCaBundle, _t as beginCommandInterruptScope, an as UNREPRODUCIBLE_LOCK_CLAUSE, bn as injectiveKey, bt as isInterruptedWaitError, cn as forceQuitRecoveryClause, dn as formatLockOwner, gn as WAIT_CONDITION_SIGNAL_PREFIX, gt as renderDisableCommand, hn as DEFAULT_STATE_PREFIX, i as withResourceDeadline, k as RESOURCE_NOT_FOUND, kt as readRecordedPrincipals, ln as formatLockExpiry, mn as CUSTOM_RESOURCE_RESPONSE_PREFIX, on as buildForceUnlockCommand, ot as runDeleteAttempt, pt as isAwsCliLiteral, sn as buildLockContentionMessage, un as formatLockOperation, vn as setPasteableAwsProfile, vt as endCommandInterruptScope, yn as withPasteableAwsProfile, yt as interruptWatchListenerCount } from "./resource-deadline-BSpNiiNd.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, 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, 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-IBUeRw1z.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-AnEvWPy0.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 { $c as malformedDriftResourcePropertiesWarning, $i as green, $n as parseMappingFile, $o as assertSendableRoleArn, $t as removeSignalReceiverNamed, $u as ensureAssetStorage, A as recordedProtectionEvidence, Ac as malformedOrphanRecordsWarning, Ai as collectDeclaredOutputNames, Al as refuseMalformedResourcesForExport, An as DeploymentEventsStore, Ar as undeclaredEmptyObservedKeys, As as keepHeldTokenProvenance, Au as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Bc as malformedLocalResourceEntriesWarning, Bi as supersededAfterRollback, Bl as hasReadableResources, Bn as formatDestructiveChange, Bo as isWaitAbandonedError, Br as planRollback, Bs as isNamelessDynamicReferenceError, C as pendingMovesOutOf, Ca as ccRoutedInstanceTakesNoSnapshot, Cc as maskedInputProof, Ci as secretBearingStateKeyWarning, Cl as STATE_REGION_DIVERGED, Cn as journaledOrphanLines, Cr as buildReadCurrentStateContext, Cs as isStalePlaceholderArnAttribute, Cu as isAbsoluteAssetPath, D as findServiceTokenRefusals, Da as unsupportedFinalSnapshotError, Dc as deployRefusesOrphanRowsReason, Di as exportNameSecretExposure, Dl as malformedStateRefusalMessage, Dn as makeSiblingClaimReader, Dr as calculateResourceDrift, E as deferredServiceTokenWarning, Ea as refusesFinalSnapshot, Ec as maskedPropertyFingerprint, Ei as exportNameNoEchoParameters, El as malformedResourcesWarning, En as makeForeignHolderScan, Eo as localCustomResourceCommand, Er as withUnprovenUnsettled, Es as lacksRecordedTableArn, Eu as templateIdentity, F as readProtection, Fc as refuseMalformedOrphansForOrphan, Fi as DEFAULT_RESOURCE_WARN_AFTER_MS, Fl as withheldAccountClause, Fn as noEchoMacParametersOf, Fo as deleteIndeterminateGuards, Fu as buildAssetRedirectMap, Gc as refuseMalformedResourceEntries, Gn as withMovedTo, Go as poisonRenderedSpellingsCollidingIn, Gr as planFailedOps, Gs as INTRINSIC_KEYS, Gt as readRefactorMarkerOnce, Gu as AssetManifestLoader, H as readStreamPolicy, Hc as malformedResourceEntriesWarning, Hi as supersededHolderOf, Hl as findHandledUnwrittenCreateOnly, Hn as hintSidesOf, Ho as IntrinsicFunctionResolver, Hr as demoteSupersededOrphans, Hs as keepsSecretReferenceToken, Ht as keptForRetainedRecord, Ic as repairMalformedOrphanRecordsForReadOnly, Ii as maskingRetryLogger, Il as STATE_RESOURCES_MALFORMED, In as noEchoMacVerdict, Io as deleteLeftInPlace, Ir as ledgerForStack, Iu as createAssetRedirectResolver, Ja as efsPolicyMatchesDeclared, Jc as refuseMalformedResourceEntriesForImport, Ji as withPreviousPolicies, Jl as NO_CC_HANDLERS_REASON, Jn as changedReferenceReason, Jo as resolveDynamicReferences, Jr as replacementNeverSwapped, Jt as refuseRefactorMarker, Ka as declaredMemberDocument, Kc as refuseMalformedResourceEntriesForDeploy, Ki as snapshotSegmentSurvivors, Kn as changedReferenceInDiff, Ko as stackIdTailOf, Kr as recheckFailedPlan, Kt as refactorMarkerMovesOf, Ku as getDockerImageBySourceHash, La as destroyStackRecordsView, Lc as unpreviewableOrphanRecords, Li as deleteSupersededEntry, Ll as UNREADABLE_RESOURCES_MAP_ROW, Ln as noEchoValueMacsOf, Lo as deleteSkipReason, Ls as getAccountInfo, Lu as createLazyAssetModeContext, M as PROTECTION_PROPERTY_BY_TYPE, Mc as previewableOrphanRecords, Mi as isExportAliasCollision, Ml as repairMalformedResourcesForReadOnly, Mn as NOECHO_MAC_KEY_ALIAS, Mr as updatePartialReason, Ms as recordedOutputReferenceRegions, Mu as decodeListingKey, N as isProtectionValueActive, Nc as refuseMalformedOrphanRecords, Ni as bindingSkippedOutputs, Nl as JSON_LISTING_HOLE_VALUE, Nn as createNoEchoValueMacs, No as RollbackInlinePolicyWriters, Nr as findUpdatePolicyReplacementRefusals, O as serviceTokenBlockingReason, Oa as createPreDeleteFinalSnapshot, Oc as isReadableOrphanRecord, Oi as isWholeDynamicReferenceValue, Ol as refuseMalformedResourcesForDeploy, On as planOrphanAdoption, Oo as setLocalCustomResourceRuntimeEnabled, Or as equalModuloMarkedMask, P as perType, Pc as refuseMalformedOrphanRecordsForDestroy, Pi as DEFAULT_RESOURCE_TIMEOUT_MS, Pl as accountArgs, Pn as noEchoMacBinding, Po as UNSPECIFIED_SKIP_REASON, Pr as replacementCreateRoutesToCloudControl, Ps as recordedReferenceRegions, Qa as reReadUntilSettled, Qc as unreadableResourceEntries, Qi as gray, Ql as providerReplacementOldDeleted, Qn as mappingPairs, Qo as assertFlagRoleArn, Qr as readsRegeneratingSecret, Qs as findReplacedReadersOfRecreateTargets, Qt as isReceiver, Qu as AssetModeResolver, Rc as unreadableOrphanRecords, Ri as holdsSupersededResources, Rl as displayLogicalId, Rn as constructPathOf$1, Rr as withCreateTokenLedger, Rs as isImpossibleEmptyStoredAttribute, S as hasPendingMovesOut, Sa as ccRoutedFinalSnapshotError, Sc as parameterInputsFor, Sd as resolveAssemblyPath, Si as secretBearing, Sl as repairMalformedOutputsForReadOnly, Sn as isHandledOrphan, So as NO_LOCAL_CUSTOM_RESOURCES_FLAG, Sr as earlyDeletedOld, Ss as cfnRefValueFromPhysicalId, Su as findNestedTemplateTreeDefect, T as refusePendingMovesOut, Ta as isFinalSnapshotError, Tc as declaresNoEcho, Ti as carriedExportAliasExposure, Tl as malformedRenderedContainersWarning, Tn as sameJournaledOrphans, To as customResourcesRunWithoutApp, Tr as settleUnsettledPrevious, Ts as lacksRecordedRefArn, Tu as renderNestedTemplateTreeDefect, Ua as LAMBDA_PERMISSION_STATEMENT_KEYS, Uc as malformedScrubResourceEntriesRefusalMessage, Ui as supersededResourcesOf, Un as movedToHint, Uo as isSelectOutOfBounds, Ur as isJournaledOrphan, Us as withSharedDrainBudget, Ut as recordRetainedForReadoption, Va as withStackRecords, Vc as malformedLocalResourcesWarning, Vi as supersededHeldByOtherTypeWarning, Vl as findActionableSdkUnwired, Vn as findRefactorHints, Vr as seedsDeleteFirstGuard, Vs as carriesDynamicReference, Vu as loadPublishableAssetManifest, Wc as refuseMalformedResourceAttributesForOrphan, Wi as withoutSuperseded, Wl as unwrittenCreateOnlyReplacement, Wn as rollbackOrphanIds, Wo as isAlwaysLiveAttribute, Wr as isReplacementOrphan, Wt as readRefactorMarker, Wu as rewriteTemplateAssetReferences, Xa as memberReadFailure, Xc as refuseMalformedResourceEntriesForOrphan, Xi as bold, Xl as PROPERTY_COVERAGE_BY_TYPE, Xn as isPairableType, Xo as refuseUnreadableCdkCrossAccountRefs, Xr as computeImplicitDeleteEdges, Xt as updateRefactorMarker, Ya as lambdaPermissionMatchesDeclared, Yc as refuseMalformedResourceEntriesForImportSave, Yi as findNestedStackTypeChanges, Yl as hasNoCloudControlHandlers, Yn as differingRemedy, Yo as producerLookupOver, Yr as IMPLICIT_DELETE_DEPENDENCIES, Yt as sameMove, Z as declaredTagsReadback, Za as policyDocumentMatchesDeclared, Zc as repairMalformedResourceEntriesForReadOnly, Zi as cyan, Zn as looselyEqual, Zo as applyRoleArnIfSet, Zr as attemptUsesCompletedCreate, Zt as deleteSignalReceiver, _ as conditionFingerprint, _a as stateSecretNameNeedles, _c as getTopLevelKeysHoldingUnreadableCreateOnly, _i as reachableDivergentParameters, _l as malformedOutputsRefusalMessage, _n as getCurrentNestedStackContext, _o as TemplateNoEchoReresolver, _r as replayFailedOperations, _u as withStackInstanceIdWithheld, a as scanActiveConsumers, aa as noEchoParameterNamesOf, ad as readBootstrapMarkerBody, ai as orphanNeedsIdentity, al as refuseMalformedResourcePropertiesForOrphan, an as resolvePendingCloudControlRequests, ao as ProviderRegistry, ar as undeclaredGrantSiblingMembers, as as applyCallerIdentityCredentials, b as readRecordedConditionVerdicts, ba as ATOMIC_FINAL_SNAPSHOT_TYPES, bc as maskedPropertyFingerprintsOf, bi as displayTextOrWithheld, bl as refuseMalformedOutputs, bn as dropFailedCommands, br as PLANNED_EARLY_DELETE_CONSEQUENCE, bs as parameterTypeMayLoseSecretIdentity, c as nestedSsmNameDeferredNote, ca as completedReplayEntries, cd as BOOTSTRAP_MARKER_PREFIX, ci as nameScopeOf, cl as hasReadableOrphans, cn as displacedPhysicalIdShown, co as wouldReturnToSdkProvider, cr as sgSiblingDecidedById, cs as classifyRecordedSecretRegion, cu as hasUnverifiableParameterRefusal, d as slashedSsmNameHealAdoptedNote, da as namingSecretsWithRecordedNoEcho, dc as displayPhysicalId, dd as defineOwnKey, di as retiredNameGenerationsLeaving, dl as refuseMalformedOrphans, dn as nestedChildStackName$1, ds as regionLessSecretName, du as CrossPrefixScanCache, ea as red, ec as shownType, ed as buildDenyExternalAccessPolicy, ei as isRedactedRecordedValue, el as malformedResourcePropertiesWarning, en as macWriteOnlyKeys, er as propertiesChangedReason, es as explicitRoleArnOrThrow, f as slashedSsmNameHealNote, fa as orphanRecordsPrintingBag, fd as hasOwnKey, fi as withNameGenerationReached, fl as refuseMalformedOrphansForDestroy, fn as recordDisplacedSkips, fo as isSignalKey, fs as isUnexposedRecordedIdentity, fu as applyCrossPrefixScan, g as makeCanonicalizePropertiesFn, ga as secretNamedRecordNeedles, gc as getSettledWriteOnlyPropertyPaths, gi as namesAnyDeclaredParameter, gl as malformedLocalOutputsWarning, gn as collectNestedChildUnaddressed, gr as canonicalizeIpProtocolValue, gu as stackInstanceIdOf, h as inheritedProvenanceForChildDiff, hc as withSecretPhysicalIdsMaskedInState, hd as ownValue, hi as computeParameterTaint, hl as malformedExportSourceWarning, hn as withNestedRevertRun, ho as customResourceResponseExpirationWarning, hr as sgProtocolKey, hu as isNotImplemented, i as mergeNoChangeOutputs, ia as noEchoExactEchoLeavesOf, ic as renderStatefulReason, id as parseBootstrapMarker, ii as removeProtectionTypeList, il as refuseMalformedResourcePropertiesForExport, in as pendingRequestCount, io as CC_BROKEN_REASON, ir as stripSiblingOwnedParentMembers, is as AWS_CREDENTIAL_ENV_KEYS, iu as splitImportedOps, j as recordedProtectionNote, jc as malformedOrphanRowsKeptWarning, ji as collectPublishedOutputNames, jl as refuseMalformedState, jn as crossStackReadsForPartialSave, jo as CloudControlProvider, jr as updatePartialMessage, k as diffSecurity, ka as buildFinalSnapshotIdentifier, kc as malformedOrphanRecordsRefusalMessage, ki as noEchoParameterValueSeed, kl as refuseMalformedResourcesForDestroy, kn as DeploymentEventsReader, ko as withCustomResourceStack, kr as equalModuloMask, ku as ssmResolvedValueType, l as nestedSsmNameRowNote, la as journaledOrphanPrintingBag, li as retiredAfterRollback, ll as malformedOrphansRefusalMessage, ln as dropSettledNestedJournals, lo as WaitConditionSignalStore, ls as classifyReplaySecretRegion, lu as rebuildClientForBucketRegion, m as crossStackOutputProvenanceSource, ma as secretNamePrintingBags, mc as secretSegmentsOfState, md as nullPrototypeRecord, mi as inheritProducerRegions, ml as malformedExportNamesWarning, mn as revertedNestedRowIds, mo as applyCustomResourceResponseExpiration, mr as recordedSgRuleId, mu as isAccessDenied, n as isSecretBearingReferenceString, na as noEchoAttributeNamesOf, nc as isStatefulRecreateTargetForReplace, nd as isCrossRegionRedirect, nl as refuseMalformedResourcePropertiesForDestroy, nr as referencedLogicalIds, ns as parseIamRoleArn, nu as TemplateParser, o as inRunStackKey, oa as withAttemptedItemsMasked, od as validateAssetBucketName, oi as nameGenerationCarriedFrom, ol as repairMalformedResourcePropertiesForReadOnly, on as NESTED_PENDING_PARENT_REASON, oo as ccBrokenReason, or as recordedRuleIdOf, os as callerEnvCredentials, ou as readOnlyStateVersionOf, p as slashedSsmNameHealPendingNote, pa as secretNamePrintingBag, pc as secretPhysicalIdSegment, pd as hasPlainPrototype, pl as repairMalformedOrphansForReadOnly, po as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, pr as cfnIngressPortValue, pu as crossPrefixDeniedWarning, q as streamPolicyMatchesDeclared, qa as declaredPolicyDocument, qc as refuseMalformedResourceEntriesForDestroy, qi as resolveReplacementOldType, qn as changedReferencePath, qr as recordUnderIdIsNotOwn, qt as refactorMarkerRefusalMessage, r as keptWholeReasonText, ra as noEchoComparisonForTemplate, rc as isStatefulRecreateTargetSync, rd as getBootstrapMarkerKey, ri as segmentCleanupOptions, rl as refuseMalformedResourcePropertiesForDrift, rn as formatResourceLine, rr as siblingOwnedRevertDesired, rs as sendableAssumeRoleCommand, ru as S3StateBackend, s as checkNestedSsmNames, sa as createReadOnlyAttributeHealerFactory, sd as validateContainerRepoName, si as nameGenerationHighWaterOf, sl as UNREADABLE_ORPHANS_CONTAINER_ROW, sn as displacedOpClause, so as isCustomResource, sr as sgRuleOwnershipIdentity, ss as envCredentialsAreAssumedRole, su as hasReasonlessBaselineRefusal, t as DeployEngine, ta as yellow, tc as MULTI_REGION_RECREATE_BLOCKED_TYPES, td as assertAssetBucketRegion, tn as readsOnlyNoEchoParameters, to as verbatimEchoDriftKeys, tr as proposeRenames, ts as isIamRoleArn, tt as tagsMatchDeclared, u as healSlashedSsmParameterNames, ua as maskEventTextWithBoundBags, ui as retiredNameGenerationsAfter, ul as malformedOrphansWarning, uo as classifyHandleUrl, ur as siblingRecordedSgRuleIds, us as producerRegionsFromState, uu as CrossPrefixReadError, v as conditionInputsFrom, va as storedSecretNameNeedles, vc as tryGetTopLevelWriteOnlyProperties, vd as describeFileReadFailure, vi as resourcesNamingDeclaredParameter, vl as malformedOutputsWarning, vn as withNestedStackContext, vo as readsNoEchoDeleteValues, vr as replayRollback, vs as coerceParameterTypedValue, vu as isSecretValuedAttribute, w as pendingMovesRefusalMessage, wa as effectiveDeletionPolicy, wd as resolveBucketRegion, wi as secretSafeKeyDisplay, wl as refuseDivergentRecordRegionForDestroy, wn as loadJournaledOrphans, wo as customResourcesFailedWithoutApp, wr as recordAfterRollbackUpdate, ws as refStateLookupFromResource, wu as listNestedTemplateRows, x as childTemplateLoader, xa as PRE_DELETE_SNAPSHOT_TYPES, xd as renderAssemblyPathEscape, xi as exportAliasCollisionScrubWarning, xl as refuseMalformedOutputsForDestroy, xn as dropFailedHint, xo as withPrintingSecrets, xr as earlyDeleteWhen, xs as AWS_NO_VALUE, y as parentSuppliedValues, ya as extractDeploymentEventError, yd as displayAssemblyPath, yi as WITHHELD_NAME_DISPLAY, yn as deleteJournaledOrphans, yo as isCustomResourceType$1, yr as DELETED_RESOURCE_REMEDY, ys as isUnboundTemplateParameter, yu as isSensitiveAttributeName, za as revertStackRecordsView, zc as isReadableResourceEntry, zi as isSupersededResourceRecord, zl as hasReadableOutputs, zn as findDestructiveChanges, zo as getReadOnlyPropertyPaths, zs as carriesFetchableDynamicReference } from "./deploy-engine-9rzhYsZc.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-BqAKt1e7.js";
|
|
9
|
+
import { $a as reReadUntilSettled, $c as unreadableResourceEntries, $i as gray, $l as providerReplacementOldDeleted, $n as parseMappingFile, $o as assertFlagRoleArn, $s as findReplacedReadersOfRecreateTargets, $t as removeSignalReceiverNamed, $u as AssetModeResolver, A as recordedProtectionEvidence, Aa as buildFinalSnapshotIdentifier, Ac as malformedOrphanRecordsRefusalMessage, Ai as collectDeclaredOutputNames, Al as refuseMalformedResourcesForDestroy, An as DeploymentEventsStore, Ao as withCustomResourceStack, Ar as undeclaredEmptyObservedKeys, Au as ssmResolvedValueType, Ba as revertStackRecordsView, Bc as isReadableResourceEntry, Bi as supersededAfterRollback, Bl as hasReadableOutputs, Bn as formatDestructiveChange, Bo as getReadOnlyPropertyPaths, Br as planRollback, Bs as carriesFetchableDynamicReference, C as pendingMovesOutOf, Ca as ccRoutedFinalSnapshotError, Cc as parameterInputsFor, Cd as resolveAssemblyPath, Ci as secretBearingStateKeyWarning, Cl as repairMalformedOutputsForReadOnly, Cn as journaledOrphanLines, Co as NO_LOCAL_CUSTOM_RESOURCES_FLAG, Cr as buildReadCurrentStateContext, Cs as cfnRefValueFromPhysicalId, Cu as findNestedTemplateTreeDefect, D as findServiceTokenRefusals, Da as refusesFinalSnapshot, Dc as maskedPropertyFingerprint, Di as exportNameSecretExposure, Dl as malformedResourcesWarning, Dn as makeSiblingClaimReader, Do as localCustomResourceCommand, Dr as calculateResourceDrift, Ds as lacksRecordedTableArn, Du as templateIdentity, E as deferredServiceTokenWarning, Ea as isFinalSnapshotError, Ec as declaresNoEcho, Ei as exportNameNoEchoParameters, El as malformedRenderedContainersWarning, En as makeForeignHolderScan, Eo as customResourcesRunWithoutApp, Er as withUnprovenUnsettled, Es as lacksRecordedRefArn, Eu as renderNestedTemplateTreeDefect, F as readProtection, Fc as refuseMalformedOrphanRecordsForDestroy, Fi as DEFAULT_RESOURCE_WARN_AFTER_MS, Fl as accountArgs, Fn as noEchoMacParametersOf, Fo as UNSPECIFIED_SKIP_REASON, Fs as recordedReferenceRegions, Gc as refuseMalformedResourceAttributesForOrphan, Gi as withoutSuperseded, Gl as unwrittenCreateOnlyReplacement, Gn as withMovedTo, Go as isAlwaysLiveAttribute, Gr as planFailedOps, Gt as readRefactorMarkerOnce, Gu as rewriteTemplateAssetReferences, H as readStreamPolicy, Ha as withStackRecords, Hc as malformedLocalResourcesWarning, Hi as supersededHeldByOtherTypeWarning, Hl as findActionableSdkUnwired, Hn as hintSidesOf, Hr as demoteSupersededOrphans, Hs as carriesDynamicReference, Ht as keptForRetainedRecord, Hu as loadPublishableAssetManifest, Ic as refuseMalformedOrphansForOrphan, Ii as maskingRetryLogger, Il as withheldAccountClause, In as noEchoMacVerdict, Io as deleteIndeterminateGuards, Ir as ledgerForStack, Iu as buildAssetRedirectMap, Ja as declaredPolicyDocument, Jc as refuseMalformedResourceEntriesForDestroy, Ji as resolveReplacementOldType, Jn as changedReferenceReason, Jr as replacementNeverSwapped, Jt as refuseRefactorMarker, Kc as refuseMalformedResourceEntries, Kn as changedReferenceInDiff, Ko as poisonRenderedSpellingsCollidingIn, Kr as recheckFailedPlan, Ks as INTRINSIC_KEYS, Kt as refactorMarkerMovesOf, Ku as AssetManifestLoader, Lc as repairMalformedOrphanRecordsForReadOnly, Li as deleteSupersededEntry, Ll as STATE_RESOURCES_MALFORMED, Ln as noEchoValueMacsOf, Lo as deleteLeftInPlace, Lu as createAssetRedirectResolver, M as PROTECTION_PROPERTY_BY_TYPE, Mc as malformedOrphanRowsKeptWarning, Mi as isExportAliasCollision, Ml as refuseMalformedState, Mn as NOECHO_MAC_KEY_ALIAS, Mo as CloudControlProvider, Mr as updatePartialReason, N as isProtectionValueActive, Nc as previewableOrphanRecords, Ni as bindingSkippedOutputs, Nl as repairMalformedResourcesForReadOnly, Nn as createNoEchoValueMacs, Nr as findUpdatePolicyReplacementRefusals, Ns as recordedOutputReferenceRegions, Nu as decodeListingKey, O as serviceTokenBlockingReason, Oa as unsupportedFinalSnapshotError, Oc as deployRefusesOrphanRowsReason, Oi as isWholeDynamicReferenceValue, Ol as malformedStateRefusalMessage, On as planOrphanAdoption, Or as equalModuloMarkedMask, P as perType, Pc as refuseMalformedOrphanRecords, Pi as DEFAULT_RESOURCE_TIMEOUT_MS, Pl as JSON_LISTING_HOLE_VALUE, Pn as noEchoMacBinding, Po as RollbackInlinePolicyWriters, Pr as replacementCreateRoutesToCloudControl, Qa as policyDocumentMatchesDeclared, Qc as repairMalformedResourceEntriesForReadOnly, Qi as cyan, Qn as mappingPairs, Qo as applyRoleArnIfSet, Qr as readsRegeneratingSecret, Qt as isReceiver, Ra as destroyStackRecordsView, Rc as unpreviewableOrphanRecords, Ri as holdsSupersededResources, Rl as UNREADABLE_RESOURCES_MAP_ROW, Rn as constructPathOf$1, Ro as deleteSkipReason, Rr as withCreateTokenLedger, Rs as getAccountInfo, Ru as createLazyAssetModeContext, S as hasPendingMovesOut, Sa as PRE_DELETE_SNAPSHOT_TYPES, Sd as renderAssemblyPathEscape, Si as secretBearing, Sl as refuseMalformedOutputsForDestroy, Sn as isHandledOrphan, So as withPrintingSecrets, Sr as earlyDeletedOld, Ss as AWS_NO_VALUE, T as refusePendingMovesOut, Ta as effectiveDeletionPolicy, Td as resolveBucketRegion, Ti as carriedExportAliasExposure, Tl as refuseDivergentRecordRegionForDestroy, Tn as sameJournaledOrphans, To as customResourcesFailedWithoutApp, Tr as settleUnsettledPrevious, Ts as refStateLookupFromResource, Tu as listNestedTemplateRows, Uc as malformedResourceEntriesWarning, Ui as supersededHolderOf, Ul as findHandledUnwrittenCreateOnly, Un as movedToHint, Uo as IntrinsicFunctionResolver, Ur as isJournaledOrphan, Us as keepsSecretReferenceToken, Ut as recordRetainedForReadoption, Vc as malformedLocalResourceEntriesWarning, Vi as supersededDependentsFirst, Vl as hasReadableResources, Vn as findRefactorHints, Vo as isWaitAbandonedError, Vr as seedsDeleteFirstGuard, Vs as isNamelessDynamicReferenceError, Wa as LAMBDA_PERMISSION_STATEMENT_KEYS, Wc as malformedScrubResourceEntriesRefusalMessage, Wi as supersededResourcesOf, Wn as rollbackOrphanIds, Wo as isSelectOutOfBounds, Wr as isReplacementOrphan, Ws as withSharedDrainBudget, Wt as readRefactorMarker, Xa as lambdaPermissionMatchesDeclared, Xc as refuseMalformedResourceEntriesForImportSave, Xi as findNestedStackTypeChanges, Xl as hasNoCloudControlHandlers, Xn as isPairableType, Xo as producerLookupOver, Xr as computeImplicitDeleteEdges, Xt as updateRefactorMarker, Ya as efsPolicyMatchesDeclared, Yc as refuseMalformedResourceEntriesForImport, Yi as withPreviousPolicies, Yl as NO_CC_HANDLERS_REASON, Yn as differingRemedy, Yo as resolveDynamicReferences, Yr as IMPLICIT_DELETE_DEPENDENCIES, Yt as sameMove, Z as declaredTagsReadback, Za as memberReadFailure, Zc as refuseMalformedResourceEntriesForOrphan, Zi as bold, Zl as PROPERTY_COVERAGE_BY_TYPE, Zn as looselyEqual, Zo as refuseUnreadableCdkCrossAccountRefs, Zr as attemptUsesCompletedCreate, Zt as deleteSignalReceiver, _ as conditionFingerprint, _a as secretNamedRecordNeedles, _c as getSettledWriteOnlyPropertyPaths, _i as reachableDivergentParameters, _l as malformedLocalOutputsWarning, _n as getCurrentNestedStackContext, _r as replayFailedOperations, _u as stackInstanceIdOf, a as scanActiveConsumers, aa as noEchoExactEchoLeavesOf, ac as renderStatefulReason, ad as parseBootstrapMarker, ai as orphanNeedsIdentity, al as refuseMalformedResourcePropertiesForExport, an as resolvePendingCloudControlRequests, ao as CC_BROKEN_REASON, ar as undeclaredGrantSiblingMembers, as as AWS_CREDENTIAL_ENV_KEYS, au as splitImportedOps, b as readRecordedConditionVerdicts, ba as extractDeploymentEventError, bd as displayAssemblyPath, bi as displayTextOrWithheld, bn as dropFailedCommands, bo as isCustomResourceType$1, br as PLANNED_EARLY_DELETE_CONSEQUENCE, bs as isUnboundTemplateParameter, bu as isSensitiveAttributeName, c as nestedSsmNameDeferredNote, ca as createReadOnlyAttributeHealerFactory, cd as validateContainerRepoName, ci as nameScopeOf, cl as UNREADABLE_ORPHANS_CONTAINER_ROW, cn as displacedPhysicalIdShown, co as isCustomResource, cr as sgSiblingDecidedById, cs as envCredentialsAreAssumedRole, cu as hasReasonlessBaselineRefusal, d as slashedSsmNameHealAdoptedNote, da as maskEventTextWithBoundBags, di as retiredNameGenerationsLeaving, dl as malformedOrphansWarning, dn as nestedChildStackName$1, do as classifyHandleUrl, ds as producerRegionsFromState, du as CrossPrefixReadError, ea as green, ed as ensureAssetStorage, ei as isRedactedRecordedValue, el as malformedDriftResourcePropertiesWarning, en as macWriteOnlyKeys, er as propertiesChangedReason, es as assertSendableRoleArn, f as slashedSsmNameHealNote, fa as namingSecretsWithRecordedNoEcho, fc as displayPhysicalId, fd as defineOwnKey, fi as withNameGenerationReached, fl as refuseMalformedOrphans, fn as recordDisplacedSkips, fs as regionLessSecretName, fu as CrossPrefixScanCache, g as makeCanonicalizePropertiesFn, gc as withSecretPhysicalIdsMaskedInState, gd as ownValue, gi as namesAnyDeclaredParameter, gl as malformedExportSourceWarning, gn as collectNestedChildUnaddressed, go as customResourceResponseExpirationWarning, gr as canonicalizeIpProtocolValue, gu as isNotImplemented, h as inheritedProvenanceForChildDiff, ha as secretNamePrintingBags, hc as secretSegmentsOfState, hd as nullPrototypeRecord, hi as computeParameterTaint, hl as malformedExportNamesWarning, hn as withNestedRevertRun, ho as applyCustomResourceResponseExpiration, hr as sgProtocolKey, hu as isAccessDenied, i as mergeNoChangeOutputs, ia as noEchoComparisonForTemplate, ic as isStatefulRecreateTargetSync, id as getBootstrapMarkerKey, ii as removeProtectionTypeList, il as refuseMalformedResourcePropertiesForDrift, in as pendingRequestCount, ir as stripSiblingOwnedParentMembers, is as sendableAssumeRoleCommand, iu as S3StateBackend, j as recordedProtectionNote, jc as malformedOrphanRecordsWarning, ji as collectPublishedOutputNames, jl as refuseMalformedResourcesForExport, jn as crossStackReadsForPartialSave, jr as updatePartialMessage, js as keepHeldTokenProvenance, ju as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, k as diffSecurity, ka as createPreDeleteFinalSnapshot, kc as isReadableOrphanRecord, ki as noEchoParameterValueSeed, kl as refuseMalformedResourcesForDeploy, kn as DeploymentEventsReader, ko as setLocalCustomResourceRuntimeEnabled, kr as equalModuloMask, l as nestedSsmNameRowNote, la as completedReplayEntries, ld as BOOTSTRAP_MARKER_PREFIX, li as retiredAfterRollback, ll as hasReadableOrphans, ln as dropSettledNestedJournals, lo as wouldReturnToSdkProvider, ls as classifyRecordedSecretRegion, lu as hasUnverifiableParameterRefusal, m as crossStackOutputProvenanceSource, ma as secretNamePrintingBag, mc as secretPhysicalIdSegment, md as hasPlainPrototype, mi as inheritProducerRegions, ml as repairMalformedOrphansForReadOnly, mn as revertedNestedRowIds, mo as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, mr as recordedSgRuleId, mu as crossPrefixDeniedWarning, n as isSecretBearingReferenceString, na as yellow, nc as MULTI_REGION_RECREATE_BLOCKED_TYPES, nd as assertAssetBucketRegion, no as verbatimEchoDriftKeys, nr as referencedLogicalIds, ns as isIamRoleArn, o as inRunStackKey, oa as noEchoParameterNamesOf, od as readBootstrapMarkerBody, oi as nameGenerationCarriedFrom, ol as refuseMalformedResourcePropertiesForOrphan, on as NESTED_PENDING_PARENT_REASON, oo as ProviderRegistry, or as recordedRuleIdOf, os as applyCallerIdentityCredentials, p as slashedSsmNameHealPendingNote, pa as orphanRecordsPrintingBag, pd as hasOwnKey, pl as refuseMalformedOrphansForDestroy, po as isSignalKey, pr as cfnIngressPortValue, ps as isUnexposedRecordedIdentity, pu as applyCrossPrefixScan, q as streamPolicyMatchesDeclared, qa as declaredMemberDocument, qc as refuseMalformedResourceEntriesForDeploy, qi as snapshotSegmentSurvivors, qn as changedReferencePath, qo as stackIdTailOf, qr as recordUnderIdIsNotOwn, qt as refactorMarkerRefusalMessage, qu as getDockerImageBySourceHash, r as keptWholeReasonText, ra as noEchoAttributeNamesOf, rc as isStatefulRecreateTargetForReplace, rd as isCrossRegionRedirect, ri as segmentCleanupOptions, rl as refuseMalformedResourcePropertiesForDestroy, rn as formatResourceLine, rr as siblingOwnedRevertDesired, rs as parseIamRoleArn, ru as TemplateParser, s as checkNestedSsmNames, sa as withAttemptedItemsMasked, sd as validateAssetBucketName, si as nameGenerationHighWaterOf, sl as repairMalformedResourcePropertiesForReadOnly, sn as displacedOpClause, so as ccBrokenReason, sr as sgRuleOwnershipIdentity, ss as callerEnvCredentials, su as readOnlyStateVersionOf, t as DeployEngine, ta as red, tc as shownType, td as buildDenyExternalAccessPolicy, tl as malformedResourcePropertiesWarning, tn as readsOnlyNoEchoParameters, tr as proposeRenames, ts as explicitRoleArnOrThrow, tt as tagsMatchDeclared, u as healSlashedSsmParameterNames, ua as journaledOrphanPrintingBag, ui as retiredNameGenerationsAfter, ul as malformedOrphansRefusalMessage, uo as WaitConditionSignalStore, ur as siblingRecordedSgRuleIds, us as classifyReplaySecretRegion, uu as rebuildClientForBucketRegion, v as conditionInputsFrom, va as stateSecretNameNeedles, vc as getTopLevelKeysHoldingUnreadableCreateOnly, vi as resourcesNamingDeclaredParameter, vl as malformedOutputsRefusalMessage, vn as withNestedStackContext, vo as TemplateNoEchoReresolver, vr as replayRollback, vu as withStackInstanceIdWithheld, w as pendingMovesRefusalMessage, wa as ccRoutedInstanceTakesNoSnapshot, wc as maskedInputProof, wi as secretSafeKeyDisplay, wl as STATE_REGION_DIVERGED, wn as loadJournaledOrphans, wr as recordAfterRollbackUpdate, ws as isStalePlaceholderArnAttribute, wu as isAbsoluteAssetPath, x as childTemplateLoader, xa as ATOMIC_FINAL_SNAPSHOT_TYPES, xc as maskedPropertyFingerprintsOf, xi as exportAliasCollisionScrubWarning, xl as refuseMalformedOutputs, xn as dropFailedHint, xr as earlyDeleteWhen, xs as parameterTypeMayLoseSecretIdentity, y as parentSuppliedValues, ya as storedSecretNameNeedles, yc as tryGetTopLevelWriteOnlyProperties, yd as describeFileReadFailure, yi as WITHHELD_NAME_DISPLAY, yl as malformedOutputsWarning, yn as deleteJournaledOrphans, yo as readsNoEchoDeleteValues, yr as DELETED_RESOURCE_REMEDY, ys as coerceParameterTypedValue, yu as isSecretValuedAttribute, zc as unreadableOrphanRecords, zi as isSupersededResourceRecord, zl as displayLogicalId, zn as findDestructiveChanges, zs as isImpossibleEmptyStoredAttribute } from "./deploy-engine-BSqVfcSN.js";
|
|
10
10
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix, t as PARTITION_TABLE } from "./aws-partition-DA0r2sr-.js";
|
|
11
|
-
import { C as prefetchCreateOnlyPropertyPaths, E as describeTypeWithThrottleRetry, J as parseFailureDebugDetail, K as describeJsonParseFailure, U as renderPhaseTimings, W as timePhase, X as utf8ByteLength, j as withRetry, l as setResolvedResourceTimeouts, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, z as PhaseClock } from "./ec2-termination-protection-
|
|
12
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
13
|
-
import { Bt as describeRegionValueKind, Gt as isReadableBag, Ht as hasReadableExportSet, Jt as shouldRetainResource, Kt as orphansAfterRollback, Tt as differingIdentityWarning, Ut as importableOutputKeys, Vt as exportNamesCarriedFrom, Wt as importableOutputs, Xt as stackInstanceIdCarriedFrom, kt as slowCcOperationTimeoutMs, qt as orphansCarriedFrom, zt as acceptedCreateOnlyDropsOf } from "./delete-started-
|
|
14
|
-
import { An as recordNoEchoAttributeValues, Bt as identityKeyFor, D as recordedNoEchoValuesOf, Fn as WHOLE_DYNAMIC_REFERENCE_PATTERN, Ft as keepTemplateLiteralLeaves, Ln as isSingleDynamicReferenceToken, Lt as spelledKeysOf, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, On as recordMaskOnlyValue, Ot as scrubResourceRecord, Pt as isUncertifiedBaselineMaskPosition, Rt as pathCrossesDottedKey, T as readsNoEchoSource, Tn as provenPublicValue, W as redactForState, Yt as inheritNestedStackParameterAssociations, _t as maskSecretsInText, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, ct as recordLogOnlyParameterValue, dt as shareLogOnlyValues, et as carryLogOnlyValues, f as isMarkedCoordinate, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gt as maskSecretsInError, h as maskWholeValue, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as recordNoEchoParameterFreshValue, k as valueAtCoordinate, kn as recordMaskOnlyValuesIn, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, sn as physicalNameCopiesOf, st as printingCorpusOf, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, y as noEchoLeavesOf } from "./replacement-rules-
|
|
15
|
-
import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-
|
|
16
|
-
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-
|
|
11
|
+
import { C as prefetchCreateOnlyPropertyPaths, E as describeTypeWithThrottleRetry, J as parseFailureDebugDetail, K as describeJsonParseFailure, U as renderPhaseTimings, W as timePhase, X as utf8ByteLength, j as withRetry, l as setResolvedResourceTimeouts, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, z as PhaseClock } from "./ec2-termination-protection-ekOvhSp9.js";
|
|
12
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-CmPtCsrQ.js";
|
|
13
|
+
import { Bt as describeRegionValueKind, Gt as isReadableBag, Ht as hasReadableExportSet, Jt as shouldRetainResource, Kt as orphansAfterRollback, Tt as differingIdentityWarning, Ut as importableOutputKeys, Vt as exportNamesCarriedFrom, Wt as importableOutputs, Xt as stackInstanceIdCarriedFrom, kt as slowCcOperationTimeoutMs, qt as orphansCarriedFrom, zt as acceptedCreateOnlyDropsOf } from "./delete-started-BJNrzLUk.js";
|
|
14
|
+
import { An as recordNoEchoAttributeValues, Bt as identityKeyFor, D as recordedNoEchoValuesOf, Fn as WHOLE_DYNAMIC_REFERENCE_PATTERN, Ft as keepTemplateLiteralLeaves, Ln as isSingleDynamicReferenceToken, Lt as spelledKeysOf, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, On as recordMaskOnlyValue, Ot as scrubResourceRecord, Pt as isUncertifiedBaselineMaskPosition, Rt as pathCrossesDottedKey, T as readsNoEchoSource, Tn as provenPublicValue, W as redactForState, Yt as inheritNestedStackParameterAssociations, _t as maskSecretsInText, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, ct as recordLogOnlyParameterValue, dt as shareLogOnlyValues, et as carryLogOnlyValues, f as isMarkedCoordinate, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gt as maskSecretsInError, h as maskWholeValue, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as recordNoEchoParameterFreshValue, k as valueAtCoordinate, kn as recordMaskOnlyValuesIn, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, sn as physicalNameCopiesOf, st as printingCorpusOf, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, y as noEchoLeavesOf } from "./replacement-rules-BiIOJMA-.js";
|
|
15
|
+
import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-Be6A_rNB.js";
|
|
16
|
+
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-VpDi19pi.js";
|
|
17
17
|
import { t as cdkdCacheHome } from "./cache-home-BVYKj3de.js";
|
|
18
18
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
19
19
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutBucketVersioningCommand, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -1541,7 +1541,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
1541
1541
|
// src/provisioning/register-providers.ts
|
|
1542
1542
|
let providerClasses;
|
|
1543
1543
|
function loadProviderClasses() {
|
|
1544
|
-
providerClasses ??= import("./provider-classes-
|
|
1544
|
+
providerClasses ??= import("./provider-classes-DTMnDVMz.js");
|
|
1545
1545
|
return providerClasses;
|
|
1546
1546
|
}
|
|
1547
1547
|
function registerAllProviders(registry, classes) {
|
|
@@ -3718,6 +3718,148 @@ function createDeployCommand() {
|
|
|
3718
3718
|
return cmd;
|
|
3719
3719
|
}
|
|
3720
3720
|
|
|
3721
|
+
// src/analyzer/cross-stack-preview.ts
|
|
3722
|
+
var CrossStackPreview = class {
|
|
3723
|
+
exports = /* @__PURE__ */ new Map();
|
|
3724
|
+
outputs = /* @__PURE__ */ new Map();
|
|
3725
|
+
exportValue(region, name) {
|
|
3726
|
+
return this.exports.get(key(region, name));
|
|
3727
|
+
}
|
|
3728
|
+
stackOutput(region, stackName, outputName) {
|
|
3729
|
+
return this.outputs.get(key(region, stackName, outputName));
|
|
3730
|
+
}
|
|
3731
|
+
record(region, stackName, values) {
|
|
3732
|
+
for (const [name, value] of values.exports) this.exports.set(key(region, name), value);
|
|
3733
|
+
for (const [name, value] of values.outputs) this.outputs.set(key(region, stackName, name), value);
|
|
3734
|
+
}
|
|
3735
|
+
};
|
|
3736
|
+
function key(region, ...parts) {
|
|
3737
|
+
return JSON.stringify([canonicalizeRegion(region), ...parts]);
|
|
3738
|
+
}
|
|
3739
|
+
function isScalar$1(value) {
|
|
3740
|
+
return typeof value === "string" || typeof value === "number" || typeof value === "boolean";
|
|
3741
|
+
}
|
|
3742
|
+
function previewProducerValues(input) {
|
|
3743
|
+
const exports = /* @__PURE__ */ new Map();
|
|
3744
|
+
const outputs = /* @__PURE__ */ new Map();
|
|
3745
|
+
const renewed = /* @__PURE__ */ new Set();
|
|
3746
|
+
for (const change of input.changes.values()) if (change.changeType === "CREATE" || change.changeType === "UPDATE" && (change.resourceType === "AWS::CloudFormation::Stack" || (change.propertyChanges ?? []).some((p) => p.requiresReplacement))) renewed.add(change.logicalId);
|
|
3747
|
+
const producerStack = input.stackName;
|
|
3748
|
+
const stored = input.storedOutputs ?? {};
|
|
3749
|
+
const verdict = (desired) => isScalar$1(desired) && desired !== "***" && !String(desired).includes("{{resolve:") && !input.holdsSecret(String(desired)) ? {
|
|
3750
|
+
kind: "known",
|
|
3751
|
+
value: desired,
|
|
3752
|
+
producerStack
|
|
3753
|
+
} : {
|
|
3754
|
+
kind: "unknown",
|
|
3755
|
+
producerStack
|
|
3756
|
+
};
|
|
3757
|
+
for (const [outputName, definition] of Object.entries(input.template.Outputs ?? {})) {
|
|
3758
|
+
const condition = definition?.Condition;
|
|
3759
|
+
if (typeof condition === "string" && input.conditions?.[condition] === false) continue;
|
|
3760
|
+
const value = definition?.Value;
|
|
3761
|
+
const exportName = input.exportNameOf.get(outputName);
|
|
3762
|
+
const refs = referencedLogicalIds({ Resources: { output: {
|
|
3763
|
+
Type: "Output",
|
|
3764
|
+
Properties: { value }
|
|
3765
|
+
} } }, "output");
|
|
3766
|
+
let previewed;
|
|
3767
|
+
if ([...refs].some((id) => renewed.has(id))) previewed = {
|
|
3768
|
+
kind: "unknown",
|
|
3769
|
+
producerStack
|
|
3770
|
+
};
|
|
3771
|
+
else if (Object.hasOwn(input.desiredOutputs, outputName)) {
|
|
3772
|
+
const desired = input.desiredOutputs[outputName];
|
|
3773
|
+
if (stored[outputName] === "***" || desired === void 0) continue;
|
|
3774
|
+
if (JSON.stringify(desired) !== JSON.stringify(stored[outputName])) previewed = verdict(desired);
|
|
3775
|
+
else if (exportName !== void 0 && !Object.hasOwn(stored, exportName)) {
|
|
3776
|
+
exports.set(exportName, verdict(desired));
|
|
3777
|
+
continue;
|
|
3778
|
+
}
|
|
3779
|
+
} else if (input.readsUnknownPreview?.(value) === true) previewed = {
|
|
3780
|
+
kind: "unknown",
|
|
3781
|
+
producerStack
|
|
3782
|
+
};
|
|
3783
|
+
if (previewed === void 0) continue;
|
|
3784
|
+
outputs.set(outputName, previewed);
|
|
3785
|
+
if (exportName !== void 0) exports.set(exportName, previewed);
|
|
3786
|
+
}
|
|
3787
|
+
return {
|
|
3788
|
+
exports,
|
|
3789
|
+
outputs
|
|
3790
|
+
};
|
|
3791
|
+
}
|
|
3792
|
+
async function resolvedExportNames(template, resolve) {
|
|
3793
|
+
const names = /* @__PURE__ */ new Map();
|
|
3794
|
+
for (const [outputName, definition] of Object.entries(template.Outputs ?? {})) {
|
|
3795
|
+
const exportName = definition?.Export?.Name;
|
|
3796
|
+
if (exportName === void 0) continue;
|
|
3797
|
+
try {
|
|
3798
|
+
const resolved = typeof exportName === "string" ? exportName : await resolve(exportName);
|
|
3799
|
+
if (typeof resolved === "string") names.set(outputName, resolved);
|
|
3800
|
+
} catch {}
|
|
3801
|
+
}
|
|
3802
|
+
return names;
|
|
3803
|
+
}
|
|
3804
|
+
async function recordProducerPreview(preview, region, resolve, input) {
|
|
3805
|
+
const exportNameOf = await resolvedExportNames(input.template, resolve);
|
|
3806
|
+
const readsUnknownPreview = (value) => crossStackReads(value).some((read) => {
|
|
3807
|
+
return (read.kind === "export" ? preview.exportValue(region, read.name) : preview.stackOutput(read.region ?? region, read.stackName, read.outputName))?.kind === "unknown";
|
|
3808
|
+
});
|
|
3809
|
+
preview.record(region, input.stackName, previewProducerValues({
|
|
3810
|
+
...input,
|
|
3811
|
+
exportNameOf,
|
|
3812
|
+
readsUnknownPreview
|
|
3813
|
+
}));
|
|
3814
|
+
}
|
|
3815
|
+
function crossStackReads(value) {
|
|
3816
|
+
const reads = [];
|
|
3817
|
+
const walk = (node) => {
|
|
3818
|
+
if (Array.isArray(node)) {
|
|
3819
|
+
node.forEach(walk);
|
|
3820
|
+
return;
|
|
3821
|
+
}
|
|
3822
|
+
if (node === null || typeof node !== "object") return;
|
|
3823
|
+
for (const [key, arg] of Object.entries(node)) {
|
|
3824
|
+
if (key === "Fn::ImportValue" && typeof arg === "string") reads.push({
|
|
3825
|
+
kind: "export",
|
|
3826
|
+
name: arg
|
|
3827
|
+
});
|
|
3828
|
+
else if (key === "Fn::GetStackOutput" && arg !== null && typeof arg === "object") {
|
|
3829
|
+
const { StackName, OutputName, Region, RoleArn } = arg;
|
|
3830
|
+
if (typeof StackName === "string" && typeof OutputName === "string" && RoleArn === void 0) reads.push({
|
|
3831
|
+
kind: "output",
|
|
3832
|
+
stackName: StackName,
|
|
3833
|
+
outputName: OutputName,
|
|
3834
|
+
...typeof Region === "string" && { region: Region }
|
|
3835
|
+
});
|
|
3836
|
+
}
|
|
3837
|
+
walk(arg);
|
|
3838
|
+
}
|
|
3839
|
+
};
|
|
3840
|
+
walk(value);
|
|
3841
|
+
return reads;
|
|
3842
|
+
}
|
|
3843
|
+
function orderProducersFirst(stacks, dependenciesOf) {
|
|
3844
|
+
const inSet = new Set(stacks);
|
|
3845
|
+
const placed = /* @__PURE__ */ new Set();
|
|
3846
|
+
const ordered = [];
|
|
3847
|
+
let progressed = true;
|
|
3848
|
+
while (ordered.length < stacks.length && progressed) {
|
|
3849
|
+
progressed = false;
|
|
3850
|
+
for (const stack of stacks) {
|
|
3851
|
+
if (placed.has(stack)) continue;
|
|
3852
|
+
if (![...dependenciesOf(stack)].every((dep) => dep === stack || !inSet.has(dep) || placed.has(dep))) continue;
|
|
3853
|
+
placed.add(stack);
|
|
3854
|
+
ordered.push(stack);
|
|
3855
|
+
progressed = true;
|
|
3856
|
+
break;
|
|
3857
|
+
}
|
|
3858
|
+
}
|
|
3859
|
+
for (const stack of stacks) if (!placed.has(stack)) ordered.push(stack);
|
|
3860
|
+
return ordered;
|
|
3861
|
+
}
|
|
3862
|
+
|
|
3721
3863
|
// src/cli/commands/retire-cfn-stack/types.ts
|
|
3722
3864
|
const NESTED_STACK_RESOURCE_TYPE = "AWS::CloudFormation::Stack";
|
|
3723
3865
|
const TEMPLATE_BODY_LIMIT = CFN_TEMPLATE_BODY_LIMIT;
|
|
@@ -5601,7 +5743,7 @@ async function previewNoEchoMacChanges(args) {
|
|
|
5601
5743
|
|
|
5602
5744
|
// src/cli/commands/diff-recursive/compute-stack-diff.ts
|
|
5603
5745
|
async function computeStackDiff(loadedState, template, region, stackName, stateBackend, diffCalculator, options = {}) {
|
|
5604
|
-
const { parameters, canonicalizeProperties, ccRouteUnavailableReason, cfnFallback, producerLookup, consumerAccount, noEchoMacCache, macWriteOnlyLookups, inheritSecretBearingTemplate, inheritedSecrets, inheritedSecretTokens, inheritedDerivedNames, attributeHealer: unboundAttributeHealer, parentUnresolvedParameters, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, ssmNameHeal = "apply" } = options;
|
|
5746
|
+
const { parameters, canonicalizeProperties, ccRouteUnavailableReason, cfnFallback, producerLookup, consumerAccount, noEchoMacCache, macWriteOnlyLookups, inheritSecretBearingTemplate, inheritedSecrets, inheritedSecretTokens, inheritedDerivedNames, attributeHealer: unboundAttributeHealer, parentUnresolvedParameters, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, ssmNameHeal = "apply", crossStackPreview, recordCrossStackPreview } = options;
|
|
5605
5747
|
const healSsmNames = (state) => {
|
|
5606
5748
|
const healed = healSlashedSsmParameterNames(state, template, stackName);
|
|
5607
5749
|
if (healed.heals.length === 0) return state;
|
|
@@ -5702,6 +5844,7 @@ async function computeStackDiff(loadedState, template, region, stackName, stateB
|
|
|
5702
5844
|
resources: currentState.resources,
|
|
5703
5845
|
stateBackend,
|
|
5704
5846
|
stackName,
|
|
5847
|
+
...crossStackPreview && { crossStackPreview },
|
|
5705
5848
|
stackIdTail: () => stackIdTailOf(currentState, stackName),
|
|
5706
5849
|
stackIdOverride: () => currentState?.signalReceiverStackId,
|
|
5707
5850
|
bestEffort: true,
|
|
@@ -5871,6 +6014,15 @@ async function computeStackDiff(loadedState, template, region, stackName, stateB
|
|
|
5871
6014
|
diffOutputsAgainst,
|
|
5872
6015
|
stackName
|
|
5873
6016
|
});
|
|
6017
|
+
if (crossStackPreview && recordCrossStackPreview) await recordProducerPreview(crossStackPreview, region, resolveFn, {
|
|
6018
|
+
stackName,
|
|
6019
|
+
template: effectiveTemplate,
|
|
6020
|
+
changes,
|
|
6021
|
+
desiredOutputs: resolved.outputs,
|
|
6022
|
+
storedOutputs: currentState.outputs,
|
|
6023
|
+
...knownConditions !== void 0 && { conditions: knownConditions },
|
|
6024
|
+
holdsSecret: (text) => printing.mask(text) !== text
|
|
6025
|
+
});
|
|
5874
6026
|
const printingSecrets = printing.corpus();
|
|
5875
6027
|
let shownChanges = changes;
|
|
5876
6028
|
let shownOutputChanges = outputChanges;
|
|
@@ -6017,7 +6169,7 @@ function childRowRunsEngine(row) {
|
|
|
6017
6169
|
return row?.changeType === "UPDATE" && (row.propertyChanges?.length ?? 0) > 0;
|
|
6018
6170
|
}
|
|
6019
6171
|
async function buildDiffTree(args) {
|
|
6020
|
-
const { stackName, displayName, region, template, nestedTemplates, recursive, stateBackend, diffCalculator, parentHasSecretReference, parameters, parentUnresolvedParameters, canonicalizeProperties, ccRouteUnavailableReason, assetRedirect, cfnFallback, updatePolicy, createRouteOf, producerLookup, consumerAccount, previewOrphanAdoption, attributeHealerFor, ancestorTemplatePaths, isNestedChild, ssmNameHeal, inheritedSecrets, inheritedDerivedNames, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, refusalRecovery, inheritedReferenceProvenance, inheritedSecretTokens } = args;
|
|
6172
|
+
const { stackName, displayName, region, template, 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 } = args;
|
|
6021
6173
|
const unboundHealer = attributeHealerFor?.(stackName, region);
|
|
6022
6174
|
const { state, unreadable, unreadableContainers, deployRefusals, found } = await loadStateOrEmpty(stackName, region, stateBackend, refusalRecovery);
|
|
6023
6175
|
const attributeHealer = unboundHealer;
|
|
@@ -6045,6 +6197,10 @@ async function buildDiffTree(args) {
|
|
|
6045
6197
|
...createRouteOf && { createRouteOf },
|
|
6046
6198
|
...producerLookup && { producerLookup },
|
|
6047
6199
|
...consumerAccount && { consumerAccount },
|
|
6200
|
+
...crossStackPreview && {
|
|
6201
|
+
crossStackPreview,
|
|
6202
|
+
recordCrossStackPreview: !isNestedChild
|
|
6203
|
+
},
|
|
6048
6204
|
...previewOrphanAdoption && { previewOrphanAdoption },
|
|
6049
6205
|
...inheritedSecrets && { inheritedSecrets },
|
|
6050
6206
|
...inheritedDerivedNames && { inheritedDerivedNames },
|
|
@@ -6091,7 +6247,7 @@ async function buildDiffTree(args) {
|
|
|
6091
6247
|
destructiveChanges: findDestructiveChanges(stackName, changes.values(), stateAfterAdoption.resources, effectiveTemplate),
|
|
6092
6248
|
children: []
|
|
6093
6249
|
};
|
|
6094
|
-
if (found && !isNestedChild && node.blocking.length === 0) node.refactorSides = hintSidesOf(changes.values(), effectiveTemplate, rollbackOrphanIds(state.orphans));
|
|
6250
|
+
if (found && !isNestedChild && node.blocking.length === 0) node.refactorSides = hintSidesOf(changes.values(), effectiveTemplate, rollbackOrphanIds(state.orphans), stateAfterAdoption.resources);
|
|
6095
6251
|
if (!recursive) return node;
|
|
6096
6252
|
const templateChildIds = /* @__PURE__ */ new Set();
|
|
6097
6253
|
for (const [logicalId, resource] of Object.entries(effectiveTemplate.Resources ?? {})) {
|
|
@@ -6151,6 +6307,7 @@ async function buildDiffTree(args) {
|
|
|
6151
6307
|
...createRouteOf && { createRouteOf },
|
|
6152
6308
|
...producerLookup && { producerLookup },
|
|
6153
6309
|
...consumerAccount && { consumerAccount },
|
|
6310
|
+
...crossStackPreview && { crossStackPreview },
|
|
6154
6311
|
...previewOrphanAdoption && { previewOrphanAdoption },
|
|
6155
6312
|
...attributeHealerFor && { attributeHealerFor },
|
|
6156
6313
|
ancestorTemplatePaths: childAncestorTemplatePaths,
|
|
@@ -6682,6 +6839,9 @@ async function diffCommand(stacks, options) {
|
|
|
6682
6839
|
const trees = [];
|
|
6683
6840
|
const treeEnvs = [];
|
|
6684
6841
|
const producerLookup = producerLookupOver(allStacks);
|
|
6842
|
+
const crossStackPreview = new CrossStackPreview();
|
|
6843
|
+
const inferredProducers = inferCrossStackDepsByStack(targetStacks);
|
|
6844
|
+
targetStacks = orderProducersFirst(targetStacks, (stack) => [...stack.dependencyNames.flatMap((name) => stacksForDependency(name, stack, targetStacks)), ...inferredProducers.get(stack) ?? []]);
|
|
6685
6845
|
const sharedNames = new Set(targetStacks.map((s) => s.stackName).filter((name, i, names) => names.indexOf(name) !== i));
|
|
6686
6846
|
for (const stackInfo of targetStacks) {
|
|
6687
6847
|
const shownName = sharedNames.has(stackInfo.stackName) ? describeStack(stackInfo) : stackInfo.stackName;
|
|
@@ -6713,6 +6873,7 @@ async function diffCommand(stacks, options) {
|
|
|
6713
6873
|
...options.cfnFallback === false && { cfnFallback: false },
|
|
6714
6874
|
...resolveUpdatePolicy(options.updatePolicy) === true && { updatePolicy: true },
|
|
6715
6875
|
producerLookup,
|
|
6876
|
+
crossStackPreview,
|
|
6716
6877
|
...stackInfo.account && { consumerAccount: stackInfo.account },
|
|
6717
6878
|
previewOrphanAdoption,
|
|
6718
6879
|
attributeHealerFor,
|
|
@@ -9759,13 +9920,7 @@ function incompleteRemediationMessage(reports, mode) {
|
|
|
9759
9920
|
}
|
|
9760
9921
|
|
|
9761
9922
|
// src/analyzer/drift-cc-api-deny-list.ts
|
|
9762
|
-
const CC_API_FALLBACK_DENY_LIST = {
|
|
9763
|
-
"AWS::CloudFormation::Stack": "cdkd deploys nested stacks itself: no CloudFormation stack exists, and the physicalId is a cdkd-local placeholder ARN",
|
|
9764
|
-
"AWS::CloudWatch::AnomalyDetector": "the physicalId is a cdkd-derived metric descriptor, not the primaryIdentifier Cloud Control's GetResource requires",
|
|
9765
|
-
"AWS::EMR::InstanceFleetConfig": "the physicalId is the bare fleet id, not the composite primaryIdentifier Cloud Control's GetResource requires",
|
|
9766
|
-
"AWS::EMR::InstanceGroupConfig": "the physicalId is the bare instance group id, not the composite primaryIdentifier Cloud Control's GetResource requires",
|
|
9767
|
-
"AWS::EC2::LaunchTemplate": "CC API returns version-bumped LaunchTemplateData with synthetic LatestVersionNumber that diverges from the CFn input shape"
|
|
9768
|
-
};
|
|
9923
|
+
const CC_API_FALLBACK_DENY_LIST = { "AWS::CloudFormation::Stack": "cdkd deploys nested stacks itself: no CloudFormation stack exists, and the physicalId is a cdkd-local placeholder ARN" };
|
|
9769
9924
|
|
|
9770
9925
|
// src/analyzer/cc-api-strip.ts
|
|
9771
9926
|
const ALWAYS_STRIPPED_FIELDS = /* @__PURE__ */ new Set([
|
|
@@ -11142,12 +11297,15 @@ const UNDECLARED_UNCOMPARED_KEYS = {
|
|
|
11142
11297
|
],
|
|
11143
11298
|
"AWS::EC2::Instance": ["BlockDeviceMappings"]
|
|
11144
11299
|
};
|
|
11145
|
-
const UNDECLARED_EMPTY_COMPARED_KEYS = {
|
|
11146
|
-
"
|
|
11147
|
-
|
|
11148
|
-
|
|
11149
|
-
|
|
11150
|
-
|
|
11300
|
+
const UNDECLARED_EMPTY_COMPARED_KEYS = {
|
|
11301
|
+
"AWS::BedrockAgentCore::Runtime": [
|
|
11302
|
+
"FilesystemConfigurations",
|
|
11303
|
+
"HooksConfiguration",
|
|
11304
|
+
"RequestHeaderConfiguration",
|
|
11305
|
+
"ResourceConfigurations"
|
|
11306
|
+
],
|
|
11307
|
+
"AWS::IAM::User": ["LoginProfile"]
|
|
11308
|
+
};
|
|
11151
11309
|
function undeclaredEmptyComparedDriftKeys(resourceType) {
|
|
11152
11310
|
return hasOwnKey(UNDECLARED_EMPTY_COMPARED_KEYS, resourceType) ? UNDECLARED_EMPTY_COMPARED_KEYS[resourceType] : [];
|
|
11153
11311
|
}
|
|
@@ -12478,7 +12636,8 @@ async function compareDriftReadback(args) {
|
|
|
12478
12636
|
ignorePaths: extraIgnorePaths.length ? [...ignorePaths, ...extraIgnorePaths] : ignorePaths,
|
|
12479
12637
|
unionWalkObjects: useObserved,
|
|
12480
12638
|
unorderedPaths,
|
|
12481
|
-
unionWalkPaths: verbatimEchoDriftKeys(resource.resourceType)
|
|
12639
|
+
unionWalkPaths: verbatimEchoDriftKeys(resource.resourceType),
|
|
12640
|
+
resourceType: resource.resourceType
|
|
12482
12641
|
});
|
|
12483
12642
|
const noEchoPartitioned = partitionNoEchoParameterChanges(changes, resource, baseline);
|
|
12484
12643
|
const partitioned = partitionUncertifiedBaselineChanges(noEchoPartitioned.kept, resource.properties ?? {}, baseline);
|
|
@@ -15417,7 +15576,7 @@ async function destroyStackUnderLock({ stackName, state, ctx, logger, result, re
|
|
|
15417
15576
|
const deletePromises = level.map((logicalId) => withPrintingSecrets(printingBagOf(logicalId), () => deleteStackResource(resourceFrame, logicalId, stackRegion)));
|
|
15418
15577
|
await Promise.all(deletePromises);
|
|
15419
15578
|
}
|
|
15420
|
-
for (const entry of supersededResourcesOf(state)) {
|
|
15579
|
+
for (const entry of supersededDependentsFirst(supersededResourcesOf(state))) {
|
|
15421
15580
|
if (lock.interrupted) break;
|
|
15422
15581
|
if (isCustomResourceType$1(entry.state.resourceType) && !retryLate.has(entry)) continue;
|
|
15423
15582
|
await deleteSupersededRow(entry);
|
|
@@ -36727,4 +36886,4 @@ function collectVerbFlags(program) {
|
|
|
36727
36886
|
}
|
|
36728
36887
|
|
|
36729
36888
|
export { effectiveInventoryItem as $, tagListsMatch as A, LIFECYCLE_DEFAULT_STATUS as B, reconcileSgRules as C, singleSecurityGroupRuleId as D, sgRuleKey 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, stackIngressRuleHolder as O, LIFECYCLE_BASELINE_REREAD_DELAYS_MS as P, effectiveIntelligentTieringItem as Q, settleLifecycleRead as R, narrowIngressIpProtocol as S, securityGroupRuleMatchesCfnIngress 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, flattenIpPermissions as _, resolveSecretDerivedPrincipals as a, declaresBucketObjectLock as at, isDefaultEgressRule as b, buildProgram, readSgIngressById as c, isPlainObject as ct, SG_RULE_PAGE_SIZE$1 as d, shownLifecycleRuleId as dt, effectiveNotificationConfiguration as et, authorizeDefinitelyNotApplied as f, descriptionKey as g, comparableIngressIdentity as h, isResolvableSecretPrincipalList as i, configItemId as it, markCopiesAgreed as j, survivingRecordOfRuleId as k, siblingIdOwnedSgRules as l, manualBucketDeletionClause as lt, canonicalizeSgRuleProtocol as m, runDestroyForStack as n, caughtErrorName as nt, refuseRevertRevokingSiblingRules as o, declaresNestedObjectLock as ot, canonicalizeSgInlineRuleProtocols as p, lifecycleRuleScope as q, holdsUnprovenSecretPrincipalToken as r, coerceCfnNumber as rt, sgRuleDiffKey as s, describeValue as st, canonicalizeIpv4Cidr as t, eventBridgeEnabledOf as tt, SG_READBACK_RETRY_DELAY_MS as u, mergeLegacySingular as ut, ingressRuleIdentity as v, securityGroupReadbackDelays as w, isResendableSocketFailure as x, isConnectTimeout as y, takeLifecycleWrite as z };
|
|
36730
|
-
//# sourceMappingURL=program-
|
|
36889
|
+
//# sourceMappingURL=program-tHhew1Z5.js.map
|