@cdkd/cli 0.350.2 → 0.350.3

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.
Files changed (54) hide show
  1. package/dist/{ambient-client-defaults-nYbcw8Dc.js → ambient-client-defaults-CqrM5nDS.js} +6 -4
  2. package/dist/{ambient-client-defaults-nYbcw8Dc.js.map → ambient-client-defaults-CqrM5nDS.js.map} +1 -1
  3. package/dist/{asg-provider-C2lKCOu5.js → asg-provider-hZ4nyheM.js} +6 -6
  4. package/dist/{asg-provider-C2lKCOu5.js.map → asg-provider-hZ4nyheM.js.map} +1 -1
  5. package/dist/cli.js +3 -3
  6. package/dist/{custom-resource-runtime-BcxDxd28.js → custom-resource-runtime-CcClWTa-.js} +6 -6
  7. package/dist/{custom-resource-runtime-BcxDxd28.js.map → custom-resource-runtime-CcClWTa-.js.map} +1 -1
  8. package/dist/{db-instance-modify-retry-EpoVdg4u.js → db-instance-modify-retry-CsIlFgIJ.js} +4 -4
  9. package/dist/{db-instance-modify-retry-EpoVdg4u.js.map → db-instance-modify-retry-CsIlFgIJ.js.map} +1 -1
  10. package/dist/{delete-started-Co5Gt1jH.js → delete-started-C0g7PYI-.js} +24 -2
  11. package/dist/delete-started-C0g7PYI-.js.map +1 -0
  12. package/dist/{deploy-engine-DWLm19jg.js → deploy-engine-Sw2eta-t.js} +649 -163
  13. package/dist/deploy-engine-Sw2eta-t.js.map +1 -0
  14. package/dist/{diff-calculator-DNuEc3vO.js → diff-calculator-BvN5rnLe.js} +12 -12
  15. package/dist/{diff-calculator-DNuEc3vO.js.map → diff-calculator-BvN5rnLe.js.map} +1 -1
  16. package/dist/{ec2-termination-protection-BrCiVso0.js → ec2-termination-protection-BIIHrzUa.js} +6 -6
  17. package/dist/{ec2-termination-protection-BrCiVso0.js.map → ec2-termination-protection-BIIHrzUa.js.map} +1 -1
  18. package/dist/{ecr-uri-JpCbWN50.js → ecr-uri-CQ_BCOjX.js} +2 -2
  19. package/dist/{ecr-uri-JpCbWN50.js.map → ecr-uri-CQ_BCOjX.js.map} +1 -1
  20. package/dist/{expected-bucket-owner-IaiC3JwO.js → expected-bucket-owner-DR9qK772.js} +2 -2
  21. package/dist/{expected-bucket-owner-IaiC3JwO.js.map → expected-bucket-owner-DR9qK772.js.map} +1 -1
  22. package/dist/{iam-role-provider-fNKzA1U5.js → iam-role-provider-i52A7e_4.js} +7 -7
  23. package/dist/{iam-role-provider-fNKzA1U5.js.map → iam-role-provider-i52A7e_4.js.map} +1 -1
  24. package/dist/{image-plan-C87HDsmb.js → image-plan-DOnhBOIa.js} +19 -11
  25. package/dist/image-plan-DOnhBOIa.js.map +1 -0
  26. package/dist/index.js +5 -5
  27. package/dist/{logger-CD1O0WGI.js → logger-Ce9kvuBB.js} +3 -5
  28. package/dist/logger-Ce9kvuBB.js.map +1 -0
  29. package/dist/{neptune-provider-BYb2XZFH.js → neptune-provider-Bir1AdqM.js} +7 -7
  30. package/dist/{neptune-provider-BYb2XZFH.js.map → neptune-provider-Bir1AdqM.js.map} +1 -1
  31. package/dist/{program-DJWAG98-.js → program-DAAu8qUr.js} +281 -52
  32. package/dist/program-DAAu8qUr.js.map +1 -0
  33. package/dist/{provider-classes-B8WD5ucF.js → provider-classes-CM8Txuvb.js} +61 -26
  34. package/dist/{provider-classes-B8WD5ucF.js.map → provider-classes-CM8Txuvb.js.map} +1 -1
  35. package/dist/{rds-provider-B5Ox8FBm.js → rds-provider-DmVAU_Mv.js} +13 -25
  36. package/dist/{rds-provider-B5Ox8FBm.js.map → rds-provider-DmVAU_Mv.js.map} +1 -1
  37. package/dist/{read-replica-6SDKYiLa.js → read-replica-Bmq3NTlC.js} +3 -3
  38. package/dist/{read-replica-6SDKYiLa.js.map → read-replica-Bmq3NTlC.js.map} +1 -1
  39. package/dist/{replacement-rules-Dpkm5pWN.js → replacement-rules-lOM1aGPr.js} +3 -3
  40. package/dist/{replacement-rules-Dpkm5pWN.js.map → replacement-rules-lOM1aGPr.js.map} +1 -1
  41. package/dist/{resource-deadline-P1IssiEh.js → resource-deadline-1VcUPyH4.js} +19 -19
  42. package/dist/{resource-deadline-P1IssiEh.js.map → resource-deadline-1VcUPyH4.js.map} +1 -1
  43. package/dist/{run-cli-CXI5umz9.js → run-cli-BlVizMfM.js} +2 -2
  44. package/dist/{run-cli-CXI5umz9.js.map → run-cli-BlVizMfM.js.map} +1 -1
  45. package/dist/{update-removal-C8I2P2bf.js → update-removal-BOue-bJm.js} +4 -4
  46. package/dist/{update-removal-C8I2P2bf.js.map → update-removal-BOue-bJm.js.map} +1 -1
  47. package/dist/{version-Cu2oblwQ.js → version-DINEmsQH.js} +2 -2
  48. package/dist/{version-Cu2oblwQ.js.map → version-DINEmsQH.js.map} +1 -1
  49. package/package.json +2 -2
  50. package/dist/delete-started-Co5Gt1jH.js.map +0 -1
  51. package/dist/deploy-engine-DWLm19jg.js.map +0 -1
  52. package/dist/image-plan-C87HDsmb.js.map +0 -1
  53. package/dist/logger-CD1O0WGI.js.map +0 -1
  54. package/dist/program-DJWAG98-.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-Cu2oblwQ.js";
2
- import { $ as renderUnmatchedPatternsWarning, $t as guardStackRegionOptions, A as followContainerLogs, At as foldRegionOption, B as resolveRuntimeCodeMountPath, Bt as stateWithRegion, C as waitForRieReady, Cn as listAllStateKeys, Ct as setContainerRegion, Dt as workloadGetsEmulatorKeysOnly, E as SENSITIVE_ENV_KEYS, Et as warnAwsEmulatorStateSourceHint, F as removeContainer, Ft as reconcileMarkerRegionWithLegacyDefault, G as partitionTopLevel, Gt as appOptions, H as resolveRuntimeImage, Ht as strandedProfileCredentialsNotice, It as regionNeedsReconciliation, J as renderAllNoTopLevelStacks, Jt as contextOptions, K as refuseStackNameRegionCollisions, Kt as applyWaitFlagEnv, L as runDetached, Lt as regionShown, M as killAndDrainContainerLogs, Mt as namedCliRegion, N as pickFreePort, Nt as rawCliRegion, O as ensureDockerAvailable, Ot as adoptDeprecatedRegionFlag, P as pullImage, Pt as reconcileExportIndexRegion, Q as renderStacksNoLongerSelected, Qt as exclusivelyOption, Rt as resolveEffectiveRegion, S as invokeRie, Sn as listAllLockKeys, St as resolveContainerRegion, T as DockerRunnerError, Tt as taskRoleAssumedInRealAws, U as describeStack, Ut as writeProfileCredentialsFile, V as resolveRuntimeFileExtension, Vt as withOtherIndexRemoval, W as matchStacks, Wt as annotationMessageOptions, X as renderNoStackMatch, Xt as deprecatedRegionOption, Y as renderAmbiguousTargetStack, Yt as deployOptions, Z as renderNotInAppWarning, Zt as destroyOptions, _ as copyLayerTreeLastWins, _n as parsePositiveIntegerOption, _t as mixedModeActive, a as materializeLayerFromArn, an as stackOptions, at as buildCdkPathIndex, b as probeHostGatewaySupport, bn as STATE_KEY_MAX_CODE_POINTS, bt as profileCredentialsForWorkload, cn as warnIfDeprecatedRegion, ct as stackForConstructPath, d as resolveAssetCodeDirectory, dn as parseAssumeRoleToken, dt as assertAwsEmulatorValue, en as noCfnFallbackOption, et as selectTargetStack, f as derivePseudoParametersFromRegion$1, fn as allowUnsupportedTypesOption, ft as attachLocalLoopbackForwarder, g as buildContainerImage$1, gn as cliArgParser, gt as localAwsEmulatorCredentials, h as architectureToPlatform, hn as validateResourceTimeouts, ht as localAwsEmulatorActive, i as resolveInlineCodeFilePath, in as skipFinalSnapshotOption, it as unmatchedPatterns, jt as legacyStateBucketFallbackRegion, k as flushStdio, kt as exportInferredRegionForSdk, l as resolveLambdaLayers, ln as effectiveAssumeRoleArn, lt as stackForPathFormTarget, m as tryResolveImageFnJoin, mn as resourceTimeoutOptions, mt as keepEmulatorIssuedCredentials, n as resolveTmpfsForLambda, nn as parseContextOptions, nt as stacksForDependency, o as resolveLambdaTarget, on as stateOptions, ot as readCdkPathOrUndefined, p as substituteImagePlaceholders, pn as parseDuration, pt as getActiveWorkloadAwsWiring$1, q as renderAllLeftOutStageStacks, qt as commonOptions, r as resolveZipImagePlan, rn as parseStackRegion, rt as stacksNoLongerSelected, s as extractEphemeralStorageMb, sn as useCdkBootstrapAssetsOption, st as resolveCdkPathToLogicalIds, t as resolveLocalBuildPlan$1, tn as noLocalCustomResourcesOption, tt as stackMatchesPattern, u as assetPathDirs, un as normalizeStartApiAssumeRole, ut as activateLocalAwsAndRoleArn, v as layerAssetDirectory, vn as LOCK_FILE_SUFFIX, vt as mixedModeEmulatorOverride, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as parseStateKey, wt as stateRoleRecordIsEmulatorSide, x as resolveHostGatewayExtraHosts, xn as describeStateKey, xt as realAwsException, y as HOST_GATEWAY_MIN_VERSION, yn as STATE_FILE_SUFFIX, yt as prepareLocalLoopbackForwarder, z as streamLogs, zt as stackRegionResolver } from "./image-plan-C87HDsmb.js";
3
- import { $t as buildLockContentionMessage, At as resourceTypeShown, B as remedyLogicalId, H as RESOURCE_NOT_FOUND, M as VALUE_NOT_SHOWN, Ot as logicalIdShown, Qt as buildForceUnlockCommand, St as isInterruptedWaitError, U as assertRegionMatch, W as isMarkedNotGone, Zt as UNREPRODUCIBLE_LOCK_CLAUSE, bt as endCommandInterruptScope, cn as injectiveKey, ct as runDeleteAttempt, dn as producerRecordKey, en as forceQuitRecoveryClause, fn as setPasteableAwsCaBundle, ht as isAwsCliLiteral, m as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, mn as withPasteableAwsProfile, nn as formatLockOperation, on as CUSTOM_RESOURCE_RESPONSE_PREFIX, p as IAM_PRINCIPAL_NAME, pn as setPasteableAwsProfile, rn as formatLockOwner, sn as DEFAULT_STATE_PREFIX, tn as formatLockExpiry, un as producerCoordinateKey, xt as interruptWatchListenerCount, y as readRecordedPrincipals, yt as beginCommandInterruptScope } from "./update-removal-C8I2P2bf.js";
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-DINEmsQH.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-DOnhBOIa.js";
3
+ import { $t as buildLockContentionMessage, At as resourceTypeShown, B as remedyLogicalId, H as RESOURCE_NOT_FOUND, M as VALUE_NOT_SHOWN, Ot as logicalIdShown, Qt as buildForceUnlockCommand, St as isInterruptedWaitError, U as assertRegionMatch, W as isMarkedNotGone, Zt as UNREPRODUCIBLE_LOCK_CLAUSE, bt as endCommandInterruptScope, cn as injectiveKey, ct as runDeleteAttempt, dn as producerRecordKey, en as forceQuitRecoveryClause, fn as setPasteableAwsCaBundle, ht as isAwsCliLiteral, m as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, mn as withPasteableAwsProfile, nn as formatLockOperation, on as CUSTOM_RESOURCE_RESPONSE_PREFIX, p as IAM_PRINCIPAL_NAME, pn as setPasteableAwsProfile, rn as formatLockOwner, sn as DEFAULT_STATE_PREFIX, tn as formatLockExpiry, un as producerCoordinateKey, xt as interruptWatchListenerCount, y as readRecordedPrincipals, yt as beginCommandInterruptScope } from "./update-removal-BOue-bJm.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-CD1O0WGI.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-nYbcw8Dc.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-Ce9kvuBB.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-CqrM5nDS.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-DNuEc3vO.js";
9
- import { $a as sendableAssumeRoleCommand, $i as isFinalSnapshotError, $n as equalModuloMarkedMask, $r as noEchoParameterValueSeed, $s as malformedExportSourceWarning, $t as dropSettledNestedJournals, A as PROTECTION_PROPERTY_BY_TYPE, Aa as setResolvedResourceTimeouts, Ai as withAttemptedItemsMasked, Al as decodeListingKey, An as findRefactorHints, Ar as nameGenerationCarriedFrom, As as refuseMalformedResourceEntriesForDeploy, At as keptForRetainedRecord, Ba as isAlwaysLiveAttribute, Bc as rebuildClientForBucketRegion, Bi as secretNamedRecordNeedles, Bl as describeFileReadFailure, Bn as looselyEqual, Br as namesAnyDeclaredParameter, Bs as refuseMalformedResourcePropertiesForDestroy, Bt as readsOnlyNoEchoParameters, C as refusePendingMovesOut, Cc as hasReadableOutputs, Ci as green, Cn as noEchoMacBinding, Cs as isReadableResourceEntry, D as diffSecurity, Da as CloudControlProvider, Di as noEchoComparisonForTemplate, Dl as ssmResolvedValueType, Dn as constructPathOf$1, Dr as segmentCleanupOptions, Ds as malformedScrubResourceEntriesRefusalMessage, E as serviceTokenBlockingReason, Ec as findHandledUnwrittenCreateOnly, Ei as noEchoAttributeNamesOf, En as noEchoValueMacsOf, Eo as recordedOutputReferenceRegions, Es as malformedResourceEntriesWarning, Fa as deleteSkipReason, Fc as S3StateBackend, Fi as namingSecretsWithRecordedNoEcho, Fl as hasPlainPrototype, Fn as changedReferenceInDiff, Fo as carriesDynamicReference, Fr as retiredNameGenerationsLeaving, Fs as repairMalformedResourceEntriesForReadOnly, Ft as refactorMarkerRefusalMessage, Ga as producerLookupOver, Gc as isAccessDenied, Gn as referencedLogicalIds, Gr as exportAliasCollisionScrubWarning, Gs as UNREADABLE_ORPHANS_CONTAINER_ROW, Ha as stackIdTailOf, Hc as CrossPrefixScanCache, Hi as storedSecretNameNeedles, Hn as parseMappingFile, Hr as resourcesNamingDeclaredParameter, Hs as refuseMalformedResourcePropertiesForExport, Ic as splitImportedOps, Ii as orphanRecordsPrintingBag, Il as nullPrototypeRecord, In as changedReferencePath, Io as keepsSecretReferenceToken, Ir as withNameGenerationReached, Is as unreadableResourceEntries, It as refuseRefactorMarker, Ja as assertFlagRoleArn, Jc as withStackInstanceIdWithheld, Ji as ATOMIC_FINAL_SNAPSHOT_TYPES, Jn as DELETED_RESOURCE_REMEDY, Jo as isStatefulRecreateTargetForReplace, Jr as secretSafeKeyDisplay, Js as malformedOrphansWarning, Jt as pendingRequestCount, Ka as refuseUnreadableCdkCrossAccountRefs, Kc as isNotImplemented, Ki as secretSegmentsOfState, Kl as resolveBucketRegion, Kn as replayFailedOperations, Ko as shownType, Kr as secretBearing, Ks as hasReadableOrphans, La as isWaitAbandonedError, Li as secretNamePrintingBag, Ll as ownValue, Ln as changedReferenceReason, Lo as withSharedDrainBudget, Ls as malformedDriftResourcePropertiesWarning, Lt as sameMove, M as perType, Ma as UNSPECIFIED_SKIP_REASON, Mc as NO_CC_HANDLERS_REASON, Mi as completedReplayEntries, Mn as movedToHint, Mo as isImpossibleEmptyStoredAttribute, Mr as nameScopeOf, Ms as refuseMalformedResourceEntriesForImport, Mt as readRefactorMarker, N as readProtection, Na as deleteIndeterminateGuards, Nc as hasNoCloudControlHandlers, Ni as journaledOrphanPrintingBag, Nl as defineOwnKey, Nn as rollbackOrphanIds, No as carriesFetchableDynamicReference, Nr as retiredAfterRollback, Ns as refuseMalformedResourceEntriesForImportSave, Nt as readRefactorMarkerOnce, O as recordedProtectionEvidence, Oc as unwrittenCreateOnlyReplacement, Oi as noEchoExactEchoLeavesOf, Ol as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, On as findDestructiveChanges, Oo as recordedReferenceRegions, Or as removeProtectionTypeList, Os as refuseMalformedResourceAttributesForOrphan, Pa as deleteLeftInPlace, Pc as TemplateParser, Pi as maskEventTextWithBoundBags, Pl as hasOwnKey, Pn as withMovedTo, Po as isNamelessDynamicReferenceError, Pr as retiredNameGenerationsAfter, Ps as refuseMalformedResourceEntriesForOrphan, Pt as refactorMarkerMovesOf, Qa as parseIamRoleArn, Qc as createAssetRedirectResolver, Qi as effectiveDeletionPolicy, Qn as calculateResourceDrift, Qr as isWholeDynamicReferenceValue, Qs as malformedExportNamesWarning, Qt as displacedPhysicalIdShown, Ra as IntrinsicFunctionResolver, Rc as hasReasonlessBaselineRefusal, Ri as secretNamePrintingBags, Rn as differingRemedy, Rr as inheritProducerRegions, Rs as malformedResourcePropertiesWarning, Rt as updateRefactorMarker, S as pendingMovesRefusalMessage, Sa as localCustomResourceCommand, Sc as displayLogicalId, Si as gray, Sn as createNoEchoValueMacs, Sr as findNestedStackTypeChanges, Ss as unreadableOrphanRecords, T as findServiceTokenRefusals, Ta as withCustomResourceStack, Tc as findActionableSdkUnwired, Ti as yellow, Tn as noEchoMacVerdict, Ts as malformedLocalResourcesWarning, Uc as applyCrossPrefixScan, Ui as extractDeploymentEventError, Ul as renderAssemblyPathEscape, Un as propertiesChangedReason, Ur as WITHHELD_NAME_DISPLAY, Us as refuseMalformedResourcePropertiesForOrphan, Ut as formatResourceLine, Va as poisonRenderedSpellingsCollidingIn, Vc as CrossPrefixReadError, Vi as stateSecretNameNeedles, Vl as displayAssemblyPath, Vn as mappingPairs, Vr as reachableDivergentParameters, Vs as refuseMalformedResourcePropertiesForDrift, Wa as resolveDynamicReferences, Wc as crossPrefixDeniedWarning, Wl as resolveAssemblyPath, Wn as proposeRenames, Wo as findReplacedReadersOfRecreateTargets, Wr as displayTextOrWithheld, Ws as repairMalformedResourcePropertiesForReadOnly, Xa as explicitRoleArnOrThrow, Xi as ccRoutedFinalSnapshotError, Xn as settleUnsettledPrevious, Xo as renderStatefulReason, Xr as exportNameNoEchoParameters, Xs as refuseMalformedOrphansForDestroy, Xt as NESTED_PENDING_PARENT_REASON, Ya as assertSendableRoleArn, Yc as isSensitiveAttributeName, Yi as PRE_DELETE_SNAPSHOT_TYPES, Yn as recordAfterRollbackUpdate, Yo as isStatefulRecreateTargetSync, Yr as carriedExportAliasExposure, Ys as refuseMalformedOrphans, Yt as resolvePendingCloudControlRequests, Za as isIamRoleArn, Zc as buildAssetRedirectMap, Zi as ccRoutedInstanceTakesNoSnapshot, Zn as withUnprovenUnsettled, Zr as exportNameSecretExposure, Zs as repairMalformedOrphansForReadOnly, Zt as displacedOpClause, _ as listNestedTemplateRows, _a as withPrintingSecrets, _c as JSON_LISTING_HOLE_VALUE, _i as supersededHolderOf, _l as AssetManifestLoader, _n as makeSiblingClaimReader, _o as cfnRefValueFromPhysicalId, _r as replacementNeverSwapped, _s as refuseMalformedOrphanRecords, a as scanActiveConsumers, aa as ProviderRegistry, ac as refuseMalformedOutputsForDestroy, ai as DEFAULT_RESOURCE_WARN_AFTER_MS, al as rewriteTemplateAssetReferences, an as withNestedRevertRun, ao as classifyReplaySecretRegion, ar as ledgerForStack, b as hasPendingMovesOut, ba as customResourcesFailedWithoutApp, bc as STATE_RESOURCES_MALFORMED, bi as bold, bn as DeploymentEventsStore, bo as refStateLookupFromResource, br as resolveReplacementOldType, bs as repairMalformedOrphanRecordsForReadOnly, c as inheritedProvenanceForChildDiff, ca as wouldReturnToSdkProvider, cc as refuseDivergentRecordRegionForDestroy, ci as destroyStackRecordsView, cl as buildDenyExternalAccessPolicy, cn as withNestedStackContext, d as conditionInputsFrom, da as customResourceResponseExpirationWarning, dc as malformedStateRefusalMessage, dl as getBootstrapMarkerKey, dn as dropFailedHint, dr as demoteSupersededOrphans, ds as deployRefusesOrphanRowsReason, ea as refusesFinalSnapshot, ec as malformedLocalOutputsWarning, ei as collectDeclaredOutputNames, eo as AWS_CREDENTIAL_ENV_KEYS, er as equalModuloMask, f as parentSuppliedValues, fc as refuseMalformedResourcesForDeploy, fi as deleteSupersededEntry, fl as parseBootstrapMarker, fn as isHandledOrphan, fr as isJournaledOrphan, fs as isReadableOrphanRecord, g as isAbsoluteAssetPath, gc as repairMalformedResourcesForReadOnly, gi as supersededHeldByOtherTypeWarning, gl as BOOTSTRAP_MARKER_PREFIX, gn as makeForeignHolderScan, go as AWS_NO_VALUE, gr as recordUnderIdIsNotOwn, gs as previewableOrphanRecords, h as findNestedTemplateTreeDefect, ha as isCustomResourceType$1, hc as refuseMalformedState, hi as supersededAfterRollback, hl as validateContainerRepoName, hn as sameJournaledOrphans, ho as parameterTypeMayLoseSecretIdentity, hr as recheckFailedPlan, hs as malformedOrphanRowsKeptWarning, i as mergeNoChangeOutputs, ia as CC_BROKEN_REASON, ic as refuseMalformedOutputs, ii as DEFAULT_RESOURCE_TIMEOUT_MS, in as revertedNestedRowIds, io as classifyRecordedSecretRegion, is as maskedPropertyFingerprintsOf, j as isProtectionValueActive, ja as RollbackInlinePolicyWriters, ji as createReadOnlyAttributeHealerFactory, jn as hintSidesOf, jo as getAccountInfo, jr as nameGenerationHighWaterOf, js as refuseMalformedResourceEntriesForDestroy, jt as recordRetainedForReadoption, k as recordedProtectionNote, ki as noEchoParameterNamesOf, kn as formatDestructiveChange, kr as orphanNeedsIdentity, ks as refuseMalformedResourceEntries, l as makeCanonicalizePropertiesFn, la as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, lc as malformedRenderedContainersWarning, ll as assertAssetBucketRegion, ln as deleteJournaledOrphans, lr as planRollback, ls as declaresNoEcho, m as childTemplateLoader, ma as readsNoEchoDeleteValues, mc as refuseMalformedResourcesForExport, mi as isSupersededResourceRecord, ml as validateAssetBucketName, mn as loadJournaledOrphans, mo as isUnboundTemplateParameter, mr as planFailedOps, ms as malformedOrphanRecordsWarning, n as isSecretBearingReferenceString, na as createPreDeleteFinalSnapshot, nc as malformedOutputsWarning, ni as isExportAliasCollision, nl as loadPublishableAssetManifest, nn as recordDisplacedSkips, no as callerEnvCredentials, nr as updatePartialMessage, o as inRunStackKey, oa as ccBrokenReason, oc as repairMalformedOutputsForReadOnly, oi as maskingRetryLogger, ol as AssetModeResolver, on as collectNestedChildUnaddressed, oo as producerRegionsFromState, os as parameterInputsFor, p as readRecordedConditionVerdicts, pa as TemplateNoEchoReresolver, pc as refuseMalformedResourcesForDestroy, pi as holdsSupersededResources, pl as readBootstrapMarkerBody, pn as journaledOrphanLines, po as coerceParameterTypedValue, pr as isReplacementOrphan, ps as malformedOrphanRecordsRefusalMessage, qa as applyRoleArnIfSet, qc as stackInstanceIdOf, qi as withSecretPhysicalIdsMaskedInState, qn as replayRollback, qo as MULTI_REGION_RECREATE_BLOCKED_TYPES, qr as secretBearingStateKeyWarning, qs as malformedOrphansRefusalMessage, r as keptWholeReasonText, ra as buildFinalSnapshotIdentifier, ri as bindingSkippedOutputs, ro as envCredentialsAreAssumedRole, rr as updatePartialReason, s as crossStackOutputProvenanceSource, sa as isCustomResource, sc as STATE_REGION_DIVERGED, sl as ensureAssetStorage, sn as getCurrentNestedStackContext, so as regionLessSecretName, sr as withCreateTokenLedger, ss as maskedInputProof, t as DeployEngine, ta as unsupportedFinalSnapshotError, tc as malformedOutputsRefusalMessage, ti as collectPublishedOutputNames, tn as nestedChildStackName$1, to as applyCallerIdentityCredentials, tr as undeclaredEmptyObservedKeys, u as conditionFingerprint, ua as applyCustomResourceResponseExpiration, uc as malformedResourcesWarning, ui as withStackRecords, ul as isCrossRegionRedirect, un as dropFailedCommands, ur as seedsDeleteFirstGuard, us as maskedPropertyFingerprint, v as renderNestedTemplateTreeDefect, va as NO_LOCAL_CUSTOM_RESOURCES_FLAG, vc as accountArgs, vi as supersededResourcesOf, vl as getDockerImageBySourceHash, vn as planOrphanAdoption, vo as isStalePlaceholderArnAttribute, vr as IMPLICIT_DELETE_DEPENDENCIES, vs as refuseMalformedOrphanRecordsForDestroy, w as deferredServiceTokenWarning, wa as setLocalCustomResourceRuntimeEnabled, wc as hasReadableResources, wi as red, wn as noEchoMacParametersOf, wo as keepHeldTokenProvenance, ws as malformedLocalResourceEntriesWarning, x as pendingMovesOutOf, xa as customResourcesRunWithoutApp, xc as UNREADABLE_RESOURCES_MAP_ROW, xi as cyan, xn as NOECHO_MAC_KEY_ALIAS, xr as withPreviousPolicies, xs as unpreviewableOrphanRecords, y as templateIdentity, yc as withheldAccountClause, yi as withoutSuperseded, yn as DeploymentEventsReader, yo as lacksRecordedTableArn, yr as computeImplicitDeleteEdges, ys as refuseMalformedOrphansForOrphan, za as isSelectOutOfBounds, zc as hasUnverifiableParameterRefusal, zn as isPairableType, zo as INTRINSIC_KEYS, zr as computeParameterTaint, zt as macWriteOnlyKeys } from "./deploy-engine-DWLm19jg.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-BvN5rnLe.js";
9
+ import { $a as assertSendableRoleArn, $c as withStackInstanceIdWithheld, $i as isFinalSnapshotError, $n as recordAfterRollbackUpdate, $o as isStatefulRecreateTargetForReplace, $r as carriedExportAliasExposure, $s as malformedOrphansWarning, $t as resolvePendingCloudControlRequests, A as serviceTokenBlockingReason, Aa as setResolvedResourceTimeouts, Ac as findActionableSdkUnwired, Ai as noEchoAttributeNamesOf, An as noEchoValueMacsOf, As as malformedLocalResourcesWarning, Ba as isAlwaysLiveAttribute, Bc as S3StateBackend, Bi as orphanRecordsPrintingBag, Bl as hasOwnKey, Bn as changedReferencePath, Bo as carriesDynamicReference, Br as withNameGenerationReached, Bs as repairMalformedResourceEntriesForReadOnly, Bt as refuseRefactorMarker, C as templateIdentity, Cc as accountArgs, Ci as withoutSuperseded, Cl as AssetManifestLoader, Cn as DeploymentEventsReader, Co as refStateLookupFromResource, Cr as computeImplicitDeleteEdges, Cs as refuseMalformedOrphanRecordsForDestroy, D as refusePendingMovesOut, Da as CloudControlProvider, Dc as displayLogicalId, Di as green, Dn as noEchoMacBinding, Ds as unreadableOrphanRecords, E as pendingMovesRefusalMessage, Ec as UNREADABLE_RESOURCES_MAP_ROW, Ei as gray, En as createNoEchoValueMacs, Er as findNestedStackTypeChanges, Es as unpreviewableOrphanRecords, F as isProtectionValueActive, Fa as deleteSkipReason, Fi as createReadOnlyAttributeHealerFactory, Fn as hintSidesOf, Fr as nameGenerationHighWaterOf, Fs as refuseMalformedResourceEntriesForDeploy, Ft as recordRetainedForReadoption, Gc as rebuildClientForBucketRegion, Gi as stateSecretNameNeedles, Gn as mappingPairs, Gr as reachableDivergentParameters, Gs as refuseMalformedResourcePropertiesForDestroy, Ha as stackIdTailOf, Hi as secretNamePrintingBags, Hl as nullPrototypeRecord, Hn as differingRemedy, Ho as withSharedDrainBudget, Hr as inheritProducerRegions, Hs as malformedDriftResourcePropertiesWarning, Ht as updateRefactorMarker, I as perType, Ii as completedReplayEntries, Il as decodeListingKey, In as movedToHint, Io as getAccountInfo, Ir as nameScopeOf, Is as refuseMalformedResourceEntriesForDestroy, It as readRefactorMarker, Ja as resolveDynamicReferences, Jc as applyCrossPrefixScan, Ji as ATOMIC_FINAL_SNAPSHOT_TYPES, Jn as proposeRenames, Jr as displayTextOrWithheld, Js as refuseMalformedResourcePropertiesForOrphan, Ka as secretSegmentsOfState, Kc as CrossPrefixReadError, Ki as storedSecretNameNeedles, Kl as describeFileReadFailure, Kn as parseMappingFile, Kr as resourcesNamingDeclaredParameter, Ks as refuseMalformedResourcePropertiesForDrift, L as readProtection, La as isWaitAbandonedError, Lc as NO_CC_HANDLERS_REASON, Li as journaledOrphanPrintingBag, Ln as rollbackOrphanIds, Lo as isImpossibleEmptyStoredAttribute, Lr as retiredAfterRollback, Ls as refuseMalformedResourceEntriesForImport, Lt as readRefactorMarkerOnce, M as recordedProtectionEvidence, Ma as UNSPECIFIED_SKIP_REASON, Mi as noEchoExactEchoLeavesOf, Mn as findDestructiveChanges, Mr as removeProtectionTypeList, Ms as malformedScrubResourceEntriesRefusalMessage, N as recordedProtectionNote, Na as deleteIndeterminateGuards, Nc as unwrittenCreateOnlyReplacement, Ni as noEchoParameterNamesOf, Nl as ssmResolvedValueType, Nn as formatDestructiveChange, No as recordedReferenceRegions, Nr as orphanNeedsIdentity, Ns as refuseMalformedResourceAttributesForOrphan, O as deferredServiceTokenWarning, Oc as hasReadableOutputs, Oi as red, On as noEchoMacParametersOf, Os as isReadableResourceEntry, P as PROTECTION_PROPERTY_BY_TYPE, Pa as deleteLeftInPlace, Pi as withAttemptedItemsMasked, Pl as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Pn as findRefactorHints, Pr as nameGenerationCarriedFrom, Ps as refuseMalformedResourceEntries, Pt as keptForRetainedRecord, Qa as assertFlagRoleArn, Qc as stackInstanceIdOf, Qi as effectiveDeletionPolicy, Ql as resolveBucketRegion, Qn as DELETED_RESOURCE_REMEDY, Qo as MULTI_REGION_RECREATE_BLOCKED_TYPES, Qr as secretSafeKeyDisplay, Qs as malformedOrphansRefusalMessage, Qt as pendingRequestCount, Ra as IntrinsicFunctionResolver, Rc as hasNoCloudControlHandlers, Ri as maskEventTextWithBoundBags, Rn as withMovedTo, Ro as carriesFetchableDynamicReference, Rr as retiredNameGenerationsAfter, Rs as refuseMalformedResourceEntriesForImportSave, Rt as refactorMarkerMovesOf, S as renderNestedTemplateTreeDefect, Sa as localCustomResourceCommand, Sc as JSON_LISTING_HOLE_VALUE, Si as supersededResourcesOf, Sl as BOOTSTRAP_MARKER_PREFIX, Sn as planOrphanAdoption, So as isStalePlaceholderArnAttribute, Sr as IMPLICIT_DELETE_DEPENDENCIES, Ss as refuseMalformedOrphanRecords, T as pendingMovesOutOf, Ta as withCustomResourceStack, Tc as STATE_RESOURCES_MALFORMED, Ti as cyan, Tn as NOECHO_MAC_KEY_ALIAS, To as lacksRecordedTableArn, Tr as withPreviousPolicies, Ts as repairMalformedOrphanRecordsForReadOnly, Uc as hasReasonlessBaselineRefusal, Ul as ownValue, Un as isPairableType, Ur as computeParameterTaint, Us as malformedResourcePropertiesWarning, Ut as macWriteOnlyKeys, Va as poisonRenderedSpellingsCollidingIn, Vc as splitImportedOps, Vi as secretNamePrintingBag, Vl as hasPlainPrototype, Vn as changedReferenceReason, Vo as keepsSecretReferenceToken, Vs as unreadableResourceEntries, Vt as sameMove, Wc as hasUnverifiableParameterRefusal, Wi as secretNamedRecordNeedles, Wn as looselyEqual, Wo as INTRINSIC_KEYS, Wr as namesAnyDeclaredParameter, Wt as readsOnlyNoEchoParameters, Xa as refuseUnreadableCdkCrossAccountRefs, Xc as isAccessDenied, Xi as ccRoutedFinalSnapshotError, Xl as resolveAssemblyPath, Xn as replayFailedOperations, Xr as secretBearing, Xs as UNREADABLE_ORPHANS_CONTAINER_ROW, Ya as producerLookupOver, Yc as crossPrefixDeniedWarning, Yi as PRE_DELETE_SNAPSHOT_TYPES, Yl as renderAssemblyPathEscape, Yn as referencedLogicalIds, Yo as findReplacedReadersOfRecreateTargets, Yr as exportAliasCollisionScrubWarning, Ys as repairMalformedResourcePropertiesForReadOnly, Za as applyRoleArnIfSet, Zc as isNotImplemented, Zi as ccRoutedInstanceTakesNoSnapshot, Zn as replayRollback, Zo as shownType, Zr as secretBearingStateKeyWarning, Zs as hasReadableOrphans, _ as readRecordedConditionVerdicts, _a as withPrintingSecrets, _c as refuseMalformedResourcesForDeploy, _i as holdsSupersededResources, _l as getBootstrapMarkerKey, _n as journaledOrphanLines, _o as coerceParameterTypedValue, _r as isReplacementOrphan, _s as isReadableOrphanRecord, a as healSlashedSsmParameterNames, aa as ProviderRegistry, ac as malformedLocalOutputsWarning, ai as collectPublishedOutputNames, an as nestedChildStackName$1, ao as applyCallerIdentityCredentials, ar as undeclaredEmptyObservedKeys, b as isAbsoluteAssetPath, ba as customResourcesFailedWithoutApp, bc as refuseMalformedState, bi as supersededHeldByOtherTypeWarning, bl as validateAssetBucketName, bn as makeForeignHolderScan, bo as AWS_NO_VALUE, br as recordUnderIdIsNotOwn, bs as malformedOrphanRowsKeptWarning, c as slashedSsmNameHealPendingNote, ca as wouldReturnToSdkProvider, ci as DEFAULT_RESOURCE_TIMEOUT_MS, cl as loadPublishableAssetManifest, cn as revertedNestedRowIds, co as classifyRecordedSecretRegion, d as crossStackOutputProvenanceSource, da as customResourceResponseExpirationWarning, dc as repairMalformedOutputsForReadOnly, dl as rewriteTemplateAssetReferences, dn as getCurrentNestedStackContext, do as regionLessSecretName, dr as withCreateTokenLedger, ds as parameterInputsFor, ea as refusesFinalSnapshot, ec as refuseMalformedOrphans, ei as exportNameNoEchoParameters, el as isSecretValuedAttribute, en as NESTED_PENDING_PARENT_REASON, eo as explicitRoleArnOrThrow, er as settleUnsettledPrevious, es as isStatefulRecreateTargetSync, f as inheritedProvenanceForChildDiff, fc as STATE_REGION_DIVERGED, fi as destroyStackRecordsView, fl as AssetModeResolver, fn as withNestedStackContext, fs as maskedInputProof, g as parentSuppliedValues, gc as malformedStateRefusalMessage, gi as deleteSupersededEntry, gl as isCrossRegionRedirect, gn as isHandledOrphan, gr as isJournaledOrphan, gs as deployRefusesOrphanRowsReason, h as conditionInputsFrom, ha as isCustomResourceType$1, hc as malformedResourcesWarning, hl as assertAssetBucketRegion, hn as dropFailedHint, hr as demoteSupersededOrphans, hs as maskedPropertyFingerprint, i as mergeNoChangeOutputs, ia as CC_BROKEN_REASON, ic as malformedExportSourceWarning, ii as collectDeclaredOutputNames, il as createAssetRedirectResolver, io as AWS_CREDENTIAL_ENV_KEYS, ir as equalModuloMask, j as diffSecurity, ja as RollbackInlinePolicyWriters, jc as findHandledUnwrittenCreateOnly, ji as noEchoComparisonForTemplate, jn as constructPathOf$1, jo as recordedOutputReferenceRegions, jr as segmentCleanupOptions, js as malformedResourceEntriesWarning, k as findServiceTokenRefusals, kc as hasReadableResources, ki as yellow, kn as noEchoMacVerdict, ko as keepHeldTokenProvenance, ks as malformedLocalResourceEntriesWarning, l as scanActiveConsumers, la as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, lc as refuseMalformedOutputs, li as DEFAULT_RESOURCE_WARN_AFTER_MS, ln as withNestedRevertRun, lo as classifyReplaySecretRegion, lr as ledgerForStack, ls as maskedPropertyFingerprintsOf, m as conditionFingerprint, ma as readsNoEchoDeleteValues, mc as malformedRenderedContainersWarning, mi as withStackRecords, ml as buildDenyExternalAccessPolicy, mn as dropFailedCommands, mr as seedsDeleteFirstGuard, ms as declaresNoEcho, n as isSecretBearingReferenceString, na as createPreDeleteFinalSnapshot, nc as repairMalformedOrphansForReadOnly, ni as isWholeDynamicReferenceValue, nn as displacedPhysicalIdShown, no as parseIamRoleArn, nr as calculateResourceDrift, o as slashedSsmNameHealAdoptedNote, oa as ccBrokenReason, oc as malformedOutputsRefusalMessage, oi as isExportAliasCollision, on as recordDisplacedSkips, oo as callerEnvCredentials, or as updatePartialMessage, p as makeCanonicalizePropertiesFn, pa as TemplateNoEchoReresolver, pc as refuseDivergentRecordRegionForDestroy, pl as ensureAssetStorage, pn as deleteJournaledOrphans, pr as planRollback, qa as withSecretPhysicalIdsMaskedInState, qc as CrossPrefixScanCache, qi as extractDeploymentEventError, ql as displayAssemblyPath, qn as propertiesChangedReason, qr as WITHHELD_NAME_DISPLAY, qs as refuseMalformedResourcePropertiesForExport, qt as formatResourceLine, r as keptWholeReasonText, ra as buildFinalSnapshotIdentifier, rc as malformedExportNamesWarning, ri as noEchoParameterValueSeed, rl as buildAssetRedirectMap, rn as dropSettledNestedJournals, ro as sendableAssumeRoleCommand, rr as equalModuloMarkedMask, s as slashedSsmNameHealNote, sa as isCustomResource, sc as malformedOutputsWarning, si as bindingSkippedOutputs, so as envCredentialsAreAssumedRole, sr as updatePartialReason, t as DeployEngine, ta as unsupportedFinalSnapshotError, tc as refuseMalformedOrphansForDestroy, ti as exportNameSecretExposure, tl as isSensitiveAttributeName, tn as displacedOpClause, to as isIamRoleArn, tr as withUnprovenUnsettled, ts as renderStatefulReason, u as inRunStackKey, ua as applyCustomResourceResponseExpiration, uc as refuseMalformedOutputsForDestroy, ui as maskingRetryLogger, un as collectNestedChildUnaddressed, uo as producerRegionsFromState, v as childTemplateLoader, va as NO_LOCAL_CUSTOM_RESOURCES_FLAG, vc as refuseMalformedResourcesForDestroy, vi as isSupersededResourceRecord, vl as parseBootstrapMarker, vn as loadJournaledOrphans, vo as isUnboundTemplateParameter, vr as planFailedOps, vs as malformedOrphanRecordsRefusalMessage, w as hasPendingMovesOut, wa as setLocalCustomResourceRuntimeEnabled, wc as withheldAccountClause, wi as bold, wl as getDockerImageBySourceHash, wn as DeploymentEventsStore, wo as lacksRecordedRefArn, wr as resolveReplacementOldType, ws as refuseMalformedOrphansForOrphan, x as listNestedTemplateRows, xa as customResourcesRunWithoutApp, xc as repairMalformedResourcesForReadOnly, xi as supersededHolderOf, xl as validateContainerRepoName, xn as makeSiblingClaimReader, xo as cfnRefValueFromPhysicalId, xr as replacementNeverSwapped, xs as previewableOrphanRecords, y as findNestedTemplateTreeDefect, yc as refuseMalformedResourcesForExport, yi as supersededAfterRollback, yl as readBootstrapMarkerBody, yn as sameJournaledOrphans, yo as parameterTypeMayLoseSecretIdentity, yr as recheckFailedPlan, ys as malformedOrphanRecordsWarning, za as isSelectOutOfBounds, zc as TemplateParser, zi as namingSecretsWithRecordedNoEcho, zl as defineOwnKey, zn as changedReferenceInDiff, zo as isNamelessDynamicReferenceError, zr as retiredNameGenerationsLeaving, zs as refuseMalformedResourceEntriesForOrphan, zt as refactorMarkerRefusalMessage } from "./deploy-engine-Sw2eta-t.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-BrCiVso0.js";
12
- import { t as expectedOwnerParam } from "./expected-bucket-owner-IaiC3JwO.js";
13
- import { a as acceptedCreateOnlyDropsOf, c as hasReadableExportSet, d as isReadableBag, f as orphansAfterRollback, g as stackInstanceIdCarriedFrom, i as slowCcOperationTimeoutMs, l as importableOutputKeys, m as shouldRetainResource, o as describeRegionValueKind, p as orphansCarriedFrom, s as exportNamesCarriedFrom, u as importableOutputs } from "./delete-started-Co5Gt1jH.js";
14
- import { An as recordProvenPublicExpression, Cn as provenPublicValue, D as recordedNoEchoValuesOf, Dn as recordMaskOnlyValuesIn, En as recordMaskOnlyValue, Fn as isSingleDynamicReferenceToken, Ft as spelledKeysOf, It as pathCrossesDottedKey, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, Nn as WHOLE_DYNAMIC_REFERENCE_PATTERN, Nt as dynamicReferenceTokens, On as recordNoEchoAttributeValues, Ot as scrubResourceRecord, Pt as isUncertifiedBaselineMaskPosition, Rt as identityKeyFor, T as readsNoEchoSource, W as redactForState, _t as maskSecretsInText, an as physicalNameCopiesOf, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, cn as recordNestedStackParameterExpressions, ct as recordLogOnlyParameterValue, dn as splitGetAttStringForm, dt as shareLogOnlyValues, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as carriesSecretMask, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gt as maskSecretsInError, h as maskWholeValue, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as wholeStringLeavesOf, k as valueAtCoordinate, kn as recordNoEchoParameterFreshValue, kt as withPhysicalNameCopies, m as maskReadbackAtCoordinates, mt as errorCauseChain, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pt as createSecretMasker, qt as inheritNestedStackParameterAssociations, sn as recordPhysicalNameCopy, st as printingCorpusOf, u as canonicalCoordinates, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, y as noEchoLeavesOf } from "./replacement-rules-Dpkm5pWN.js";
15
- import { D as withoutUnsettledProperties, E as withUnsettledProperties, S as unsettledItemsOf, i as withResourceDeadline, w as unsettledPropertiesOf, x as unsettledItemsField } from "./resource-deadline-P1IssiEh.js";
16
- import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-JpCbWN50.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-BIIHrzUa.js";
12
+ import { t as expectedOwnerParam } from "./expected-bucket-owner-DR9qK772.js";
13
+ import { _ as stackInstanceIdCarriedFrom, a as slowCcOperationTimeoutMs, c as exportNamesCarriedFrom, d as importableOutputs, f as isReadableBag, h as shouldRetainResource, l as hasReadableExportSet, m as orphansCarriedFrom, o as acceptedCreateOnlyDropsOf, p as orphansAfterRollback, s as describeRegionValueKind, u as importableOutputKeys } from "./delete-started-C0g7PYI-.js";
14
+ import { An as recordProvenPublicExpression, Cn as provenPublicValue, D as recordedNoEchoValuesOf, Dn as recordMaskOnlyValuesIn, En as recordMaskOnlyValue, Fn as isSingleDynamicReferenceToken, Ft as spelledKeysOf, It as pathCrossesDottedKey, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, Nn as WHOLE_DYNAMIC_REFERENCE_PATTERN, Nt as dynamicReferenceTokens, On as recordNoEchoAttributeValues, Ot as scrubResourceRecord, Pt as isUncertifiedBaselineMaskPosition, Rt as identityKeyFor, T as readsNoEchoSource, W as redactForState, _t as maskSecretsInText, an as physicalNameCopiesOf, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, cn as recordNestedStackParameterExpressions, ct as recordLogOnlyParameterValue, dn as splitGetAttStringForm, dt as shareLogOnlyValues, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as carriesSecretMask, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gt as maskSecretsInError, h as maskWholeValue, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as wholeStringLeavesOf, k as valueAtCoordinate, kn as recordNoEchoParameterFreshValue, kt as withPhysicalNameCopies, m as maskReadbackAtCoordinates, mt as errorCauseChain, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pt as createSecretMasker, qt as inheritNestedStackParameterAssociations, sn as recordPhysicalNameCopy, st as printingCorpusOf, u as canonicalCoordinates, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, y as noEchoLeavesOf } from "./replacement-rules-lOM1aGPr.js";
15
+ import { D as withoutUnsettledProperties, E as withUnsettledProperties, S as unsettledItemsOf, i as withResourceDeadline, w as unsettledPropertiesOf, x as unsettledItemsField } from "./resource-deadline-1VcUPyH4.js";
16
+ import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-CQ_BCOjX.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";
@@ -32,7 +32,7 @@ import { execFile } from "node:child_process";
32
32
  import { devNull, tmpdir } from "node:os";
33
33
  import { CreateAliasCommand, CreateKeyCommand, DescribeKeyCommand, KMSClient, ScheduleKeyDeletionCommand } from "@aws-sdk/client-kms";
34
34
  import { BatchDeleteImageCommand, DeleteRepositoryCommand, DescribeImagesCommand as DescribeImagesCommand$1, ECRClient, GetAuthorizationTokenCommand } from "@aws-sdk/client-ecr";
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, containsDynamicReference, createAuthorizerCache, createFileWatcher, createFileWatcher as createFileWatcher$1, createJwksCache, createMixedModeStateProvider, createWatchPredicates, defaultCredentialsLoader, describeAwsFailureForWarn, describeForwarderFailure, discoverRoutes, discoverWebSocketApis, dockerRegistryEnv, downloadAndExtractS3Bundle, effectiveLoopbackPorts, enforceImageOverrideOrphans, 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, resolveSingleTarget, resolveWatchConfig, resolveWorkloadAwsWiring, runEcsServiceEmulator, runImageOverrideBuilds, setActiveWorkloadAwsWiring, setAwsEndpointOverride, signAgentCoreInvocation, startApiServer, verifyJwtViaDiscovery, waitForAgentCorePing, withoutKeys } from "cdk-local/internal";
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, 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, resolveSingleTarget, resolveWatchConfig, resolveWorkloadAwsWiring, runEcsServiceEmulator, runImageOverrideBuilds, setActiveWorkloadAwsWiring, setAwsEndpointOverride, signAgentCoreInvocation, startApiServer, verifyJwtViaDiscovery, waitForAgentCorePing, withoutKeys } from "cdk-local/internal";
36
36
  import { isDeepStrictEqual, promisify } from "node:util";
37
37
  import graphlib from "graphlib";
38
38
  import { Command, InvalidArgumentError, Option } from "commander";
@@ -181,7 +181,9 @@ function onStderr(fn) {
181
181
  return result;
182
182
  }
183
183
  function pointEnvironmentAtEmulator(url, port, caBundle) {
184
- Object.assign(process.env, emulatorEnvironment(url, port, process.env));
184
+ const pointed = emulatorEnvironment(url, port, process.env);
185
+ Object.assign(process.env, pointed);
186
+ if (pointed["AWS_REGION"] !== void 0) recordEmulatorDefaultRegion(pointed["AWS_REGION"]);
185
187
  const run = readEmulatorRunFiles(port);
186
188
  const caPath = join(run.dir, "ca.pem");
187
189
  const runCa = run.present && existsSync(caPath) ? caPath : devNull;
@@ -1448,7 +1450,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
1448
1450
  // src/provisioning/register-providers.ts
1449
1451
  let providerClasses;
1450
1452
  function loadProviderClasses() {
1451
- providerClasses ??= import("./provider-classes-B8WD5ucF.js");
1453
+ providerClasses ??= import("./provider-classes-CM8Txuvb.js");
1452
1454
  return providerClasses;
1453
1455
  }
1454
1456
  function registerAllProviders(registry, classes) {
@@ -5460,8 +5462,19 @@ async function previewNoEchoMacChanges(args) {
5460
5462
  }
5461
5463
 
5462
5464
  // src/cli/commands/diff-recursive/compute-stack-diff.ts
5463
- async function computeStackDiff(currentState, template, region, stackName, stateBackend, diffCalculator, options = {}) {
5464
- const { parameters, canonicalizeProperties, ccRouteUnavailableReason, cfnFallback, producerLookup, consumerAccount, noEchoMacCache, macWriteOnlyLookups, inheritSecretBearingTemplate, inheritedSecrets, inheritedSecretTokens, inheritedDerivedNames, attributeHealer: unboundAttributeHealer, parentUnresolvedParameters, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict } = options;
5465
+ async function computeStackDiff(loadedState, template, region, stackName, stateBackend, diffCalculator, options = {}) {
5466
+ const { parameters, canonicalizeProperties, ccRouteUnavailableReason, cfnFallback, producerLookup, consumerAccount, noEchoMacCache, macWriteOnlyLookups, inheritSecretBearingTemplate, inheritedSecrets, inheritedSecretTokens, inheritedDerivedNames, attributeHealer: unboundAttributeHealer, parentUnresolvedParameters, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, ssmNameHeal = "apply" } = options;
5467
+ const healSsmNames = (state) => {
5468
+ const healed = healSlashedSsmParameterNames(state, template, stackName);
5469
+ if (healed.heals.length === 0) return state;
5470
+ for (const heal of healed.heals) if (ssmNameHeal === "apply") logger.info(slashedSsmNameHealNote(heal));
5471
+ else logger.info(slashedSsmNameHealPendingNote(heal, stackName));
5472
+ return ssmNameHeal === "apply" ? {
5473
+ ...state,
5474
+ resources: healed.resources
5475
+ } : state;
5476
+ };
5477
+ const currentState = healSsmNames(loadedState);
5465
5478
  let healResources = currentState.resources ?? {};
5466
5479
  let healNamingSecrets;
5467
5480
  const attributeHealer = unboundAttributeHealer && healerUnderRecordPrintingBag(unboundAttributeHealer, () => healResources, (map) => healNamingSecrets?.(map));
@@ -5572,7 +5585,15 @@ async function computeStackDiff(currentState, template, region, stackName, state
5572
5585
  healResources = resources;
5573
5586
  }
5574
5587
  });
5575
- const { adoptedOrphans, adoptedRecords, deployRefusals, stateForDiff, unreadableOrphans } = orphanSplice;
5588
+ const { adoptedOrphans, adoptedRecords, deployRefusals, unreadableOrphans } = orphanSplice;
5589
+ const { stateForDiff } = orphanSplice;
5590
+ if (Object.keys(adoptedRecords ?? {}).length > 0) {
5591
+ const adopted = {
5592
+ ...currentState,
5593
+ resources: adoptedRecords
5594
+ };
5595
+ for (const heal of healSlashedSsmParameterNames(adopted, template, stackName).heals) logger.info(slashedSsmNameHealAdoptedNote(heal));
5596
+ }
5576
5597
  let { blocking } = orphanSplice;
5577
5598
  let maskedInputs;
5578
5599
  if (options.previewMaskedInputs === true) {
@@ -5847,8 +5868,12 @@ function collectCcApiRoutes(template, state, changes, ccRouteUnavailableReason)
5847
5868
  }
5848
5869
 
5849
5870
  // src/cli/commands/diff-recursive/build-tree.ts
5871
+ function childRowRunsEngine(row) {
5872
+ if (row?.changeType === "CREATE") return true;
5873
+ return row?.changeType === "UPDATE" && (row.propertyChanges?.length ?? 0) > 0;
5874
+ }
5850
5875
  async function buildDiffTree(args) {
5851
- const { stackName, displayName, region, template, nestedTemplates, recursive, stateBackend, diffCalculator, parentHasSecretReference, parameters, parentUnresolvedParameters, canonicalizeProperties, ccRouteUnavailableReason, assetRedirect, cfnFallback, producerLookup, consumerAccount, previewOrphanAdoption, attributeHealerFor, ancestorTemplatePaths, isNestedChild, inheritedSecrets, inheritedDerivedNames, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, refusalRecovery, inheritedReferenceProvenance, inheritedSecretTokens } = args;
5876
+ const { stackName, displayName, region, template, nestedTemplates, recursive, stateBackend, diffCalculator, parentHasSecretReference, parameters, parentUnresolvedParameters, canonicalizeProperties, ccRouteUnavailableReason, assetRedirect, cfnFallback, producerLookup, consumerAccount, previewOrphanAdoption, attributeHealerFor, ancestorTemplatePaths, isNestedChild, ssmNameHeal, inheritedSecrets, inheritedDerivedNames, inheritedNoEchoParameters, inheritedNoEchoParametersAnyVerdict, refusalRecovery, inheritedReferenceProvenance, inheritedSecretTokens } = args;
5852
5877
  const unboundHealer = attributeHealerFor?.(stackName, region);
5853
5878
  const { state, unreadable, unreadableContainers, deployRefusals, found } = await loadStateOrEmpty(stackName, region, stateBackend, refusalRecovery);
5854
5879
  const attributeHealer = unboundHealer;
@@ -5875,6 +5900,7 @@ async function buildDiffTree(args) {
5875
5900
  ...refusalRecovery && { refusalRecovery },
5876
5901
  inheritSecretBearingTemplate: false,
5877
5902
  previewMaskedInputs: !isNestedChild,
5903
+ ...ssmNameHeal && { ssmNameHeal },
5878
5904
  nestedTemplates
5879
5905
  });
5880
5906
  } finally {
@@ -5970,6 +5996,7 @@ async function buildDiffTree(args) {
5970
5996
  ...attributeHealerFor && { attributeHealerFor },
5971
5997
  ancestorTemplatePaths: childAncestorTemplatePaths,
5972
5998
  isNestedChild: true,
5999
+ ssmNameHeal: ssmNameHeal !== "pending" && childRowRunsEngine(changes.get(logicalId)) ? "apply" : "pending",
5973
6000
  parentHasSecretReference: secretBearingAbove,
5974
6001
  inheritedSecrets: printingSecrets,
5975
6002
  ...hasMaskableValues(childDerivedNames) && { inheritedDerivedNames: childDerivedNames },
@@ -18249,17 +18276,12 @@ function isResolvableOrphanRecord(entry) {
18249
18276
  const physicalId = entry.physicalId;
18250
18277
  return typeof physicalId === "string" && physicalId !== "";
18251
18278
  }
18252
- const SECRET_VALUED_ATTRIBUTES = /* @__PURE__ */ new Map([
18253
- ["AWS::AppSync::ApiKey", ["ApiKey"]],
18254
- ["AWS::EC2::IpamExternalResourceVerificationToken", ["TokenValue"]],
18255
- ["AWS::IVS::StreamKey", ["Value"]]
18256
- ]);
18257
18279
  function carriesSensitiveNamedLeaf(value) {
18258
18280
  if (value === null || typeof value !== "object") return false;
18259
18281
  return Object.entries(value).some(([key, leaf]) => isSensitiveAttributeName(key) || carriesSensitiveNamedLeaf(leaf));
18260
18282
  }
18261
18283
  function servableRecordedAttribute(orphan, attribute) {
18262
- if (isAlwaysLiveAttribute(orphan.resourceType, attribute) || isSensitiveAttributeName(attribute) || isCustomResourceType$1(orphan.resourceType) || SECRET_VALUED_ATTRIBUTES.get(orphan.resourceType)?.includes(attribute)) return { served: false };
18284
+ if (isAlwaysLiveAttribute(orphan.resourceType, attribute) || isSensitiveAttributeName(attribute) || isCustomResourceType$1(orphan.resourceType) || isSecretValuedAttribute(orphan.resourceType, attribute)) return { served: false };
18263
18285
  const bag = orphan.attributes;
18264
18286
  if (bag === void 0 || !isReadableBag(bag)) return { served: false };
18265
18287
  const attributes = bag;
@@ -18286,7 +18308,7 @@ function servableRecordedAttribute(orphan, attribute) {
18286
18308
  function unsplicableCachedAttribute(resourceType, attribute, cached) {
18287
18309
  if (isSensitiveAttributeName(attribute)) return "a credential-named attribute";
18288
18310
  if (isCustomResourceType$1(resourceType)) return "a custom resource's attribute";
18289
- if (SECRET_VALUED_ATTRIBUTES.get(resourceType)?.includes(attribute)) return "a secret-valued attribute";
18311
+ if (isSecretValuedAttribute(resourceType, attribute)) return "a secret-valued attribute";
18290
18312
  if (carriesSecretMask(cached)) return `the redaction mask ('${"***"}')`;
18291
18313
  if (carriesDynamicReference(cached)) return "an unresolved dynamic reference";
18292
18314
  if (carriesSensitiveNamedLeaf(cached)) return "a value with a credential-named field";
@@ -18315,6 +18337,11 @@ var AttributeFetcher = class {
18315
18337
  ok: false,
18316
18338
  reason: "state records no usable 'TableARN' for this S3 Tables table, the value CloudFormation's Ref returns, and the physical id is NOT that value"
18317
18339
  };
18340
+ const healedAttribute = lacksRecordedRefArn(o);
18341
+ if (healedAttribute !== void 0) return {
18342
+ ok: false,
18343
+ reason: `state records no usable '${healedAttribute}' for this resource, the value CloudFormation's Ref returns, and the physical id is NOT that value`
18344
+ };
18318
18345
  let maskedKey;
18319
18346
  const value = cfnRefValueFromPhysicalId(o.resourceType, o.physicalId, refStateLookupFromResource(o, (key) => {
18320
18347
  maskedKey = key;
@@ -25119,7 +25146,7 @@ async function loadStateForStack(stackName, synthRegion, opts) {
25119
25146
  const logger = getLogger();
25120
25147
  const prefix = opts.logPrefix ?? "--from-state";
25121
25148
  const warn = opts.warn ?? ((message) => logger.warn(message));
25122
- const region = canonicalizeRegion(opts.region ?? process.env["AWS_REGION"] ?? process.env["AWS_DEFAULT_REGION"] ?? synthRegion ?? "us-east-1");
25149
+ const region = canonicalizeRegion(opts.region ?? namedEnvAwsRegion() ?? process.env["AWS_DEFAULT_REGION"] ?? synthRegion ?? emulatorDefaultRegion() ?? "us-east-1");
25123
25150
  const clientRegion = canonicalizeRegion(opts.region) || void 0;
25124
25151
  let stateBucket;
25125
25152
  try {
@@ -27906,6 +27933,12 @@ function detectEcsImageResolutionNeeds(stack) {
27906
27933
  const flat = extractImageString(image);
27907
27934
  if (flat !== void 0 && extractEcrRepoComponent(flat) !== void 0 && !CDK_ASSET_IMAGE_REPO_RE.test(flat)) needsAssetRepoMarker = true;
27908
27935
  if (containerHasIntrinsicEnvOrSecret(co)) needsEnvOrSecretSubstitution = true;
27936
+ const argv = containerArgvElements(co);
27937
+ if (argv.some((v) => v !== null && typeof v === "object")) needsEnvOrSecretSubstitution = true;
27938
+ if (argv.some(isCrossStackIntrinsic)) {
27939
+ needsEnvOrSecretSubstitution = true;
27940
+ needsCrossStackResolver = true;
27941
+ }
27909
27942
  if (containerHasCrossStackEnvOrSecret(co)) {
27910
27943
  needsEnvOrSecretSubstitution = true;
27911
27944
  needsCrossStackResolver = true;
@@ -27945,10 +27978,16 @@ function containerHasCrossStackEnvOrSecret(c) {
27945
27978
  }
27946
27979
  return false;
27947
27980
  }
27981
+ function containerArgvElements(c) {
27982
+ const health = c["HealthCheck"];
27983
+ return [
27984
+ c["Command"],
27985
+ c["EntryPoint"],
27986
+ health && typeof health === "object" ? health["Command"] : void 0
27987
+ ].flatMap((l) => Array.isArray(l) ? l : []);
27988
+ }
27948
27989
  function isCrossStackIntrinsic(value) {
27949
- if (!value || typeof value !== "object") return false;
27950
- const obj = value;
27951
- return "Fn::ImportValue" in obj || "Fn::GetStackOutput" in obj;
27990
+ return containsCrossStackIntrinsic(value);
27952
27991
  }
27953
27992
  function volumeHasIntrinsicSourcePath(v) {
27954
27993
  if (!v || typeof v !== "object") return false;
@@ -28074,10 +28113,11 @@ function parseContainerDefinition(raw, idx, taskLogicalId, resources, stack, con
28074
28113
  const name = pickString(c["Name"]);
28075
28114
  if (!name) throw new EcsTaskResolutionError(`Task '${taskLogicalId}' ContainerDefinitions[${idx}] has no Name.`);
28076
28115
  const image = parseContainerImage(c["Image"], name, taskLogicalId, resources, stack, context);
28077
- const command = pickStringArray(c["Command"]);
28078
- const entryPoint = pickStringArray(c["EntryPoint"]);
28079
- const workingDirectory = pickString(c["WorkingDirectory"]);
28080
28116
  const subContext = buildSubstitutionContextFromImageContext(context);
28117
+ const unresolvedCommandElements = [];
28118
+ const command = resolveArgvArray(c["Command"], "Command", subContext, unresolvedCommandElements);
28119
+ const entryPoint = resolveArgvArray(c["EntryPoint"], "EntryPoint", subContext, unresolvedCommandElements);
28120
+ const workingDirectory = pickString(c["WorkingDirectory"]);
28081
28121
  const environment = {};
28082
28122
  const droppedEnvKeys = [];
28083
28123
  if (Array.isArray(c["Environment"])) for (const entry of c["Environment"]) {
@@ -28185,7 +28225,7 @@ function parseContainerDefinition(raw, idx, taskLogicalId, resources, stack, con
28185
28225
  let healthCheck;
28186
28226
  if (c["HealthCheck"] && typeof c["HealthCheck"] === "object") {
28187
28227
  const h = c["HealthCheck"];
28188
- const command2 = pickStringArray(h["Command"]);
28228
+ const command2 = resolveArgvArray(h["Command"], "HealthCheck.Command", subContext, unresolvedCommandElements);
28189
28229
  if (command2 && command2.length > 0) {
28190
28230
  healthCheck = { command: command2 };
28191
28231
  if (typeof h["Interval"] === "number") healthCheck.interval = h["Interval"];
@@ -28235,8 +28275,133 @@ function parseContainerDefinition(raw, idx, taskLogicalId, resources, stack, con
28235
28275
  if (privileged !== void 0) out.privileged = privileged;
28236
28276
  if (readonlyRootFilesystem !== void 0) out.readonlyRootFilesystem = readonlyRootFilesystem;
28237
28277
  if (droppedSecretKeys.length > 0) out.droppedSecretNames = droppedSecretKeys.map((d) => d.key);
28278
+ if (unresolvedCommandElements.length > 0) out.unresolvedCommandElements = unresolvedCommandElements;
28279
+ return out;
28280
+ }
28281
+ function resolveArgvArray(raw, field, subContext, unresolved) {
28282
+ if (!Array.isArray(raw)) return void 0;
28283
+ return raw.map((element, index) => {
28284
+ if (typeof element === "string") return element;
28285
+ if (typeof element === "number" || typeof element === "boolean") return String(element);
28286
+ if (!element || typeof element !== "object" || Array.isArray(element)) {
28287
+ unresolved.push({
28288
+ field,
28289
+ index,
28290
+ reason: "not a string or an intrinsic"
28291
+ });
28292
+ return "";
28293
+ }
28294
+ if (isCrossStackIntrinsic(element)) {
28295
+ unresolved.push({
28296
+ field,
28297
+ index,
28298
+ reason: CROSS_STACK_ARGV_REASON
28299
+ });
28300
+ return "";
28301
+ }
28302
+ if (!subContext) {
28303
+ unresolved.push({
28304
+ field,
28305
+ index,
28306
+ reason: NO_STATE_ARGV_REASON
28307
+ });
28308
+ return "";
28309
+ }
28310
+ const secret = secretAttributeRead(element, subContext.resources);
28311
+ if (secret !== void 0) {
28312
+ unresolved.push({
28313
+ field,
28314
+ index,
28315
+ reason: secret
28316
+ });
28317
+ return "";
28318
+ }
28319
+ const sub = substituteAgainstState(element, subContext);
28320
+ if (sub.kind !== "literal") {
28321
+ unresolved.push({
28322
+ field,
28323
+ index,
28324
+ reason: sub.reason
28325
+ });
28326
+ return "";
28327
+ }
28328
+ const arg = argvValue(sub.value);
28329
+ if ("value" in arg) return arg.value;
28330
+ unresolved.push({
28331
+ field,
28332
+ index,
28333
+ reason: arg.reason
28334
+ });
28335
+ return "";
28336
+ });
28337
+ }
28338
+ function secretAttributeRead(element, stateResources) {
28339
+ for (const [logicalId, attribute] of getAttReads(element)) {
28340
+ const record = Object.hasOwn(stateResources, logicalId) ? stateResources[logicalId] : void 0;
28341
+ const recorded = record?.attributes;
28342
+ const stored = recorded && Object.hasOwn(recorded, attribute) ? recorded[attribute] : void 0;
28343
+ if (isSensitiveAttributeName(attribute) || isSecretValuedAttribute(record?.resourceType, attribute) || stored === "***") return `reads the secret attribute ${logicalId}.${attribute}, which cdkd will not put on the docker run command line; pass the value through Environment or Secrets instead`;
28344
+ }
28345
+ }
28346
+ function computedAttributeRead(node) {
28347
+ if (node === null || typeof node !== "object") return void 0;
28348
+ if (Array.isArray(node)) {
28349
+ for (const item of node) {
28350
+ const r = computedAttributeRead(item);
28351
+ if (r !== void 0) return r;
28352
+ }
28353
+ return;
28354
+ }
28355
+ for (const [key, value] of Object.entries(node)) {
28356
+ if (key === "Fn::GetAtt" && isCrossStackIntrinsic(value)) return "a Fn::GetAtt whose logical ID or attribute name is a cross-stack reference, which CloudFormation does not accept";
28357
+ if (key === "Fn::Sub") {
28358
+ const template = Array.isArray(value) ? value[0] : value;
28359
+ if (isCrossStackIntrinsic(template)) return "a Fn::Sub whose template is a cross-stack reference, which CloudFormation does not accept";
28360
+ }
28361
+ const r = computedAttributeRead(value);
28362
+ if (r !== void 0) return r;
28363
+ }
28364
+ }
28365
+ function getAttReads(node, out = []) {
28366
+ if (node === null || typeof node !== "object") return out;
28367
+ if (Array.isArray(node)) {
28368
+ for (const item of node) getAttReads(item, out);
28369
+ return out;
28370
+ }
28371
+ for (const [key, value] of Object.entries(node)) {
28372
+ if (key === "Fn::GetAtt") {
28373
+ if (Array.isArray(value) && typeof value[0] === "string" && typeof value[1] === "string") out.push([value[0], value[1]]);
28374
+ else if (typeof value === "string" && value.includes(".")) {
28375
+ const dot = value.indexOf(".");
28376
+ out.push([value.slice(0, dot), value.slice(dot + 1)]);
28377
+ }
28378
+ } else if (key === "Fn::Sub") {
28379
+ const template = Array.isArray(value) ? value[0] : value;
28380
+ if (typeof template === "string") for (const m of template.matchAll(/\$\{([^}!]+)\}/g)) {
28381
+ const ref = m[1];
28382
+ const dot = ref.indexOf(".");
28383
+ if (dot > 0 && !ref.startsWith("AWS::")) out.push([ref.slice(0, dot), ref.slice(dot + 1)]);
28384
+ }
28385
+ }
28386
+ getAttReads(value, out);
28387
+ }
28238
28388
  return out;
28239
28389
  }
28390
+ const NO_STATE_ARGV_REASON = "intrinsic-valued and no deployed state was loaded: deploy the stack and pass --from-state (cdkd-deployed) or --from-cfn-stack (cdk-deployed) to substitute it against that state (Ref, Fn::GetAtt, Fn::Sub, Fn::Join, Fn::Select, Fn::Split and pseudo parameters resolve; Fn::If and Fn::FindInMap do not)";
28391
+ const CROSS_STACK_ARGV_REASON = "a cross-stack reference (Fn::ImportValue / Fn::GetStackOutput): it resolves only from a state source (--from-state / --from-cfn-stack) with the producer stack deployed";
28392
+ function argvValue(value) {
28393
+ if (typeof value === "number" || typeof value === "boolean") return { value: String(value) };
28394
+ if (typeof value !== "string") return { reason: "resolved to a non-string value" };
28395
+ if (value === "***") return { reason: `resolved to the secret mask (${"***"}), not the deployed value` };
28396
+ if (containsDynamicReference(value)) return { reason: "resolved to a CloudFormation dynamic reference ({{resolve:...}}), which cdkd resolves only in Environment, because resolving one here would put the secret on the docker run argv; move the value into an Environment variable or a Secrets entry" };
28397
+ return { value };
28398
+ }
28399
+ function assertEcsTaskCommandsResolved(task) {
28400
+ const lines = [];
28401
+ for (const container of task.containers) for (const u of container.unresolvedCommandElements ?? []) lines.push(` - Container '${container.name}' ${u.field}[${u.index}]: ${u.reason}`);
28402
+ if (lines.length === 0) return;
28403
+ throw new EcsTaskResolutionError(`Task '${task.taskDefinitionLogicalId}' has container command elements cdkd could not resolve:\n${lines.join("\n")}\ncdkd refuses to run the task with these arguments missing, since that runs a different command than the deployed task. Deploy the stack and pass --from-state (cdkd-deployed) or --from-cfn-stack (cdk-deployed) so each element resolves against deployed state.`);
28404
+ }
28240
28405
  function buildSubstitutionContextFromImageContext(context) {
28241
28406
  if (!context?.stateResources) return void 0;
28242
28407
  const subContext = { resources: context.stateResources };
@@ -28445,6 +28610,21 @@ function notFoundError(target, stack, resources) {
28445
28610
  }
28446
28611
 
28447
28612
  // src/local/ecs-task-resolver/cross-stack.ts
28613
+ function argvTarget(container, field) {
28614
+ if (field === "Command") return container.command;
28615
+ if (field === "EntryPoint") return container.entryPoint;
28616
+ return container.healthCheck?.command;
28617
+ }
28618
+ function rawArgv(c, field) {
28619
+ let raw;
28620
+ if (field === "Command") raw = c["Command"];
28621
+ else if (field === "EntryPoint") raw = c["EntryPoint"];
28622
+ else {
28623
+ const h = c["HealthCheck"];
28624
+ raw = h && typeof h === "object" ? h["Command"] : void 0;
28625
+ }
28626
+ return Array.isArray(raw) ? raw : void 0;
28627
+ }
28448
28628
  async function applyCrossStackResolverToTask(task, context) {
28449
28629
  if (!context.crossStackResolver) return;
28450
28630
  const { resolveDynamicReferences: _envOnly, ...secretContext } = context;
@@ -28503,6 +28683,38 @@ async function applyCrossStackResolverToTask(task, context) {
28503
28683
  if (container.droppedSecretNames) container.droppedSecretNames = container.droppedSecretNames.filter((n) => n !== sName);
28504
28684
  }
28505
28685
  }
28686
+ if (container.unresolvedCommandElements?.length) {
28687
+ const remaining = [];
28688
+ for (const u of container.unresolvedCommandElements) {
28689
+ const target = argvTarget(container, u.field);
28690
+ const rawElement = rawArgv(c, u.field)?.[u.index];
28691
+ if (!target || !isCrossStackIntrinsic(rawElement)) {
28692
+ remaining.push(u);
28693
+ continue;
28694
+ }
28695
+ const refusal = secretAttributeRead(rawElement, secretContext.resources) ?? computedAttributeRead(rawElement);
28696
+ if (refusal !== void 0) {
28697
+ remaining.push({
28698
+ ...u,
28699
+ reason: refusal
28700
+ });
28701
+ continue;
28702
+ }
28703
+ const masked = { hit: false };
28704
+ const sub = await substituteAgainstStateAsync(rawElement, withMaskWatch(secretContext, masked));
28705
+ const arg = masked.hit ? { reason: `resolved a cross-stack value recorded as the secret mask (${"***"}), not the deployed value` } : sub.kind === "literal" ? argvValue(sub.value) : { reason: sub.reason };
28706
+ if ("value" in arg) {
28707
+ target[u.index] = arg.value;
28708
+ continue;
28709
+ }
28710
+ remaining.push({
28711
+ ...u,
28712
+ reason: arg.reason
28713
+ });
28714
+ }
28715
+ if (remaining.length > 0) container.unresolvedCommandElements = remaining;
28716
+ else delete container.unresolvedCommandElements;
28717
+ }
28506
28718
  if (resolvedEnvKeys.size > 0 || resolvedSecretNames.size > 0) {
28507
28719
  container.warnings = container.warnings.filter((w) => {
28508
28720
  for (const k of resolvedEnvKeys) if (w.startsWith(`Environment '${k}' dropped:`)) return false;
@@ -28517,6 +28729,22 @@ async function applyCrossStackResolverToTask(task, context) {
28517
28729
  }
28518
28730
  }
28519
28731
  }
28732
+ function withMaskWatch(context, masked) {
28733
+ const inner = context.crossStackResolver;
28734
+ if (!inner) return context;
28735
+ const watch = (v) => {
28736
+ if (v === "***") masked.hit = true;
28737
+ return v;
28738
+ };
28739
+ const resolver = {
28740
+ resolveImport: async (exportName) => watch(await inner.resolveImport(exportName)),
28741
+ resolveGetStackOutput: async (stack, region, output) => watch(await inner.resolveGetStackOutput(stack, region, output))
28742
+ };
28743
+ return {
28744
+ ...context,
28745
+ crossStackResolver: resolver
28746
+ };
28747
+ }
28520
28748
 
28521
28749
  // src/cli/commands/local-start-api/state.ts
28522
28750
  function stateBundleKey(stackName, workload) {
@@ -28602,7 +28830,7 @@ async function loadStateForRoutedStacks(stacks, routes, routesWithAuth, options)
28602
28830
  }
28603
28831
  async function resolvePseudoParametersForStartApi(stateRegion, options) {
28604
28832
  const logger = getLogger();
28605
- const region = canonicalizeRegion(options.region ?? process.env["AWS_REGION"] ?? process.env["AWS_DEFAULT_REGION"] ?? stateRegion);
28833
+ const region = canonicalizeRegion(options.region ?? namedEnvAwsRegion() ?? process.env["AWS_DEFAULT_REGION"] ?? stateRegion);
28606
28834
  const sourceFlag = options.fromState ? "--from-state" : "--from-cfn-stack";
28607
28835
  let accountId;
28608
28836
  try {
@@ -29023,7 +29251,7 @@ async function localStartApiCommand(target, options) {
29023
29251
  assumeRole: options.assumeRole,
29024
29252
  containerHost: options.containerHost,
29025
29253
  ...debugPortBase !== void 0 && { debugPort: debugPortBase + index },
29026
- stsRegion: canonicalizeRegion(options.region ?? process.env["AWS_REGION"] ?? process.env["AWS_DEFAULT_REGION"]),
29254
+ stsRegion: canonicalizeRegion(options.region ?? namedEnvAwsRegion() ?? process.env["AWS_DEFAULT_REGION"]),
29027
29255
  inlineTmpDirs,
29028
29256
  layerTmpDirs,
29029
29257
  stateByStack,
@@ -30532,7 +30760,7 @@ async function resolveStackAccountId$1(source) {
30532
30760
  // src/cli/commands/local-run-task/image-context.ts
30533
30761
  function resolveEcsConsumerRegion(stateRecordRegion, options, synthRegion) {
30534
30762
  if (stateRecordRegion) return stateRecordRegion;
30535
- return canonicalizeRegion((options.region || process.env["AWS_REGION"]) ?? process.env["AWS_DEFAULT_REGION"] ?? synthRegion ?? "us-east-1");
30763
+ return canonicalizeRegion((options.region || namedEnvAwsRegion()) ?? process.env["AWS_DEFAULT_REGION"] ?? synthRegion ?? emulatorDefaultRegion() ?? "us-east-1");
30536
30764
  }
30537
30765
  async function buildEcsImageResolutionContext$1(candidate, stateProvider, options) {
30538
30766
  const logger = getLogger();
@@ -30546,7 +30774,7 @@ async function buildEcsImageResolutionContext$1(candidate, stateProvider, option
30546
30774
  let stateRecordRegion;
30547
30775
  const wantsPseudoForEnvOrSecret = !!stateProvider && needs.needsEnvOrSecretSubstitution;
30548
30776
  if (needs.needsPseudoParameters || wantsPseudoForEnvOrSecret) {
30549
- const region = canonicalizeRegion(options.region ?? process.env["AWS_REGION"] ?? process.env["AWS_DEFAULT_REGION"] ?? candidate.region);
30777
+ const region = canonicalizeRegion(options.region ?? namedEnvAwsRegion() ?? process.env["AWS_DEFAULT_REGION"] ?? candidate.region ?? emulatorDefaultRegion());
30550
30778
  if (!region) logger.warn("Resolver references ${AWS::Region} but cdkd could not determine the target region. Pass --region, set AWS_REGION, or declare env.region on the CDK stack.");
30551
30779
  let accountId;
30552
30780
  try {
@@ -30578,7 +30806,7 @@ async function buildEcsImageResolutionContext$1(candidate, stateProvider, option
30578
30806
  }
30579
30807
  } else if (!stateProvider && needs.needsStateResources) {
30580
30808
  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.");
30581
- } else if (!stateProvider && needs.needsEnvOrSecretSubstitution) logger.warn("Container Environment / Secrets entries contain CloudFormation intrinsics (Ref / Fn::GetAtt / Fn::Sub / Fn::Join). Pass --from-state (cdkd-deployed) or --from-cfn-stack (cdk-deployed) to substitute them against deployed state. Without a state source these entries are dropped (per-key warnings will follow).");
30809
+ } else if (!stateProvider && needs.needsEnvOrSecretSubstitution) logger.warn("Container Environment / Secrets / Command entries contain CloudFormation intrinsics (Ref / Fn::GetAtt / Fn::Sub / Fn::Join). Pass --from-state (cdkd-deployed) or --from-cfn-stack (cdk-deployed) to substitute them against deployed state. Without a state source Environment / Secrets entries are dropped (per-key warnings will follow) and an intrinsic Command / EntryPoint / HealthCheck.Command element refuses the run.");
30582
30810
  if (needs.needsAssetRepoMarker && options.fromState) {
30583
30811
  const containerRepo = await loadBootstrapContainerRepo(candidate.region, {
30584
30812
  statePrefix: options.statePrefix,
@@ -30868,7 +31096,8 @@ async function localRunTaskCommand(target, options) {
30868
31096
  dynamicRefs.dispose();
30869
31097
  }
30870
31098
  }
30871
- } else if (!stateProvider && taskNeeds.needsCrossStackResolver) logger.warn("Container Environment / Secrets entries contain Fn::ImportValue / Fn::GetStackOutput intrinsics. Pass --from-state (cdkd-deployed) or --from-cfn-stack (cdk-deployed) to substitute them against deployed state.");
31099
+ } else if (!stateProvider && taskNeeds.needsCrossStackResolver) logger.warn("Container Environment / Secrets / Command entries contain Fn::ImportValue / Fn::GetStackOutput intrinsics. Pass --from-state (cdkd-deployed) or --from-cfn-stack (cdk-deployed) to substitute them against deployed state.");
31100
+ assertEcsTaskCommandsResolved(task);
30872
31101
  sigintHandler = () => {
30873
31102
  sigintCount += 1;
30874
31103
  if (sigintCount >= 2) {
@@ -30974,6 +31203,11 @@ async function applyPerContainerNames(task, target, stacks, candidate, options,
30974
31203
  if (!mine || !into) continue;
30975
31204
  into.environment = mine.environment;
30976
31205
  into.secrets = mine.secrets;
31206
+ if (mine.command) into.command = mine.command;
31207
+ if (mine.entryPoint) into.entryPoint = mine.entryPoint;
31208
+ if (mine.healthCheck) into.healthCheck = mine.healthCheck;
31209
+ if (mine.unresolvedCommandElements) into.unresolvedCommandElements = mine.unresolvedCommandElements;
31210
+ else delete into.unresolvedCommandElements;
30977
31211
  }
30978
31212
  } finally {
30979
31213
  provider.dispose();
@@ -31716,7 +31950,7 @@ async function resolveAgentCoreCodeImageFromS3(resolved, code, s3Source, options
31716
31950
  key: s3Source.key,
31717
31951
  ...s3Source.versionId !== void 0 && { versionId: s3Source.versionId }
31718
31952
  };
31719
- const region = canonicalizeRegion(options.region ?? options.stackRegion ?? process.env["AWS_REGION"] ?? process.env["AWS_DEFAULT_REGION"] ?? resolved.stack.region);
31953
+ const region = canonicalizeRegion(options.region ?? options.stackRegion ?? namedEnvAwsRegion() ?? process.env["AWS_DEFAULT_REGION"] ?? resolved.stack.region ?? emulatorDefaultRegion());
31720
31954
  const assumeRoleArn = resolveAssumeRoleArn(options, resolved, loaded);
31721
31955
  let credentials;
31722
31956
  if (assumeRoleArn) try {
@@ -31784,7 +32018,7 @@ function describeIntrinsic(value) {
31784
32018
  }
31785
32019
  async function buildAgentCoreImageContext(candidate, stateProvider, options) {
31786
32020
  const logger = getLogger();
31787
- const region = canonicalizeRegion(options.region ?? process.env["AWS_REGION"] ?? process.env["AWS_DEFAULT_REGION"] ?? candidate.region);
32021
+ const region = canonicalizeRegion(options.region ?? namedEnvAwsRegion() ?? process.env["AWS_DEFAULT_REGION"] ?? candidate.region ?? emulatorDefaultRegion());
31788
32022
  let accountId;
31789
32023
  try {
31790
32024
  accountId = await resolveStackAccountId(region, options.profile, options.fromState, options.fromCfnStack);
@@ -31931,7 +32165,7 @@ async function buildSigV4HeadersIfRequested(options, resolved, loaded, host, por
31931
32165
  getLogger().warn(`Runtime '${resolved.logicalId}' declares a customJwtAuthorizer; --sigv4 ignored (JWT path takes precedence).`);
31932
32166
  return;
31933
32167
  }
31934
- const region = canonicalizeRegion(options.region ?? options.stackRegion ?? process.env["AWS_REGION"] ?? process.env["AWS_DEFAULT_REGION"] ?? resolved.stack.region);
32168
+ const region = canonicalizeRegion(options.region ?? options.stackRegion ?? namedEnvAwsRegion() ?? process.env["AWS_DEFAULT_REGION"] ?? resolved.stack.region ?? emulatorDefaultRegion());
31935
32169
  if (!region) throw new CdkdError("--sigv4: no region resolved for the AgentCore signing scope. Pass --region '<region>', set AWS_REGION, or use --from-cfn-stack with a region-bound stack.", "LOCAL_INVOKE_AGENTCORE_SIGV4_NO_REGION");
31936
32170
  const credentials = await resolveHostCredentialsForSigV4(options, resolved, loaded, region);
31937
32171
  const signed = await signAgentCoreInvocation({
@@ -32539,16 +32773,11 @@ function envHasIntrinsicValue(templateEnv) {
32539
32773
  }
32540
32774
  function envHasCrossStackIntrinsic(templateEnv) {
32541
32775
  if (!templateEnv) return false;
32542
- for (const v of Object.values(templateEnv)) {
32543
- if (!v || typeof v !== "object") continue;
32544
- const obj = v;
32545
- if ("Fn::ImportValue" in obj || "Fn::GetStackOutput" in obj) return true;
32546
- }
32547
- return false;
32776
+ return Object.values(templateEnv).some(containsCrossStackIntrinsic);
32548
32777
  }
32549
32778
  async function resolvePseudoParametersForInvoke(stackRegion, options) {
32550
32779
  const logger = getLogger();
32551
- const region = canonicalizeRegion(options.region ?? process.env["AWS_REGION"] ?? process.env["AWS_DEFAULT_REGION"] ?? stackRegion);
32780
+ const region = canonicalizeRegion(options.region ?? namedEnvAwsRegion() ?? process.env["AWS_DEFAULT_REGION"] ?? stackRegion ?? emulatorDefaultRegion());
32552
32781
  const sourceFlag = options.fromState ? "--from-state" : "--from-cfn-stack";
32553
32782
  if (!region) logger.warn(`${sourceFlag}: resolver references \${AWS::Region} but cdkd could not determine the target region. Pass --region, set AWS_REGION, or declare env.region on the CDK stack.`);
32554
32783
  let accountId;
@@ -33068,4 +33297,4 @@ function collectVerbFlags(program) {
33068
33297
  }
33069
33298
 
33070
33299
  export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, canonicalizeIpProtocolValue as o, holdsUnprovenSecretPrincipalToken as r, canonicalizeIpv4Cidr as t };
33071
- //# sourceMappingURL=program-DJWAG98-.js.map
33300
+ //# sourceMappingURL=program-DAAu8qUr.js.map