@cdkd/cli 0.358.3 → 0.358.4

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-BN4tRwp9.js → ambient-client-defaults-CcCQuSZx.js} +3 -3
  2. package/dist/{ambient-client-defaults-BN4tRwp9.js.map → ambient-client-defaults-CcCQuSZx.js.map} +1 -1
  3. package/dist/{asg-provider-DHkF4o0Q.js → asg-provider-BYsZoqmF.js} +6 -6
  4. package/dist/{asg-provider-DHkF4o0Q.js.map → asg-provider-BYsZoqmF.js.map} +1 -1
  5. package/dist/cli.js +3 -3
  6. package/dist/{custom-resource-runtime-KEMII41H.js → custom-resource-runtime-vUQQgT6M.js} +6 -6
  7. package/dist/{custom-resource-runtime-KEMII41H.js.map → custom-resource-runtime-vUQQgT6M.js.map} +1 -1
  8. package/dist/{db-associated-roles-0r3NPm7U.js → db-associated-roles-D1kkpP0k.js} +2 -2
  9. package/dist/{db-associated-roles-0r3NPm7U.js.map → db-associated-roles-D1kkpP0k.js.map} +1 -1
  10. package/dist/{delete-started-xsYgmgVh.js → delete-started-joCwegKq.js} +4 -4
  11. package/dist/{delete-started-xsYgmgVh.js.map → delete-started-joCwegKq.js.map} +1 -1
  12. package/dist/{deploy-engine-2R2hbP5Y.js → deploy-engine-CilA7v8d.js} +921 -58
  13. package/dist/deploy-engine-CilA7v8d.js.map +1 -0
  14. package/dist/{diff-calculator-CIuzHmBn.js → diff-calculator-Bjr0sh-h.js} +12 -12
  15. package/dist/{diff-calculator-CIuzHmBn.js.map → diff-calculator-Bjr0sh-h.js.map} +1 -1
  16. package/dist/{ec2-termination-protection-DIdBlUyw.js → ec2-termination-protection-Gdl3Djvt.js} +6 -6
  17. package/dist/{ec2-termination-protection-DIdBlUyw.js.map → ec2-termination-protection-Gdl3Djvt.js.map} +1 -1
  18. package/dist/{ecr-uri-DD3r4tU6.js → ecr-uri-BhoeLkz2.js} +2 -2
  19. package/dist/{ecr-uri-DD3r4tU6.js.map → ecr-uri-BhoeLkz2.js.map} +1 -1
  20. package/dist/{expected-bucket-owner-Cm4q0WEG.js → expected-bucket-owner-CIiqUDil.js} +2 -2
  21. package/dist/{expected-bucket-owner-Cm4q0WEG.js.map → expected-bucket-owner-CIiqUDil.js.map} +1 -1
  22. package/dist/{iam-role-provider-DiB7B6vR.js → iam-role-provider-gS0g_h2H.js} +8 -8
  23. package/dist/{iam-role-provider-DiB7B6vR.js.map → iam-role-provider-gS0g_h2H.js.map} +1 -1
  24. package/dist/{image-plan-VU9zHTjW.js → image-plan-hSzmMXmK.js} +8 -8
  25. package/dist/{image-plan-VU9zHTjW.js.map → image-plan-hSzmMXmK.js.map} +1 -1
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +5 -5
  29. package/dist/{logger-C4kIC51Z.js → logger-ZjhMP0A2.js} +2 -2
  30. package/dist/{logger-C4kIC51Z.js.map → logger-ZjhMP0A2.js.map} +1 -1
  31. package/dist/{neptune-provider-CVtiI39K.js → neptune-provider-D3O8Y0lx.js} +7 -7
  32. package/dist/{neptune-provider-CVtiI39K.js.map → neptune-provider-D3O8Y0lx.js.map} +1 -1
  33. package/dist/{program-BOR4WbUs.js → program-MndcrrWf.js} +391 -31
  34. package/dist/program-MndcrrWf.js.map +1 -0
  35. package/dist/{provider-classes-CwFJ4uJU.js → provider-classes-KrOpD8Sp.js} +760 -721
  36. package/dist/provider-classes-KrOpD8Sp.js.map +1 -0
  37. package/dist/{rds-provider-CYCp7gwi.js → rds-provider-Q_PZr6mn.js} +10 -10
  38. package/dist/{rds-provider-CYCp7gwi.js.map → rds-provider-Q_PZr6mn.js.map} +1 -1
  39. package/dist/{read-replica-DBLr287T.js → read-replica-DyQpEv77.js} +3 -3
  40. package/dist/{read-replica-DBLr287T.js.map → read-replica-DyQpEv77.js.map} +1 -1
  41. package/dist/{replacement-rules-DLJ-yZz-.js → replacement-rules-BdvFwhmu.js} +3 -3
  42. package/dist/{replacement-rules-DLJ-yZz-.js.map → replacement-rules-BdvFwhmu.js.map} +1 -1
  43. package/dist/{resource-deadline-j2gItrpv.js → resource-deadline-CKaftDB_.js} +8 -5
  44. package/dist/{resource-deadline-j2gItrpv.js.map → resource-deadline-CKaftDB_.js.map} +1 -1
  45. package/dist/{restore-source-guard-BZ5CE9r9.js → restore-source-guard-eOILAZqS.js} +4 -4
  46. package/dist/{restore-source-guard-BZ5CE9r9.js.map → restore-source-guard-eOILAZqS.js.map} +1 -1
  47. package/dist/{run-cli-CWVdMkku.js → run-cli-PZtAEtYO.js} +2 -2
  48. package/dist/{run-cli-CWVdMkku.js.map → run-cli-PZtAEtYO.js.map} +1 -1
  49. package/dist/{version-D4vZ_aE6.js → version-DiwszmmI.js} +2 -2
  50. package/dist/{version-D4vZ_aE6.js.map → version-DiwszmmI.js.map} +1 -1
  51. package/package.json +1 -1
  52. package/dist/deploy-engine-2R2hbP5Y.js.map +0 -1
  53. package/dist/program-BOR4WbUs.js.map +0 -1
  54. package/dist/provider-classes-CwFJ4uJU.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-D4vZ_aE6.js";
2
- import { $ as renderStacksNoLongerSelected, $t as deployOptions, A as followContainerLogs, At as namedEnvAwsRegion, B as resolveRuntimeCodeMountPath, Bt as regionNeedsReconciliation, C as waitForRieReady, Cn as STATE_FILE_SUFFIX, Ct as resolveContainerRegion, Dn as listAllStateKeys, Dt as warnAwsEmulatorStateSourceHint, E as SENSITIVE_ENV_KEYS, En as listAllLockKeys, Et as taskRoleAssumedInRealAws, F as removeContainer, Ft as legacyStateBucketFallbackRegion, G as nestedOwnerOfLogicalId, Gt as withOtherIndexRemoval, H as resolveRuntimeImage, Ht as resolveEffectiveRegion, It as namedCliRegion, J as renderAllLeftOutStageStacks, Jt as annotationMessageOptions, K as partitionTopLevel, Kt as strandedProfileCredentialsNotice, L as runDetached, Lt as rawCliRegion, M as killAndDrainContainerLogs, Mt as adoptRegionFlag, N as pickFreePort, Nt as exportInferredRegionForSdk, O as ensureDockerAvailable, On as parseStateKey, Ot as workloadGetsEmulatorKeysOnly, P as pullImage, Pt as foldRegionOption, Q as renderNotInAppWarning, Qt as contextOptions, Rt as reconcileExportIndexRegion, S as invokeRie, Sn as LOCK_FILE_SUFFIX, St as realAwsException, T as DockerRunnerError, Tn as describeStateKey, Tt as stateRoleRecordIsEmulatorSide, U as describeStack, Ut as stackRegionResolver, V as resolveRuntimeFileExtension, Vt as regionShown, W as matchStacks, Wt as stateWithRegion, X as renderAmbiguousTargetStack, Xt as applyWaitFlagEnv, Y as renderAllNoTopLevelStacks, Yt as appOptions, Z as renderNoStackMatch, Zt as commonOptions, _ as probeHostGatewaySupport, _n as parseDuration, _t as localAwsEmulatorCredentials, a as materializeLayerFromArn, an as noLocalCustomResourcesOption, at as unmatchedPatterns, b as substituteImagePlaceholders, bn as cliArgParser, bt as prepareLocalLoopbackForwarder, cn as regionOption, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as stateOptions, dt as activateLocalAwsAndRoleArn, en as destroyOptions, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as useCdkBootstrapAssetsOption, ft as assertAwsEmulatorValue, g as HOST_GATEWAY_MIN_VERSION, gn as allowUnsupportedTypesOption, gt as localAwsEmulatorActive, h as layerAssetDirectory, hn as parseAssumeRoleToken, ht as keepEmulatorIssuedCredentials, i as resolveInlineCodeFilePath, in as noCfnFallbackOption, it as stacksNoLongerSelected, jt as recordEmulatorDefaultRegion, k as flushStdio, kt as emulatorDefaultRegion, l as resolveLambdaLayers, ln as skipFinalSnapshotOption, lt as stackForConstructPath, m as copyLayerTreeLastWins, mn as normalizeStartApiAssumeRole, mt as getActiveWorkloadAwsWiring$1, n as resolveTmpfsForLambda, nn as exclusivelyOption, nt as stackMatchesPattern, o as resolveLambdaTarget, on as parseContextOptions, ot as buildCdkPathIndex, p as buildContainerImage$1, pn as effectiveAssumeRoleArn, pt as attachLocalLoopbackForwarder, q as refuseStackNameRegionCollisions, qt as writeProfileCredentialsFile, r as resolveZipImagePlan, rn as guardStackRegionOptions, rt as stacksForDependency, s as extractEphemeralStorageMb, sn as parseStackRegion, st as readCdkPathOrUndefined, t as resolveLocalBuildPlan$1, tn as diffUpdatePolicyOptions, tt as selectTargetStack, u as assetPathDirs, un as stackOptions, ut as stackForPathFormTarget, v as resolveHostGatewayExtraHosts, vn as resourceTimeoutOptions, vt as mixedModeActive, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as STATE_KEY_MAX_CODE_POINTS, wt as setContainerRegion, x as tryResolveImageFnJoin, xn as parsePositiveIntegerOption, xt as profileCredentialsForWorkload, y as derivePseudoParametersFromRegion$1, yn as validateResourceTimeouts, yt as mixedModeEmulatorOverride, z as streamLogs, zt as reconcileMarkerRegionWithLegacyDefault } from "./image-plan-VU9zHTjW.js";
3
- import { C as readRecordedPrincipals, Dt as isInterruptedWaitError, Et as interruptWatchListenerCount, Ft as resourceTypeShown, G as remedyLogicalId, J as assertRegionMatch, L as VALUE_NOT_SHOWN, Nt as logicalIdShown, Tt as endCommandInterruptScope, Y as isMarkedNotGone, _ as IAM_PRINCIPAL_NAME, an as forceQuitRecoveryClause, bt as isAwsCliLiteral, cn as formatLockOwner, dn as CUSTOM_RESOURCE_RESPONSE_PREFIX, fn as DEFAULT_STATE_PREFIX, gn as injectiveKey, hn as withPasteableAwsProfile, i as withResourceDeadline, in as buildLockContentionMessage, mn as setPasteableAwsProfile, nn as UNREPRODUCIBLE_LOCK_CLAUSE, on as formatLockExpiry, pn as setPasteableAwsCaBundle, pt as runDeleteAttempt, q as RESOURCE_NOT_FOUND, rn as buildForceUnlockCommand, sn as formatLockOperation, v as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, vn as producerCoordinateKey, wt as beginCommandInterruptScope, yn as producerRecordKey } from "./resource-deadline-j2gItrpv.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-DiwszmmI.js";
2
+ import { $ as renderStacksNoLongerSelected, $t as deployOptions, A as followContainerLogs, At as namedEnvAwsRegion, B as resolveRuntimeCodeMountPath, Bt as regionNeedsReconciliation, C as waitForRieReady, Cn as STATE_FILE_SUFFIX, Ct as resolveContainerRegion, Dn as listAllStateKeys, Dt as warnAwsEmulatorStateSourceHint, E as SENSITIVE_ENV_KEYS, En as listAllLockKeys, Et as taskRoleAssumedInRealAws, F as removeContainer, Ft as legacyStateBucketFallbackRegion, G as nestedOwnerOfLogicalId, Gt as withOtherIndexRemoval, H as resolveRuntimeImage, Ht as resolveEffectiveRegion, It as namedCliRegion, J as renderAllLeftOutStageStacks, Jt as annotationMessageOptions, K as partitionTopLevel, Kt as strandedProfileCredentialsNotice, L as runDetached, Lt as rawCliRegion, M as killAndDrainContainerLogs, Mt as adoptRegionFlag, N as pickFreePort, Nt as exportInferredRegionForSdk, O as ensureDockerAvailable, On as parseStateKey, Ot as workloadGetsEmulatorKeysOnly, P as pullImage, Pt as foldRegionOption, Q as renderNotInAppWarning, Qt as contextOptions, Rt as reconcileExportIndexRegion, S as invokeRie, Sn as LOCK_FILE_SUFFIX, St as realAwsException, T as DockerRunnerError, Tn as describeStateKey, Tt as stateRoleRecordIsEmulatorSide, U as describeStack, Ut as stackRegionResolver, V as resolveRuntimeFileExtension, Vt as regionShown, W as matchStacks, Wt as stateWithRegion, X as renderAmbiguousTargetStack, Xt as applyWaitFlagEnv, Y as renderAllNoTopLevelStacks, Yt as appOptions, Z as renderNoStackMatch, Zt as commonOptions, _ as probeHostGatewaySupport, _n as parseDuration, _t as localAwsEmulatorCredentials, a as materializeLayerFromArn, an as noLocalCustomResourcesOption, at as unmatchedPatterns, b as substituteImagePlaceholders, bn as cliArgParser, bt as prepareLocalLoopbackForwarder, cn as regionOption, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as stateOptions, dt as activateLocalAwsAndRoleArn, en as destroyOptions, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as useCdkBootstrapAssetsOption, ft as assertAwsEmulatorValue, g as HOST_GATEWAY_MIN_VERSION, gn as allowUnsupportedTypesOption, gt as localAwsEmulatorActive, h as layerAssetDirectory, hn as parseAssumeRoleToken, ht as keepEmulatorIssuedCredentials, i as resolveInlineCodeFilePath, in as noCfnFallbackOption, it as stacksNoLongerSelected, jt as recordEmulatorDefaultRegion, k as flushStdio, kt as emulatorDefaultRegion, l as resolveLambdaLayers, ln as skipFinalSnapshotOption, lt as stackForConstructPath, m as copyLayerTreeLastWins, mn as normalizeStartApiAssumeRole, mt as getActiveWorkloadAwsWiring$1, n as resolveTmpfsForLambda, nn as exclusivelyOption, nt as stackMatchesPattern, o as resolveLambdaTarget, on as parseContextOptions, ot as buildCdkPathIndex, p as buildContainerImage$1, pn as effectiveAssumeRoleArn, pt as attachLocalLoopbackForwarder, q as refuseStackNameRegionCollisions, qt as writeProfileCredentialsFile, r as resolveZipImagePlan, rn as guardStackRegionOptions, rt as stacksForDependency, s as extractEphemeralStorageMb, sn as parseStackRegion, st as readCdkPathOrUndefined, t as resolveLocalBuildPlan$1, tn as diffUpdatePolicyOptions, tt as selectTargetStack, u as assetPathDirs, un as stackOptions, ut as stackForPathFormTarget, v as resolveHostGatewayExtraHosts, vn as resourceTimeoutOptions, vt as mixedModeActive, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as STATE_KEY_MAX_CODE_POINTS, wt as setContainerRegion, x as tryResolveImageFnJoin, xn as parsePositiveIntegerOption, xt as profileCredentialsForWorkload, y as derivePseudoParametersFromRegion$1, yn as validateResourceTimeouts, yt as mixedModeEmulatorOverride, z as streamLogs, zt as reconcileMarkerRegionWithLegacyDefault } from "./image-plan-hSzmMXmK.js";
3
+ import { C as readRecordedPrincipals, Dt as interruptWatchListenerCount, Et as endCommandInterruptScope, G as remedyLogicalId, It as resourceTypeShown, J as RESOURCE_NOT_FOUND, L as VALUE_NOT_SHOWN, Ot as isInterruptedWaitError, Pt as logicalIdShown, Tt as beginCommandInterruptScope, X as isMarkedNotGone, Y as assertRegionMatch, _ as IAM_PRINCIPAL_NAME, _n as injectiveKey, an as buildLockContentionMessage, bn as producerRecordKey, cn as formatLockOperation, fn as CUSTOM_RESOURCE_RESPONSE_PREFIX, gn as withPasteableAwsProfile, hn as setPasteableAwsProfile, i as withResourceDeadline, in as buildForceUnlockCommand, ln as formatLockOwner, mn as setPasteableAwsCaBundle, mt as runDeleteAttempt, on as forceQuitRecoveryClause, pn as DEFAULT_STATE_PREFIX, q as DriftReadRefusedError, rn as UNREPRODUCIBLE_LOCK_CLAUSE, sn as formatLockExpiry, v as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, xt as isAwsCliLiteral, yn as producerCoordinateKey } from "./resource-deadline-CKaftDB_.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-C4kIC51Z.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-BN4tRwp9.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-ZjhMP0A2.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-CcCQuSZx.js";
7
7
  import { a as getAssumedRoleCredentials, c as setAssumedRoleCredentials, h as formatAuthority, l as setAwsEndpointOverrideSource, m as runInStackAwsScope, n as awsClientDefaults, r as awsEndpointOverrideActive, s as runWithRealAws } from "./aws-client-defaults-DAebi99J.js";
8
- import { $ as legacyPlanAssetCount, A as getLegacyStateBucketName, B as resolveUseCdkBootstrapAssets, C as getDockerCmd, D as Synthesizer, E as abortInFlightMultipartUploads, F as resolveSkipPrefix, G as MIGRATE_TMP_PREFIX, H as warnDeprecatedNoPrefixCliFlag, I as resolveStateBucketWithDefault, J as refuseFailedLookups, K as findLargeInlineResources, L as resolveStateBucketWithDefaultAndSource, M as resolveApp, N as resolveAutoAssetStorage, O as synthesisStatusMessage, P as resolveCaptureObservedState, Q as createLegacyAssetParameterBinder, R as resolveStateBucketWithSource, S as formatDockerLoginError, T as runDockerStreaming, U as CFN_TEMPLATE_BODY_LIMIT, V as stateBucketExistenceConfirmed, W as CFN_TEMPLATE_URL_LIMIT, X as StageLoadError, Y as AssemblyReader, Z as bindLegacyStackAssetParameters, _ as finchSecretArgvRefusal, a as isLockInfoExpired, b as isDockerClientEnvKey, c as buildDockerImage, d as describeDockerExecFailure, et as predictedAutoCreatedAssetMode, f as describeDockerFailure, g as dockerSpawnEnvWithSensitive, h as redactDockerArgvValues, i as LockManager, it as setChildProcessAwsEnv, j as loadCdkJson, k as getDefaultStateBucketName, l as resolveDockerContextDirectory, m as redactedDockerCause, nt as CdkToolkitBucketMissingError, o as AssetPublisher, p as redactedCause, q as uploadCfnTemplate, r as DagBuilder, rt as processStackMessages, s as WorkGraph, t as DiffCalculator, tt as prepareLegacyStackAssets, v as partitionSensitiveEnv, w as runDockerForeground, x as isMalformedEnvKey, y as warnFinchArgvExposure, z as resolveUpdatePolicy } from "./diff-calculator-CIuzHmBn.js";
9
- import { $a as IntrinsicFunctionResolver, $i as secretNamedRecordNeedles, $n as canonicalizeIpProtocolValue, $o as isImpossibleEmptyStoredAttribute, $r as namesAnyDeclaredParameter, $s as refuseMalformedResourceEntriesForDeploy, $t as displacedPhysicalIdShown, A as recordedProtectionEvidence, Aa as isCustomResourceType$1, Ac as STATE_REGION_DIVERGED, Ai as supersededHolderOf, An as findDestructiveChanges, Ar as computeImplicitDeleteEdges, As as maskedInputProof, Ba as withCustomResourceStack, Bc as JSON_LISTING_HOLE_VALUE, Bi as noEchoComparisonForTemplate, Bn as differingRemedy, Bo as lacksRecordedRefArn, Br as segmentCleanupOptions, Bs as refuseMalformedOrphanRecords, Bt as sameMove, C as pendingMovesOutOf, Ca as wouldReturnToSdkProvider, Cc as malformedLocalOutputsWarning, Ci as withStackRecords, Cn as NOECHO_MAC_KEY_ALIAS, Co as envCredentialsAreAssumedRole, Cr as isJournaledOrphan, Cs as getSettledWriteOnlyPropertyPaths, Cu as renderAssemblyPathEscape, D as findServiceTokenRefusals, Dc as refuseMalformedOutputs, Di as isSupersededResourceRecord, Dl as renderNestedTemplateTreeDefect, Dn as noEchoMacVerdict, Do as regionLessSecretName, Dr as recordUnderIdIsNotOwn, Ds as maskedPropertyFingerprintsOf, E as deferredServiceTokenWarning, Ea as customResourceResponseExpirationWarning, Ei as holdsSupersededResources, El as listNestedTemplateRows, En as noEchoMacParametersOf, Eo as producerRegionsFromState, Er as recheckFailedPlan, Eu as resolveBucketRegion, F as readProtection, Fa as customResourcesFailedWithoutApp, Fc as refuseMalformedResourcesForDeploy, Fi as gray, Fn as rollbackOrphanIds, Fo as parameterTypeMayLoseSecretIdentity, Fr as findNestedStackTypeChanges, Fs as isReadableOrphanRecord, Ft as readRefactorMarker, Ga as UNSPECIFIED_SKIP_REASON, Gc as displayLogicalId, Gi as completedReplayEntries, Gn as propertiesChangedReason, Go as keepHeldTokenProvenance, Gr as nameScopeOf, Gs as unreadableOrphanRecords, H as readStreamPolicy, Ha as CloudControlProvider, Hc as withheldAccountClause, Hi as noEchoParameterNamesOf, Hn as looselyEqual, Hr as orphanNeedsIdentity, Hs as refuseMalformedOrphansForOrphan, Ht as macWriteOnlyKeys, Ia as customResourcesRunWithoutApp, Ic as refuseMalformedResourcesForDestroy, Ii as green, In as withMovedTo, Io as AWS_NO_VALUE, Is as malformedOrphanRecordsRefusalMessage, It as readRefactorMarkerOnce, Ja as deleteSkipReason, Jc as findActionableSdkUnwired, Ji as namingSecretsWithRecordedNoEcho, Jl as getDockerImageBySourceHash, Jr as retiredNameGenerationsLeaving, Js as malformedLocalResourcesWarning, Ka as deleteIndeterminateGuards, Kc as hasReadableOutputs, Ki as journaledOrphanPrintingBag, Kl as rewriteTemplateAssetReferences, Kn as proposeRenames, Kr as retiredAfterRollback, Ks as isReadableResourceEntry, La as localCustomResourceCommand, Lc as refuseMalformedResourcesForExport, Li as red, Ll as buildAssetRedirectMap, Ln as changedReferenceInDiff, Lo as cfnRefValueFromPhysicalId, Ls as malformedOrphanRecordsWarning, Lt as refactorMarkerMovesOf, M as PROTECTION_PROPERTY_BY_TYPE, Ma as withPrintingSecrets, Mc as malformedRenderedContainersWarning, Mi as withoutSuperseded, Ml as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Mn as findRefactorHints, Mr as readsRegeneratingSecret, Ms as declaresNoEcho, N as isProtectionValueActive, Na as NO_LOCAL_CUSTOM_RESOURCES_FLAG, Nc as malformedResourcesWarning, Ni as bold, Nn as hintSidesOf, No as coerceParameterTypedValue, Nr as resolveReplacementOldType, Ns as maskedPropertyFingerprint, Nt as keptForRetainedRecord, O as serviceTokenBlockingReason, Oa as TemplateNoEchoReresolver, Oc as refuseMalformedOutputsForDestroy, Oi as supersededAfterRollback, Ol as templateIdentity, On as noEchoValueMacsOf, Or as replacementNeverSwapped, P as perType, Pc as malformedStateRefusalMessage, Pi as cyan, Pl as decodeListingKey, Pn as movedToHint, Po as isUnboundTemplateParameter, Pr as withPreviousPolicies, Ps as deployRefusesOrphanRowsReason, Pt as recordRetainedForReadoption, Qo as getAccountInfo, Qr as computeParameterTaint, Qs as refuseMalformedResourceEntries, Qt as displacedOpClause, Rc as refuseMalformedState, Ri as yellow, Rl as createAssetRedirectResolver, Rn as changedReferencePath, Ro as isStalePlaceholderArnAttribute, Rs as malformedOrphanRowsKeptWarning, Rt as refactorMarkerRefusalMessage, S as hasPendingMovesOut, Sa as isCustomResource, Sc as malformedExportSourceWarning, Sn as crossStackReadsForPartialSave, So as callerEnvCredentials, Sr as demoteSupersededOrphans, T as refusePendingMovesOut, Ta as applyCustomResourceResponseExpiration, Tc as malformedOutputsWarning, Ti as deleteSupersededEntry, Tl as isAbsoluteAssetPath, Tn as noEchoMacBinding, To as classifyReplaySecretRegion, Tr as planFailedOps, Ts as tryGetTopLevelWriteOnlyProperties, Uc as STATE_RESOURCES_MALFORMED, Ui as withAttemptedItemsMasked, Ul as loadPublishableAssetManifest, Un as mappingPairs, Ur as nameGenerationCarriedFrom, Us as repairMalformedOrphanRecordsForReadOnly, Ut as readsOnlyNoEchoParameters, Vc as accountArgs, Vi as noEchoExactEchoLeavesOf, Vn as isPairableType, Vo as lacksRecordedTableArn, Vr as removeProtectionTypeList, Vs as refuseMalformedOrphanRecordsForDestroy, Vt as updateRefactorMarker, Wa as RollbackInlinePolicyWriters, Wc as UNREADABLE_RESOURCES_MAP_ROW, Wi as createReadOnlyAttributeHealerFactory, Wn as parseMappingFile, Wr as nameGenerationHighWaterOf, Ws as unpreviewableOrphanRecords, Wt as formatResourceLine, Xa as getReadOnlyPropertyPaths, Xi as secretNamePrintingBag, Xs as malformedScrubResourceEntriesRefusalMessage, Xt as resolvePendingCloudControlRequests, Yc as findHandledUnwrittenCreateOnly, Yi as orphanRecordsPrintingBag, Yn as stripSiblingOwnedSgRules, Yo as recordedReferenceRegions, Yr as withNameGenerationReached, Ys as malformedResourceEntriesWarning, Yt as pendingRequestCount, Za as isWaitAbandonedError, Zc as unwrittenCreateOnlyReplacement, Zi as secretNamePrintingBags, Zr as inheritProducerRegions, Zs as refuseMalformedResourceAttributesForOrphan, Zt as NESTED_PENDING_PARENT_REASON, _ as conditionFingerprint, _c as malformedOrphansWarning, _i as DEFAULT_RESOURCE_TIMEOUT_MS, _l as isNotImplemented, _n as makeForeignHolderScan, _o as isIamRoleArn, _s as renderStatefulReason, _u as ownValue, a as scanActiveConsumers, aa as ccRoutedFinalSnapshotError, ac as unreadableResourceEntries, ai as secretBearing, al as S3StateBackend, an as revertedNestedRowIds, ar as settleUnsettledPrevious, au as getBootstrapMarkerKey, b as readRecordedConditionVerdicts, ba as ProviderRegistry, bc as repairMalformedOrphansForReadOnly, bl as isSecretValuedAttribute, bn as DeploymentEventsReader, bo as AWS_CREDENTIAL_ENV_KEYS, br as planRollback, bu as describeFileReadFailure, c as nestedSsmNameDeferredNote, ca as isFinalSnapshotError, ci as carriedExportAliasExposure, cl as readOnlyStateVersionOf, cn as getCurrentNestedStackContext, co as secretSegmentsOfState, cr as equalModuloMarkedMask, cu as validateAssetBucketName, d as slashedSsmNameHealAdoptedNote, da as createPreDeleteFinalSnapshot, dc as refuseMalformedResourcePropertiesForExport, di as isWholeDynamicReferenceValue, dl as rebuildClientForBucketRegion, dn as dropFailedCommands, do as producerLookupOver, dr as updatePartialMessage, ds as findReplacedReadersOfRecreateTargets, ea as stateSecretNameNeedles, ec as refuseMalformedResourceEntriesForDestroy, ei as reachableDivergentParameters, en as dropSettledNestedJournals, eo as isSelectOutOfBounds, er as replayFailedOperations, es as carriesFetchableDynamicReference, eu as AssetModeResolver, f as slashedSsmNameHealNote, fa as buildFinalSnapshotIdentifier, fc as refuseMalformedResourcePropertiesForOrphan, fi as noEchoParameterValueSeed, fl as CrossPrefixReadError, fn as dropFailedHint, fo as refuseUnreadableCdkCrossAccountRefs, fr as updatePartialReason, g as makeCanonicalizePropertiesFn, ga as stripSiblingOwnedMembers, gc as malformedOrphansRefusalMessage, gi as bindingSkippedOutputs, gl as isAccessDenied, gn as sameJournaledOrphans, go as explicitRoleArnOrThrow, gr as ledgerForStack, gs as isStatefulRecreateTargetSync, gu as nullPrototypeRecord, h as inheritedProvenanceForChildDiff, hc as hasReadableOrphans, hi as isExportAliasCollision, hl as crossPrefixDeniedWarning, hn as loadJournaledOrphans, ho as assertSendableRoleArn, hs as isStatefulRecreateTargetForReplace, hu as hasPlainPrototype, i as mergeNoChangeOutputs, ia as PRE_DELETE_SNAPSHOT_TYPES, ic as repairMalformedResourceEntriesForReadOnly, ii as exportAliasCollisionScrubWarning, il as TemplateParser, ir as recordAfterRollbackUpdate, is as withSharedDrainBudget, iu as isCrossRegionRedirect, j as recordedProtectionNote, jc as refuseDivergentRecordRegionForDestroy, ji as supersededResourcesOf, jl as ssmResolvedValueType, jn as formatDestructiveChange, jr as attemptUsesCompletedCreate, k as diffSecurity, ka as readsNoEchoDeleteValues, kc as repairMalformedOutputsForReadOnly, ki as supersededHeldByOtherTypeWarning, kn as constructPathOf$1, kr as IMPLICIT_DELETE_DEPENDENCIES, ks as parameterInputsFor, l as nestedSsmNameRowNote, la as refusesFinalSnapshot, lc as refuseMalformedResourcePropertiesForDestroy, li as exportNameNoEchoParameters, ll as hasReasonlessBaselineRefusal, ln as withNestedStackContext, lo as withSecretPhysicalIdsMaskedInState, lr as equalModuloMask, lu as validateContainerRepoName, m as crossStackOutputProvenanceSource, mc as UNREADABLE_ORPHANS_CONTAINER_ROW, mi as collectPublishedOutputNames, ml as applyCrossPrefixScan, mn as journaledOrphanLines, mo as assertFlagRoleArn, mr as replacementCreateRoutesToCloudControl, ms as MULTI_REGION_RECREATE_BLOCKED_TYPES, mu as hasOwnKey, n as isSecretBearingReferenceString, na as extractDeploymentEventError, nc as refuseMalformedResourceEntriesForImportSave, ni as WITHHELD_NAME_DISPLAY, nl as hasNoCloudControlHandlers, nn as nestedChildStackName$1, no as poisonRenderedSpellingsCollidingIn, nr as DELETED_RESOURCE_REMEDY, ns as carriesDynamicReference, nu as buildDenyExternalAccessPolicy, o as inRunStackKey, oa as ccRoutedInstanceTakesNoSnapshot, oc as malformedDriftResourcePropertiesWarning, oi as secretBearingStateKeyWarning, ol as splitImportedOps, on as withNestedRevertRun, or as withUnprovenUnsettled, os as INTRINSIC_KEYS, ou as parseBootstrapMarker, p as slashedSsmNameHealPendingNote, pc as repairMalformedResourcePropertiesForReadOnly, pi as collectDeclaredOutputNames, pl as CrossPrefixScanCache, pn as isHandledOrphan, po as applyRoleArnIfSet, pr as findUpdatePolicyReplacementRefusals, ps as shownType, pu as defineOwnKey, q as streamPolicyMatchesDeclared, qa as deleteLeftInPlace, qc as hasReadableResources, qi as maskEventTextWithBoundBags, ql as AssetManifestLoader, qn as referencedLogicalIds, qo as recordedOutputReferenceRegions, qr as retiredNameGenerationsAfter, qs as malformedLocalResourceEntriesWarning, r as keptWholeReasonText, ra as ATOMIC_FINAL_SNAPSHOT_TYPES, rc as refuseMalformedResourceEntriesForOrphan, ri as displayTextOrWithheld, rl as PROPERTY_COVERAGE_BY_TYPE, rn as recordDisplacedSkips, ro as stackIdTailOf, rr as buildReadCurrentStateContext, rs as keepsSecretReferenceToken, ru as assertAssetBucketRegion, s as checkNestedSsmNames, sa as effectiveDeletionPolicy, sc as malformedResourcePropertiesWarning, si as secretSafeKeyDisplay, sn as collectNestedChildUnaddressed, so as secretPhysicalIdSegment, sr as calculateResourceDrift, su as readBootstrapMarkerBody, t as DeployEngine, ta as storedSecretNameNeedles, tc as refuseMalformedResourceEntriesForImport, ti as resourcesNamingDeclaredParameter, tl as NO_CC_HANDLERS_REASON, to as isAlwaysLiveAttribute, tr as replayRollback, ts as isNamelessDynamicReferenceError, tu as ensureAssetStorage, u as healSlashedSsmParameterNames, ua as unsupportedFinalSnapshotError, uc as refuseMalformedResourcePropertiesForDrift, ui as exportNameSecretExposure, ul as hasUnverifiableParameterRefusal, un as deleteJournaledOrphans, uo as resolveDynamicReferences, ur as undeclaredEmptyObservedKeys, uu as BOOTSTRAP_MARKER_PREFIX, v as conditionInputsFrom, vc as refuseMalformedOrphans, vi as DEFAULT_RESOURCE_WARN_AFTER_MS, vl as stackInstanceIdOf, vn as makeSiblingClaimReader, vo as parseIamRoleArn, vr as withCreateTokenLedger, w as pendingMovesRefusalMessage, wa as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, wc as malformedOutputsRefusalMessage, wl as findNestedTemplateTreeDefect, wn as createNoEchoValueMacs, wo as classifyRecordedSecretRegion, wr as isReplacementOrphan, ws as getTopLevelKeysHoldingUnreadableCreateOnly, wu as resolveAssemblyPath, x as childTemplateLoader, xa as ccBrokenReason, xc as malformedExportNamesWarning, xi as destroyStackRecordsView, xl as isSensitiveAttributeName, xn as DeploymentEventsStore, xo as applyCallerIdentityCredentials, xr as seedsDeleteFirstGuard, xu as displayAssemblyPath, y as parentSuppliedValues, ya as CC_BROKEN_REASON, yc as refuseMalformedOrphansForDestroy, yi as maskingRetryLogger, yl as withStackInstanceIdWithheld, yn as planOrphanAdoption, yo as sendableAssumeRoleCommand, za as setLocalCustomResourceRuntimeEnabled, zc as repairMalformedResourcesForReadOnly, zi as noEchoAttributeNamesOf, zl as createLazyAssetModeContext, zn as changedReferenceReason, zo as refStateLookupFromResource, zs as previewableOrphanRecords, zt as refuseRefactorMarker } from "./deploy-engine-2R2hbP5Y.js";
8
+ import { $ as legacyPlanAssetCount, A as getLegacyStateBucketName, B as resolveUseCdkBootstrapAssets, C as getDockerCmd, D as Synthesizer, E as abortInFlightMultipartUploads, F as resolveSkipPrefix, G as MIGRATE_TMP_PREFIX, H as warnDeprecatedNoPrefixCliFlag, I as resolveStateBucketWithDefault, J as refuseFailedLookups, K as findLargeInlineResources, L as resolveStateBucketWithDefaultAndSource, M as resolveApp, N as resolveAutoAssetStorage, O as synthesisStatusMessage, P as resolveCaptureObservedState, Q as createLegacyAssetParameterBinder, R as resolveStateBucketWithSource, S as formatDockerLoginError, T as runDockerStreaming, U as CFN_TEMPLATE_BODY_LIMIT, V as stateBucketExistenceConfirmed, W as CFN_TEMPLATE_URL_LIMIT, X as StageLoadError, Y as AssemblyReader, Z as bindLegacyStackAssetParameters, _ as finchSecretArgvRefusal, a as isLockInfoExpired, b as isDockerClientEnvKey, c as buildDockerImage, d as describeDockerExecFailure, et as predictedAutoCreatedAssetMode, f as describeDockerFailure, g as dockerSpawnEnvWithSensitive, h as redactDockerArgvValues, i as LockManager, it as setChildProcessAwsEnv, j as loadCdkJson, k as getDefaultStateBucketName, l as resolveDockerContextDirectory, m as redactedDockerCause, nt as CdkToolkitBucketMissingError, o as AssetPublisher, p as redactedCause, q as uploadCfnTemplate, r as DagBuilder, rt as processStackMessages, s as WorkGraph, t as DiffCalculator, tt as prepareLegacyStackAssets, v as partitionSensitiveEnv, w as runDockerForeground, x as isMalformedEnvKey, y as warnFinchArgvExposure, z as resolveUpdatePolicy } from "./diff-calculator-Bjr0sh-h.js";
9
+ import { $o as getAccountInfo, $r as computeParameterTaint, $s as refuseMalformedResourceEntries, $t as displacedPhysicalIdShown, A as recordedProtectionEvidence, Aa as readsNoEchoDeleteValues, Ac as repairMalformedOutputsForReadOnly, Ai as supersededHeldByOtherTypeWarning, An as findDestructiveChanges, Ar as IMPLICIT_DELETE_DEPENDENCIES, As as parameterInputsFor, Ba as setLocalCustomResourceRuntimeEnabled, Bc as repairMalformedResourcesForReadOnly, Bi as noEchoAttributeNamesOf, Bl as createLazyAssetModeContext, Bn as differingRemedy, Bo as refStateLookupFromResource, Bs as previewableOrphanRecords, Bt as sameMove, C as pendingMovesOutOf, Ca as isCustomResource, Cc as malformedExportSourceWarning, Cn as NOECHO_MAC_KEY_ALIAS, Co as callerEnvCredentials, Cr as demoteSupersededOrphans, D as findServiceTokenRefusals, Da as customResourceResponseExpirationWarning, Di as holdsSupersededResources, Dl as listNestedTemplateRows, Dn as noEchoMacVerdict, Do as producerRegionsFromState, Dr as recheckFailedPlan, Du as resolveBucketRegion, E as deferredServiceTokenWarning, Ea as applyCustomResourceResponseExpiration, Ec as malformedOutputsWarning, Ei as deleteSupersededEntry, El as isAbsoluteAssetPath, En as noEchoMacParametersOf, Eo as classifyReplaySecretRegion, Er as planFailedOps, Es as tryGetTopLevelWriteOnlyProperties, F as readProtection, Fc as malformedStateRefusalMessage, Fi as cyan, Fl as decodeListingKey, Fn as rollbackOrphanIds, Fo as isUnboundTemplateParameter, Fr as withPreviousPolicies, Fs as deployRefusesOrphanRowsReason, Ft as readRefactorMarker, Ga as RollbackInlinePolicyWriters, Gc as UNREADABLE_RESOURCES_MAP_ROW, Gi as createReadOnlyAttributeHealerFactory, Gn as propertiesChangedReason, Gr as nameGenerationHighWaterOf, Gs as unpreviewableOrphanRecords, H as readStreamPolicy, Hc as accountArgs, Hi as noEchoExactEchoLeavesOf, Hn as looselyEqual, Ho as lacksRecordedTableArn, Hr as removeProtectionTypeList, Hs as refuseMalformedOrphanRecordsForDestroy, Ht as macWriteOnlyKeys, Ia as customResourcesFailedWithoutApp, Ic as refuseMalformedResourcesForDeploy, Ii as gray, In as withMovedTo, Io as parameterTypeMayLoseSecretIdentity, Ir as findNestedStackTypeChanges, Is as isReadableOrphanRecord, It as readRefactorMarkerOnce, Ja as deleteLeftInPlace, Jc as hasReadableResources, Ji as maskEventTextWithBoundBags, Jl as AssetManifestLoader, Jn as siblingOwnedRevertDesired, Jo as recordedOutputReferenceRegions, Jr as retiredNameGenerationsAfter, Js as malformedLocalResourceEntriesWarning, Ka as UNSPECIFIED_SKIP_REASON, Kc as displayLogicalId, Ki as completedReplayEntries, Kn as proposeRenames, Ko as keepHeldTokenProvenance, Kr as nameScopeOf, Ks as unreadableOrphanRecords, La as customResourcesRunWithoutApp, Lc as refuseMalformedResourcesForDestroy, Li as green, Ln as changedReferenceInDiff, Lo as AWS_NO_VALUE, Ls as malformedOrphanRecordsRefusalMessage, Lt as refactorMarkerMovesOf, M as PROTECTION_PROPERTY_BY_TYPE, Mc as refuseDivergentRecordRegionForDestroy, Mi as supersededResourcesOf, Ml as ssmResolvedValueType, Mn as findRefactorHints, Mr as attemptUsesCompletedCreate, N as isProtectionValueActive, Na as withPrintingSecrets, Nc as malformedRenderedContainersWarning, Ni as withoutSuperseded, Nl as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Nn as hintSidesOf, Nr as readsRegeneratingSecret, Ns as declaresNoEcho, Nt as keptForRetainedRecord, O as serviceTokenBlockingReason, Oc as refuseMalformedOutputs, Oi as isSupersededResourceRecord, Ol as renderNestedTemplateTreeDefect, On as noEchoValueMacsOf, Oo as regionLessSecretName, Or as recordUnderIdIsNotOwn, Os as maskedPropertyFingerprintsOf, P as perType, Pa as NO_LOCAL_CUSTOM_RESOURCES_FLAG, Pc as malformedResourcesWarning, Pi as bold, Pn as movedToHint, Po as coerceParameterTypedValue, Pr as resolveReplacementOldType, Ps as maskedPropertyFingerprint, Pt as recordRetainedForReadoption, Qa as isWaitAbandonedError, Qc as unwrittenCreateOnlyReplacement, Qi as secretNamePrintingBags, Qr as inheritProducerRegions, Qs as refuseMalformedResourceAttributesForOrphan, Qt as displacedOpClause, Ra as localCustomResourceCommand, Rc as refuseMalformedResourcesForExport, Ri as red, Rl as buildAssetRedirectMap, Rn as changedReferencePath, Ro as cfnRefValueFromPhysicalId, Rs as malformedOrphanRecordsWarning, Rt as refactorMarkerRefusalMessage, S as hasPendingMovesOut, Sa as ccBrokenReason, Sc as malformedExportNamesWarning, Si as destroyStackRecordsView, Sl as isSensitiveAttributeName, Sn as crossStackReadsForPartialSave, So as applyCallerIdentityCredentials, Sr as seedsDeleteFirstGuard, Su as displayAssemblyPath, T as refusePendingMovesOut, Ta as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, Tc as malformedOutputsRefusalMessage, Tl as findNestedTemplateTreeDefect, Tn as noEchoMacBinding, To as classifyRecordedSecretRegion, Tr as isReplacementOrphan, Ts as getTopLevelKeysHoldingUnreadableCreateOnly, Tu as resolveAssemblyPath, Ua as CloudControlProvider, Uc as withheldAccountClause, Ui as noEchoParameterNamesOf, Un as mappingPairs, Ur as orphanNeedsIdentity, Us as refuseMalformedOrphansForOrphan, Ut as readsOnlyNoEchoParameters, Va as withCustomResourceStack, Vc as JSON_LISTING_HOLE_VALUE, Vi as noEchoComparisonForTemplate, Vn as isPairableType, Vo as lacksRecordedRefArn, Vr as segmentCleanupOptions, Vs as refuseMalformedOrphanRecords, Vt as updateRefactorMarker, Wc as STATE_RESOURCES_MALFORMED, Wi as withAttemptedItemsMasked, Wl as loadPublishableAssetManifest, Wn as parseMappingFile, Wr as nameGenerationCarriedFrom, Ws as repairMalformedOrphanRecordsForReadOnly, Wt as formatResourceLine, Xc as findHandledUnwrittenCreateOnly, Xi as orphanRecordsPrintingBag, Xo as recordedReferenceRegions, Xr as withNameGenerationReached, Xs as malformedResourceEntriesWarning, Xt as resolvePendingCloudControlRequests, Ya as deleteSkipReason, Yc as findActionableSdkUnwired, Yi as namingSecretsWithRecordedNoEcho, Yl as getDockerImageBySourceHash, Yn as stripSiblingOwnedParentMembers, Yr as retiredNameGenerationsLeaving, Ys as malformedLocalResourcesWarning, Yt as pendingRequestCount, Za as getReadOnlyPropertyPaths, Zi as secretNamePrintingBag, Zs as malformedScrubResourceEntriesRefusalMessage, Zt as NESTED_PENDING_PARENT_REASON, _ as conditionFingerprint, _c as malformedOrphansRefusalMessage, _i as bindingSkippedOutputs, _l as isAccessDenied, _n as makeForeignHolderScan, _o as explicitRoleArnOrThrow, _r as ledgerForStack, _s as isStatefulRecreateTargetSync, _u as nullPrototypeRecord, a as scanActiveConsumers, aa as PRE_DELETE_SNAPSHOT_TYPES, ac as repairMalformedResourceEntriesForReadOnly, ai as exportAliasCollisionScrubWarning, al as TemplateParser, an as revertedNestedRowIds, ar as recordAfterRollbackUpdate, as as withSharedDrainBudget, au as isCrossRegionRedirect, b as readRecordedConditionVerdicts, ba as CC_BROKEN_REASON, bc as refuseMalformedOrphansForDestroy, bi as maskingRetryLogger, bl as withStackInstanceIdWithheld, bn as DeploymentEventsReader, bo as sendableAssumeRoleCommand, c as nestedSsmNameDeferredNote, ca as effectiveDeletionPolicy, cc as malformedResourcePropertiesWarning, ci as secretSafeKeyDisplay, cn as getCurrentNestedStackContext, co as secretPhysicalIdSegment, cr as calculateResourceDrift, cu as readBootstrapMarkerBody, d as slashedSsmNameHealAdoptedNote, da as unsupportedFinalSnapshotError, dc as refuseMalformedResourcePropertiesForDrift, di as exportNameSecretExposure, dl as hasUnverifiableParameterRefusal, dn as dropFailedCommands, do as resolveDynamicReferences, dr as undeclaredEmptyObservedKeys, du as BOOTSTRAP_MARKER_PREFIX, ea as secretNamedRecordNeedles, ec as refuseMalformedResourceEntriesForDeploy, ei as namesAnyDeclaredParameter, en as dropSettledNestedJournals, eo as IntrinsicFunctionResolver, er as canonicalizeIpProtocolValue, es as isImpossibleEmptyStoredAttribute, f as slashedSsmNameHealNote, fa as createPreDeleteFinalSnapshot, fc as refuseMalformedResourcePropertiesForExport, fi as isWholeDynamicReferenceValue, fl as rebuildClientForBucketRegion, fn as dropFailedHint, fo as producerLookupOver, fr as updatePartialMessage, fs as findReplacedReadersOfRecreateTargets, g as makeCanonicalizePropertiesFn, gc as hasReadableOrphans, gi as isExportAliasCollision, gl as crossPrefixDeniedWarning, gn as sameJournaledOrphans, go as assertSendableRoleArn, gs as isStatefulRecreateTargetForReplace, gu as hasPlainPrototype, h as inheritedProvenanceForChildDiff, hc as UNREADABLE_ORPHANS_CONTAINER_ROW, hi as collectPublishedOutputNames, hl as applyCrossPrefixScan, hn as loadJournaledOrphans, ho as assertFlagRoleArn, hr as replacementCreateRoutesToCloudControl, hs as MULTI_REGION_RECREATE_BLOCKED_TYPES, hu as hasOwnKey, i as mergeNoChangeOutputs, ia as ATOMIC_FINAL_SNAPSHOT_TYPES, ic as refuseMalformedResourceEntriesForOrphan, ii as displayTextOrWithheld, il as PROPERTY_COVERAGE_BY_TYPE, io as stackIdTailOf, ir as buildReadCurrentStateContext, is as keepsSecretReferenceToken, iu as assertAssetBucketRegion, j as recordedProtectionNote, ja as isCustomResourceType$1, jc as STATE_REGION_DIVERGED, ji as supersededHolderOf, jn as formatDestructiveChange, jr as computeImplicitDeleteEdges, js as maskedInputProof, k as diffSecurity, ka as TemplateNoEchoReresolver, kc as refuseMalformedOutputsForDestroy, ki as supersededAfterRollback, kl as templateIdentity, kn as constructPathOf$1, kr as replacementNeverSwapped, l as nestedSsmNameRowNote, la as isFinalSnapshotError, li as carriedExportAliasExposure, ll as readOnlyStateVersionOf, ln as withNestedStackContext, lo as secretSegmentsOfState, lr as equalModuloMarkedMask, lu as validateAssetBucketName, m as crossStackOutputProvenanceSource, mc as repairMalformedResourcePropertiesForReadOnly, mi as collectDeclaredOutputNames, ml as CrossPrefixScanCache, mn as journaledOrphanLines, mo as applyRoleArnIfSet, mr as findUpdatePolicyReplacementRefusals, ms as shownType, mu as defineOwnKey, n as isSecretBearingReferenceString, na as storedSecretNameNeedles, nc as refuseMalformedResourceEntriesForImport, ni as resourcesNamingDeclaredParameter, nl as NO_CC_HANDLERS_REASON, nn as nestedChildStackName$1, no as isAlwaysLiveAttribute, nr as replayRollback, ns as isNamelessDynamicReferenceError, nu as ensureAssetStorage, o as inRunStackKey, oa as ccRoutedFinalSnapshotError, oc as unreadableResourceEntries, oi as secretBearing, ol as S3StateBackend, on as withNestedRevertRun, or as settleUnsettledPrevious, ou as getBootstrapMarkerKey, p as slashedSsmNameHealPendingNote, pa as buildFinalSnapshotIdentifier, pc as refuseMalformedResourcePropertiesForOrphan, pi as noEchoParameterValueSeed, pl as CrossPrefixReadError, pn as isHandledOrphan, po as refuseUnreadableCdkCrossAccountRefs, pr as updatePartialReason, q as streamPolicyMatchesDeclared, qa as deleteIndeterminateGuards, qc as hasReadableOutputs, qi as journaledOrphanPrintingBag, ql as rewriteTemplateAssetReferences, qn as referencedLogicalIds, qr as retiredAfterRollback, qs as isReadableResourceEntry, r as keptWholeReasonText, ra as extractDeploymentEventError, rc as refuseMalformedResourceEntriesForImportSave, ri as WITHHELD_NAME_DISPLAY, rl as hasNoCloudControlHandlers, rn as recordDisplacedSkips, ro as poisonRenderedSpellingsCollidingIn, rr as DELETED_RESOURCE_REMEDY, rs as carriesDynamicReference, ru as buildDenyExternalAccessPolicy, s as checkNestedSsmNames, sa as ccRoutedInstanceTakesNoSnapshot, sc as malformedDriftResourcePropertiesWarning, si as secretBearingStateKeyWarning, sl as splitImportedOps, sn as collectNestedChildUnaddressed, sr as withUnprovenUnsettled, ss as INTRINSIC_KEYS, su as parseBootstrapMarker, t as DeployEngine, ta as stateSecretNameNeedles, tc as refuseMalformedResourceEntriesForDestroy, ti as reachableDivergentParameters, to as isSelectOutOfBounds, tr as replayFailedOperations, ts as carriesFetchableDynamicReference, tu as AssetModeResolver, u as healSlashedSsmParameterNames, ua as refusesFinalSnapshot, uc as refuseMalformedResourcePropertiesForDestroy, ui as exportNameNoEchoParameters, ul as hasReasonlessBaselineRefusal, un as deleteJournaledOrphans, uo as withSecretPhysicalIdsMaskedInState, ur as equalModuloMask, uu as validateContainerRepoName, v as conditionInputsFrom, vc as malformedOrphansWarning, vi as DEFAULT_RESOURCE_TIMEOUT_MS, vl as isNotImplemented, vn as makeSiblingClaimReader, vo as isIamRoleArn, vs as renderStatefulReason, vu as ownValue, w as pendingMovesRefusalMessage, wa as wouldReturnToSdkProvider, wc as malformedLocalOutputsWarning, wi as withStackRecords, wn as createNoEchoValueMacs, wo as envCredentialsAreAssumedRole, wr as isJournaledOrphan, ws as getSettledWriteOnlyPropertyPaths, wu as renderAssemblyPathEscape, x as childTemplateLoader, xa as ProviderRegistry, xc as repairMalformedOrphansForReadOnly, xl as isSecretValuedAttribute, xn as DeploymentEventsStore, xo as AWS_CREDENTIAL_ENV_KEYS, xr as planRollback, xu as describeFileReadFailure, y as parentSuppliedValues, yc as refuseMalformedOrphans, yi as DEFAULT_RESOURCE_WARN_AFTER_MS, yl as stackInstanceIdOf, yn as planOrphanAdoption, yo as parseIamRoleArn, yr as withCreateTokenLedger, zc as refuseMalformedState, zi as yellow, zl as createAssetRedirectResolver, zn as changedReferenceReason, zo as isStalePlaceholderArnAttribute, zs as malformedOrphanRowsKeptWarning, zt as refuseRefactorMarker } from "./deploy-engine-CilA7v8d.js";
10
10
  import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix, t as PARTITION_TABLE } from "./aws-partition-DA0r2sr-.js";
11
- import { A as withRetry, C as templateResourceTypes, G as describeJsonParseFailure, H as renderPhaseTimings, R as PhaseClock, S as prefetchCreateOnlyPropertyPaths, T as describeTypeWithThrottleRetry, U as timePhase, Y as utf8ByteLength, b as getCreateOnlyPropertyPaths, c as setResolvedResourceTimeouts, q as parseFailureDebugDetail } from "./ec2-termination-protection-DIdBlUyw.js";
12
- import { t as expectedOwnerParam } from "./expected-bucket-owner-Cm4q0WEG.js";
13
- import { Ct as isReadableBag, Et as shouldRetainResource, Ot as stackInstanceIdCarriedFrom, St as importableOutputs, Tt as orphansCarriedFrom, _t as acceptedCreateOnlyDropsOf, bt as hasReadableExportSet, gt as slowCcOperationTimeoutMs, vt as describeRegionValueKind, wt as orphansAfterRollback, xt as importableOutputKeys, yt as exportNamesCarriedFrom } from "./delete-started-xsYgmgVh.js";
14
- import { An as recordNoEchoAttributeValues, Bt as identityKeyFor, D as recordedNoEchoValuesOf, Fn as WHOLE_DYNAMIC_REFERENCE_PATTERN, Ft as keepTemplateLiteralLeaves, Ln as isSingleDynamicReferenceToken, Lt as spelledKeysOf, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, On as recordMaskOnlyValue, Ot as scrubResourceRecord, Pt as isUncertifiedBaselineMaskPosition, Rt as pathCrossesDottedKey, T as readsNoEchoSource, Tn as provenPublicValue, W as redactForState, Yt as inheritNestedStackParameterAssociations, _t as maskSecretsInText, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, ct as recordLogOnlyParameterValue, dt as shareLogOnlyValues, et as carryLogOnlyValues, f as isMarkedCoordinate, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gt as maskSecretsInError, h as maskWholeValue, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as recordNoEchoParameterFreshValue, k as valueAtCoordinate, kn as recordMaskOnlyValuesIn, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, sn as physicalNameCopiesOf, st as printingCorpusOf, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, y as noEchoLeavesOf } from "./replacement-rules-DLJ-yZz-.js";
15
- import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-BZ5CE9r9.js";
16
- import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-DD3r4tU6.js";
11
+ import { A as withRetry, C as templateResourceTypes, G as describeJsonParseFailure, H as renderPhaseTimings, R as PhaseClock, S as prefetchCreateOnlyPropertyPaths, T as describeTypeWithThrottleRetry, U as timePhase, Y as utf8ByteLength, b as getCreateOnlyPropertyPaths, c as setResolvedResourceTimeouts, q as parseFailureDebugDetail } from "./ec2-termination-protection-Gdl3Djvt.js";
12
+ import { t as expectedOwnerParam } from "./expected-bucket-owner-CIiqUDil.js";
13
+ import { Ct as isReadableBag, Et as shouldRetainResource, Ot as stackInstanceIdCarriedFrom, St as importableOutputs, Tt as orphansCarriedFrom, _t as acceptedCreateOnlyDropsOf, bt as hasReadableExportSet, gt as slowCcOperationTimeoutMs, vt as describeRegionValueKind, wt as orphansAfterRollback, xt as importableOutputKeys, yt as exportNamesCarriedFrom } from "./delete-started-joCwegKq.js";
14
+ import { An as recordNoEchoAttributeValues, Bt as identityKeyFor, D as recordedNoEchoValuesOf, Fn as WHOLE_DYNAMIC_REFERENCE_PATTERN, Ft as keepTemplateLiteralLeaves, Ln as isSingleDynamicReferenceToken, Lt as spelledKeysOf, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, On as recordMaskOnlyValue, Ot as scrubResourceRecord, Pt as isUncertifiedBaselineMaskPosition, Rt as pathCrossesDottedKey, T as readsNoEchoSource, Tn as provenPublicValue, W as redactForState, Yt as inheritNestedStackParameterAssociations, _t as maskSecretsInText, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, ct as recordLogOnlyParameterValue, dt as shareLogOnlyValues, et as carryLogOnlyValues, f as isMarkedCoordinate, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gt as maskSecretsInError, h as maskWholeValue, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as recordNoEchoParameterFreshValue, k as valueAtCoordinate, kn as recordMaskOnlyValuesIn, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, sn as physicalNameCopiesOf, st as printingCorpusOf, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, y as noEchoLeavesOf } from "./replacement-rules-BdvFwhmu.js";
15
+ import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-eOILAZqS.js";
16
+ import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-BhoeLkz2.js";
17
17
  import { t as cdkdCacheHome } from "./cache-home-BVYKj3de.js";
18
18
  import { randomBytes, randomUUID } from "node:crypto";
19
19
  import { CopyObjectCommand, CreateBucketCommand, DeleteBucketCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutBucketVersioningCommand, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
@@ -604,7 +604,7 @@ async function configureStateBucket(args) {
604
604
  }
605
605
 
606
606
  // src/cli/commands/bootstrap-noecho-mac-key.ts
607
- function errorName(error) {
607
+ function errorName$1(error) {
608
608
  const raw = error?.name;
609
609
  return typeof raw === "string" && /^[A-Za-z][A-Za-z0-9]{0,63}$/.test(raw) ? raw : "Error";
610
610
  }
@@ -656,7 +656,7 @@ async function ensureNoEchoMacKey(args) {
656
656
  return "skipped";
657
657
  }
658
658
  const failed = (step, error) => {
659
- warn(`Could not set up the NoEcho value MAC key ${NOECHO_MAC_KEY_ALIAS} in ${region} (${errorName(error)} from ${step}). Deploys keep working: a write-only property a NoEcho parameter feeds is re-sent on every deploy. Re-run ${proseQuoted(cdkdRemedy("cdkd bootstrap"))} with kms:CreateKey, kms:PutKeyPolicy, kms:CreateAlias and kms:DescribeKey to create it.`);
659
+ warn(`Could not set up the NoEcho value MAC key ${NOECHO_MAC_KEY_ALIAS} in ${region} (${errorName$1(error)} from ${step}). Deploys keep working: a write-only property a NoEcho parameter feeds is re-sent on every deploy. Re-run ${proseQuoted(cdkdRemedy("cdkd bootstrap"))} with kms:CreateKey, kms:PutKeyPolicy, kms:CreateAlias and kms:DescribeKey to create it.`);
660
660
  return "failed";
661
661
  };
662
662
  try {
@@ -668,7 +668,7 @@ async function ensureNoEchoMacKey(args) {
668
668
  warn(`${NOECHO_MAC_KEY_ALIAS} in ${region} does not name an enabled HMAC_256 key (${meta?.KeySpec ?? "unknown spec"}, ${meta?.KeyState ?? "unknown state"}), so deploys make no NoEcho value MACs. Point the alias at an enabled HMAC_256 key, or delete it and re-run ${proseQuoted(cdkdRemedy("cdkd bootstrap"))}.`);
669
669
  return "failed";
670
670
  } catch (error) {
671
- if (errorName(error) !== "NotFoundException") return failed("kms:DescribeKey", error);
671
+ if (errorName$1(error) !== "NotFoundException") return failed("kms:DescribeKey", error);
672
672
  }
673
673
  let keyId;
674
674
  try {
@@ -692,11 +692,11 @@ async function ensureNoEchoMacKey(args) {
692
692
  TargetKeyId: keyId
693
693
  }));
694
694
  } catch (error) {
695
- const name = errorName(error);
695
+ const name = errorName$1(error);
696
696
  await kms.send(new ScheduleKeyDeletionCommand({
697
697
  KeyId: keyId,
698
698
  PendingWindowInDays: 7
699
- })).catch((retireError) => warn(`Could not schedule the deletion of the unused KMS key ${keyId} in ${region} (${errorName(retireError)}); schedule it by hand: aws kms schedule-key-deletion --key-id ${keyId} --pending-window-in-days 7 --region ${region}`));
699
+ })).catch((retireError) => warn(`Could not schedule the deletion of the unused KMS key ${keyId} in ${region} (${errorName$1(retireError)}); schedule it by hand: aws kms schedule-key-deletion --key-id ${keyId} --pending-window-in-days 7 --region ${region}`));
700
700
  if (name !== "AlreadyExistsException") return failed("kms:CreateAlias", error);
701
701
  try {
702
702
  const won = (await kms.send(new DescribeKeyCommand({ KeyId: NOECHO_MAC_KEY_ALIAS }))).KeyMetadata;
@@ -1541,7 +1541,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
1541
1541
  // src/provisioning/register-providers.ts
1542
1542
  let providerClasses;
1543
1543
  function loadProviderClasses() {
1544
- providerClasses ??= import("./provider-classes-CwFJ4uJU.js");
1544
+ providerClasses ??= import("./provider-classes-KrOpD8Sp.js");
1545
1545
  return providerClasses;
1546
1546
  }
1547
1547
  function registerAllProviders(registry, classes) {
@@ -10210,6 +10210,303 @@ function canonicalizeIpProtocols(baseline, aws, resourceType) {
10210
10210
  };
10211
10211
  }
10212
10212
 
10213
+ // src/analyzer/drift-verbatim-paths.ts
10214
+ const VERBATIM_ECHO_DRIFT_KEYS = {
10215
+ "AWS::IAM::Role": ["AssumeRolePolicyDocument"],
10216
+ "AWS::IAM::Policy": ["PolicyDocument"],
10217
+ "AWS::IAM::ManagedPolicy": ["PolicyDocument"]
10218
+ };
10219
+ const NONE = [];
10220
+ function verbatimEchoDriftKeys(resourceType) {
10221
+ return Object.hasOwn(VERBATIM_ECHO_DRIFT_KEYS, resourceType) ? VERBATIM_ECHO_DRIFT_KEYS[resourceType] : NONE;
10222
+ }
10223
+
10224
+ // src/provisioning/policy-document-content.ts
10225
+ const MASK = "***";
10226
+ const PERMANENT_CDKD_CODES = /* @__PURE__ */ new Set(["ROLLBACK_SECRET_TOKEN_SCAN_MISMATCH"]);
10227
+ const MARKED_PERMANENT_CODE_PREFIXES = ["INTRINSIC_RESOLUTION_REFUSAL", "ROLLBACK_SECRET_REGION_AMBIGUOUS"];
10228
+ const NOT_FOUND_ERROR_NAMES = /* @__PURE__ */ new Set([
10229
+ "ResourceNotFoundException",
10230
+ "ParameterNotFound",
10231
+ "ParameterVersionNotFound"
10232
+ ]);
10233
+ function holdsUnresolvedValue(document) {
10234
+ let root = document;
10235
+ if (typeof document === "string") try {
10236
+ root = JSON.parse(document);
10237
+ } catch {
10238
+ root = document;
10239
+ }
10240
+ const walk = (v) => {
10241
+ if (typeof v === "string") return v === MASK || v.includes("{{resolve:");
10242
+ if (Array.isArray(v)) return v.some(walk);
10243
+ if (v !== null && typeof v === "object") return Object.values(v).some(walk);
10244
+ return false;
10245
+ };
10246
+ return walk(root);
10247
+ }
10248
+ function isPermanentResolutionError(error) {
10249
+ let current = error;
10250
+ for (let depth = 0; depth < 5 && current != null; depth++) {
10251
+ const e = current;
10252
+ if (typeof e.name === "string" && NOT_FOUND_ERROR_NAMES.has(e.name)) return true;
10253
+ if (typeof e.code === "string") {
10254
+ if (PERMANENT_CDKD_CODES.has(e.code)) return true;
10255
+ const code = e.code;
10256
+ if (MARKED_PERMANENT_CODE_PREFIXES.some((p) => code.startsWith(p)) && isMarkedNonRetryable(current)) return true;
10257
+ }
10258
+ if (typeof e.message === "string" && e.message.startsWith("Dynamic reference: ")) return true;
10259
+ current = e.cause;
10260
+ }
10261
+ return false;
10262
+ }
10263
+ function errorName(error) {
10264
+ const name = error?.name;
10265
+ return typeof name === "string" && /^[\w.-]{1,128}$/.test(name) ? name : "error";
10266
+ }
10267
+ async function attemptedPolicyDocument(recorded, resolve) {
10268
+ let document = recorded;
10269
+ if (resolve) try {
10270
+ document = await resolve();
10271
+ } catch (error) {
10272
+ return isPermanentResolutionError(error) ? {
10273
+ kind: "unusable",
10274
+ why: "a secret it references does not exist or cannot be used"
10275
+ } : {
10276
+ kind: "retry",
10277
+ errorName: errorName(error)
10278
+ };
10279
+ }
10280
+ if (!(typeof document === "string" && document.length > 0 || document !== null && typeof document === "object")) return {
10281
+ kind: "unusable",
10282
+ why: "no policy document it attempted is recorded"
10283
+ };
10284
+ if (holdsUnresolvedValue(document)) return {
10285
+ kind: "unusable",
10286
+ why: "its policy document still holds a secret reference or masked value"
10287
+ };
10288
+ return {
10289
+ kind: "document",
10290
+ document
10291
+ };
10292
+ }
10293
+ const ACCOUNT_ID = /^\d{12}$/;
10294
+ const ACCOUNT_ROOT_ARN = /^arn:[a-z-]+:iam::(\d{12}):root$/;
10295
+ const LIST_KEYS = [
10296
+ "Action",
10297
+ "NotAction",
10298
+ "Resource",
10299
+ "NotResource"
10300
+ ];
10301
+ const PRINCIPAL_KEYS = ["Principal", "NotPrincipal"];
10302
+ function unwrapSingle(value) {
10303
+ return Array.isArray(value) && value.length === 1 ? value[0] : value;
10304
+ }
10305
+ function accountKey(value) {
10306
+ if (typeof value !== "string") return value;
10307
+ if (ACCOUNT_ID.test(value)) return `account:${value}`;
10308
+ const m = ACCOUNT_ROOT_ARN.exec(value);
10309
+ return m ? `account:${m[1]}` : value;
10310
+ }
10311
+ const ANYONE = "anyone:*";
10312
+ function normalizePrincipal(principal) {
10313
+ if (principal === "*") return ANYONE;
10314
+ if (principal === null || typeof principal !== "object" || Array.isArray(principal)) return principal;
10315
+ const keys = Object.keys(principal);
10316
+ if (keys.length === 1 && keys[0] === "AWS" && unwrapSingle(principal["AWS"]) === "*") return ANYONE;
10317
+ const out = {};
10318
+ for (const [key, raw] of Object.entries(principal)) out[key] = unwrapSingle(key === "AWS" ? Array.isArray(raw) ? raw.map(accountKey) : accountKey(raw) : raw);
10319
+ return out;
10320
+ }
10321
+ function normalizeStatement(statement) {
10322
+ if (statement === null || typeof statement !== "object" || Array.isArray(statement)) return statement;
10323
+ const out = { ...statement };
10324
+ for (const key of LIST_KEYS) if (Object.prototype.hasOwnProperty.call(out, key)) out[key] = unwrapSingle(out[key]);
10325
+ for (const key of PRINCIPAL_KEYS) if (Object.prototype.hasOwnProperty.call(out, key)) out[key] = normalizePrincipal(out[key]);
10326
+ return out;
10327
+ }
10328
+ function canonicalJson(value) {
10329
+ const sortKeys = (v) => {
10330
+ if (Array.isArray(v)) return v.map(sortKeys);
10331
+ if (v !== null && typeof v === "object") {
10332
+ const out = Object.create(null);
10333
+ for (const key of Object.keys(v).sort()) out[key] = sortKeys(v[key]);
10334
+ return out;
10335
+ }
10336
+ return v;
10337
+ };
10338
+ return JSON.stringify(sortKeys(value));
10339
+ }
10340
+ function policyContentKey(document) {
10341
+ let value = document;
10342
+ if (typeof document === "string") try {
10343
+ value = JSON.parse(document);
10344
+ } catch {
10345
+ return `raw:${document}`;
10346
+ }
10347
+ if (value !== null && typeof value === "object" && !Array.isArray(value)) {
10348
+ const doc = { ...value };
10349
+ if (Object.prototype.hasOwnProperty.call(doc, "Statement")) doc["Statement"] = (Array.isArray(doc["Statement"]) ? doc["Statement"] : [doc["Statement"]]).map(normalizeStatement);
10350
+ value = doc;
10351
+ }
10352
+ return canonicalJson(value);
10353
+ }
10354
+
10355
+ // src/provisioning/settle-after-own-write.ts
10356
+ const OWN_WRITE_REREAD_DELAYS_MS = [
10357
+ 500,
10358
+ 1e3,
10359
+ 2e3
10360
+ ];
10361
+ async function reReadUntilSettled(read, settled, delaysMs) {
10362
+ let answer = await read();
10363
+ for (const delayMs of delaysMs) {
10364
+ if (settled(answer)) return {
10365
+ answer,
10366
+ settled: true
10367
+ };
10368
+ await new Promise((resolve) => setTimeout(resolve, delayMs));
10369
+ answer = await read();
10370
+ }
10371
+ return {
10372
+ answer,
10373
+ settled: settled(answer)
10374
+ };
10375
+ }
10376
+ function memberReadFailure(err) {
10377
+ return isThrottlingError(err) || isTransientServerError(err) || isAmbiguousOutcomeError(err) ? "failed" : "refused";
10378
+ }
10379
+ async function settleDeclaredMember(first, read, matches, declared, delaysMs, unsettled) {
10380
+ const settled = (answer) => typeof answer === "object" && matches(answer.value);
10381
+ if (first === "refused" || settled(first)) return first;
10382
+ let newest = first;
10383
+ for (const delayMs of delaysMs) {
10384
+ await new Promise((resolve) => setTimeout(resolve, delayMs));
10385
+ let answer;
10386
+ try {
10387
+ answer = await read();
10388
+ } catch (err) {
10389
+ answer = memberReadFailure(err);
10390
+ }
10391
+ if (answer === "refused") break;
10392
+ if (answer !== "failed") newest = answer;
10393
+ if (settled(newest)) return newest;
10394
+ }
10395
+ unsettled();
10396
+ return newest === "absent" ? { value: declared } : newest;
10397
+ }
10398
+ function warnUnsettledMember(logger, logicalId, resourceType, memberKey) {
10399
+ logger.warn(safeMsg`${resourceType} ${logicalId}: the read right after the write never showed the declared ${memberKey}, so its drift baseline may not match the live resource; run ${proseQuoted(cdkdRemedy("cdkd state refresh-observed"))} on the stack to re-capture it`);
10400
+ }
10401
+ function declaredMemberDocument(value) {
10402
+ if (typeof value === "string") {
10403
+ if (value === "") return void 0;
10404
+ try {
10405
+ return JSON.parse(value);
10406
+ } catch {
10407
+ return value;
10408
+ }
10409
+ }
10410
+ return typeof value === "object" && value !== null && !Array.isArray(value) ? value : void 0;
10411
+ }
10412
+ const KMS_DEFAULT_KEY_POLICY_ID = "key-default-1";
10413
+ const EFS_FILE_SYSTEM_ARN = /^arn:[a-z-]+:elasticfilesystem:[a-z0-9-]+:\d{12}:file-system\/fs-[0-9a-f]+$/;
10414
+ function efsPolicyMatchesDeclared(answer, declared, fileSystemId) {
10415
+ return policyDocumentMatchesDeclared(withoutAddedResource(answer, declared, fileSystemId), declared);
10416
+ }
10417
+ function withoutAddedResource(answer, declared, fileSystemId) {
10418
+ const parse = (doc) => {
10419
+ if (typeof doc !== "string") return doc;
10420
+ try {
10421
+ return JSON.parse(doc);
10422
+ } catch {
10423
+ return doc;
10424
+ }
10425
+ };
10426
+ const read = parse(answer);
10427
+ const want = parse(declared);
10428
+ const statements = (doc) => {
10429
+ if (typeof doc !== "object" || doc === null || Array.isArray(doc)) return void 0;
10430
+ const s = doc["Statement"];
10431
+ return s === void 0 ? void 0 : Array.isArray(s) ? s : [s];
10432
+ };
10433
+ const readStatements = statements(read);
10434
+ const wantStatements = statements(want);
10435
+ if (readStatements === void 0 || wantStatements === void 0) return answer;
10436
+ return {
10437
+ ...read,
10438
+ Statement: readStatements.map((entry, index) => {
10439
+ const wanted = wantStatements[index];
10440
+ if (typeof entry !== "object" || entry === null || typeof wanted !== "object" || wanted === null || Object.prototype.hasOwnProperty.call(wanted, "Resource")) return entry;
10441
+ const resource = entry["Resource"];
10442
+ if (typeof resource !== "string" || !EFS_FILE_SYSTEM_ARN.test(resource) || fileSystemId !== void 0 && !resource.endsWith(`:file-system/${fileSystemId}`)) return entry;
10443
+ const { Resource: _added, ...rest } = entry;
10444
+ return rest;
10445
+ })
10446
+ };
10447
+ }
10448
+ function declaredPolicyDocument(properties) {
10449
+ if (typeof properties !== "object" || properties === null || Array.isArray(properties)) return;
10450
+ const doc = properties["PolicyDocument"];
10451
+ if (typeof doc === "string") return doc === "" ? void 0 : doc;
10452
+ return typeof doc === "object" && doc !== null && !Array.isArray(doc) ? doc : void 0;
10453
+ }
10454
+ function policyDocumentMatchesDeclared(answer, declared) {
10455
+ return answer !== void 0 && policyContentKey(foldConditionValues(answer)) === policyContentKey(foldConditionValues(declared));
10456
+ }
10457
+ function foldConditionValues(document) {
10458
+ let doc = document;
10459
+ if (typeof doc === "string") try {
10460
+ doc = JSON.parse(doc);
10461
+ } catch {
10462
+ return document;
10463
+ }
10464
+ if (typeof doc !== "object" || doc === null || Array.isArray(doc)) return doc;
10465
+ const statement = doc["Statement"];
10466
+ if (statement === void 0) return doc;
10467
+ const statements = Array.isArray(statement) ? statement : [statement];
10468
+ return {
10469
+ ...doc,
10470
+ Statement: statements.map((entry) => {
10471
+ if (typeof entry !== "object" || entry === null || Array.isArray(entry)) return entry;
10472
+ const condition = entry["Condition"];
10473
+ if (typeof condition !== "object" || condition === null || Array.isArray(condition)) return entry;
10474
+ const folded = {};
10475
+ for (const [operator, block] of Object.entries(condition)) {
10476
+ if (typeof block !== "object" || block === null || Array.isArray(block)) {
10477
+ folded[operator] = block;
10478
+ continue;
10479
+ }
10480
+ const values = {};
10481
+ for (const [key, value] of Object.entries(block)) values[key] = Array.isArray(value) && value.length === 1 ? value[0] : value;
10482
+ folded[operator] = values;
10483
+ }
10484
+ return {
10485
+ ...entry,
10486
+ Condition: folded
10487
+ };
10488
+ })
10489
+ };
10490
+ }
10491
+ const SNS_DEFAULT_POLICY_ID = "__default_policy_ID";
10492
+ const LAMBDA_PERMISSION_STATEMENT_KEYS = [
10493
+ "Action",
10494
+ "Principal",
10495
+ "SourceArn",
10496
+ "SourceAccount",
10497
+ "PrincipalOrgID",
10498
+ "InvokedViaFunctionUrl"
10499
+ ];
10500
+ function lambdaPermissionMatchesDeclared(read, declared) {
10501
+ return LAMBDA_PERMISSION_STATEMENT_KEYS.every((key) => {
10502
+ if (key === "InvokedViaFunctionUrl") return read[key] === true === (coerceCfnBoolean(declared[key]) === true);
10503
+ const want = declared[key];
10504
+ const got = read[key];
10505
+ if (want === void 0 || want === null || want === "") return got === void 0;
10506
+ return key === "Principal" ? accountKey(got) === accountKey(want) : got === want;
10507
+ });
10508
+ }
10509
+
10213
10510
  // src/cli/commands/drift/baseline-keys.ts
10214
10511
  const UNDECLARED_UNCOMPARED_KEYS = {
10215
10512
  "AWS::S3::Bucket": ["NotificationConfiguration"],
@@ -10234,12 +10531,70 @@ function preFixBaselineUncomparedDriftKeys(resourceType, observed, properties, a
10234
10531
  if (observed === void 0) return [];
10235
10532
  if (typeof properties !== "object" || properties === null || Array.isArray(properties)) return [];
10236
10533
  if (resourceType === "AWS::DynamoDB::Table") return staleTablePolicyBaseline(observed, properties, aws) ? ["ResourcePolicy"] : [];
10534
+ if (resourceType === "AWS::SQS::QueuePolicy" || resourceType === "AWS::SNS::TopicPolicy") {
10535
+ const declared = declaredPolicyDocument(properties);
10536
+ return declared !== void 0 && policyDocumentMatchesDeclared(aws["PolicyDocument"], declared) && !policyDocumentMatchesDeclared(observed["PolicyDocument"], declared) ? ["PolicyDocument"] : [];
10537
+ }
10538
+ if (resourceType === "AWS::Lambda::Permission") {
10539
+ const declared = properties;
10540
+ return lambdaPermissionMatchesDeclared(aws, declared) && !lambdaPermissionMatchesDeclared(observed, declared) ? [...LAMBDA_PERMISSION_STATEMENT_KEYS] : [];
10541
+ }
10542
+ const member = OWN_WRITE_MEMBERS.get(resourceType);
10543
+ if (member !== void 0) return member.liveIsDeclared(properties, aws) ? [member.key] : [];
10237
10544
  if (resourceType !== "AWS::Lambda::EventSourceMapping") return [];
10238
10545
  const declared = hasOwnKey(properties, "Enabled") ? coerceCfnBoolean(properties["Enabled"]) : void 0;
10239
10546
  const recorded = hasOwnKey(observed, "Enabled") ? coerceCfnBoolean(observed["Enabled"]) : void 0;
10240
10547
  const live = hasOwnKey(aws, "Enabled") ? aws["Enabled"] : void 0;
10241
10548
  return recorded === false && declared !== false && live === true ? ["Enabled"] : [];
10242
10549
  }
10550
+ const OWN_WRITE_MEMBERS = new Map(Object.entries({
10551
+ "AWS::KMS::Key": {
10552
+ key: "KeyPolicy",
10553
+ liveIsDeclared: (properties, aws) => {
10554
+ const declared = declaredMemberDocument(properties["KeyPolicy"]);
10555
+ return declared !== void 0 && policyDocumentMatchesDeclared(aws["KeyPolicy"], declared);
10556
+ }
10557
+ },
10558
+ "AWS::Logs::DeliveryDestination": {
10559
+ key: "DeliveryDestinationPolicy",
10560
+ liveIsDeclared: (properties, aws) => {
10561
+ const inner = (block) => {
10562
+ const document = typeof block === "object" && block !== null && !Array.isArray(block) ? block["DeliveryDestinationPolicy"] : void 0;
10563
+ return typeof document === "object" && document !== null && !Array.isArray(document) ? document : void 0;
10564
+ };
10565
+ const declared = inner(properties["DeliveryDestinationPolicy"]);
10566
+ if (declared === void 0) return properties["DeliveryDestinationPolicy"] === void 0 && aws["DeliveryDestinationPolicy"] === void 0;
10567
+ return policyDocumentMatchesDeclared(inner(aws["DeliveryDestinationPolicy"]), declared);
10568
+ }
10569
+ },
10570
+ "AWS::Logs::LogGroup": {
10571
+ key: "DataProtectionPolicy",
10572
+ liveIsDeclared: (properties, aws) => {
10573
+ const declared = declaredMemberDocument(properties["DataProtectionPolicy"]);
10574
+ if (declared === void 0) return (properties["DataProtectionPolicy"] === void 0 || properties["DataProtectionPolicy"] === "") && aws["DataProtectionPolicy"] === "";
10575
+ return policyDocumentMatchesDeclared(aws["DataProtectionPolicy"], declared);
10576
+ }
10577
+ },
10578
+ "AWS::ApiGateway::RestApi": {
10579
+ key: "Policy",
10580
+ liveIsDeclared: (properties, aws) => {
10581
+ const declared = declaredMemberDocument(properties["Policy"]);
10582
+ return declared !== void 0 && policyDocumentMatchesDeclared(aws["Policy"], declared);
10583
+ }
10584
+ },
10585
+ "AWS::EFS::FileSystem": {
10586
+ key: "FileSystemPolicy",
10587
+ liveIsDeclared: (properties, aws) => {
10588
+ const declared = declaredMemberDocument(properties["FileSystemPolicy"]);
10589
+ if (declared === void 0) return properties["FileSystemPolicy"] === void 0 && aws["FileSystemPolicy"] === void 0;
10590
+ return efsPolicyMatchesDeclared(aws["FileSystemPolicy"], declared);
10591
+ }
10592
+ },
10593
+ "AWS::CodeBuild::Project": {
10594
+ key: "Visibility",
10595
+ liveIsDeclared: (properties, aws) => typeof properties["Visibility"] === "string" && properties["Visibility"] !== "" && aws["Visibility"] === properties["Visibility"]
10596
+ }
10597
+ }));
10243
10598
  function staleTablePolicyBaseline(observed, properties, aws) {
10244
10599
  const recorded = readStreamPolicy(observed);
10245
10600
  const declared = readStreamPolicy(properties);
@@ -10671,7 +11026,7 @@ function printRevertPlan(reports, out, recovery, writeOnlyResend) {
10671
11026
  }
10672
11027
  }
10673
11028
  if (stateResource && stateResource.observedProperties === void 0) {
10674
- const unbaselined = findRevertUnbaselinedAwsKeys(o.changes, stateResource.properties ?? {}, o.awsProperties);
11029
+ const unbaselined = findRevertUnbaselinedAwsKeys(o.changes, stateResource.properties ?? {}, o.awsProperties, verbatimEchoDriftKeys(o.resourceType));
10675
11030
  if (o.secretsIncomplete && unbaselined.length > 0) out.write(` ! ${unbaselined.length} AWS-authored value(s) will be left untouched, but cdkd could not resolve this resource's dynamic reference(s), so their paths are withheld — they come from the live readback and cannot be checked for secrets without them.\n`);
10676
11031
  else if (unbaselined.length > 0) {
10677
11032
  const word = unbaselined.length === 1 ? "value" : "values";
@@ -11084,7 +11439,7 @@ function findRevertPreservedTagKeys(drifts, desiredProperties, awsProperties) {
11084
11439
  }
11085
11440
  return [...preserved].sort();
11086
11441
  }
11087
- function findRevertUnbaselinedAwsKeys(drifts, desiredProperties, awsProperties) {
11442
+ function findRevertUnbaselinedAwsKeys(drifts, desiredProperties, awsProperties, verbatimKeys = []) {
11088
11443
  const missing = /* @__PURE__ */ new Set();
11089
11444
  const driftedTopLevelKeys = /* @__PURE__ */ new Set();
11090
11445
  for (const d of drifts) {
@@ -11093,6 +11448,7 @@ function findRevertUnbaselinedAwsKeys(drifts, desiredProperties, awsProperties)
11093
11448
  }
11094
11449
  for (const key of driftedTopLevelKeys) {
11095
11450
  if (!hasOwnKey(desiredProperties, key)) continue;
11451
+ if (verbatimKeys.includes(key)) continue;
11096
11452
  collectMissingPaths(ownValue(awsProperties, key), desiredProperties[key], key, missing, isTagListKey(key) ? isServiceManagedTagKey : void 0);
11097
11453
  }
11098
11454
  return [...missing].sort();
@@ -11207,6 +11563,7 @@ function collectUnresolvedIntrinsicObjectPaths(bag, topLevelKeys) {
11207
11563
  function buildRevertNewProperties(drifts, desiredProperties, awsProperties, options = {}) {
11208
11564
  const preserveUntemplated = options.preserveUntemplated === true;
11209
11565
  const absentMeansDefault = options.absentMeansDefault ?? [];
11566
+ const verbatimKeys = options.verbatimKeys ?? [];
11210
11567
  const result = { ...awsProperties };
11211
11568
  for (const d of drifts) {
11212
11569
  const topLevelKey = d.path.split(".", 1)[0];
@@ -11214,7 +11571,7 @@ function buildRevertNewProperties(drifts, desiredProperties, awsProperties, opti
11214
11571
  if (hasOwnKey(desiredProperties, topLevelKey)) {
11215
11572
  const desiredValue = desiredProperties[topLevelKey];
11216
11573
  const awsValue = ownValue(awsProperties, topLevelKey);
11217
- if (preserveUntemplated) defineOwnKey(result, topLevelKey, mergeUntemplatedValue(awsValue, desiredValue));
11574
+ if (preserveUntemplated && !verbatimKeys.includes(topLevelKey)) defineOwnKey(result, topLevelKey, mergeUntemplatedValue(awsValue, desiredValue));
11218
11575
  else {
11219
11576
  const baselineIsTagList = isCfnTagList(desiredValue) || Array.isArray(desiredValue) && desiredValue.length === 0;
11220
11577
  defineOwnKey(result, topLevelKey, isTagListKey(topLevelKey) && baselineIsTagList && isCfnTagList(awsValue) ? mergeTagListForRevert(desiredValue, awsValue) : desiredValue);
@@ -11328,8 +11685,7 @@ async function compareDriftReadback(args) {
11328
11685
  const observedIgnorePaths = useObserved ? undeclaredEmptyObservedKeys(resource.observedProperties, resource.properties ?? {}) : [];
11329
11686
  const normalized = await canonicalizePrincipalUniqueIds(comparisonBaseline, aws, resolvePrincipalUniqueId);
11330
11687
  const protocolNormalized = canonicalizeIpProtocols(normalized.baseline, normalized.aws, resource.resourceType);
11331
- const memberStripped = stripSiblingOwnedMembers(resource.resourceType, resource.physicalId, protocolNormalized.baseline, protocolNormalized.aws, resource.properties, readContext);
11332
- const siblingStripped = stripSiblingOwnedSgRules(resource.resourceType, resource.physicalId, memberStripped.baseline, memberStripped.aws, resource.properties, readContext);
11688
+ const siblingStripped = stripSiblingOwnedParentMembers(resource.resourceType, resource.physicalId, protocolNormalized.baseline, protocolNormalized.aws, resource.properties, readContext);
11333
11689
  const canonicalized = provider.canonicalizeDriftProperties ? {
11334
11690
  baseline: provider.canonicalizeDriftProperties(resource.resourceType, siblingStripped.baseline),
11335
11691
  aws: provider.canonicalizeDriftProperties(resource.resourceType, siblingStripped.aws)
@@ -11353,7 +11709,8 @@ async function compareDriftReadback(args) {
11353
11709
  const changes = calculateResourceDrift(comparedBaseline, paired.aws, {
11354
11710
  ignorePaths: extraIgnorePaths.length ? [...ignorePaths, ...extraIgnorePaths] : ignorePaths,
11355
11711
  unionWalkObjects: useObserved,
11356
- unorderedPaths
11712
+ unorderedPaths,
11713
+ unionWalkPaths: verbatimEchoDriftKeys(resource.resourceType)
11357
11714
  });
11358
11715
  const noEchoPartitioned = partitionNoEchoParameterChanges(changes, resource, baseline);
11359
11716
  const partitioned = partitionUncertifiedBaselineChanges(noEchoPartitioned.kept, resource.properties ?? {}, baseline);
@@ -11632,7 +11989,8 @@ async function runDriftForStack(stackName, region, stateBackend, providerRegistr
11632
11989
  notComparedCause: "readFailed"
11633
11990
  });
11634
11991
  let breakerTripped = false;
11635
- if (!readReturned) {
11992
+ if (err instanceof DriftReadRefusedError) noteReadReturned();
11993
+ else if (!readReturned) {
11636
11994
  consecutiveReadFailures[readPath]++;
11637
11995
  if (consecutiveReadFailures[readPath] === 5) {
11638
11996
  trippedReadPaths.add(readPath);
@@ -11962,11 +12320,13 @@ async function revertDriftedOutcome(args) {
11962
12320
  let newProperties;
11963
12321
  try {
11964
12322
  const siblingContext = buildReadCurrentStateContext(report.state, outcome.logicalId);
11965
- desiredProperties = stripSiblingOwnedMembers(outcome.resourceType, stateResource.physicalId, desiredProperties, outcome.awsProperties, stateResource.properties, siblingContext).baseline;
11966
- desiredProperties = stripSiblingOwnedSgRules(outcome.resourceType, stateResource.physicalId, desiredProperties, outcome.awsProperties, stateResource.properties, siblingContext).baseline;
12323
+ desiredProperties = siblingOwnedRevertDesired(outcome.resourceType, stateResource.physicalId, desiredProperties, outcome.awsProperties, stateResource.properties, siblingContext);
11967
12324
  if (provider.canonicalizeDriftPair) desiredProperties = (await provider.canonicalizeDriftPair(outcome.resourceType, desiredProperties, outcome.awsProperties, stateResource.properties ?? {})).baseline;
11968
12325
  desiredProperties = stripDerivedEchoMembers(outcome.resourceType, desiredProperties);
11969
- const overlaid = buildRevertNewProperties(outcome.changes, desiredProperties, outcome.awsProperties, stateResource.observedProperties === void 0 ? { preserveUntemplated: true } : { absentMeansDefault: driftAbsentMeansDefaultKeys(provider, outcome.resourceType, stateResource.properties) });
12326
+ const overlaid = buildRevertNewProperties(outcome.changes, desiredProperties, outcome.awsProperties, stateResource.observedProperties === void 0 ? {
12327
+ preserveUntemplated: true,
12328
+ verbatimKeys: verbatimEchoDriftKeys(outcome.resourceType)
12329
+ } : { absentMeansDefault: driftAbsentMeansDefaultKeys(provider, outcome.resourceType, stateResource.properties) });
11970
12330
  const certifiedOverlay = overlayLiveAtUncertifiedPaths(overlaid, [...outcome.uncertifiedPaths, ...outcome.noEchoParameterPaths ?? []], outcome.awsProperties, desiredProperties, secrets, new Set(outcome.changes.map((change) => change.path.split(".", 1)[0] ?? "")), spelledKeysOf(stateResource.properties ?? {}));
11971
12331
  const tokenPreserved = unresolvedTokens.size > 0 ? preserveLiveValuesAtUnresolvedTokens(certifiedOverlay, outcome.awsProperties, unresolvedTokens, secrets) : certifiedOverlay;
11972
12332
  const maskPreserved = preserveLiveValuesAtMaskedLeaves(tokenPreserved, outcome.awsProperties, secrets, certifiedOverlay, spelledKeysOf(stateResource.properties ?? {}));
@@ -34721,5 +35081,5 @@ function collectVerbFlags(program) {
34721
35081
  return map;
34722
35082
  }
34723
35083
 
34724
- export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, holdsUnprovenSecretPrincipalToken as r, canonicalizeIpv4Cidr as t };
34725
- //# sourceMappingURL=program-BOR4WbUs.js.map
35084
+ export { warnUnsettledMember as _, resolveSecretDerivedPrincipals as a, verbatimEchoDriftKeys as b, buildProgram, SNS_DEFAULT_POLICY_ID as c, efsPolicyMatchesDeclared as d, lambdaPermissionMatchesDeclared as f, settleDeclaredMember as g, reReadUntilSettled as h, isResolvableSecretPrincipalList as i, declaredMemberDocument as l, policyDocumentMatchesDeclared as m, runDestroyForStack as n, KMS_DEFAULT_KEY_POLICY_ID as o, memberReadFailure as p, holdsUnprovenSecretPrincipalToken as r, OWN_WRITE_REREAD_DELAYS_MS as s, canonicalizeIpv4Cidr as t, declaredPolicyDocument as u, attemptedPolicyDocument as v, policyContentKey as y };
35085
+ //# sourceMappingURL=program-MndcrrWf.js.map