@cdkd/cli 0.350.4 → 0.351.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ambient-client-defaults-CepgBr_y.js → ambient-client-defaults-B6WnCkIH.js} +3 -3
- package/dist/{ambient-client-defaults-CepgBr_y.js.map → ambient-client-defaults-B6WnCkIH.js.map} +1 -1
- package/dist/{asg-provider-26AfIhcd.js → asg-provider-Cvt28cjZ.js} +6 -6
- package/dist/{asg-provider-26AfIhcd.js.map → asg-provider-Cvt28cjZ.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-2Kfh-v8P.js → custom-resource-runtime-q-XZhmNY.js} +6 -6
- package/dist/{custom-resource-runtime-2Kfh-v8P.js.map → custom-resource-runtime-q-XZhmNY.js.map} +1 -1
- package/dist/db-associated-roles-C4lSFcA4.js +74 -0
- package/dist/db-associated-roles-C4lSFcA4.js.map +1 -0
- package/dist/delete-started-B5fdSbyi.js +887 -0
- package/dist/delete-started-B5fdSbyi.js.map +1 -0
- package/dist/{deploy-engine-DLmPF7r5.js → deploy-engine-BCutoRqN.js} +650 -198
- package/dist/deploy-engine-BCutoRqN.js.map +1 -0
- package/dist/{diff-calculator-DYUmMeew.js → diff-calculator-Dpy3mtdK.js} +12 -12
- package/dist/{diff-calculator-DYUmMeew.js.map → diff-calculator-Dpy3mtdK.js.map} +1 -1
- package/dist/{ec2-termination-protection-Di3eM8PN.js → ec2-termination-protection-DEedWKNw.js} +6 -6
- package/dist/{ec2-termination-protection-Di3eM8PN.js.map → ec2-termination-protection-DEedWKNw.js.map} +1 -1
- package/dist/{ecr-uri-6HdJfJPR.js → ecr-uri-BdY53T_-.js} +2 -2
- package/dist/{ecr-uri-6HdJfJPR.js.map → ecr-uri-BdY53T_-.js.map} +1 -1
- package/dist/{expected-bucket-owner-Drp-CSQY.js → expected-bucket-owner-iywep2CV.js} +2 -2
- package/dist/{expected-bucket-owner-Drp-CSQY.js.map → expected-bucket-owner-iywep2CV.js.map} +1 -1
- package/dist/{iam-role-provider-B5c4V2kT.js → iam-role-provider-BQAmYWyO.js} +7 -7
- package/dist/{iam-role-provider-B5c4V2kT.js.map → iam-role-provider-BQAmYWyO.js.map} +1 -1
- package/dist/{image-plan-CYouJkYM.js → image-plan-Cc837NpF.js} +8 -8
- package/dist/{image-plan-CYouJkYM.js.map → image-plan-Cc837NpF.js.map} +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-6lyGJVGE.js → logger-CmaW95DR.js} +2 -2
- package/dist/{logger-6lyGJVGE.js.map → logger-CmaW95DR.js.map} +1 -1
- package/dist/{neptune-provider-Dhody0jz.js → neptune-provider-BkaMldJg.js} +7 -7
- package/dist/{neptune-provider-Dhody0jz.js.map → neptune-provider-BkaMldJg.js.map} +1 -1
- package/dist/{program-BMBei2v9.js → program-8-3OnhIJ.js} +122 -22
- package/dist/program-8-3OnhIJ.js.map +1 -0
- package/dist/{provider-classes-B3qqzXp-.js → provider-classes-DcmiLT1V.js} +276 -113
- package/dist/provider-classes-DcmiLT1V.js.map +1 -0
- package/dist/{rds-provider-CXjWWFKT.js → rds-provider-BWOEzXOQ.js} +20 -691
- package/dist/rds-provider-BWOEzXOQ.js.map +1 -0
- package/dist/{read-replica-iA8yd-HO.js → read-replica-BQhsK5Fn.js} +3 -3
- package/dist/{read-replica-iA8yd-HO.js.map → read-replica-BQhsK5Fn.js.map} +1 -1
- package/dist/{replacement-rules-B4fLD_Ru.js → replacement-rules-DywtM6vS.js} +60 -7
- package/dist/replacement-rules-DywtM6vS.js.map +1 -0
- package/dist/{resource-deadline-BcEyGRdL.js → resource-deadline-C_l7cJ75.js} +45 -5
- package/dist/resource-deadline-C_l7cJ75.js.map +1 -0
- package/dist/{run-cli-Dp938GHN.js → run-cli-lankPggb.js} +2 -2
- package/dist/{run-cli-Dp938GHN.js.map → run-cli-lankPggb.js.map} +1 -1
- package/dist/{update-removal-1ZPAMzvz.js → update-removal-MnBAwEGA.js} +4 -4
- package/dist/{update-removal-1ZPAMzvz.js.map → update-removal-MnBAwEGA.js.map} +1 -1
- package/dist/{version-D_7vFUjp.js → version-7SpD1NBk.js} +2 -2
- package/dist/{version-D_7vFUjp.js.map → version-7SpD1NBk.js.map} +1 -1
- package/package.json +3 -3
- package/dist/db-instance-modify-retry-BoKzNMfz.js +0 -116
- package/dist/db-instance-modify-retry-BoKzNMfz.js.map +0 -1
- package/dist/delete-started-Bq_G9e4j.js +0 -192
- package/dist/delete-started-Bq_G9e4j.js.map +0 -1
- package/dist/deploy-engine-DLmPF7r5.js.map +0 -1
- package/dist/program-BMBei2v9.js.map +0 -1
- package/dist/provider-classes-B3qqzXp-.js.map +0 -1
- package/dist/rds-provider-CXjWWFKT.js.map +0 -1
- package/dist/replacement-rules-B4fLD_Ru.js.map +0 -1
- package/dist/resource-deadline-BcEyGRdL.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 renderUnmatchedPatternsWarning, $t as deprecatedRegionOption, A as followContainerLogs, At as recordEmulatorDefaultRegion, B as resolveRuntimeCodeMountPath, Bt as regionShown, C as waitForRieReady, Cn as STATE_KEY_MAX_CODE_POINTS, Ct as setContainerRegion, Dn as parseStateKey, Dt as workloadGetsEmulatorKeysOnly, E as SENSITIVE_ENV_KEYS, En as listAllStateKeys, Et as warnAwsEmulatorStateSourceHint, F as removeContainer, Ft as namedCliRegion, G as partitionTopLevel, Gt as strandedProfileCredentialsNotice, H as resolveRuntimeImage, Ht as stackRegionResolver, It as rawCliRegion, J as renderAllNoTopLevelStacks, Jt as appOptions, K as refuseStackNameRegionCollisions, Kt as writeProfileCredentialsFile, L as runDetached, Lt as reconcileExportIndexRegion, M as killAndDrainContainerLogs, Mt as exportInferredRegionForSdk, N as pickFreePort, Nt as foldRegionOption, O as ensureDockerAvailable, Ot as emulatorDefaultRegion, P as pullImage, Pt as legacyStateBucketFallbackRegion, Q as renderStacksNoLongerSelected, Qt as deployOptions, Rt as reconcileMarkerRegionWithLegacyDefault, S as invokeRie, Sn as STATE_FILE_SUFFIX, St as resolveContainerRegion, T as DockerRunnerError, Tn as listAllLockKeys, Tt as taskRoleAssumedInRealAws, U as describeStack, Ut as stateWithRegion, V as resolveRuntimeFileExtension, Vt as resolveEffectiveRegion, W as matchStacks, Wt as withOtherIndexRemoval, X as renderNoStackMatch, Xt as commonOptions, Y as renderAmbiguousTargetStack, Yt as applyWaitFlagEnv, Z as renderNotInAppWarning, Zt as contextOptions, _ as copyLayerTreeLastWins, _n as resourceTimeoutOptions, _t as mixedModeActive, a as materializeLayerFromArn, an as parseContextOptions, at as buildCdkPathIndex, b as probeHostGatewaySupport, bn as parsePositiveIntegerOption, bt as profileCredentialsForWorkload, cn as stackOptions, ct as stackForConstructPath, d as resolveAssetCodeDirectory, dn as warnIfDeprecatedRegion, dt as assertAwsEmulatorValue, en as destroyOptions, et as selectTargetStack, f as derivePseudoParametersFromRegion$1, fn as effectiveAssumeRoleArn, ft as attachLocalLoopbackForwarder, g as buildContainerImage$1, gn as parseDuration, gt as localAwsEmulatorCredentials, h as architectureToPlatform, hn as allowUnsupportedTypesOption, ht as localAwsEmulatorActive, i as resolveInlineCodeFilePath, in as noLocalCustomResourcesOption, it as unmatchedPatterns, jt as adoptDeprecatedRegionFlag, k as flushStdio, kt as namedEnvAwsRegion, l as resolveLambdaLayers, ln as stateOptions, lt as stackForPathFormTarget, m as tryResolveImageFnJoin, mn as parseAssumeRoleToken, mt as keepEmulatorIssuedCredentials, n as resolveTmpfsForLambda, nn as guardStackRegionOptions, nt as stacksForDependency, o as resolveLambdaTarget, on as parseStackRegion, ot as readCdkPathOrUndefined, p as substituteImagePlaceholders, pn as normalizeStartApiAssumeRole, pt as getActiveWorkloadAwsWiring$1, q as renderAllLeftOutStageStacks, qt as annotationMessageOptions, r as resolveZipImagePlan, rn as noCfnFallbackOption, rt as stacksNoLongerSelected, s as extractEphemeralStorageMb, sn as skipFinalSnapshotOption, st as resolveCdkPathToLogicalIds, t as resolveLocalBuildPlan$1, tn as exclusivelyOption, tt as stackMatchesPattern, u as assetPathDirs, un as useCdkBootstrapAssetsOption, ut as activateLocalAwsAndRoleArn, v as layerAssetDirectory, vn as validateResourceTimeouts, vt as mixedModeEmulatorOverride, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as describeStateKey, wt as stateRoleRecordIsEmulatorSide, x as resolveHostGatewayExtraHosts, xn as LOCK_FILE_SUFFIX, xt as realAwsException, y as HOST_GATEWAY_MIN_VERSION, yn as cliArgParser, yt as prepareLocalLoopbackForwarder, z as streamLogs, zt as regionNeedsReconciliation } 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 producerCoordinateKey, en as buildLockContentionMessage, fn as producerRecordKey, gt as isAwsCliLiteral, hn as withPasteableAwsProfile, in as formatLockOwner, jt as resourceTypeShown, kt as logicalIdShown, ln as injectiveKey, lt as runDeleteAttempt, m as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, mn as setPasteableAwsProfile, nn as formatLockExpiry, p as IAM_PRINCIPAL_NAME, pn as setPasteableAwsCaBundle, rn as formatLockOperation, sn as CUSTOM_RESOURCE_RESPONSE_PREFIX, tn as forceQuitRecoveryClause, xt as endCommandInterruptScope, y as readRecordedPrincipals } from "./update-removal-
|
|
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-7SpD1NBk.js";
|
|
2
|
+
import { $ as renderUnmatchedPatternsWarning, $t as deprecatedRegionOption, A as followContainerLogs, At as recordEmulatorDefaultRegion, B as resolveRuntimeCodeMountPath, Bt as regionShown, C as waitForRieReady, Cn as STATE_KEY_MAX_CODE_POINTS, Ct as setContainerRegion, Dn as parseStateKey, Dt as workloadGetsEmulatorKeysOnly, E as SENSITIVE_ENV_KEYS, En as listAllStateKeys, Et as warnAwsEmulatorStateSourceHint, F as removeContainer, Ft as namedCliRegion, G as partitionTopLevel, Gt as strandedProfileCredentialsNotice, H as resolveRuntimeImage, Ht as stackRegionResolver, It as rawCliRegion, J as renderAllNoTopLevelStacks, Jt as appOptions, K as refuseStackNameRegionCollisions, Kt as writeProfileCredentialsFile, L as runDetached, Lt as reconcileExportIndexRegion, M as killAndDrainContainerLogs, Mt as exportInferredRegionForSdk, N as pickFreePort, Nt as foldRegionOption, O as ensureDockerAvailable, Ot as emulatorDefaultRegion, P as pullImage, Pt as legacyStateBucketFallbackRegion, Q as renderStacksNoLongerSelected, Qt as deployOptions, Rt as reconcileMarkerRegionWithLegacyDefault, S as invokeRie, Sn as STATE_FILE_SUFFIX, St as resolveContainerRegion, T as DockerRunnerError, Tn as listAllLockKeys, Tt as taskRoleAssumedInRealAws, U as describeStack, Ut as stateWithRegion, V as resolveRuntimeFileExtension, Vt as resolveEffectiveRegion, W as matchStacks, Wt as withOtherIndexRemoval, X as renderNoStackMatch, Xt as commonOptions, Y as renderAmbiguousTargetStack, Yt as applyWaitFlagEnv, Z as renderNotInAppWarning, Zt as contextOptions, _ as copyLayerTreeLastWins, _n as resourceTimeoutOptions, _t as mixedModeActive, a as materializeLayerFromArn, an as parseContextOptions, at as buildCdkPathIndex, b as probeHostGatewaySupport, bn as parsePositiveIntegerOption, bt as profileCredentialsForWorkload, cn as stackOptions, ct as stackForConstructPath, d as resolveAssetCodeDirectory, dn as warnIfDeprecatedRegion, dt as assertAwsEmulatorValue, en as destroyOptions, et as selectTargetStack, f as derivePseudoParametersFromRegion$1, fn as effectiveAssumeRoleArn, ft as attachLocalLoopbackForwarder, g as buildContainerImage$1, gn as parseDuration, gt as localAwsEmulatorCredentials, h as architectureToPlatform, hn as allowUnsupportedTypesOption, ht as localAwsEmulatorActive, i as resolveInlineCodeFilePath, in as noLocalCustomResourcesOption, it as unmatchedPatterns, jt as adoptDeprecatedRegionFlag, k as flushStdio, kt as namedEnvAwsRegion, l as resolveLambdaLayers, ln as stateOptions, lt as stackForPathFormTarget, m as tryResolveImageFnJoin, mn as parseAssumeRoleToken, mt as keepEmulatorIssuedCredentials, n as resolveTmpfsForLambda, nn as guardStackRegionOptions, nt as stacksForDependency, o as resolveLambdaTarget, on as parseStackRegion, ot as readCdkPathOrUndefined, p as substituteImagePlaceholders, pn as normalizeStartApiAssumeRole, pt as getActiveWorkloadAwsWiring$1, q as renderAllLeftOutStageStacks, qt as annotationMessageOptions, r as resolveZipImagePlan, rn as noCfnFallbackOption, rt as stacksNoLongerSelected, s as extractEphemeralStorageMb, sn as skipFinalSnapshotOption, st as resolveCdkPathToLogicalIds, t as resolveLocalBuildPlan$1, tn as exclusivelyOption, tt as stackMatchesPattern, u as assetPathDirs, un as useCdkBootstrapAssetsOption, ut as activateLocalAwsAndRoleArn, v as layerAssetDirectory, vn as validateResourceTimeouts, vt as mixedModeEmulatorOverride, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as describeStateKey, wt as stateRoleRecordIsEmulatorSide, x as resolveHostGatewayExtraHosts, xn as LOCK_FILE_SUFFIX, xt as realAwsException, y as HOST_GATEWAY_MIN_VERSION, yn as cliArgParser, yt as prepareLocalLoopbackForwarder, z as streamLogs, zt as regionNeedsReconciliation } from "./image-plan-Cc837NpF.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 producerCoordinateKey, en as buildLockContentionMessage, fn as producerRecordKey, gt as isAwsCliLiteral, hn as withPasteableAwsProfile, in as formatLockOwner, jt as resourceTypeShown, kt as logicalIdShown, ln as injectiveKey, lt as runDeleteAttempt, m as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, mn as setPasteableAwsProfile, nn as formatLockExpiry, p as IAM_PRINCIPAL_NAME, pn as setPasteableAwsCaBundle, rn as formatLockOperation, sn as CUSTOM_RESOURCE_RESPONSE_PREFIX, tn as forceQuitRecoveryClause, xt as endCommandInterruptScope, y as readRecordedPrincipals } from "./update-removal-MnBAwEGA.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-CmaW95DR.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-B6WnCkIH.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 setChildProcessAwsEnv, Y as processStackMessages, _ as partitionSensitiveEnv, a as AssetPublisher, b as isMalformedEnvKey, c as resolveDockerContextDirectory, d as describeDockerFailure, f as redactedCause, g as finchSecretArgvRefusal, h as dockerSpawnEnvWithSensitive, i as isLockInfoExpired, j as resolveApp, k as getLegacyStateBucketName, m as redactDockerArgvValues, n as DagBuilder, o as WorkGraph, p as redactedDockerCause, q as AssemblyReader, r as LockManager, s as buildDockerImage, t as DiffCalculator, u as describeDockerExecFailure, v as warnFinchArgvExposure, w as runDockerStreaming, x as formatDockerLoginError, y as isDockerClientEnvKey, z as stateBucketExistenceConfirmed } from "./diff-calculator-
|
|
9
|
-
import { $a as refuseUnreadableCdkCrossAccountRefs, $c as isAccessDenied, $i as ccRoutedFinalSnapshotError, $l as resolveAssemblyPath, $n as replayFailedOperations, $r as secretBearing, $s as UNREADABLE_ORPHANS_CONTAINER_ROW, A as refusePendingMovesOut, Aa as CloudControlProvider, Ac as displayLogicalId, Ai as green, An as noEchoMacBinding, As as unreadableOrphanRecords, B as readProtection, Ba as isWaitAbandonedError, Bc as NO_CC_HANDLERS_REASON, Bi as journaledOrphanPrintingBag, Bn as rollbackOrphanIds, Bo as isImpossibleEmptyStoredAttribute, Br as retiredAfterRollback, Bs as refuseMalformedResourceEntriesForImport, Bt as readRefactorMarkerOnce, C as isAbsoluteAssetPath, Ca as customResourcesFailedWithoutApp, Cc as refuseMalformedState, Ci as supersededHeldByOtherTypeWarning, Cl as validateAssetBucketName, Cn as makeForeignHolderScan, Co as AWS_NO_VALUE, Cr as recordUnderIdIsNotOwn, Cs as malformedOrphanRowsKeptWarning, D as hasPendingMovesOut, Da as setLocalCustomResourceRuntimeEnabled, Dc as withheldAccountClause, Di as bold, Dl as getDockerImageBySourceHash, Dn as DeploymentEventsStore, Do as lacksRecordedRefArn, Dr as resolveReplacementOldType, Ds as refuseMalformedOrphansForOrphan, E as templateIdentity, Ec as accountArgs, Ei as withoutSuperseded, El as AssetManifestLoader, En as DeploymentEventsReader, Eo as refStateLookupFromResource, Er as computeImplicitDeleteEdges, Es as refuseMalformedOrphanRecordsForDestroy, F as recordedProtectionEvidence, Fa as UNSPECIFIED_SKIP_REASON, Fi as noEchoExactEchoLeavesOf, Fn as findDestructiveChanges, Fr as removeProtectionTypeList, Fs as malformedScrubResourceEntriesRefusalMessage, Ga as stackIdTailOf, Gi as secretNamePrintingBags, Gl as nullPrototypeRecord, Gn as differingRemedy, Go as withSharedDrainBudget, Gr as inheritProducerRegions, Gs as malformedDriftResourcePropertiesWarning, Gt as updateRefactorMarker, Ha as isSelectOutOfBounds, Hc as TemplateParser, Hi as namingSecretsWithRecordedNoEcho, Hl as defineOwnKey, Hn as changedReferenceInDiff, Ho as isNamelessDynamicReferenceError, Hr as retiredNameGenerationsLeaving, Hs as refuseMalformedResourceEntriesForOrphan, Ht as refactorMarkerRefusalMessage, I as recordedProtectionNote, Ia as deleteIndeterminateGuards, Ic as unwrittenCreateOnlyReplacement, Ii as noEchoParameterNamesOf, Il as ssmResolvedValueType, In as formatDestructiveChange, Io as recordedReferenceRegions, Ir as orphanNeedsIdentity, Is as refuseMalformedResourceAttributesForOrphan, Jc as rebuildClientForBucketRegion, Ji as stateSecretNameNeedles, Jn as mappingPairs, Jr as reachableDivergentParameters, Js as refuseMalformedResourcePropertiesForDestroy, Kc as hasReasonlessBaselineRefusal, Kl as ownValue, Kn as isPairableType, Kr as computeParameterTaint, Ks as malformedResourcePropertiesWarning, Kt as macWriteOnlyKeys, L as PROTECTION_PROPERTY_BY_TYPE, La as deleteLeftInPlace, Li as withAttemptedItemsMasked, Ll as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Ln as findRefactorHints, Lr as nameGenerationCarriedFrom, Ls as refuseMalformedResourceEntries, Lt as keptForRetainedRecord, M as findServiceTokenRefusals, Mc as hasReadableResources, Mi as yellow, Mn as noEchoMacVerdict, Mo as keepHeldTokenProvenance, Ms as malformedLocalResourceEntriesWarning, N as serviceTokenBlockingReason, Na as setResolvedResourceTimeouts, Nc as findActionableSdkUnwired, Ni as noEchoAttributeNamesOf, Nn as noEchoValueMacsOf, Ns as malformedLocalResourcesWarning, O as pendingMovesOutOf, Oa as withCustomResourceStack, Oc as STATE_RESOURCES_MALFORMED, Oi as cyan, On as NOECHO_MAC_KEY_ALIAS, Oo as lacksRecordedTableArn, Or as withPreviousPolicies, Os as repairMalformedOrphanRecordsForReadOnly, P as diffSecurity, Pa as RollbackInlinePolicyWriters, Pc as findHandledUnwrittenCreateOnly, Pi as noEchoComparisonForTemplate, Pn as constructPathOf$1, Po as recordedOutputReferenceRegions, Pr as segmentCleanupOptions, Ps as malformedResourceEntriesWarning, Qa as producerLookupOver, Qc as crossPrefixDeniedWarning, Qi as PRE_DELETE_SNAPSHOT_TYPES, Ql as renderAssemblyPathEscape, Qn as referencedLogicalIds, Qo as findReplacedReadersOfRecreateTargets, Qr as exportAliasCollisionScrubWarning, Qs as repairMalformedResourcePropertiesForReadOnly, R as isProtectionValueActive, Ra as deleteSkipReason, Ri as createReadOnlyAttributeHealerFactory, Rn as hintSidesOf, Rr as nameGenerationHighWaterOf, Rs as refuseMalformedResourceEntriesForDeploy, Rt as recordRetainedForReadoption, S as findNestedTemplateTreeDefect, Sc as refuseMalformedResourcesForExport, Si as supersededAfterRollback, Sl as readBootstrapMarkerBody, Sn as sameJournaledOrphans, So as parameterTypeMayLoseSecretIdentity, Sr as recheckFailedPlan, Ss as malformedOrphanRecordsWarning, T as renderNestedTemplateTreeDefect, Ta as localCustomResourceCommand, Tc as JSON_LISTING_HOLE_VALUE, Ti as supersededResourcesOf, Tl as BOOTSTRAP_MARKER_PREFIX, Tn as planOrphanAdoption, To as isStalePlaceholderArnAttribute, Tr as IMPLICIT_DELETE_DEPENDENCIES, Ts as refuseMalformedOrphanRecords, Ua as isAlwaysLiveAttribute, Uc as S3StateBackend, Ui as orphanRecordsPrintingBag, Ul as hasOwnKey, Un as changedReferencePath, Uo as carriesDynamicReference, Ur as withNameGenerationReached, Us as repairMalformedResourceEntriesForReadOnly, Ut as refuseRefactorMarker, Va as IntrinsicFunctionResolver, Vc as hasNoCloudControlHandlers, Vi as maskEventTextWithBoundBags, Vn as withMovedTo, Vo as carriesFetchableDynamicReference, Vr as retiredNameGenerationsAfter, Vs as refuseMalformedResourceEntriesForImportSave, Vt as refactorMarkerMovesOf, Wa as poisonRenderedSpellingsCollidingIn, Wc as splitImportedOps, Wi as secretNamePrintingBag, Wl as hasPlainPrototype, Wn as changedReferenceReason, Wo as keepsSecretReferenceToken, Ws as unreadableResourceEntries, Wt as sameMove, Xa as withSecretPhysicalIdsMaskedInState, Xc as CrossPrefixScanCache, Xi as extractDeploymentEventError, Xl as displayAssemblyPath, Xn as propertiesChangedReason, Xr as WITHHELD_NAME_DISPLAY, Xs as refuseMalformedResourcePropertiesForExport, Xt as formatResourceLine, Ya as secretSegmentsOfState, Yc as CrossPrefixReadError, Yi as storedSecretNameNeedles, Yl as describeFileReadFailure, Yn as parseMappingFile, Yr as resourcesNamingDeclaredParameter, Ys as refuseMalformedResourcePropertiesForDrift, Za as resolveDynamicReferences, Zc as applyCrossPrefixScan, Zi as ATOMIC_FINAL_SNAPSHOT_TYPES, Zn as proposeRenames, Zr as displayTextOrWithheld, Zs as refuseMalformedResourcePropertiesForOrphan, _ as conditionFingerprint, _a as readsNoEchoDeleteValues, _c as malformedRenderedContainersWarning, _i as withStackRecords, _l as buildDenyExternalAccessPolicy, _n as dropFailedCommands, _r as seedsDeleteFirstGuard, _s as declaresNoEcho, a as scanActiveConsumers, aa as createPreDeleteFinalSnapshot, ac as repairMalformedOrphansForReadOnly, ai as isWholeDynamicReferenceValue, an as displacedPhysicalIdShown, ao as parseIamRoleArn, ar as calculateResourceDrift, b as readRecordedConditionVerdicts, ba as withPrintingSecrets, bc as refuseMalformedResourcesForDeploy, bi as holdsSupersededResources, bl as getBootstrapMarkerKey, bn as journaledOrphanLines, bo as coerceParameterTypedValue, br as isReplacementOrphan, bs as isReadableOrphanRecord, c as nestedSsmNameDeferredNote, ca as ProviderRegistry, cc as malformedLocalOutputsWarning, ci as collectPublishedOutputNames, cn as nestedChildStackName$1, co as applyCallerIdentityCredentials, cr as undeclaredEmptyObservedKeys, d as slashedSsmNameHealAdoptedNote, da as wouldReturnToSdkProvider, di as DEFAULT_RESOURCE_TIMEOUT_MS, dl as loadPublishableAssetManifest, dn as revertedNestedRowIds, do as classifyRecordedSecretRegion, ea as ccRoutedInstanceTakesNoSnapshot, ec as hasReadableOrphans, ei as secretBearingStateKeyWarning, el as isNotImplemented, eo as applyRoleArnIfSet, er as replayRollback, es as shownType, f as slashedSsmNameHealNote, fa as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, fc as refuseMalformedOutputs, fi as DEFAULT_RESOURCE_WARN_AFTER_MS, fn as withNestedRevertRun, fo as classifyReplaySecretRegion, fr as ledgerForStack, fs as maskedPropertyFingerprintsOf, g as makeCanonicalizePropertiesFn, ga as TemplateNoEchoReresolver, gc as refuseDivergentRecordRegionForDestroy, gl as ensureAssetStorage, gn as deleteJournaledOrphans, gr as planRollback, h as inheritedProvenanceForChildDiff, hc as STATE_REGION_DIVERGED, hi as destroyStackRecordsView, hl as AssetModeResolver, hn as withNestedStackContext, hs as maskedInputProof, i as mergeNoChangeOutputs, ia as unsupportedFinalSnapshotError, ic as refuseMalformedOrphansForDestroy, ii as exportNameSecretExposure, il as isSensitiveAttributeName, in as displacedOpClause, io as isIamRoleArn, ir as withUnprovenUnsettled, is as renderStatefulReason, j as deferredServiceTokenWarning, jc as hasReadableOutputs, ji as red, jn as noEchoMacParametersOf, js as isReadableResourceEntry, k as pendingMovesRefusalMessage, kc as UNREADABLE_RESOURCES_MAP_ROW, ki as gray, kn as createNoEchoValueMacs, kr as findNestedStackTypeChanges, ks as unpreviewableOrphanRecords, l as nestedSsmNameRowNote, la as ccBrokenReason, lc as malformedOutputsRefusalMessage, li as isExportAliasCollision, ln as recordDisplacedSkips, lo as callerEnvCredentials, lr as updatePartialMessage, m as crossStackOutputProvenanceSource, ma as customResourceResponseExpirationWarning, mc as repairMalformedOutputsForReadOnly, ml as rewriteTemplateAssetReferences, mn as getCurrentNestedStackContext, mo as regionLessSecretName, mr as withCreateTokenLedger, ms as parameterInputsFor, n as isSecretBearingReferenceString, na as isFinalSnapshotError, nc as malformedOrphansWarning, ni as carriedExportAliasExposure, nl as withStackInstanceIdWithheld, nn as resolvePendingCloudControlRequests, no as assertSendableRoleArn, nr as recordAfterRollbackUpdate, ns as isStatefulRecreateTargetForReplace, o as inRunStackKey, oa as buildFinalSnapshotIdentifier, oc as malformedExportNamesWarning, oi as noEchoParameterValueSeed, ol as buildAssetRedirectMap, on as dropSettledNestedJournals, oo as sendableAssumeRoleCommand, or as equalModuloMarkedMask, p as slashedSsmNameHealPendingNote, pa as applyCustomResourceResponseExpiration, pc as refuseMalformedOutputsForDestroy, pi as maskingRetryLogger, pn as collectNestedChildUnaddressed, po as producerRegionsFromState, qc as hasUnverifiableParameterRefusal, qi as secretNamedRecordNeedles, qn as looselyEqual, qo as INTRINSIC_KEYS, qr as namesAnyDeclaredParameter, qt as readsOnlyNoEchoParameters, r as keptWholeReasonText, ra as refusesFinalSnapshot, rc as refuseMalformedOrphans, ri as exportNameNoEchoParameters, rl as isSecretValuedAttribute, rn as NESTED_PENDING_PARENT_REASON, ro as explicitRoleArnOrThrow, rr as settleUnsettledPrevious, rs as isStatefulRecreateTargetSync, s as checkNestedSsmNames, sa as CC_BROKEN_REASON, sc as malformedExportSourceWarning, si as collectDeclaredOutputNames, sl as createAssetRedirectResolver, so as AWS_CREDENTIAL_ENV_KEYS, sr as equalModuloMask, t as DeployEngine, ta as effectiveDeletionPolicy, tc as malformedOrphansRefusalMessage, ti as secretSafeKeyDisplay, tl as stackInstanceIdOf, tn as pendingRequestCount, to as assertFlagRoleArn, tr as DELETED_RESOURCE_REMEDY, ts as MULTI_REGION_RECREATE_BLOCKED_TYPES, tu as resolveBucketRegion, u as healSlashedSsmParameterNames, ua as isCustomResource, uc as malformedOutputsWarning, ui as bindingSkippedOutputs, uo as envCredentialsAreAssumedRole, ur as updatePartialReason, v as conditionInputsFrom, va as isCustomResourceType$1, vc as malformedResourcesWarning, vl as assertAssetBucketRegion, vn as dropFailedHint, vr as demoteSupersededOrphans, vs as maskedPropertyFingerprint, w as listNestedTemplateRows, wa as customResourcesRunWithoutApp, wc as repairMalformedResourcesForReadOnly, wi as supersededHolderOf, wl as validateContainerRepoName, wn as makeSiblingClaimReader, wo as cfnRefValueFromPhysicalId, wr as replacementNeverSwapped, ws as previewableOrphanRecords, x as childTemplateLoader, xa as NO_LOCAL_CUSTOM_RESOURCES_FLAG, xc as refuseMalformedResourcesForDestroy, xi as isSupersededResourceRecord, xl as parseBootstrapMarker, xn as loadJournaledOrphans, xo as isUnboundTemplateParameter, xr as planFailedOps, xs as malformedOrphanRecordsRefusalMessage, y as parentSuppliedValues, yc as malformedStateRefusalMessage, yi as deleteSupersededEntry, yl as isCrossRegionRedirect, yn as isHandledOrphan, yr as isJournaledOrphan, ys as deployRefusesOrphanRowsReason, z as perType, zi as completedReplayEntries, zl as decodeListingKey, zn as movedToHint, zo as getAccountInfo, zr as nameScopeOf, zs as refuseMalformedResourceEntriesForDestroy, zt as readRefactorMarker } from "./deploy-engine-DLmPF7r5.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 setChildProcessAwsEnv, Y as processStackMessages, _ as partitionSensitiveEnv, a as AssetPublisher, b as isMalformedEnvKey, c as resolveDockerContextDirectory, d as describeDockerFailure, f as redactedCause, g as finchSecretArgvRefusal, h as dockerSpawnEnvWithSensitive, i as isLockInfoExpired, j as resolveApp, k as getLegacyStateBucketName, m as redactDockerArgvValues, n as DagBuilder, o as WorkGraph, p as redactedDockerCause, q as AssemblyReader, r as LockManager, s as buildDockerImage, t as DiffCalculator, u as describeDockerExecFailure, v as warnFinchArgvExposure, w as runDockerStreaming, x as formatDockerLoginError, y as isDockerClientEnvKey, z as stateBucketExistenceConfirmed } from "./diff-calculator-Dpy3mtdK.js";
|
|
9
|
+
import { $a as refuseUnreadableCdkCrossAccountRefs, $c as isAccessDenied, $i as ccRoutedFinalSnapshotError, $l as resolveAssemblyPath, $n as replayFailedOperations, $r as secretBearing, $s as UNREADABLE_ORPHANS_CONTAINER_ROW, A as refusePendingMovesOut, Aa as CloudControlProvider, Ac as displayLogicalId, Ai as green, An as noEchoMacBinding, As as unreadableOrphanRecords, B as readProtection, Ba as isWaitAbandonedError, Bc as NO_CC_HANDLERS_REASON, Bi as journaledOrphanPrintingBag, Bn as rollbackOrphanIds, Bo as isImpossibleEmptyStoredAttribute, Br as retiredAfterRollback, Bs as refuseMalformedResourceEntriesForImport, Bt as readRefactorMarkerOnce, C as isAbsoluteAssetPath, Ca as customResourcesFailedWithoutApp, Cc as refuseMalformedState, Ci as supersededHeldByOtherTypeWarning, Cl as validateAssetBucketName, Cn as makeForeignHolderScan, Co as AWS_NO_VALUE, Cr as recordUnderIdIsNotOwn, Cs as malformedOrphanRowsKeptWarning, D as hasPendingMovesOut, Da as setLocalCustomResourceRuntimeEnabled, Dc as withheldAccountClause, Di as bold, Dl as getDockerImageBySourceHash, Dn as DeploymentEventsStore, Do as lacksRecordedRefArn, Dr as resolveReplacementOldType, Ds as refuseMalformedOrphansForOrphan, E as templateIdentity, Ec as accountArgs, Ei as withoutSuperseded, El as AssetManifestLoader, En as DeploymentEventsReader, Eo as refStateLookupFromResource, Er as computeImplicitDeleteEdges, Es as refuseMalformedOrphanRecordsForDestroy, F as recordedProtectionEvidence, Fa as UNSPECIFIED_SKIP_REASON, Fi as noEchoExactEchoLeavesOf, Fn as findDestructiveChanges, Fr as removeProtectionTypeList, Fs as malformedScrubResourceEntriesRefusalMessage, Ga as stackIdTailOf, Gi as secretNamePrintingBags, Gl as nullPrototypeRecord, Gn as differingRemedy, Go as withSharedDrainBudget, Gr as inheritProducerRegions, Gs as malformedDriftResourcePropertiesWarning, Gt as updateRefactorMarker, Ha as isSelectOutOfBounds, Hc as TemplateParser, Hi as namingSecretsWithRecordedNoEcho, Hl as defineOwnKey, Hn as changedReferenceInDiff, Ho as isNamelessDynamicReferenceError, Hr as retiredNameGenerationsLeaving, Hs as refuseMalformedResourceEntriesForOrphan, Ht as refactorMarkerRefusalMessage, I as recordedProtectionNote, Ia as deleteIndeterminateGuards, Ic as unwrittenCreateOnlyReplacement, Ii as noEchoParameterNamesOf, Il as ssmResolvedValueType, In as formatDestructiveChange, Io as recordedReferenceRegions, Ir as orphanNeedsIdentity, Is as refuseMalformedResourceAttributesForOrphan, Jc as rebuildClientForBucketRegion, Ji as stateSecretNameNeedles, Jn as mappingPairs, Jr as reachableDivergentParameters, Js as refuseMalformedResourcePropertiesForDestroy, Kc as hasReasonlessBaselineRefusal, Kl as ownValue, Kn as isPairableType, Kr as computeParameterTaint, Ks as malformedResourcePropertiesWarning, Kt as macWriteOnlyKeys, L as PROTECTION_PROPERTY_BY_TYPE, La as deleteLeftInPlace, Li as withAttemptedItemsMasked, Ll as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Ln as findRefactorHints, Lr as nameGenerationCarriedFrom, Ls as refuseMalformedResourceEntries, Lt as keptForRetainedRecord, M as findServiceTokenRefusals, Mc as hasReadableResources, Mi as yellow, Mn as noEchoMacVerdict, Mo as keepHeldTokenProvenance, Ms as malformedLocalResourceEntriesWarning, N as serviceTokenBlockingReason, Na as setResolvedResourceTimeouts, Nc as findActionableSdkUnwired, Ni as noEchoAttributeNamesOf, Nn as noEchoValueMacsOf, Ns as malformedLocalResourcesWarning, O as pendingMovesOutOf, Oa as withCustomResourceStack, Oc as STATE_RESOURCES_MALFORMED, Oi as cyan, On as NOECHO_MAC_KEY_ALIAS, Oo as lacksRecordedTableArn, Or as withPreviousPolicies, Os as repairMalformedOrphanRecordsForReadOnly, P as diffSecurity, Pa as RollbackInlinePolicyWriters, Pc as findHandledUnwrittenCreateOnly, Pi as noEchoComparisonForTemplate, Pn as constructPathOf$1, Po as recordedOutputReferenceRegions, Pr as segmentCleanupOptions, Ps as malformedResourceEntriesWarning, Qa as producerLookupOver, Qc as crossPrefixDeniedWarning, Qi as PRE_DELETE_SNAPSHOT_TYPES, Ql as renderAssemblyPathEscape, Qn as referencedLogicalIds, Qo as findReplacedReadersOfRecreateTargets, Qr as exportAliasCollisionScrubWarning, Qs as repairMalformedResourcePropertiesForReadOnly, R as isProtectionValueActive, Ra as deleteSkipReason, Ri as createReadOnlyAttributeHealerFactory, Rn as hintSidesOf, Rr as nameGenerationHighWaterOf, Rs as refuseMalformedResourceEntriesForDeploy, Rt as recordRetainedForReadoption, S as findNestedTemplateTreeDefect, Sc as refuseMalformedResourcesForExport, Si as supersededAfterRollback, Sl as readBootstrapMarkerBody, Sn as sameJournaledOrphans, So as parameterTypeMayLoseSecretIdentity, Sr as recheckFailedPlan, Ss as malformedOrphanRecordsWarning, T as renderNestedTemplateTreeDefect, Ta as localCustomResourceCommand, Tc as JSON_LISTING_HOLE_VALUE, Ti as supersededResourcesOf, Tl as BOOTSTRAP_MARKER_PREFIX, Tn as planOrphanAdoption, To as isStalePlaceholderArnAttribute, Tr as IMPLICIT_DELETE_DEPENDENCIES, Ts as refuseMalformedOrphanRecords, Ua as isAlwaysLiveAttribute, Uc as S3StateBackend, Ui as orphanRecordsPrintingBag, Ul as hasOwnKey, Un as changedReferencePath, Uo as carriesDynamicReference, Ur as withNameGenerationReached, Us as repairMalformedResourceEntriesForReadOnly, Ut as refuseRefactorMarker, Va as IntrinsicFunctionResolver, Vc as hasNoCloudControlHandlers, Vi as maskEventTextWithBoundBags, Vn as withMovedTo, Vo as carriesFetchableDynamicReference, Vr as retiredNameGenerationsAfter, Vs as refuseMalformedResourceEntriesForImportSave, Vt as refactorMarkerMovesOf, Wa as poisonRenderedSpellingsCollidingIn, Wc as splitImportedOps, Wi as secretNamePrintingBag, Wl as hasPlainPrototype, Wn as changedReferenceReason, Wo as keepsSecretReferenceToken, Ws as unreadableResourceEntries, Wt as sameMove, Xa as withSecretPhysicalIdsMaskedInState, Xc as CrossPrefixScanCache, Xi as extractDeploymentEventError, Xl as displayAssemblyPath, Xn as propertiesChangedReason, Xr as WITHHELD_NAME_DISPLAY, Xs as refuseMalformedResourcePropertiesForExport, Xt as formatResourceLine, Ya as secretSegmentsOfState, Yc as CrossPrefixReadError, Yi as storedSecretNameNeedles, Yl as describeFileReadFailure, Yn as parseMappingFile, Yr as resourcesNamingDeclaredParameter, Ys as refuseMalformedResourcePropertiesForDrift, Za as resolveDynamicReferences, Zc as applyCrossPrefixScan, Zi as ATOMIC_FINAL_SNAPSHOT_TYPES, Zn as proposeRenames, Zr as displayTextOrWithheld, Zs as refuseMalformedResourcePropertiesForOrphan, _ as conditionFingerprint, _a as readsNoEchoDeleteValues, _c as malformedRenderedContainersWarning, _i as withStackRecords, _l as buildDenyExternalAccessPolicy, _n as dropFailedCommands, _r as seedsDeleteFirstGuard, _s as declaresNoEcho, a as scanActiveConsumers, aa as createPreDeleteFinalSnapshot, ac as repairMalformedOrphansForReadOnly, ai as isWholeDynamicReferenceValue, an as displacedPhysicalIdShown, ao as parseIamRoleArn, ar as calculateResourceDrift, b as readRecordedConditionVerdicts, ba as withPrintingSecrets, bc as refuseMalformedResourcesForDeploy, bi as holdsSupersededResources, bl as getBootstrapMarkerKey, bn as journaledOrphanLines, bo as coerceParameterTypedValue, br as isReplacementOrphan, bs as isReadableOrphanRecord, c as nestedSsmNameDeferredNote, ca as ProviderRegistry, cc as malformedLocalOutputsWarning, ci as collectPublishedOutputNames, cn as nestedChildStackName$1, co as applyCallerIdentityCredentials, cr as undeclaredEmptyObservedKeys, d as slashedSsmNameHealAdoptedNote, da as wouldReturnToSdkProvider, di as DEFAULT_RESOURCE_TIMEOUT_MS, dl as loadPublishableAssetManifest, dn as revertedNestedRowIds, do as classifyRecordedSecretRegion, ea as ccRoutedInstanceTakesNoSnapshot, ec as hasReadableOrphans, ei as secretBearingStateKeyWarning, el as isNotImplemented, eo as applyRoleArnIfSet, er as replayRollback, es as shownType, f as slashedSsmNameHealNote, fa as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, fc as refuseMalformedOutputs, fi as DEFAULT_RESOURCE_WARN_AFTER_MS, fn as withNestedRevertRun, fo as classifyReplaySecretRegion, fr as ledgerForStack, fs as maskedPropertyFingerprintsOf, g as makeCanonicalizePropertiesFn, ga as TemplateNoEchoReresolver, gc as refuseDivergentRecordRegionForDestroy, gl as ensureAssetStorage, gn as deleteJournaledOrphans, gr as planRollback, h as inheritedProvenanceForChildDiff, hc as STATE_REGION_DIVERGED, hi as destroyStackRecordsView, hl as AssetModeResolver, hn as withNestedStackContext, hs as maskedInputProof, i as mergeNoChangeOutputs, ia as unsupportedFinalSnapshotError, ic as refuseMalformedOrphansForDestroy, ii as exportNameSecretExposure, il as isSensitiveAttributeName, in as displacedOpClause, io as isIamRoleArn, ir as withUnprovenUnsettled, is as renderStatefulReason, j as deferredServiceTokenWarning, jc as hasReadableOutputs, ji as red, jn as noEchoMacParametersOf, js as isReadableResourceEntry, k as pendingMovesRefusalMessage, kc as UNREADABLE_RESOURCES_MAP_ROW, ki as gray, kn as createNoEchoValueMacs, kr as findNestedStackTypeChanges, ks as unpreviewableOrphanRecords, l as nestedSsmNameRowNote, la as ccBrokenReason, lc as malformedOutputsRefusalMessage, li as isExportAliasCollision, ln as recordDisplacedSkips, lo as callerEnvCredentials, lr as updatePartialMessage, m as crossStackOutputProvenanceSource, ma as customResourceResponseExpirationWarning, mc as repairMalformedOutputsForReadOnly, ml as rewriteTemplateAssetReferences, mn as getCurrentNestedStackContext, mo as regionLessSecretName, mr as withCreateTokenLedger, ms as parameterInputsFor, n as isSecretBearingReferenceString, na as isFinalSnapshotError, nc as malformedOrphansWarning, ni as carriedExportAliasExposure, nl as withStackInstanceIdWithheld, nn as resolvePendingCloudControlRequests, no as assertSendableRoleArn, nr as recordAfterRollbackUpdate, ns as isStatefulRecreateTargetForReplace, o as inRunStackKey, oa as buildFinalSnapshotIdentifier, oc as malformedExportNamesWarning, oi as noEchoParameterValueSeed, ol as buildAssetRedirectMap, on as dropSettledNestedJournals, oo as sendableAssumeRoleCommand, or as equalModuloMarkedMask, p as slashedSsmNameHealPendingNote, pa as applyCustomResourceResponseExpiration, pc as refuseMalformedOutputsForDestroy, pi as maskingRetryLogger, pn as collectNestedChildUnaddressed, po as producerRegionsFromState, qc as hasUnverifiableParameterRefusal, qi as secretNamedRecordNeedles, qn as looselyEqual, qo as INTRINSIC_KEYS, qr as namesAnyDeclaredParameter, qt as readsOnlyNoEchoParameters, r as keptWholeReasonText, ra as refusesFinalSnapshot, rc as refuseMalformedOrphans, ri as exportNameNoEchoParameters, rl as isSecretValuedAttribute, rn as NESTED_PENDING_PARENT_REASON, ro as explicitRoleArnOrThrow, rr as settleUnsettledPrevious, rs as isStatefulRecreateTargetSync, s as checkNestedSsmNames, sa as CC_BROKEN_REASON, sc as malformedExportSourceWarning, si as collectDeclaredOutputNames, sl as createAssetRedirectResolver, so as AWS_CREDENTIAL_ENV_KEYS, sr as equalModuloMask, t as DeployEngine, ta as effectiveDeletionPolicy, tc as malformedOrphansRefusalMessage, ti as secretSafeKeyDisplay, tl as stackInstanceIdOf, tn as pendingRequestCount, to as assertFlagRoleArn, tr as DELETED_RESOURCE_REMEDY, ts as MULTI_REGION_RECREATE_BLOCKED_TYPES, tu as resolveBucketRegion, u as healSlashedSsmParameterNames, ua as isCustomResource, uc as malformedOutputsWarning, ui as bindingSkippedOutputs, uo as envCredentialsAreAssumedRole, ur as updatePartialReason, v as conditionInputsFrom, va as isCustomResourceType$1, vc as malformedResourcesWarning, vl as assertAssetBucketRegion, vn as dropFailedHint, vr as demoteSupersededOrphans, vs as maskedPropertyFingerprint, w as listNestedTemplateRows, wa as customResourcesRunWithoutApp, wc as repairMalformedResourcesForReadOnly, wi as supersededHolderOf, wl as validateContainerRepoName, wn as makeSiblingClaimReader, wo as cfnRefValueFromPhysicalId, wr as replacementNeverSwapped, ws as previewableOrphanRecords, x as childTemplateLoader, xa as NO_LOCAL_CUSTOM_RESOURCES_FLAG, xc as refuseMalformedResourcesForDestroy, xi as isSupersededResourceRecord, xl as parseBootstrapMarker, xn as loadJournaledOrphans, xo as isUnboundTemplateParameter, xr as planFailedOps, xs as malformedOrphanRecordsRefusalMessage, y as parentSuppliedValues, yc as malformedStateRefusalMessage, yi as deleteSupersededEntry, yl as isCrossRegionRedirect, yn as isHandledOrphan, yr as isJournaledOrphan, ys as deployRefusesOrphanRowsReason, z as perType, zi as completedReplayEntries, zl as decodeListingKey, zn as movedToHint, zo as getAccountInfo, zr as nameScopeOf, zs as refuseMalformedResourceEntriesForDestroy, zt as readRefactorMarker } from "./deploy-engine-BCutoRqN.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 {
|
|
14
|
-
import { An as
|
|
15
|
-
import {
|
|
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-DEedWKNw.js";
|
|
12
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-iywep2CV.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-B5fdSbyi.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-DywtM6vS.js";
|
|
15
|
+
import { C as unsettledItemsField, E as unsettledPropertiesOf, O as withUnsettledProperties, i as withResourceDeadline, k as withoutUnsettledProperties, w as unsettledItemsOf } from "./resource-deadline-C_l7cJ75.js";
|
|
16
|
+
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-BdY53T_-.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";
|
|
@@ -40,7 +40,7 @@ import * as readline$1 from "node:readline/promises";
|
|
|
40
40
|
import readline from "node:readline/promises";
|
|
41
41
|
import { Document, Pair, Scalar, YAMLError, YAMLMap, YAMLSeq, isScalar, parse, parseDocument, stringify, visit } from "yaml";
|
|
42
42
|
import { emitKeypressEvents } from "node:readline";
|
|
43
|
-
import { createLocalStartAgentCoreCommand, createLocalStartCloudFrontCommand, createLocalStartMicrovmCommand, createLocalStartWebFunctionCommand, createLocalStateProvider, getEmbedConfig, isCfnFlagPresent, listTargets, rejectExplicitCfnStackWithMultipleStacks, resolveCfnFallbackRegion, setEmbedConfig, substituteAgainstState, substituteAgainstStateAsync, substituteEnvVarsFromState, substituteEnvVarsFromStateAsync } from "cdk-local";
|
|
43
|
+
import { collectSsmParameterRefs, createLocalStartAgentCoreCommand, createLocalStartCloudFrontCommand, createLocalStartMicrovmCommand, createLocalStartWebFunctionCommand, createLocalStateProvider, getEmbedConfig, isCfnFlagPresent, listTargets, rejectExplicitCfnStackWithMultipleStacks, resolveCfnFallbackRegion, resolveSsmParameters, setEmbedConfig, substituteAgainstState, substituteAgainstStateAsync, substituteEnvVarsFromState, substituteEnvVarsFromStateAsync } from "cdk-local";
|
|
44
44
|
import { WebSocketServer } from "ws";
|
|
45
45
|
|
|
46
46
|
// src/cli/aws-emulator-activation.ts
|
|
@@ -1450,7 +1450,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
1450
1450
|
// src/provisioning/register-providers.ts
|
|
1451
1451
|
let providerClasses;
|
|
1452
1452
|
function loadProviderClasses() {
|
|
1453
|
-
providerClasses ??= import("./provider-classes-
|
|
1453
|
+
providerClasses ??= import("./provider-classes-DcmiLT1V.js");
|
|
1454
1454
|
return providerClasses;
|
|
1455
1455
|
}
|
|
1456
1456
|
function registerAllProviders(registry, classes) {
|
|
@@ -8522,10 +8522,15 @@ async function scrubStackRewritePass({ stack, region, stateBackend, opts, logger
|
|
|
8522
8522
|
generation: "unproven"
|
|
8523
8523
|
})
|
|
8524
8524
|
} : record;
|
|
8525
|
-
const
|
|
8525
|
+
const walked = secrets || templateProps ? scrubResourceRecord(positioned, ownSecrets, void 0, "state-cross-generation", {
|
|
8526
8526
|
properties: "unproven",
|
|
8527
|
-
observed: "unproven"
|
|
8527
|
+
observed: "unproven",
|
|
8528
|
+
propertiesPositioned: templateProps !== void 0
|
|
8528
8529
|
}) : record;
|
|
8530
|
+
const scrubbed = templateProps && record.observedProperties && walked.observedProperties ? {
|
|
8531
|
+
...walked,
|
|
8532
|
+
observedProperties: keepTemplateLiteralLeaves(walked.observedProperties, record.observedProperties, templateProps, ownSecrets)
|
|
8533
|
+
} : walked;
|
|
8529
8534
|
const plan = noEchoPlans.byLogicalId.get(logicalId);
|
|
8530
8535
|
const migrationNeedles = scrubMigrationNeedles(plan, noEchoPublicTokens);
|
|
8531
8536
|
const migrated = migrationNeedles === void 0 ? scrubbed : scrubResourceRecord(scrubbed, migrationNeedles, void 0, "state-cross-generation", {
|
|
@@ -12795,6 +12800,7 @@ async function deleteStackResource({ lock, state, ctx, stackName, logger, result
|
|
|
12795
12800
|
recordedAttributes: resource.attributes,
|
|
12796
12801
|
recordedCreateOnlyDrops: resource.acceptedCreateOnlyDrops,
|
|
12797
12802
|
recordedNoEchoLeaves: resource.noEchoLeaves,
|
|
12803
|
+
recordedTypedPayloadLeaves: resource.typedPayloadLeaves,
|
|
12798
12804
|
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
12799
12805
|
...ctx.noEchoReresolver !== void 0 && { noEchoReresolver: ctx.noEchoReresolver },
|
|
12800
12806
|
...ctx.stackDestroy === true && { stackDestroy: true },
|
|
@@ -25416,12 +25422,63 @@ function describeStateBucketAccessFailure(err) {
|
|
|
25416
25422
|
return describeLocalAwsFailureForWarn(cause, operation);
|
|
25417
25423
|
}
|
|
25418
25424
|
|
|
25425
|
+
// src/local/state-ssm-parameters.ts
|
|
25426
|
+
async function resolveStateTemplateSsmParameters(template, opts) {
|
|
25427
|
+
const referenced = referencedParameterNames(template);
|
|
25428
|
+
const refs = collectSsmParameterRefs(template).filter((r) => referenced.has(r.logicalId));
|
|
25429
|
+
if (refs.length === 0) return {
|
|
25430
|
+
values: {},
|
|
25431
|
+
secureStringLogicalIds: []
|
|
25432
|
+
};
|
|
25433
|
+
const client = stateSsmClient(opts.region, opts.profile, opts.workload);
|
|
25434
|
+
try {
|
|
25435
|
+
return await resolveSsmParameters(client, refs, opts.label);
|
|
25436
|
+
} finally {
|
|
25437
|
+
client.destroy();
|
|
25438
|
+
}
|
|
25439
|
+
}
|
|
25440
|
+
function stateSsmClient(region, profile, workload) {
|
|
25441
|
+
const folded = canonicalizeRegion(region) || void 0;
|
|
25442
|
+
const realAws = realAwsException("SSM", workload);
|
|
25443
|
+
return new SSMClient({
|
|
25444
|
+
...awsClientDefaults({
|
|
25445
|
+
profile,
|
|
25446
|
+
ignoreAssumedRole: true,
|
|
25447
|
+
realAws
|
|
25448
|
+
}),
|
|
25449
|
+
...folded && { region: folded },
|
|
25450
|
+
...profile && { profile }
|
|
25451
|
+
});
|
|
25452
|
+
}
|
|
25453
|
+
function referencedParameterNames(template) {
|
|
25454
|
+
const parser = new TemplateParser();
|
|
25455
|
+
const out = /* @__PURE__ */ new Set();
|
|
25456
|
+
for (const section of [
|
|
25457
|
+
template?.["Resources"],
|
|
25458
|
+
template?.["Outputs"],
|
|
25459
|
+
template?.["Conditions"]
|
|
25460
|
+
]) {
|
|
25461
|
+
if (!section || typeof section !== "object") continue;
|
|
25462
|
+
for (const name of parser.extractReferences(section)) out.add(name);
|
|
25463
|
+
}
|
|
25464
|
+
return out;
|
|
25465
|
+
}
|
|
25466
|
+
async function templateSsmParameters(provider, template) {
|
|
25467
|
+
if (!provider.resolveTemplateSsmParameters) return {};
|
|
25468
|
+
const ssm = await provider.resolveTemplateSsmParameters(template ?? {});
|
|
25469
|
+
return {
|
|
25470
|
+
...Object.keys(ssm.values).length > 0 && { parameters: ssm.values },
|
|
25471
|
+
...ssm.secureStringLogicalIds.length > 0 && { sensitiveParameters: new Set(ssm.secureStringLogicalIds) }
|
|
25472
|
+
};
|
|
25473
|
+
}
|
|
25474
|
+
|
|
25419
25475
|
// src/local/s3-local-state-provider.ts
|
|
25420
25476
|
var S3LocalStateProvider = class {
|
|
25421
25477
|
label;
|
|
25422
25478
|
opts;
|
|
25423
25479
|
disposers = [];
|
|
25424
25480
|
warnedMalformedProducers = /* @__PURE__ */ new Set();
|
|
25481
|
+
loadedRegion;
|
|
25425
25482
|
constructor(opts) {
|
|
25426
25483
|
this.opts = opts;
|
|
25427
25484
|
this.label = opts.logPrefix ?? "--from-state";
|
|
@@ -25438,8 +25495,10 @@ var S3LocalStateProvider = class {
|
|
|
25438
25495
|
...this.opts.warn !== void 0 && { warn: this.opts.warn },
|
|
25439
25496
|
...this.opts.scopedClients === true && { scopedClients: true }
|
|
25440
25497
|
};
|
|
25498
|
+
this.loadedRegion = void 0;
|
|
25441
25499
|
const loaded = await loadStateForStack(stackName, synthRegion, loadOpts);
|
|
25442
25500
|
if (!loaded) return void 0;
|
|
25501
|
+
this.loadedRegion = loaded.region;
|
|
25443
25502
|
const refusalRecovery = {
|
|
25444
25503
|
profile: this.opts.profile,
|
|
25445
25504
|
stateBucket: loaded.stateBucket,
|
|
@@ -25472,6 +25531,14 @@ var S3LocalStateProvider = class {
|
|
|
25472
25531
|
this.disposers.push(built.dispose);
|
|
25473
25532
|
return built.resolver;
|
|
25474
25533
|
}
|
|
25534
|
+
resolveTemplateSsmParameters(template) {
|
|
25535
|
+
return resolveStateTemplateSsmParameters(template, {
|
|
25536
|
+
region: this.loadedRegion ?? this.opts.stackRegion ?? this.opts.region ?? process.env["AWS_REGION"] ?? process.env["AWS_DEFAULT_REGION"],
|
|
25537
|
+
profile: this.opts.profile,
|
|
25538
|
+
workload: this.opts.workload,
|
|
25539
|
+
label: this.label
|
|
25540
|
+
});
|
|
25541
|
+
}
|
|
25475
25542
|
dispose() {
|
|
25476
25543
|
while (this.disposers.length > 0) {
|
|
25477
25544
|
const fn = this.disposers.pop();
|
|
@@ -25536,6 +25603,7 @@ function createMixedModeFromStateProvider(opts, realServices) {
|
|
|
25536
25603
|
}
|
|
25537
25604
|
})),
|
|
25538
25605
|
buildCrossStackResolver: () => Promise.resolve(void 0),
|
|
25606
|
+
resolveTemplateSsmParameters: (template) => emulatorInner.resolveTemplateSsmParameters(template),
|
|
25539
25607
|
getLastLoadError: () => lastLoadError,
|
|
25540
25608
|
dispose: () => realInner.dispose()
|
|
25541
25609
|
},
|
|
@@ -25545,7 +25613,10 @@ function createMixedModeFromStateProvider(opts, realServices) {
|
|
|
25545
25613
|
|
|
25546
25614
|
// src/cli/commands/local-state-source.ts
|
|
25547
25615
|
const fromStateFactory = (options, behavior) => {
|
|
25548
|
-
const providerOpts =
|
|
25616
|
+
const providerOpts = {
|
|
25617
|
+
...s3ProviderOptions(options),
|
|
25618
|
+
...behavior.workload !== void 0 && { workload: behavior.workload }
|
|
25619
|
+
};
|
|
25549
25620
|
const mixed = getActiveWorkloadAwsWiring()?.mixed;
|
|
25550
25621
|
if (!mixed) return new S3LocalStateProvider(providerOpts);
|
|
25551
25622
|
const realServices = awsEmulatorRealServices(behavior.workload) ?? mixed.realServices;
|
|
@@ -28133,6 +28204,7 @@ function parseContainerDefinition(raw, idx, taskLogicalId, resources, stack, con
|
|
|
28133
28204
|
const entryPoint = resolveArgvArray(c["EntryPoint"], "EntryPoint", subContext, unresolvedCommandElements);
|
|
28134
28205
|
const workingDirectory = pickString(c["WorkingDirectory"]);
|
|
28135
28206
|
const environment = {};
|
|
28207
|
+
const plaintextEnvKeys = [];
|
|
28136
28208
|
const droppedEnvKeys = [];
|
|
28137
28209
|
if (Array.isArray(c["Environment"])) for (const entry of c["Environment"]) {
|
|
28138
28210
|
if (!entry || typeof entry !== "object") continue;
|
|
@@ -28145,9 +28217,16 @@ function parseContainerDefinition(raw, idx, taskLogicalId, resources, stack, con
|
|
|
28145
28217
|
continue;
|
|
28146
28218
|
}
|
|
28147
28219
|
if (subContext) {
|
|
28148
|
-
|
|
28220
|
+
let sensitive = false;
|
|
28221
|
+
const sub = substituteAgainstState(value, {
|
|
28222
|
+
...subContext,
|
|
28223
|
+
onSensitiveParameterConsumed: () => {
|
|
28224
|
+
sensitive = true;
|
|
28225
|
+
}
|
|
28226
|
+
});
|
|
28149
28227
|
if (sub.kind === "literal") {
|
|
28150
28228
|
defineOwnKey(environment, key, String(sub.value));
|
|
28229
|
+
if (sensitive) plaintextEnvKeys.push(key);
|
|
28151
28230
|
continue;
|
|
28152
28231
|
}
|
|
28153
28232
|
droppedEnvKeys.push({
|
|
@@ -28288,6 +28367,7 @@ function parseContainerDefinition(raw, idx, taskLogicalId, resources, stack, con
|
|
|
28288
28367
|
if (user !== void 0) out.user = user;
|
|
28289
28368
|
if (privileged !== void 0) out.privileged = privileged;
|
|
28290
28369
|
if (readonlyRootFilesystem !== void 0) out.readonlyRootFilesystem = readonlyRootFilesystem;
|
|
28370
|
+
if (plaintextEnvKeys.length > 0) out.resolvedDynamicReferenceKeys = plaintextEnvKeys;
|
|
28291
28371
|
if (droppedSecretKeys.length > 0) out.droppedSecretNames = droppedSecretKeys.map((d) => d.key);
|
|
28292
28372
|
if (unresolvedCommandElements.length > 0) out.unresolvedCommandElements = unresolvedCommandElements;
|
|
28293
28373
|
return out;
|
|
@@ -28420,6 +28500,8 @@ function buildSubstitutionContextFromImageContext(context) {
|
|
|
28420
28500
|
if (!context?.stateResources) return void 0;
|
|
28421
28501
|
const subContext = { resources: context.stateResources };
|
|
28422
28502
|
if (context.pseudoParameters) subContext.pseudoParameters = { ...context.pseudoParameters };
|
|
28503
|
+
if (context.stateParameters) subContext.parameters = context.stateParameters;
|
|
28504
|
+
if (context.stateSensitiveParameters?.length) subContext.sensitiveParameters = new Set(context.stateSensitiveParameters);
|
|
28423
28505
|
return subContext;
|
|
28424
28506
|
}
|
|
28425
28507
|
|
|
@@ -28833,6 +28915,7 @@ async function loadStateForRoutedStacks(stacks, routes, routesWithAuth, options)
|
|
|
28833
28915
|
if (stackHasIntrinsicEnv(stackName)) {
|
|
28834
28916
|
const pseudo = await resolvePseudoParametersForStartApi(loaded.region, options);
|
|
28835
28917
|
if (pseudo) bundle.pseudoParameters = pseudo;
|
|
28918
|
+
Object.assign(bundle, await templateSsmParameters(provider, stack.template));
|
|
28836
28919
|
}
|
|
28837
28920
|
out.set(key, bundle);
|
|
28838
28921
|
logger.debug(`${provider.label}: loaded state for ${stackName} (${loaded.region})`);
|
|
@@ -28917,6 +29000,8 @@ async function buildContainerSpec(args) {
|
|
|
28917
29000
|
if (stateBundle) {
|
|
28918
29001
|
const context = { resources: stateBundle.state.resources };
|
|
28919
29002
|
if (stateBundle.pseudoParameters) context.pseudoParameters = stateBundle.pseudoParameters;
|
|
29003
|
+
if (stateBundle.parameters) context.parameters = stateBundle.parameters;
|
|
29004
|
+
if (stateBundle.sensitiveParameters) context.sensitiveParameters = stateBundle.sensitiveParameters;
|
|
28920
29005
|
const { env, audit } = substituteEnvVarsFromState(templateEnv, context);
|
|
28921
29006
|
templateEnv = env;
|
|
28922
29007
|
stateAudit = audit;
|
|
@@ -30784,6 +30869,13 @@ async function resolveStackAccountId$1(source) {
|
|
|
30784
30869
|
}
|
|
30785
30870
|
|
|
30786
30871
|
// src/cli/commands/local-run-task/image-context.ts
|
|
30872
|
+
async function stateSsmParametersForImageContext(stateProvider, candidate) {
|
|
30873
|
+
const ssm = await templateSsmParameters(stateProvider, candidate.template);
|
|
30874
|
+
return {
|
|
30875
|
+
...ssm.parameters && { stateParameters: ssm.parameters },
|
|
30876
|
+
...ssm.sensitiveParameters && { stateSensitiveParameters: [...ssm.sensitiveParameters] }
|
|
30877
|
+
};
|
|
30878
|
+
}
|
|
30787
30879
|
function resolveEcsConsumerRegion(stateRecordRegion, options, synthRegion) {
|
|
30788
30880
|
if (stateRecordRegion) return stateRecordRegion;
|
|
30789
30881
|
return canonicalizeRegion((options.region || namedEnvAwsRegion()) ?? process.env["AWS_DEFAULT_REGION"] ?? synthRegion ?? emulatorDefaultRegion() ?? "us-east-1");
|
|
@@ -30829,6 +30921,7 @@ async function buildEcsImageResolutionContext$1(candidate, stateProvider, option
|
|
|
30829
30921
|
if (loaded) {
|
|
30830
30922
|
ctx.stateResources = loaded.resources;
|
|
30831
30923
|
stateRecordRegion = loaded.region;
|
|
30924
|
+
if (needs.needsEnvOrSecretSubstitution) Object.assign(ctx, await stateSsmParametersForImageContext(stateProvider, candidate));
|
|
30832
30925
|
}
|
|
30833
30926
|
} else if (!stateProvider && needs.needsStateResources) {
|
|
30834
30927
|
if (!options.imageOverride?.length) logger.warn("Container Image references a same-stack AWS::ECR::Repository. Pass --from-state (cdkd-deployed) or --from-cfn-stack (cdk-deployed) to substitute the deployed repository URI, or --image-override to build it from a local Dockerfile. Otherwise the run stops before any container starts.");
|
|
@@ -31221,16 +31314,22 @@ async function applyPerContainerNames(task, target, stacks, candidate, options,
|
|
|
31221
31314
|
try {
|
|
31222
31315
|
const loaded = await provider.load(candidate.stackName, candidate.region);
|
|
31223
31316
|
if (!loaded) continue;
|
|
31224
|
-
const
|
|
31317
|
+
const ownContext = {
|
|
31225
31318
|
...baseContext,
|
|
31226
31319
|
stateResources: loaded.resources
|
|
31227
|
-
}
|
|
31320
|
+
};
|
|
31321
|
+
delete ownContext.stateParameters;
|
|
31322
|
+
delete ownContext.stateSensitiveParameters;
|
|
31323
|
+
Object.assign(ownContext, await stateSsmParametersForImageContext(provider, candidate));
|
|
31324
|
+
const own = resolveEcsTaskTarget(target, stacks, ownContext);
|
|
31228
31325
|
for (const name of names) {
|
|
31229
31326
|
const mine = own.containers.find((c) => c.name === name);
|
|
31230
31327
|
const into = task.containers.find((c) => c.name === name);
|
|
31231
31328
|
if (!mine || !into) continue;
|
|
31232
31329
|
into.environment = mine.environment;
|
|
31233
31330
|
into.secrets = mine.secrets;
|
|
31331
|
+
if (mine.resolvedDynamicReferenceKeys) into.resolvedDynamicReferenceKeys = mine.resolvedDynamicReferenceKeys;
|
|
31332
|
+
else delete into.resolvedDynamicReferenceKeys;
|
|
31234
31333
|
if (mine.command) into.command = mine.command;
|
|
31235
31334
|
if (mine.entryPoint) into.entryPoint = mine.entryPoint;
|
|
31236
31335
|
if (mine.healthCheck) into.healthCheck = mine.healthCheck;
|
|
@@ -33102,6 +33201,7 @@ async function resolveInvokeTemplateEnvWith(lambda, options, dynamicRefs) {
|
|
|
33102
33201
|
if (envHasIntrinsicValue(templateEnv)) {
|
|
33103
33202
|
const pseudo = await resolvePseudoParametersForInvoke(lambda.stack.region, options);
|
|
33104
33203
|
if (pseudo) subContext.pseudoParameters = pseudo;
|
|
33204
|
+
Object.assign(subContext, await templateSsmParameters(stateProvider, lambda.stack.template));
|
|
33105
33205
|
}
|
|
33106
33206
|
if (envHasCrossStackIntrinsic(templateEnv)) {
|
|
33107
33207
|
const resolver = await stateProvider.buildCrossStackResolver(loaded.region);
|
|
@@ -33327,4 +33427,4 @@ function collectVerbFlags(program) {
|
|
|
33327
33427
|
}
|
|
33328
33428
|
|
|
33329
33429
|
export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, canonicalizeIpProtocolValue as o, holdsUnprovenSecretPrincipalToken as r, canonicalizeIpv4Cidr as t };
|
|
33330
|
-
//# sourceMappingURL=program-
|
|
33430
|
+
//# sourceMappingURL=program-8-3OnhIJ.js.map
|