@cdkd/cli 0.352.12 → 0.352.13
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-zXLYCPYh.js → ambient-client-defaults-_b32vSt-.js} +3 -3
- package/dist/{ambient-client-defaults-zXLYCPYh.js.map → ambient-client-defaults-_b32vSt-.js.map} +1 -1
- package/dist/{asg-provider-vzD1uanW.js → asg-provider-DY41BqOf.js} +6 -6
- package/dist/{asg-provider-vzD1uanW.js.map → asg-provider-DY41BqOf.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-5yuSHn1E.js → custom-resource-runtime-QfwICca8.js} +6 -6
- package/dist/{custom-resource-runtime-5yuSHn1E.js.map → custom-resource-runtime-QfwICca8.js.map} +1 -1
- package/dist/{db-associated-roles-D6FzrHrq.js → db-associated-roles-ChWaJgql.js} +2 -2
- package/dist/{db-associated-roles-D6FzrHrq.js.map → db-associated-roles-ChWaJgql.js.map} +1 -1
- package/dist/{delete-started-BYb5bEiw.js → delete-started-BAl80KJ-.js} +4 -4
- package/dist/{delete-started-BYb5bEiw.js.map → delete-started-BAl80KJ-.js.map} +1 -1
- package/dist/{deploy-engine-DIe64g1M.js → deploy-engine-BQral6za.js} +865 -855
- package/dist/deploy-engine-BQral6za.js.map +1 -0
- package/dist/{diff-calculator-e0X8wg5d.js → diff-calculator-Dj6UGllF.js} +297 -23
- package/dist/diff-calculator-Dj6UGllF.js.map +1 -0
- package/dist/{ec2-termination-protection-BhINWGSK.js → ec2-termination-protection-D1fp1UTY.js} +6 -6
- package/dist/{ec2-termination-protection-BhINWGSK.js.map → ec2-termination-protection-D1fp1UTY.js.map} +1 -1
- package/dist/{ecr-uri-B4jEXWEo.js → ecr-uri-BNOBWmtv.js} +2 -2
- package/dist/{ecr-uri-B4jEXWEo.js.map → ecr-uri-BNOBWmtv.js.map} +1 -1
- package/dist/{expected-bucket-owner-BiM4Hy8G.js → expected-bucket-owner-DvEnZMQG.js} +2 -2
- package/dist/{expected-bucket-owner-BiM4Hy8G.js.map → expected-bucket-owner-DvEnZMQG.js.map} +1 -1
- package/dist/{iam-role-provider-CRAkOXUR.js → iam-role-provider-DWk5DUSX.js} +8 -8
- package/dist/{iam-role-provider-CRAkOXUR.js.map → iam-role-provider-DWk5DUSX.js.map} +1 -1
- package/dist/{image-plan-BZ-0TCSM.js → image-plan-DQ0trmM_.js} +8 -8
- package/dist/{image-plan-BZ-0TCSM.js.map → image-plan-DQ0trmM_.js.map} +1 -1
- package/dist/index.d.ts +114 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-DGUlDiYH.js → logger-BmVyKPL2.js} +2 -2
- package/dist/{logger-DGUlDiYH.js.map → logger-BmVyKPL2.js.map} +1 -1
- package/dist/{neptune-provider-CHVuPvHJ.js → neptune-provider-CaTWycXB.js} +7 -7
- package/dist/{neptune-provider-CHVuPvHJ.js.map → neptune-provider-CaTWycXB.js.map} +1 -1
- package/dist/{program-pfwGZi1I.js → program-B8pMildk.js} +136 -24
- package/dist/program-B8pMildk.js.map +1 -0
- package/dist/{provider-classes-CaogwY3K.js → provider-classes-D3-D7HGf.js} +21 -21
- package/dist/{provider-classes-CaogwY3K.js.map → provider-classes-D3-D7HGf.js.map} +1 -1
- package/dist/{rds-provider-I6YAiIv3.js → rds-provider-BXsZQCfA.js} +10 -10
- package/dist/{rds-provider-I6YAiIv3.js.map → rds-provider-BXsZQCfA.js.map} +1 -1
- package/dist/{read-replica-BbDOKi8I.js → read-replica-CaWHwB3m.js} +3 -3
- package/dist/{read-replica-BbDOKi8I.js.map → read-replica-CaWHwB3m.js.map} +1 -1
- package/dist/{replacement-rules-DEMSUsSU.js → replacement-rules-BuvJdDDu.js} +3 -3
- package/dist/{replacement-rules-DEMSUsSU.js.map → replacement-rules-BuvJdDDu.js.map} +1 -1
- package/dist/{resource-deadline-B34RyqEU.js → resource-deadline-CB5xO4LO.js} +4 -4
- package/dist/{resource-deadline-B34RyqEU.js.map → resource-deadline-CB5xO4LO.js.map} +1 -1
- package/dist/{run-cli-D_mCCBi9.js → run-cli-DlUy-Xfz.js} +2 -2
- package/dist/{run-cli-D_mCCBi9.js.map → run-cli-DlUy-Xfz.js.map} +1 -1
- package/dist/{update-removal-Cr8BZ_MT.js → update-removal-i8K9a3aR.js} +22 -22
- package/dist/{update-removal-Cr8BZ_MT.js.map → update-removal-i8K9a3aR.js.map} +1 -1
- package/dist/{version-C3ovda8-.js → version-CK4KyY8m.js} +2 -2
- package/dist/{version-C3ovda8-.js.map → version-CK4KyY8m.js.map} +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-DIe64g1M.js.map +0 -1
- package/dist/diff-calculator-e0X8wg5d.js.map +0 -1
- package/dist/program-pfwGZi1I.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 adoptDeprecatedRegionFlag, 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 skipFinalSnapshotOption, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as useCdkBootstrapAssetsOption, dt as activateLocalAwsAndRoleArn, en as deprecatedRegionOption, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as warnIfDeprecatedRegion, 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 stackOptions, 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 destroyOptions, tt as selectTargetStack, u as assetPathDirs, un as stateOptions, 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 { $t as buildForceUnlockCommand, Ct as isInterruptedWaitError, G as isMarkedNotGone, N as VALUE_NOT_SHOWN, Qt as UNREPRODUCIBLE_LOCK_CLAUSE, St as interruptWatchListenerCount, U as RESOURCE_NOT_FOUND, V as remedyLogicalId, W as assertRegionMatch, bt as beginCommandInterruptScope, cn as DEFAULT_STATE_PREFIX, dn as
|
|
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-CK4KyY8m.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 adoptDeprecatedRegionFlag, 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 skipFinalSnapshotOption, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as useCdkBootstrapAssetsOption, dt as activateLocalAwsAndRoleArn, en as deprecatedRegionOption, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as warnIfDeprecatedRegion, 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 stackOptions, 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 destroyOptions, tt as selectTargetStack, u as assetPathDirs, un as stateOptions, 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-DQ0trmM_.js";
|
|
3
|
+
import { $t as buildForceUnlockCommand, Ct as isInterruptedWaitError, G as isMarkedNotGone, N as VALUE_NOT_SHOWN, Qt as UNREPRODUCIBLE_LOCK_CLAUSE, St as interruptWatchListenerCount, U as RESOURCE_NOT_FOUND, V as remedyLogicalId, W as assertRegionMatch, bt as beginCommandInterruptScope, cn as DEFAULT_STATE_PREFIX, dn as withPasteableAwsProfile, en as buildLockContentionMessage, fn as injectiveKey, gt as isAwsCliLiteral, hn as producerRecordKey, in as formatLockOwner, jt as resourceTypeShown, kt as logicalIdShown, ln as setPasteableAwsCaBundle, lt as runDeleteAttempt, m as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, mn as producerCoordinateKey, nn as formatLockExpiry, p as IAM_PRINCIPAL_NAME, rn as formatLockOperation, sn as CUSTOM_RESOURCE_RESPONSE_PREFIX, tn as forceQuitRecoveryClause, un as setPasteableAwsProfile, xt as endCommandInterruptScope, y as readRecordedPrincipals } from "./update-removal-i8K9a3aR.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, B as generateResourceName, E as coerceCfnBoolean, I as PATTERN_B_NAME_OPTIONS, L as PATTERN_B_NAME_PROPERTIES, 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, 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, B as generateResourceName, E as coerceCfnBoolean, I as PATTERN_B_NAME_OPTIONS, L as PATTERN_B_NAME_PROPERTIES, 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-BmVyKPL2.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, 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-_b32vSt-.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 { A as loadCdkJson, B as warnDeprecatedNoPrefixCliFlag, C as runDockerForeground, D as synthesisStatusMessage, E as Synthesizer, F as resolveStateBucketWithDefault, G as uploadCfnTemplate, H as CFN_TEMPLATE_URL_LIMIT, I as resolveStateBucketWithDefaultAndSource, J as StageLoadError, K as refuseFailedLookups, L as resolveStateBucketWithSource, M as resolveAutoAssetStorage, N as resolveCaptureObservedState, O as getDefaultStateBucketName, P as resolveSkipPrefix, R as resolveUseCdkBootstrapAssets, S as getDockerCmd, T as abortInFlightMultipartUploads, U as MIGRATE_TMP_PREFIX, V as CFN_TEMPLATE_BODY_LIMIT, W as findLargeInlineResources, X as
|
|
9
|
-
import { $a as stackIdTailOf, $c as S3StateBackend, $i as ATOMIC_FINAL_SNAPSHOT_TYPES, $o as keepsSecretReferenceToken, $r as displayTextOrWithheld, $s as unreadableResourceEntries, $t as displacedOpClause, A as recordedProtectionEvidence, Ac as refuseMalformedResourcesForDestroy, Ai as cyan, Al as getBootstrapMarkerKey, An as constructPathOf$1, Ao as isUnboundTemplateParameter, Ar as withPreviousPolicies, As as malformedOrphanRecordsRefusalMessage, Bc as hasReadableOutputs, Bi as createReadOnlyAttributeHealerFactory, Bn as changedReferenceReason, Br as nameGenerationHighWaterOf, Bs as isReadableResourceEntry, Bt as updateRefactorMarker, C as pendingMovesOutOf, Cc as repairMalformedOutputsForReadOnly, Ci as isSupersededResourceRecord, Cn as crossStackReadsForPartialSave, Co as regionLessSecretName, Cr as planFailedOps, Cs as parameterInputsFor, D as findServiceTokenRefusals, Dc as malformedResourcesWarning, Di as supersededResourcesOf, Dl as buildDenyExternalAccessPolicy, Dn as noEchoMacParametersOf, Dr as IMPLICIT_DELETE_DEPENDENCIES, Ds as maskedPropertyFingerprint, E as deferredServiceTokenWarning, Ea as isCustomResourceType$1, Ec as malformedRenderedContainersWarning, Ei as supersededHolderOf, El as ensureAssetStorage, En as noEchoMacBinding, Er as replacementNeverSwapped, Es as declaresNoEcho, F as readProtection, Fa as setLocalCustomResourceRuntimeEnabled, Fc as accountArgs, Fi as noEchoAttributeNamesOf, Fl as BOOTSTRAP_MARKER_PREFIX, Fn as movedToHint, Fo as refStateLookupFromResource, Fs as refuseMalformedOrphanRecordsForDestroy, Ft as readRefactorMarkerOnce, Ga as deleteLeftInPlace, Gc as unwrittenCreateOnlyReplacement, Gi as orphanRecordsPrintingBag, Gl as isAbsoluteAssetPath, Gn as parseMappingFile, Go as recordedReferenceRegions, Gr as withNameGenerationReached, Gs as refuseMalformedResourceAttributesForOrphan, Gt as formatResourceLine, Ha as RollbackInlinePolicyWriters, Hc as findActionableSdkUnwired, Hi as journaledOrphanPrintingBag, Hn as isPairableType, Hr as retiredAfterRollback, Hs as malformedLocalResourcesWarning, Ht as readsOnlyNoEchoParameters, Ia as withCustomResourceStack, Ic as withheldAccountClause, Ii as noEchoComparisonForTemplate, Il as AssetManifestLoader, In as rollbackOrphanIds, Io as lacksRecordedRefArn, Ir as segmentCleanupOptions, Is as refuseMalformedOrphansForOrphan, It as refactorMarkerMovesOf, Ja as isWaitAbandonedError, Jl as templateIdentity, Jn as referencedLogicalIds, Jo as getAccountInfo, Jr as computeParameterTaint, Js as refuseMalformedResourceEntriesForDestroy, Ka as deleteSkipReason, Ki as secretNamePrintingBag, Kl as listNestedTemplateRows, Kn as propertiesChangedReason, Ks as refuseMalformedResourceEntries, Lc as STATE_RESOURCES_MALFORMED, Li as noEchoExactEchoLeavesOf, Ll as getDockerImageBySourceHash, Ln as withMovedTo, Lo as lacksRecordedTableArn, Lr as removeProtectionTypeList, Ls as repairMalformedOrphanRecordsForReadOnly, Lt as refactorMarkerRefusalMessage, M as PROTECTION_PROPERTY_BY_TYPE, Ma as customResourcesRunWithoutApp, Mc as refuseMalformedState, Mi as green, Ml as readBootstrapMarkerBody, Mn as formatDestructiveChange, Mo as AWS_NO_VALUE, Ms as malformedOrphanRowsKeptWarning, Mt as keptForRetainedRecord, N as isProtectionValueActive, Na as localCustomResourceCommand, Nc as repairMalformedResourcesForReadOnly, Ni as red, Nl as validateAssetBucketName, Nn as findRefactorHints, No as cfnRefValueFromPhysicalId, Ns as previewableOrphanRecords, Nt as recordRetainedForReadoption, O as serviceTokenBlockingReason, Oa as withPrintingSecrets, Oc as malformedStateRefusalMessage, Oi as withoutSuperseded, Ol as assertAssetBucketRegion, On as noEchoMacVerdict, Or as computeImplicitDeleteEdges, Os as deployRefusesOrphanRowsReason, P as perType, Pc as JSON_LISTING_HOLE_VALUE, Pi as yellow, Pl as validateContainerRepoName, Pn as hintSidesOf, Po as isStalePlaceholderArnAttribute, Ps as refuseMalformedOrphanRecords, Pt as readRefactorMarker, Qa as poisonRenderedSpellingsCollidingIn, Qc as TemplateParser, Qi as extractDeploymentEventError, Ql as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Qo as carriesDynamicReference, Qr as WITHHELD_NAME_DISPLAY, Qs as repairMalformedResourceEntriesForReadOnly, Qt as NESTED_PENDING_PARENT_REASON, Ra as CloudControlProvider, Rc as UNREADABLE_RESOURCES_MAP_ROW, Ri as noEchoParameterNamesOf, Rn as changedReferenceInDiff, Rr as orphanNeedsIdentity, Rs as unpreviewableOrphanRecords, Rt as refuseRefactorMarker, S as hasPendingMovesOut, Sa as customResourceResponseExpirationWarning, Sc as refuseMalformedOutputsForDestroy, Si as holdsSupersededResources, Sn as DeploymentEventsStore, So as producerRegionsFromState, Sr as isReplacementOrphan, T as refusePendingMovesOut, Ta as readsNoEchoDeleteValues, Tc as refuseDivergentRecordRegionForDestroy, Ti as supersededHeldByOtherTypeWarning, Tl as AssetModeResolver, Tn as createNoEchoValueMacs, Tr as recordUnderIdIsNotOwn, Ua as UNSPECIFIED_SKIP_REASON, Uc as findHandledUnwrittenCreateOnly, Ui as maskEventTextWithBoundBags, Un as looselyEqual, Uo as recordedOutputReferenceRegions, Ur as retiredNameGenerationsAfter, Us as malformedResourceEntriesWarning, Va as setResolvedResourceTimeouts, Vc as hasReadableResources, Vi as completedReplayEntries, Vn as differingRemedy, Vo as keepHeldTokenProvenance, Vr as nameScopeOf, Vs as malformedLocalResourceEntriesWarning, Vt as macWriteOnlyKeys, Wa as deleteIndeterminateGuards, Wi as namingSecretsWithRecordedNoEcho, Wl as findNestedTemplateTreeDefect, Wn as mappingPairs, Wr as retiredNameGenerationsLeaving, Ws as malformedScrubResourceEntriesRefusalMessage, Xa as isSelectOutOfBounds, Xc as hasNoCloudControlHandlers, Xi as stateSecretNameNeedles, Xn as stripSiblingOwnedSgRules, Xo as carriesFetchableDynamicReference, Xr as reachableDivergentParameters, Xs as refuseMalformedResourceEntriesForImportSave, Xt as pendingRequestCount, Ya as IntrinsicFunctionResolver, Yc as NO_CC_HANDLERS_REASON, Yi as secretNamedRecordNeedles, Yo as isImpossibleEmptyStoredAttribute, Yr as namesAnyDeclaredParameter, Ys as refuseMalformedResourceEntriesForImport, Za as isAlwaysLiveAttribute, Zc as PROPERTY_COVERAGE_BY_TYPE, Zi as storedSecretNameNeedles, Zl as ssmResolvedValueType, Zo as isNamelessDynamicReferenceError, Zr as resourcesNamingDeclaredParameter, Zs as refuseMalformedResourceEntriesForOrphan, Zt as resolvePendingCloudControlRequests, _ as conditionFingerprint, _a as ccBrokenReason, _c as malformedLocalOutputsWarning, _i as destroyStackRecordsView, _l as createAssetRedirectResolver, _n as sameJournaledOrphans, _o as applyCallerIdentityCredentials, a as scanActiveConsumers, aa as refusesFinalSnapshot, ac as refuseMalformedResourcePropertiesForExport, ai as exportNameNoEchoParameters, al as CrossPrefixReadError, ao as withSecretPhysicalIdsMaskedInState, ar as settleUnsettledPrevious, au as hasPlainPrototype, b as readRecordedConditionVerdicts, ba as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, bn as planOrphanAdoption, bo as classifyRecordedSecretRegion, br as demoteSupersededOrphans, c as nestedSsmNameDeferredNote, ca as buildFinalSnapshotIdentifier, cc as UNREADABLE_ORPHANS_CONTAINER_ROW, ci as noEchoParameterValueSeed, cl as crossPrefixDeniedWarning, cn as collectNestedChildUnaddressed, co as refuseUnreadableCdkCrossAccountRefs, cr as equalModuloMarkedMask, d as slashedSsmNameHealAdoptedNote, dc as malformedOrphansWarning, di as isExportAliasCollision, dl as stackInstanceIdOf, dn as deleteJournaledOrphans, do as assertSendableRoleArn, dr as updatePartialMessage, ds as isStatefulRecreateTargetForReplace, du as displayAssemblyPath, ea as PRE_DELETE_SNAPSHOT_TYPES, ec as malformedDriftResourcePropertiesWarning, ei as exportAliasCollisionScrubWarning, el as splitImportedOps, en as displacedPhysicalIdShown, er as canonicalizeIpProtocolValue, es as withSharedDrainBudget, eu as decodeListingKey, f as slashedSsmNameHealNote, fa as stripSiblingOwnedMembers, fc as refuseMalformedOrphans, fi as bindingSkippedOutputs, fl as withStackInstanceIdWithheld, fn as dropFailedCommands, fo as explicitRoleArnOrThrow, fr as updatePartialReason, fs as isStatefulRecreateTargetSync, g as makeCanonicalizePropertiesFn, ga as ProviderRegistry, gc as malformedExportSourceWarning, gl as buildAssetRedirectMap, gn as loadJournaledOrphans, go as AWS_CREDENTIAL_ENV_KEYS, gr as withCreateTokenLedger, gu as resolveBucketRegion, h as inheritedProvenanceForChildDiff, ha as CC_BROKEN_REASON, hc as malformedExportNamesWarning, hi as maskingRetryLogger, hn as journaledOrphanLines, ho as sendableAssumeRoleCommand, i as mergeNoChangeOutputs, ia as isFinalSnapshotError, ic as refuseMalformedResourcePropertiesForDrift, ii as carriedExportAliasExposure, il as rebuildClientForBucketRegion, in as recordDisplacedSkips, io as secretSegmentsOfState, ir as recordAfterRollbackUpdate, iu as hasOwnKey, j as recordedProtectionNote, ja as customResourcesFailedWithoutApp, jc as refuseMalformedResourcesForExport, ji as gray, jl as parseBootstrapMarker, jn as findDestructiveChanges, jo as parameterTypeMayLoseSecretIdentity, jr as findNestedStackTypeChanges, js as malformedOrphanRecordsWarning, k as diffSecurity, ka as NO_LOCAL_CUSTOM_RESOURCES_FLAG, kc as refuseMalformedResourcesForDeploy, ki as bold, kl as isCrossRegionRedirect, kn as noEchoValueMacsOf, ko as coerceParameterTypedValue, kr as resolveReplacementOldType, ks as isReadableOrphanRecord, l as nestedSsmNameRowNote, lc as hasReadableOrphans, li as collectDeclaredOutputNames, ll as isAccessDenied, ln as getCurrentNestedStackContext, lo as applyRoleArnIfSet, lr as equalModuloMask, ls as shownType, m as crossStackOutputProvenanceSource, mc as repairMalformedOrphansForReadOnly, mi as DEFAULT_RESOURCE_WARN_AFTER_MS, ml as isSensitiveAttributeName, mn as isHandledOrphan, mo as parseIamRoleArn, mr as ledgerForStack, mu as resolveAssemblyPath, n as isSecretBearingReferenceString, na as ccRoutedInstanceTakesNoSnapshot, ni as secretBearingStateKeyWarning, nl as hasReasonlessBaselineRefusal, nr as replayRollback, ns as INTRINSIC_KEYS, o as inRunStackKey, oa as unsupportedFinalSnapshotError, oc as refuseMalformedResourcePropertiesForOrphan, oi as exportNameSecretExposure, ol as CrossPrefixScanCache, on as revertedNestedRowIds, oo as resolveDynamicReferences, or as withUnprovenUnsettled, ou as nullPrototypeRecord, p as slashedSsmNameHealPendingNote, pc as refuseMalformedOrphansForDestroy, pi as DEFAULT_RESOURCE_TIMEOUT_MS, pl as isSecretValuedAttribute, pn as dropFailedHint, po as isIamRoleArn, ps as renderStatefulReason, pu as renderAssemblyPathEscape, qi as secretNamePrintingBags, ql as renderNestedTemplateTreeDefect, qn as proposeRenames, qr as inheritProducerRegions, qs as refuseMalformedResourceEntriesForDeploy, r as keptWholeReasonText, ra as effectiveDeletionPolicy, rc as refuseMalformedResourcePropertiesForDestroy, ri as secretSafeKeyDisplay, rl as hasUnverifiableParameterRefusal, rn as nestedChildStackName$1, ro as secretPhysicalIdSegment, rr as DELETED_RESOURCE_REMEDY, ru as defineOwnKey, s as checkNestedSsmNames, sa as createPreDeleteFinalSnapshot, sc as repairMalformedResourcePropertiesForReadOnly, si as isWholeDynamicReferenceValue, sl as applyCrossPrefixScan, sn as withNestedRevertRun, so as producerLookupOver, sr as calculateResourceDrift, ss as findReplacedReadersOfRecreateTargets, su as ownValue, t as DeployEngine, ta as ccRoutedFinalSnapshotError, tc as malformedResourcePropertiesWarning, ti as secretBearing, tn as dropSettledNestedJournals, tr as replayFailedOperations, u as healSlashedSsmParameterNames, uc as malformedOrphansRefusalMessage, ui as collectPublishedOutputNames, ul as isNotImplemented, un as withNestedStackContext, uo as assertFlagRoleArn, ur as undeclaredEmptyObservedKeys, us as MULTI_REGION_RECREATE_BLOCKED_TYPES, uu as describeFileReadFailure, v as conditionInputsFrom, va as isCustomResource, vc as malformedOutputsRefusalMessage, vn as makeForeignHolderScan, vo as callerEnvCredentials, vr as planRollback, w as pendingMovesRefusalMessage, wa as TemplateNoEchoReresolver, wc as STATE_REGION_DIVERGED, wi as supersededAfterRollback, wl as rewriteTemplateAssetReferences, wn as NOECHO_MAC_KEY_ALIAS, wr as recheckFailedPlan, ws as maskedInputProof, x as childTemplateLoader, xa as applyCustomResourceResponseExpiration, xc as refuseMalformedOutputs, xi as deleteSupersededEntry, xl as loadPublishableAssetManifest, xn as DeploymentEventsReader, xo as classifyReplaySecretRegion, xr as isJournaledOrphan, xs as maskedPropertyFingerprintsOf, y as parentSuppliedValues, ya as wouldReturnToSdkProvider, yc as malformedOutputsWarning, yi as withStackRecords, yn as makeSiblingClaimReader, yo as envCredentialsAreAssumedRole, yr as seedsDeleteFirstGuard, zc as displayLogicalId, zi as withAttemptedItemsMasked, zn as changedReferencePath, zr as nameGenerationCarriedFrom, zs as unreadableOrphanRecords, zt as sameMove } from "./deploy-engine-DIe64g1M.js";
|
|
8
|
+
import { $ as prepareLegacyStackAssets, A as loadCdkJson, B as warnDeprecatedNoPrefixCliFlag, C as runDockerForeground, D as synthesisStatusMessage, E as Synthesizer, F as resolveStateBucketWithDefault, G as uploadCfnTemplate, H as CFN_TEMPLATE_URL_LIMIT, I as resolveStateBucketWithDefaultAndSource, J as StageLoadError, K as refuseFailedLookups, L as resolveStateBucketWithSource, M as resolveAutoAssetStorage, N as resolveCaptureObservedState, O as getDefaultStateBucketName, P as resolveSkipPrefix, Q as predictedAutoCreatedAssetMode, R as resolveUseCdkBootstrapAssets, S as getDockerCmd, T as abortInFlightMultipartUploads, U as MIGRATE_TMP_PREFIX, V as CFN_TEMPLATE_BODY_LIMIT, W as findLargeInlineResources, X as createLegacyAssetParameterBinder, Y as bindLegacyStackAssetParameters, Z as legacyPlanAssetCount, _ as partitionSensitiveEnv, a as AssetPublisher, b as isMalformedEnvKey, c as resolveDockerContextDirectory, d as describeDockerFailure, et as CdkToolkitBucketMissingError, f as redactedCause, g as finchSecretArgvRefusal, h as dockerSpawnEnvWithSensitive, i as isLockInfoExpired, j as resolveApp, k as getLegacyStateBucketName, m as redactDockerArgvValues, n as DagBuilder, nt as setChildProcessAwsEnv, o as WorkGraph, p as redactedDockerCause, q as AssemblyReader, r as LockManager, s as buildDockerImage, t as DiffCalculator, tt as processStackMessages, u as describeDockerExecFailure, v as warnFinchArgvExposure, w as runDockerStreaming, x as formatDockerLoginError, y as isDockerClientEnvKey, z as stateBucketExistenceConfirmed } from "./diff-calculator-Dj6UGllF.js";
|
|
9
|
+
import { $a as stackIdTailOf, $c as S3StateBackend, $i as ATOMIC_FINAL_SNAPSHOT_TYPES, $l as parseBootstrapMarker, $o as keepsSecretReferenceToken, $r as displayTextOrWithheld, $s as unreadableResourceEntries, $t as displacedOpClause, A as recordedProtectionEvidence, Ac as refuseMalformedResourcesForDestroy, Ai as cyan, Al as buildAssetRedirectMap, An as constructPathOf$1, Ao as isUnboundTemplateParameter, Ar as withPreviousPolicies, As as malformedOrphanRecordsRefusalMessage, Bc as hasReadableOutputs, Bi as createReadOnlyAttributeHealerFactory, Bl as AssetManifestLoader, Bn as changedReferenceReason, Br as nameGenerationHighWaterOf, Bs as isReadableResourceEntry, Bt as updateRefactorMarker, C as pendingMovesOutOf, Cc as repairMalformedOutputsForReadOnly, Ci as isSupersededResourceRecord, Cn as crossStackReadsForPartialSave, Co as regionLessSecretName, Cr as planFailedOps, Cs as parameterInputsFor, D as findServiceTokenRefusals, Dc as malformedResourcesWarning, Di as supersededResourcesOf, Dl as decodeListingKey, Dn as noEchoMacParametersOf, Dr as IMPLICIT_DELETE_DEPENDENCIES, Ds as maskedPropertyFingerprint, E as deferredServiceTokenWarning, Ea as isCustomResourceType$1, Ec as malformedRenderedContainersWarning, Ei as supersededHolderOf, En as noEchoMacBinding, Er as replacementNeverSwapped, Es as declaresNoEcho, F as readProtection, Fa as setLocalCustomResourceRuntimeEnabled, Fc as accountArgs, Fi as noEchoAttributeNamesOf, Fn as movedToHint, Fo as refStateLookupFromResource, Fs as refuseMalformedOrphanRecordsForDestroy, Ft as readRefactorMarkerOnce, Ga as deleteLeftInPlace, Gc as unwrittenCreateOnlyReplacement, Gi as orphanRecordsPrintingBag, Gn as parseMappingFile, Go as recordedReferenceRegions, Gr as withNameGenerationReached, Gs as refuseMalformedResourceAttributesForOrphan, Gt as formatResourceLine, Ha as RollbackInlinePolicyWriters, Hc as findActionableSdkUnwired, Hi as journaledOrphanPrintingBag, Hn as isPairableType, Hr as retiredAfterRollback, Hs as malformedLocalResourcesWarning, Ht as readsOnlyNoEchoParameters, Ia as withCustomResourceStack, Ic as withheldAccountClause, Ii as noEchoComparisonForTemplate, Il as loadPublishableAssetManifest, In as rollbackOrphanIds, Io as lacksRecordedRefArn, Ir as segmentCleanupOptions, Is as refuseMalformedOrphansForOrphan, It as refactorMarkerMovesOf, Ja as isWaitAbandonedError, Jl as ensureAssetStorage, Jn as referencedLogicalIds, Jo as getAccountInfo, Jr as computeParameterTaint, Js as refuseMalformedResourceEntriesForDestroy, Ka as deleteSkipReason, Ki as secretNamePrintingBag, Kn as propertiesChangedReason, Ks as refuseMalformedResourceEntries, Lc as STATE_RESOURCES_MALFORMED, Li as noEchoExactEchoLeavesOf, Ln as withMovedTo, Lo as lacksRecordedTableArn, Lr as removeProtectionTypeList, Ls as repairMalformedOrphanRecordsForReadOnly, Lt as refactorMarkerRefusalMessage, M as PROTECTION_PROPERTY_BY_TYPE, Ma as customResourcesRunWithoutApp, Mc as refuseMalformedState, Mi as green, Ml as createLazyAssetModeContext, Mn as formatDestructiveChange, Mo as AWS_NO_VALUE, Ms as malformedOrphanRowsKeptWarning, Mt as keptForRetainedRecord, N as isProtectionValueActive, Na as localCustomResourceCommand, Nc as repairMalformedResourcesForReadOnly, Ni as red, Nn as findRefactorHints, No as cfnRefValueFromPhysicalId, Ns as previewableOrphanRecords, Nt as recordRetainedForReadoption, O as serviceTokenBlockingReason, Oa as withPrintingSecrets, Oc as malformedStateRefusalMessage, Oi as withoutSuperseded, On as noEchoMacVerdict, Or as computeImplicitDeleteEdges, Os as deployRefusesOrphanRowsReason, P as perType, Pc as JSON_LISTING_HOLE_VALUE, Pi as yellow, Pn as hintSidesOf, Po as isStalePlaceholderArnAttribute, Ps as refuseMalformedOrphanRecords, Pt as readRefactorMarker, Qa as poisonRenderedSpellingsCollidingIn, Qc as TemplateParser, Qi as extractDeploymentEventError, Ql as getBootstrapMarkerKey, Qo as carriesDynamicReference, Qr as WITHHELD_NAME_DISPLAY, Qs as repairMalformedResourceEntriesForReadOnly, Qt as NESTED_PENDING_PARENT_REASON, Ra as CloudControlProvider, Rc as UNREADABLE_RESOURCES_MAP_ROW, Ri as noEchoParameterNamesOf, Rn as changedReferenceInDiff, Rr as orphanNeedsIdentity, Rs as unpreviewableOrphanRecords, Rt as refuseRefactorMarker, S as hasPendingMovesOut, Sa as customResourceResponseExpirationWarning, Sc as refuseMalformedOutputsForDestroy, Si as holdsSupersededResources, Sn as DeploymentEventsStore, So as producerRegionsFromState, Sr as isReplacementOrphan, T as refusePendingMovesOut, Ta as readsNoEchoDeleteValues, Tc as refuseDivergentRecordRegionForDestroy, Ti as supersededHeldByOtherTypeWarning, Tl as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Tn as createNoEchoValueMacs, Tr as recordUnderIdIsNotOwn, Ua as UNSPECIFIED_SKIP_REASON, Uc as findHandledUnwrittenCreateOnly, Ui as maskEventTextWithBoundBags, Un as looselyEqual, Uo as recordedOutputReferenceRegions, Ur as retiredNameGenerationsAfter, Us as malformedResourceEntriesWarning, Va as setResolvedResourceTimeouts, Vc as hasReadableResources, Vi as completedReplayEntries, Vl as getDockerImageBySourceHash, Vn as differingRemedy, Vo as keepHeldTokenProvenance, Vr as nameScopeOf, Vs as malformedLocalResourceEntriesWarning, Vt as macWriteOnlyKeys, Wa as deleteIndeterminateGuards, Wi as namingSecretsWithRecordedNoEcho, Wn as mappingPairs, Wr as retiredNameGenerationsLeaving, Ws as malformedScrubResourceEntriesRefusalMessage, Xa as isSelectOutOfBounds, Xc as hasNoCloudControlHandlers, Xi as stateSecretNameNeedles, Xl as assertAssetBucketRegion, Xn as stripSiblingOwnedSgRules, Xo as carriesFetchableDynamicReference, Xr as reachableDivergentParameters, Xs as refuseMalformedResourceEntriesForImportSave, Xt as pendingRequestCount, Ya as IntrinsicFunctionResolver, Yc as NO_CC_HANDLERS_REASON, Yi as secretNamedRecordNeedles, Yl as buildDenyExternalAccessPolicy, Yo as isImpossibleEmptyStoredAttribute, Yr as namesAnyDeclaredParameter, Ys as refuseMalformedResourceEntriesForImport, Za as isAlwaysLiveAttribute, Zc as PROPERTY_COVERAGE_BY_TYPE, Zi as storedSecretNameNeedles, Zl as isCrossRegionRedirect, Zo as isNamelessDynamicReferenceError, Zr as resourcesNamingDeclaredParameter, Zs as refuseMalformedResourceEntriesForOrphan, Zt as resolvePendingCloudControlRequests, _ as conditionFingerprint, _a as ccBrokenReason, _c as malformedLocalOutputsWarning, _i as destroyStackRecordsView, _l as findNestedTemplateTreeDefect, _n as sameJournaledOrphans, _o as applyCallerIdentityCredentials, _u as resolveAssemblyPath, a as scanActiveConsumers, aa as refusesFinalSnapshot, ac as refuseMalformedResourcePropertiesForExport, ai as exportNameNoEchoParameters, al as CrossPrefixReadError, ao as withSecretPhysicalIdsMaskedInState, ar as settleUnsettledPrevious, b as readRecordedConditionVerdicts, ba as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, bl as renderNestedTemplateTreeDefect, bn as planOrphanAdoption, bo as classifyRecordedSecretRegion, br as demoteSupersededOrphans, c as nestedSsmNameDeferredNote, ca as buildFinalSnapshotIdentifier, cc as UNREADABLE_ORPHANS_CONTAINER_ROW, ci as noEchoParameterValueSeed, cl as crossPrefixDeniedWarning, cn as collectNestedChildUnaddressed, co as refuseUnreadableCdkCrossAccountRefs, cr as equalModuloMarkedMask, cu as hasPlainPrototype, d as slashedSsmNameHealAdoptedNote, dc as malformedOrphansWarning, di as isExportAliasCollision, dl as stackInstanceIdOf, dn as deleteJournaledOrphans, do as assertSendableRoleArn, dr as updatePartialMessage, ds as isStatefulRecreateTargetForReplace, ea as PRE_DELETE_SNAPSHOT_TYPES, ec as malformedDriftResourcePropertiesWarning, ei as exportAliasCollisionScrubWarning, el as splitImportedOps, en as displacedPhysicalIdShown, er as canonicalizeIpProtocolValue, es as withSharedDrainBudget, eu as readBootstrapMarkerBody, f as slashedSsmNameHealNote, fa as stripSiblingOwnedMembers, fc as refuseMalformedOrphans, fi as bindingSkippedOutputs, fl as withStackInstanceIdWithheld, fn as dropFailedCommands, fo as explicitRoleArnOrThrow, fr as updatePartialReason, fs as isStatefulRecreateTargetSync, g as makeCanonicalizePropertiesFn, ga as ProviderRegistry, gc as malformedExportSourceWarning, gn as loadJournaledOrphans, go as AWS_CREDENTIAL_ENV_KEYS, gr as withCreateTokenLedger, gu as renderAssemblyPathEscape, h as inheritedProvenanceForChildDiff, ha as CC_BROKEN_REASON, hc as malformedExportNamesWarning, hi as maskingRetryLogger, hn as journaledOrphanLines, ho as sendableAssumeRoleCommand, i as mergeNoChangeOutputs, ia as isFinalSnapshotError, ic as refuseMalformedResourcePropertiesForDrift, ii as carriedExportAliasExposure, il as rebuildClientForBucketRegion, in as recordDisplacedSkips, io as secretSegmentsOfState, ir as recordAfterRollbackUpdate, j as recordedProtectionNote, ja as customResourcesFailedWithoutApp, jc as refuseMalformedResourcesForExport, ji as gray, jl as createAssetRedirectResolver, jn as findDestructiveChanges, jo as parameterTypeMayLoseSecretIdentity, jr as findNestedStackTypeChanges, js as malformedOrphanRecordsWarning, k as diffSecurity, ka as NO_LOCAL_CUSTOM_RESOURCES_FLAG, kc as refuseMalformedResourcesForDeploy, ki as bold, kn as noEchoValueMacsOf, ko as coerceParameterTypedValue, kr as resolveReplacementOldType, ks as isReadableOrphanRecord, l as nestedSsmNameRowNote, lc as hasReadableOrphans, li as collectDeclaredOutputNames, ll as isAccessDenied, ln as getCurrentNestedStackContext, lo as applyRoleArnIfSet, lr as equalModuloMask, ls as shownType, lu as nullPrototypeRecord, m as crossStackOutputProvenanceSource, mc as repairMalformedOrphansForReadOnly, mi as DEFAULT_RESOURCE_WARN_AFTER_MS, ml as isSensitiveAttributeName, mn as isHandledOrphan, mo as parseIamRoleArn, mr as ledgerForStack, mu as displayAssemblyPath, n as isSecretBearingReferenceString, na as ccRoutedInstanceTakesNoSnapshot, ni as secretBearingStateKeyWarning, nl as hasReasonlessBaselineRefusal, nr as replayRollback, ns as INTRINSIC_KEYS, nu as validateContainerRepoName, o as inRunStackKey, oa as unsupportedFinalSnapshotError, oc as refuseMalformedResourcePropertiesForOrphan, oi as exportNameSecretExposure, ol as CrossPrefixScanCache, on as revertedNestedRowIds, oo as resolveDynamicReferences, or as withUnprovenUnsettled, ou as defineOwnKey, p as slashedSsmNameHealPendingNote, pc as refuseMalformedOrphansForDestroy, pi as DEFAULT_RESOURCE_TIMEOUT_MS, pl as isSecretValuedAttribute, pn as dropFailedHint, po as isIamRoleArn, ps as renderStatefulReason, pu as describeFileReadFailure, qi as secretNamePrintingBags, ql as AssetModeResolver, qn as proposeRenames, qr as inheritProducerRegions, qs as refuseMalformedResourceEntriesForDeploy, r as keptWholeReasonText, ra as effectiveDeletionPolicy, rc as refuseMalformedResourcePropertiesForDestroy, ri as secretSafeKeyDisplay, rl as hasUnverifiableParameterRefusal, rn as nestedChildStackName$1, ro as secretPhysicalIdSegment, rr as DELETED_RESOURCE_REMEDY, ru as BOOTSTRAP_MARKER_PREFIX, s as checkNestedSsmNames, sa as createPreDeleteFinalSnapshot, sc as repairMalformedResourcePropertiesForReadOnly, si as isWholeDynamicReferenceValue, sl as applyCrossPrefixScan, sn as withNestedRevertRun, so as producerLookupOver, sr as calculateResourceDrift, ss as findReplacedReadersOfRecreateTargets, su as hasOwnKey, t as DeployEngine, ta as ccRoutedFinalSnapshotError, tc as malformedResourcePropertiesWarning, ti as secretBearing, tn as dropSettledNestedJournals, tr as replayFailedOperations, tu as validateAssetBucketName, u as healSlashedSsmParameterNames, uc as malformedOrphansRefusalMessage, ui as collectPublishedOutputNames, ul as isNotImplemented, un as withNestedStackContext, uo as assertFlagRoleArn, ur as undeclaredEmptyObservedKeys, us as MULTI_REGION_RECREATE_BLOCKED_TYPES, uu as ownValue, v as conditionInputsFrom, va as isCustomResource, vc as malformedOutputsRefusalMessage, vl as isAbsoluteAssetPath, vn as makeForeignHolderScan, vo as callerEnvCredentials, vr as planRollback, w as pendingMovesRefusalMessage, wa as TemplateNoEchoReresolver, wc as STATE_REGION_DIVERGED, wi as supersededAfterRollback, wl as ssmResolvedValueType, wn as NOECHO_MAC_KEY_ALIAS, wr as recheckFailedPlan, ws as maskedInputProof, x as childTemplateLoader, xa as applyCustomResourceResponseExpiration, xc as refuseMalformedOutputs, xi as deleteSupersededEntry, xl as templateIdentity, xn as DeploymentEventsReader, xo as classifyReplaySecretRegion, xr as isJournaledOrphan, xs as maskedPropertyFingerprintsOf, y as parentSuppliedValues, ya as wouldReturnToSdkProvider, yc as malformedOutputsWarning, yi as withStackRecords, yl as listNestedTemplateRows, yn as makeSiblingClaimReader, yo as envCredentialsAreAssumedRole, yr as seedsDeleteFirstGuard, yu as resolveBucketRegion, zc as displayLogicalId, zi as withAttemptedItemsMasked, zl as rewriteTemplateAssetReferences, zn as changedReferencePath, zr as nameGenerationCarriedFrom, zs as unreadableOrphanRecords, zt as sameMove } from "./deploy-engine-BQral6za.js";
|
|
10
10
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix, t as PARTITION_TABLE } from "./aws-partition-DA0r2sr-.js";
|
|
11
|
-
import { A as describeJsonParseFailure, C as PhaseClock, D as renderPhaseTimings, M as parseFailureDebugDetail, O as timePhase, P as utf8ByteLength, d as getCreateOnlyPropertyPaths, g as describeTypeWithThrottleRetry, m as templateResourceTypes, p as prefetchCreateOnlyPropertyPaths, x as withRetry } from "./ec2-termination-protection-
|
|
12
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
13
|
-
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-
|
|
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 { C as unsettledItemsField, E as unsettledPropertiesOf, O as withUnsettledProperties, i as withResourceDeadline, k as withoutUnsettledProperties, w as unsettledItemsOf } from "./resource-deadline-
|
|
16
|
-
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-
|
|
11
|
+
import { A as describeJsonParseFailure, C as PhaseClock, D as renderPhaseTimings, M as parseFailureDebugDetail, O as timePhase, P as utf8ByteLength, d as getCreateOnlyPropertyPaths, g as describeTypeWithThrottleRetry, m as templateResourceTypes, p as prefetchCreateOnlyPropertyPaths, x as withRetry } from "./ec2-termination-protection-D1fp1UTY.js";
|
|
12
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-DvEnZMQG.js";
|
|
13
|
+
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-BAl80KJ-.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-BuvJdDDu.js";
|
|
15
|
+
import { C as unsettledItemsField, E as unsettledPropertiesOf, O as withUnsettledProperties, i as withResourceDeadline, k as withoutUnsettledProperties, w as unsettledItemsOf } from "./resource-deadline-CB5xO4LO.js";
|
|
16
|
+
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-BNOBWmtv.js";
|
|
17
17
|
import { t as cdkdCacheHome } from "./cli.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";
|
|
@@ -30,8 +30,8 @@ import * as path from "node:path";
|
|
|
30
30
|
import { basename, dirname, isAbsolute, join, resolve } from "node:path";
|
|
31
31
|
import { execFile } from "node:child_process";
|
|
32
32
|
import { devNull, tmpdir } from "node:os";
|
|
33
|
-
import { CreateAliasCommand, CreateKeyCommand, DescribeKeyCommand, KMSClient, ScheduleKeyDeletionCommand } from "@aws-sdk/client-kms";
|
|
34
33
|
import { BatchDeleteImageCommand, DeleteRepositoryCommand, DescribeImagesCommand as DescribeImagesCommand$1, ECRClient, GetAuthorizationTokenCommand } from "@aws-sdk/client-ecr";
|
|
34
|
+
import { CreateAliasCommand, CreateKeyCommand, DescribeKeyCommand, KMSClient, ScheduleKeyDeletionCommand } from "@aws-sdk/client-kms";
|
|
35
35
|
import { A2A_CONTAINER_PORT, A2A_PATH, AGENTCORE_A2A_PROTOCOL, AGENTCORE_AGUI_PROTOCOL, AGENTCORE_MCP_PROTOCOL, ConnectionRegistry, DEFAULT_AWS_EMULATOR_URL, DynamicReferenceResolver, EMULATOR_SCRUBBED_ENV_KEYS, EcsTaskResolutionError, MCP_CONTAINER_PORT, MCP_PATH, UNNAMED_WORKLOAD, a2aInvokeOnce, addAlbSpecificOptions, addAwsEndpointOptions, addCommonEcsServiceOptions, addImageOverrideOptions, addStartServiceSpecificOptions, albStrategy, applyWorkloadAwsWiringToEnv, attachAuthorizers, attachStageContext, availableApiIdentifiers, awaitLoopbackForwarderStatus, awsEmulatorEnvName, awsEmulatorRealServices, awsEmulatorSqsHostBlocks, bufferToBody, buildAgentCoreCodeImage, buildCognitoJwksUrl, buildConnectEvent, buildCorsConfigByApiId, buildCorsConfigFromCloudFrontChain, buildDisconnectEvent, buildJwksUrlFromIssuer, buildMessageEvent, buildMgmtEndpointEnvUrl, buildNamespaceOwnerForwarderDockerArgs, buildStageMap, canonicalizeImageOverrideKeys, classifySourceChange, containsCrossStackIntrinsic, containsDynamicReference, createAuthorizerCache, createFileWatcher, createFileWatcher as createFileWatcher$1, createJwksCache, createMixedModeStateProvider, createWatchPredicates, defaultCredentialsLoader, describeAwsFailureForWarn, describeForwarderFailure, discoverRoutes, discoverWebSocketApis, dockerRegistryEnv, downloadAndExtractS3Bundle, effectiveLoopbackPorts, enforceImageOverrideOrphans, expandNestedStacks, filterRoutesByApiIdentifier, firstUsableRegion, getActiveWorkloadAwsWiring, getAwsEndpointOverride, groupRoutesByServer, groupWorkloadsRoutedApart, handleConnectionsRequest, invokeAgentCore, invokeAgentCoreWs, isAwsServiceRoutedToEmulator, keysNotFromTemplate, keysOverriddenBy, logMixedModeForWorkload, loopbackForwarderPlan, mcpInvokeOnce, noImplicitEcrPullArgs, parseAwsEndpoint, parseConnectionsPath, parseImageOverrideFlags, parseSelectionExpressionPath, pickAgentCoreCandidateStack, pickAgentCoreCandidateStack as pickAgentCoreCandidateStack$1, readAwsEmulatorEnvVarsFile, readEmulatorRunFiles, readEnvVarsFileText, readMtlsMaterialsFromDisk, realAwsServicesOf, resolveAgentCoreTarget, resolveAwsEmulatorOption, resolveDynamicReferencesInEnv, resolveEnvVars, resolveHostDefaultCredentials, resolveImageOverrides, resolveJwtAuthorizerIntrinsics, resolveSingleTarget, resolveWatchConfig, resolveWorkloadAwsWiring, runEcsServiceEmulator, runImageOverrideBuilds, setActiveWorkloadAwsWiring, setAwsEndpointOverride, signAgentCoreInvocation, startApiServer, topLevelStacks, verifyJwtViaDiscovery, waitForAgentCorePing, withNestedDescendants, withoutKeys } from "cdk-local/internal";
|
|
36
36
|
import { isDeepStrictEqual, promisify } from "node:util";
|
|
37
37
|
import graphlib from "graphlib";
|
|
@@ -1543,7 +1543,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
1543
1543
|
// src/provisioning/register-providers.ts
|
|
1544
1544
|
let providerClasses;
|
|
1545
1545
|
function loadProviderClasses() {
|
|
1546
|
-
providerClasses ??= import("./provider-classes-
|
|
1546
|
+
providerClasses ??= import("./provider-classes-D3-D7HGf.js");
|
|
1547
1547
|
return providerClasses;
|
|
1548
1548
|
}
|
|
1549
1549
|
function registerAllProviders(registry, classes) {
|
|
@@ -2409,8 +2409,11 @@ async function fetchCallerIdentity(region) {
|
|
|
2409
2409
|
}
|
|
2410
2410
|
|
|
2411
2411
|
// src/cli/commands/deploy/work-graph.ts
|
|
2412
|
+
function dryRunPredictsAutoCreatedStorage(flags) {
|
|
2413
|
+
return flags.dryRun === true && flags.autoAssetStorage && flags.skipAssets !== true && !flags.useCdkBootstrapAssets;
|
|
2414
|
+
}
|
|
2412
2415
|
async function addStacksToWorkGraph(args) {
|
|
2413
|
-
const { targetStacks, graphKey, stackRegions, baseRegion, assetModeResolver, rawNamedRegion, logger, accountId, stackRedirects, options, assetPublisher, workGraph, dependencyStacks, inferredCrossStackDeps } = args;
|
|
2416
|
+
const { targetStacks, graphKey, stackRegions, baseRegion, assetModeResolver, rawNamedRegion, logger, accountId, stackRedirects, options, assetPublisher, workGraph, dependencyStacks, inferredCrossStackDeps, dryRunPredictsAutoCreatedStorage = false } = args;
|
|
2414
2417
|
for (const stack of targetStacks) {
|
|
2415
2418
|
const stackNodeId = `stack:${graphKey(stack)}`;
|
|
2416
2419
|
const stackDeps = /* @__PURE__ */ new Set();
|
|
@@ -2442,6 +2445,31 @@ async function addStacksToWorkGraph(args) {
|
|
|
2442
2445
|
}
|
|
2443
2446
|
}
|
|
2444
2447
|
}
|
|
2448
|
+
if (stack.legacyAssets) {
|
|
2449
|
+
const assetRegion = stackRegions.get(stack) ?? deployStackRegion(stack, baseRegion);
|
|
2450
|
+
const plan = await prepareLegacyStackAssets(stack, {
|
|
2451
|
+
assetMode: async () => {
|
|
2452
|
+
const mode = await assetModeResolver.resolve(stack.region || rawNamedRegion || assetRegion);
|
|
2453
|
+
return mode.mode === "legacy" && dryRunPredictsAutoCreatedStorage ? predictedAutoCreatedAssetMode(accountId, assetRegion) : mode;
|
|
2454
|
+
},
|
|
2455
|
+
accountId,
|
|
2456
|
+
region: assetRegion
|
|
2457
|
+
});
|
|
2458
|
+
if (plan && !options.skipAssets && legacyPlanAssetCount(plan) > 0) {
|
|
2459
|
+
const nodeIds = assetPublisher.addManifestToGraph(workGraph, plan.manifest, {
|
|
2460
|
+
accountId,
|
|
2461
|
+
region: assetRegion,
|
|
2462
|
+
...options.profile && { profile: options.profile },
|
|
2463
|
+
nodePrefix: `${graphKey(stack)}:`,
|
|
2464
|
+
cdkOutputDir: stack.legacyAssets.assemblyDir,
|
|
2465
|
+
...stack.assetOutdir !== void 0 && { assetOutdir: stack.assetOutdir },
|
|
2466
|
+
bucketsChosenByCdkd: true,
|
|
2467
|
+
recognizedImageDestinations: plan.recognizedImageDestinations,
|
|
2468
|
+
repositoriesToEnsure: plan.repositoriesToEnsure
|
|
2469
|
+
});
|
|
2470
|
+
for (const id of nodeIds) stackDeps.add(id);
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2445
2473
|
for (const depStack of dependencyStacks(stack, inferredCrossStackDeps, targetStacks)) stackDeps.add(`stack:${graphKey(depStack)}`);
|
|
2446
2474
|
workGraph.addNode({
|
|
2447
2475
|
id: stackNodeId,
|
|
@@ -3568,7 +3596,13 @@ async function deployCommand(stacks, options) {
|
|
|
3568
3596
|
assetPublisher,
|
|
3569
3597
|
workGraph,
|
|
3570
3598
|
dependencyStacks,
|
|
3571
|
-
inferredCrossStackDeps
|
|
3599
|
+
inferredCrossStackDeps,
|
|
3600
|
+
dryRunPredictsAutoCreatedStorage: dryRunPredictsAutoCreatedStorage({
|
|
3601
|
+
dryRun: options.dryRun,
|
|
3602
|
+
autoAssetStorage,
|
|
3603
|
+
skipAssets: options.skipAssets,
|
|
3604
|
+
useCdkBootstrapAssets
|
|
3605
|
+
})
|
|
3572
3606
|
});
|
|
3573
3607
|
const summary = workGraph.summary();
|
|
3574
3608
|
logger.debug(`Work graph: ${summary["asset-publish"]} asset(s), ${summary["stack"]} stack(s)`);
|
|
@@ -6610,13 +6644,16 @@ async function diffCommand(stacks, options) {
|
|
|
6610
6644
|
inRegion: (healRegion, fn) => runWithStackAwsClients(stackRegionScope(healRegion).clients, fn)
|
|
6611
6645
|
});
|
|
6612
6646
|
const recursive = (options.recursive ?? false) || failOn === "destructive" || failOn === "broadening" || securityOnly;
|
|
6613
|
-
const
|
|
6647
|
+
const assetModeOptions = {
|
|
6614
6648
|
stateBackend,
|
|
6615
6649
|
stsRegion: region,
|
|
6616
6650
|
...options.profile && { profile: options.profile },
|
|
6617
6651
|
useCdkBootstrapAssets: resolveUseCdkBootstrapAssets(options.useCdkBootstrapAssets),
|
|
6618
6652
|
suppressLegacyNotice: true
|
|
6619
|
-
}
|
|
6653
|
+
};
|
|
6654
|
+
const assetModeContext = createLazyAssetModeContext(assetModeOptions);
|
|
6655
|
+
const resolveAssetRedirect = createAssetRedirectResolver(assetModeOptions, assetModeContext);
|
|
6656
|
+
const bindLegacyAssets = createLegacyAssetParameterBinder(assetModeContext);
|
|
6620
6657
|
const trees = [];
|
|
6621
6658
|
const treeEnvs = [];
|
|
6622
6659
|
const producerLookup = producerLookupOver(allStacks);
|
|
@@ -6626,6 +6663,11 @@ async function diffCommand(stacks, options) {
|
|
|
6626
6663
|
logger.info(`\nCalculating diff for stack: ${shownName}`);
|
|
6627
6664
|
const stackRegion = await regionForStack(stackInfo.stackName, stackInfo.region);
|
|
6628
6665
|
const assetRedirect = await resolveAssetRedirect(stackInfo.assetManifestPath, stackRegion);
|
|
6666
|
+
try {
|
|
6667
|
+
await bindLegacyAssets(stackInfo, stackRegion);
|
|
6668
|
+
} catch (error) {
|
|
6669
|
+
logger.warn(safeMsg`Could not bind the LegacyStackSynthesizer asset parameters of stack ${stackInfo.stackName}, ` + safeMsg`so values built from them show as unresolved: ${error instanceof Error ? error.message : String(error)}`);
|
|
6670
|
+
}
|
|
6629
6671
|
if (assetRedirect) {
|
|
6630
6672
|
const rewritten = rewriteTemplateAssetReferences(stackInfo.template, assetRedirect);
|
|
6631
6673
|
logger.debug(`Rewrote ${rewritten} asset reference(s) to cdkd asset storage in template of stack ${stackInfo.stackName}`);
|
|
@@ -18089,6 +18131,7 @@ async function exportCommand(stackArg, options) {
|
|
|
18089
18131
|
await stateBackend.verifyBucketExists();
|
|
18090
18132
|
const lockManager = new LockManager(awsClients.s3, stateConfig);
|
|
18091
18133
|
let template;
|
|
18134
|
+
let legacyAssetStack;
|
|
18092
18135
|
let resolvedStackName;
|
|
18093
18136
|
let synthedRegion;
|
|
18094
18137
|
let templateFormat = "json";
|
|
@@ -18127,6 +18170,7 @@ async function exportCommand(stackArg, options) {
|
|
|
18127
18170
|
else throw new Error(`Multiple stacks found: ${result.stacks.map(describeStack).join(", ")}. Specify the stack name as a positional argument.`);
|
|
18128
18171
|
refuseFailedLookups([stackInfo], result.stacks, result.failedLookups);
|
|
18129
18172
|
template = stackInfo.template;
|
|
18173
|
+
legacyAssetStack = stackInfo;
|
|
18130
18174
|
resolvedStackName = stackInfo.stackName;
|
|
18131
18175
|
synthedRegion = stackInfo.region;
|
|
18132
18176
|
rootNestedTemplatePaths = stackInfo.nestedTemplates ?? nullPrototypeRecord();
|
|
@@ -18138,6 +18182,12 @@ async function exportCommand(stackArg, options) {
|
|
|
18138
18182
|
const cfnStackName = options.cfnStackName ?? resolvedStackName;
|
|
18139
18183
|
const targetRegion = await pickStackRegion$1(stateBackend, resolvedStackName, synthedRegion, options.stackRegion);
|
|
18140
18184
|
logger.info(`Migrating cdkd stack ${quotedOrNotShown(resolvedStackName)} (${quotedRegion(targetRegion)}) → CloudFormation stack ${quotedOrNotShown(cfnStackName)}`);
|
|
18185
|
+
if (legacyAssetStack) await bindLegacyStackAssetParameters(legacyAssetStack, targetRegion, {
|
|
18186
|
+
stateBackend,
|
|
18187
|
+
stsRegion: effectiveRegion.region,
|
|
18188
|
+
useCdkBootstrapAssets: resolveUseCdkBootstrapAssets(),
|
|
18189
|
+
...options.profile && { profile: options.profile }
|
|
18190
|
+
});
|
|
18141
18191
|
await assertCfnStackAbsent(awsClients.cloudFormation, cfnStackName);
|
|
18142
18192
|
const stateData = await stateBackend.getState(resolvedStackName, targetRegion);
|
|
18143
18193
|
if (!stateData) throw new Error(`No cdkd state found for stack ${quotedOrNotShown(resolvedStackName)} (${quotedRegion(targetRegion)}). Nothing to migrate.`);
|
|
@@ -23391,13 +23441,16 @@ async function refactorCommand(stacks, options) {
|
|
|
23391
23441
|
registerAllProviders(registry, providerClasses);
|
|
23392
23442
|
const canonicalizeProperties = makeCanonicalizePropertiesFn(registry);
|
|
23393
23443
|
const producerLookup = producerLookupOver(allStacks);
|
|
23394
|
-
const
|
|
23444
|
+
const assetModeOptions = {
|
|
23395
23445
|
stateBackend,
|
|
23396
23446
|
stsRegion: region,
|
|
23397
23447
|
...options.profile && { profile: options.profile },
|
|
23398
23448
|
useCdkBootstrapAssets: resolveUseCdkBootstrapAssets(options.useCdkBootstrapAssets),
|
|
23399
23449
|
suppressLegacyNotice: true
|
|
23400
|
-
}
|
|
23450
|
+
};
|
|
23451
|
+
const assetModeContext = createLazyAssetModeContext(assetModeOptions);
|
|
23452
|
+
const resolveAssetRedirect = createAssetRedirectResolver(assetModeOptions, assetModeContext);
|
|
23453
|
+
const bindLegacyAssets = createLegacyAssetParameterBinder(assetModeContext);
|
|
23401
23454
|
let callerAccount;
|
|
23402
23455
|
const accountOf = async (stackInfo) => {
|
|
23403
23456
|
if (stackInfo.account) return stackInfo.account;
|
|
@@ -23445,6 +23498,7 @@ async function refactorCommand(stacks, options) {
|
|
|
23445
23498
|
if (await stateBackend.loadRollbackJournal(stackInfo.stackName, stackRegion) !== null) throw rollbackJournalRefusal(stackInfo.stackName, stackRegion);
|
|
23446
23499
|
const assetRedirect = await resolveAssetRedirect(stackInfo.assetManifestPath, stackRegion);
|
|
23447
23500
|
if (assetRedirect) rewriteTemplateAssetReferences(stackInfo.template, assetRedirect);
|
|
23501
|
+
await bindLegacyAssets(stackInfo, stackRegion);
|
|
23448
23502
|
const overrides = environments.length === 0 ? [] : overridesForStack(environments, stackInfo.stackName, await accountOf(stackInfo), stackRegion, options.revert === true);
|
|
23449
23503
|
const diff = async (state) => {
|
|
23450
23504
|
const result = await computeStackDiff(state, stackInfo.template, stackRegion, stackInfo.stackName, stateBackend, diffCalculator, {
|
|
@@ -23704,6 +23758,47 @@ async function publishAssetsCommand(stacks, options) {
|
|
|
23704
23758
|
let assetCount = 0;
|
|
23705
23759
|
let error;
|
|
23706
23760
|
try {
|
|
23761
|
+
if (stack.legacyAssets) {
|
|
23762
|
+
logger.info(safeMsg`\nPublishing assets for stack: ${describeStack(stack)}`);
|
|
23763
|
+
const stackRegion = await regionForStack(stack);
|
|
23764
|
+
const plan = await prepareLegacyStackAssets(stack, {
|
|
23765
|
+
assetMode: async () => {
|
|
23766
|
+
const modeResolver = useCdkBootstrapAssets ? null : await getModeResolver();
|
|
23767
|
+
return modeResolver ? modeResolver.resolve(stack.region || rawNamedRegion || stackRegion) : { mode: "legacy" };
|
|
23768
|
+
},
|
|
23769
|
+
accountId,
|
|
23770
|
+
region: stackRegion
|
|
23771
|
+
});
|
|
23772
|
+
const workGraph = new WorkGraph();
|
|
23773
|
+
assetCount = (plan ? assetPublisher.addManifestToGraph(workGraph, plan.manifest, {
|
|
23774
|
+
accountId,
|
|
23775
|
+
region: stackRegion,
|
|
23776
|
+
...options.profile && { profile: options.profile },
|
|
23777
|
+
nodePrefix: `${stack.stackName}:`,
|
|
23778
|
+
cdkOutputDir: stack.legacyAssets.assemblyDir,
|
|
23779
|
+
...stack.assetOutdir !== void 0 && { assetOutdir: stack.assetOutdir },
|
|
23780
|
+
bucketsChosenByCdkd: true,
|
|
23781
|
+
recognizedImageDestinations: plan.recognizedImageDestinations,
|
|
23782
|
+
repositoriesToEnsure: plan.repositoriesToEnsure
|
|
23783
|
+
}) : []).filter((id) => id.startsWith("asset-publish:")).length;
|
|
23784
|
+
if (assetCount === 0) logger.info(" (no assets to publish)");
|
|
23785
|
+
else {
|
|
23786
|
+
await workGraph.execute({
|
|
23787
|
+
"asset-build": options.imageBuildConcurrency,
|
|
23788
|
+
"asset-publish": options.assetPublishConcurrency,
|
|
23789
|
+
stack: 0
|
|
23790
|
+
}, (node) => assetPublisher.executeNode(node));
|
|
23791
|
+
const seconds = ((Date.now() - startedAt) / 1e3).toFixed(2);
|
|
23792
|
+
logger.info(safeMsg` ✓ Published ${assetCount} asset(s) in ${seconds}s`);
|
|
23793
|
+
}
|
|
23794
|
+
results.push({
|
|
23795
|
+
stackName: stack.stackName,
|
|
23796
|
+
displayName: stack.displayName,
|
|
23797
|
+
assetCount,
|
|
23798
|
+
durationMs: Date.now() - startedAt
|
|
23799
|
+
});
|
|
23800
|
+
continue;
|
|
23801
|
+
}
|
|
23707
23802
|
if (!stack.assetManifestPath) {
|
|
23708
23803
|
logger.debug(`Stack ${stack.stackName} has no asset manifest; nothing to publish`);
|
|
23709
23804
|
results.push({
|
|
@@ -25370,13 +25465,15 @@ async function importCommand(stackArg, options) {
|
|
|
25370
25465
|
const regionClients = targetClients ?? awsClients;
|
|
25371
25466
|
const providerRegistry = new ProviderRegistry();
|
|
25372
25467
|
registerAllProviders(providerRegistry, providerClasses);
|
|
25373
|
-
const
|
|
25468
|
+
const assetModeOptions = {
|
|
25374
25469
|
stateBackend,
|
|
25375
25470
|
stsRegion: region,
|
|
25376
25471
|
...options.profile && { profile: options.profile },
|
|
25377
25472
|
useCdkBootstrapAssets: resolveUseCdkBootstrapAssets(options.useCdkBootstrapAssets),
|
|
25378
25473
|
suppressLegacyNotice: true
|
|
25379
|
-
}
|
|
25474
|
+
};
|
|
25475
|
+
const assetModeContext = createLazyAssetModeContext(assetModeOptions);
|
|
25476
|
+
const assetRedirect = await createAssetRedirectResolver(assetModeOptions, assetModeContext)(stackInfo.assetManifestPath, targetRegion);
|
|
25380
25477
|
let stateTemplate = stackInfo.template;
|
|
25381
25478
|
if (assetRedirect) {
|
|
25382
25479
|
stateTemplate = structuredClone(stackInfo.template);
|
|
@@ -25384,6 +25481,21 @@ async function importCommand(stackArg, options) {
|
|
|
25384
25481
|
logger.debug(`Rewrote ${rewritten} asset reference(s) to cdkd asset storage in template of stack ${stackInfo.stackName}`);
|
|
25385
25482
|
if (rewritten > 0) logger.info(`Note: ${rewritten} asset reference(s) in stack ${stackInfo.stackName} are recorded in state at their pre-rewrite (CDK bootstrap) values, so the next 'cdkd deploy' repoints any resource that still holds them to cdkd asset storage.`);
|
|
25386
25483
|
}
|
|
25484
|
+
if (stackInfo.legacyAssets) {
|
|
25485
|
+
const bindLegacyAssets = createLegacyAssetParameterBinder(assetModeContext);
|
|
25486
|
+
if ((await bindLegacyAssets(stackInfo, targetRegion))?.mode === "cdkd-assets") {
|
|
25487
|
+
stateTemplate = structuredClone(stackInfo.template);
|
|
25488
|
+
try {
|
|
25489
|
+
await bindLegacyAssets({
|
|
25490
|
+
...stackInfo,
|
|
25491
|
+
template: stateTemplate
|
|
25492
|
+
}, targetRegion, { assetMode: { mode: "legacy" } });
|
|
25493
|
+
} catch (error) {
|
|
25494
|
+
if (!(error instanceof CdkToolkitBucketMissingError)) throw error;
|
|
25495
|
+
logger.info(safeMsg`No CDKToolkit stack in ${targetRegion}: recording the cdkd asset storage values for the LegacyStackSynthesizer assets of stack ${stackInfo.stackName}.`);
|
|
25496
|
+
}
|
|
25497
|
+
}
|
|
25498
|
+
}
|
|
25387
25499
|
const overrides = parseResourceOverrides(options.resource, options.resourceMapping, options.resourceMappingInline);
|
|
25388
25500
|
if (overrides.size > 0) logger.debug(`User-supplied physical IDs: ${[...overrides.keys()].join(", ")}`);
|
|
25389
25501
|
const migrationCfnStackName = options.migrateFromCloudformation ? typeof options.migrateFromCloudformation === "string" && options.migrateFromCloudformation.length > 0 ? options.migrateFromCloudformation : stackInfo.stackName : void 0;
|
|
@@ -34323,4 +34435,4 @@ function collectVerbFlags(program) {
|
|
|
34323
34435
|
}
|
|
34324
34436
|
|
|
34325
34437
|
export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, holdsUnprovenSecretPrincipalToken as r, canonicalizeIpv4Cidr as t };
|
|
34326
|
-
//# sourceMappingURL=program-
|
|
34438
|
+
//# sourceMappingURL=program-B8pMildk.js.map
|