@cdkd/cli 0.339.0 → 0.341.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/{ambient-client-defaults-D2df_dIB.js → ambient-client-defaults-CtGTOtn9.js} +2 -2
  2. package/dist/{ambient-client-defaults-D2df_dIB.js.map → ambient-client-defaults-CtGTOtn9.js.map} +1 -1
  3. package/dist/{asg-provider-BiLQ0XWy.js → asg-provider-BT_0gh9s.js} +5 -5
  4. package/dist/{asg-provider-BiLQ0XWy.js.map → asg-provider-BT_0gh9s.js.map} +1 -1
  5. package/dist/{aws-failure-text-FKztQiaJ.js → aws-failure-text-zxW2CTmF.js} +149 -9
  6. package/dist/aws-failure-text-zxW2CTmF.js.map +1 -0
  7. package/dist/cli.js +2 -2
  8. package/dist/{db-instance-modify-retry-DR1oW9Ln.js → db-instance-modify-retry-CCbm-DKl.js} +4 -4
  9. package/dist/{db-instance-modify-retry-DR1oW9Ln.js.map → db-instance-modify-retry-CCbm-DKl.js.map} +1 -1
  10. package/dist/{deploy-engine-BFlLAOb5.js → deploy-engine-BZSAOzE6.js} +4205 -4068
  11. package/dist/deploy-engine-BZSAOzE6.js.map +1 -0
  12. package/dist/{ecr-uri-DWcC0h82.js → ecr-uri-DmkrTyRF.js} +3 -3
  13. package/dist/{ecr-uri-DWcC0h82.js.map → ecr-uri-DmkrTyRF.js.map} +1 -1
  14. package/dist/{iam-role-provider-m_Kd7_uy.js → iam-role-provider-CbUqsAAi.js} +5 -5
  15. package/dist/{iam-role-provider-m_Kd7_uy.js.map → iam-role-provider-CbUqsAAi.js.map} +1 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +4 -4
  18. package/dist/{neptune-provider-Du2C7Q5P.js → neptune-provider-DlQ-_thp.js} +6 -6
  19. package/dist/{neptune-provider-Du2C7Q5P.js.map → neptune-provider-DlQ-_thp.js.map} +1 -1
  20. package/dist/{program-B-C6eA7H.js → program-7VC8uSCL.js} +47 -55
  21. package/dist/program-7VC8uSCL.js.map +1 -0
  22. package/dist/{provider-classes-ZB2dhH_W.js → provider-classes-0cQAzv7Y.js} +283 -154
  23. package/dist/provider-classes-0cQAzv7Y.js.map +1 -0
  24. package/dist/{rds-provider-DzsTP_11.js → rds-provider-CaaoK9Yu.js} +448 -21
  25. package/dist/rds-provider-CaaoK9Yu.js.map +1 -0
  26. package/dist/{read-replica-DIfL8kl8.js → read-replica-DyG0ZkQJ.js} +3 -3
  27. package/dist/{read-replica-DIfL8kl8.js.map → read-replica-DyG0ZkQJ.js.map} +1 -1
  28. package/dist/{update-removal-DTvJXMeM.js → update-removal-CNj3wKPR.js} +3 -3
  29. package/dist/{update-removal-DTvJXMeM.js.map → update-removal-CNj3wKPR.js.map} +1 -1
  30. package/dist/{version-eQ4CwKON.js → version-B7cmr9JA.js} +2 -2
  31. package/dist/{version-eQ4CwKON.js.map → version-B7cmr9JA.js.map} +1 -1
  32. package/package.json +1 -1
  33. package/dist/aws-failure-text-FKztQiaJ.js.map +0 -1
  34. package/dist/deploy-engine-BFlLAOb5.js.map +0 -1
  35. package/dist/program-B-C6eA7H.js.map +0 -1
  36. package/dist/provider-classes-ZB2dhH_W.js.map +0 -1
  37. package/dist/rds-provider-DzsTP_11.js.map +0 -1
@@ -1,11 +1,11 @@
1
- import { t as getCdkdVersion } from "./version-eQ4CwKON.js";
2
- import { $ as safeMsg, B as SAFE_MSG_ALTERED_CHAR, C as PATTERN_B_RESOURCE_TYPES, F as isNameGeneration, G as cutMarker, H as STACK_REF_MAX_CODE_POINTS, J as displaySafe, K as displayAwsMessage, L as withSkipPrefix, Q as plainIdentOr, R as withStackScope, S as PATTERN_B_NAME_PROPERTIES, T as generateResourceName, U as UNRENDERABLE, V as SECRET_REF_MAX_CODE_POINTS, W as asIsMessage, X as isPasteableIdent, Y as displayStackName, _ as explicitNamePropertyFor, a as safeStringify, c as isStdoutReservedForPayload, d as runStackBuffered, et as stringifyJsonPayload, l as reserveStdoutForPayload, m as getLiveRenderer, n as describeAwsFailure, nt as truncateCodePoints, q as displayIdent, s as getLogger, tt as terminalSafe, w as derivesPatternBName, x as PATTERN_B_NAME_OPTIONS } from "./aws-failure-text-FKztQiaJ.js";
3
- import { $a as applyCallerIdentityCredentials, $c as recordedNoEchoValuesOf, $l as hasReadableExportSet, $n as planRollback, $r as deleteSupersededEntry, $s as malformedExportSourceWarning, $t as NESTED_PENDING_PARENT_REASON, $u as isMalformedEnvKey, A as serviceTokenBlockingReason, Ac as NO_CC_HANDLERS_REASON, Ad as canonicalizeRegion, Ai as stateSecretNameNeedles, An as rollbackOrphanIds, Ao as withSharedDrainBudget, Ar as displayTextOrWithheld, As as refuseMalformedResourceEntries, Au as ensureAssetStorage, Ba as isAlwaysLiveAttribute, Bc as TemplateParser, Bd as hasOwnKey, Bi as ccRoutedInstanceTakesNoSnapshot, Bl as recordNoEchoAttributeValues, Bn as settleUnsettledPrevious, Bo as MULTI_REGION_RECREATE_BLOCKED_TYPES, Br as collectDeclaredOutputNames, Bs as refuseMalformedResourcePropertiesForDestroy, Bt as recordRetainedForReadoption, Bu as buildDockerImage, C as templateIdentity, Ca as RollbackInlinePolicyWriters, Cc as hasReadableOutputs, Cd as MIGRATE_TMP_PREFIX, Ci as maskEventTextWithBoundBags, Cl as DYNAMIC_REFERENCE_TOKEN_SCAN, Cn as DeploymentEventsStore, Co as recordedReferenceRegions, Cs as unreadableOrphanRecords, Cu as stringifyValue, D as refusePendingMovesOut, Da as deleteSkipReason, Dd as decodeListingKey, Di as secretNamePrintingBags, Dl as pathCrossesDottedKey, Dn as findRefactorHints, Do as isNamelessDynamicReferenceError, Dr as reachableDivergentParameters, Ds as malformedResourceEntriesWarning, Du as loadPublishableAssetManifest, E as pendingMovesRefusalMessage, Ea as deleteLeftInPlace, Ec as findHandledUnwrittenCreateOnly, Ed as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Ei as secretNamePrintingBag, El as spelledKeysOf, En as formatDestructiveChange, Eo as carriesFetchableDynamicReference, Er as namesAnyDeclaredParameter, Es as malformedLocalResourcesWarning, Eu as createAssetRedirectResolver, F as isProtectionValueActive, Fd as processStackMessages, Fi as secretSegmentsOfState, Fl as splitGetAttStringForm, Fn as parseMappingFile, Fo as unsettledPropertiesOf, Fr as carriedExportAliasExposure, Fs as refuseMalformedResourceEntriesForOrphan, Fu as parseBootstrapMarker, Ga as refuseUnreadableCdkCrossAccountRefs, Gc as maskWholeValue, Gd as describeFileReadFailure, Gi as createPreDeleteFinalSnapshot, Gl as isSingleDynamicReferenceToken, Gn as undeclaredEmptyObservedKeys, Gr as DEFAULT_RESOURCE_WARN_AFTER_MS, Gs as UNREADABLE_ORPHANS_CONTAINER_ROW, Gt as refuseRefactorMarker, Gu as redactedCause, Hc as isMarkedCoordinate, Hd as nullPrototypeRecord, Hi as isFinalSnapshotError, Hl as recordProvenPublicExpression, Hn as calculateResourceDrift, Ho as isStatefulRecreateTargetSync, Hr as isExportAliasCollision, Hs as refuseMalformedResourcePropertiesForExport, Ht as readRefactorMarkerOnce, Hu as describeDockerCapturedOutput, I as perType, Id as describeJsonParseFailure, Ii as withSecretPhysicalIdsMaskedInState, Il as carriesSecretMask, In as proposeRenames, Io as withUnsettledProperties, Ir as exportNameNoEchoParameters, Is as repairMalformedResourceEntriesForReadOnly, It as withResourceDeadline, Iu as readBootstrapMarkerBody, Ja as assertSendableRoleArn, Jc as noEchoLeavesOf, Jd as resolveAssemblyPath, Jl as S3StateBackend, Jr as destroyStackRecordsView, Js as malformedOrphansWarning, Ju as dockerSpawnEnvWithSensitive, Ka as applyRoleArnIfSet, Kc as maskedLeafCoordinatesOf, Kd as displayAssemblyPath, Ki as buildFinalSnapshotIdentifier, Kl as LockManager, Kn as updatePartialMessage, Kr as maskingRetryLogger, Ks as hasReadableOrphans, Kt as sameMove, Ku as redactedDockerCause, L as readProtection, La as isWaitAbandonedError, Ld as parseFailureDebugDetail, Li as ATOMIC_FINAL_SNAPSHOT_TYPES, Ll as provenPublicValue, Ln as replayFailedOperations, Lo as withoutUnsettledProperties, Lr as exportNameSecretExposure, Ls as unreadableResourceEntries, Lt as IMPLICIT_DELETE_DEPENDENCIES, Lu as validateAssetBucketName, M as recordedProtectionEvidence, Md as refuseFailedLookups, Mi as extractDeploymentEventError, Mn as isPairableType, Mr as secretBearing, Ms as refuseMalformedResourceEntriesForDestroy, Mu as assertAssetBucketRegion, N as recordedProtectionNote, Nd as AssemblyReader, Nl as recordPhysicalNameCopy, Nn as looselyEqual, No as unsettledItemsField, Nr as secretBearingStateKeyWarning, Ns as refuseMalformedResourceEntriesForImport, Nu as isCrossRegionRedirect, O as deferredServiceTokenWarning, Oc as unwrittenCreateOnlyReplacement, Od as expectedOwnerParam, Ol as identityKeyFor, On as hintSidesOf, Oo as carriesDynamicReference, Or as resourcesNamingDeclaredParameter, Os as malformedScrubResourceEntriesRefusalMessage, Ou as rewriteTemplateAssetReferences, P as PROTECTION_PROPERTY_BY_TYPE, Pd as StageLoadError, Pl as recordNestedStackParameterExpressions, Pn as mappingPairs, Po as unsettledItemsOf, Pr as secretSafeKeyDisplay, Ps as refuseMalformedResourceEntriesForImportSave, Pu as getBootstrapMarkerKey, Qa as AWS_CREDENTIAL_ENV_KEYS, Qc as readsNoEchoSource, Qd as resolveBucketRegion, Ql as exportNamesCarriedFrom, Qr as addSuperseded, Qs as malformedExportNamesWarning, Qt as resolvePendingCloudControlRequests, Qu as isDockerClientEnvKey, Ra as DiffCalculator, Rd as utf8ByteLength, Ri as PRE_DELETE_SNAPSHOT_TYPES, Rl as recordMaskOnlyValue, Rn as replayRollback, Ro as findReplacedReadersOfRecreateTargets, Rr as isWholeDynamicReferenceValue, Rs as malformedDriftResourcePropertiesWarning, Rt as computeImplicitDeleteEdges, Ru as validateContainerRepoName, S as renderNestedTemplateTreeDefect, Sa as slowCcOperationTimeoutMs, Sc as displayLogicalId, Sd as CFN_TEMPLATE_URL_LIMIT, Si as journaledOrphanPrintingBag, Sn as DeploymentEventsReader, So as recordedOutputReferenceRegions, Sr as withNameGenerationReached, Ss as unpreviewableOrphanRecords, Su as isSensitiveAttributeName, T as pendingMovesOutOf, Ta as deleteIndeterminateGuards, Tc as findActionableSdkUnwired, Td as uploadCfnTemplate, Ti as orphanRecordsPrintingBag, Tl as isUncertifiedBaselineMaskPosition, Tn as findDestructiveChanges, To as isImpossibleEmptyStoredAttribute, Tr as computeParameterTaint, Ts as malformedLocalResourceEntriesWarning, Tu as buildAssetRedirectMap, Ua as resolveDynamicReferences, Uc as maskAtCoordinates, Ud as ownValue, Ui as refusesFinalSnapshot, Ul as wholeStringLeavesOf, Un as equalModuloMarkedMask, Uo as renderStatefulReason, Ur as bindingSkippedOutputs, Us as refuseMalformedResourcePropertiesForOrphan, Ut as refactorMarkerMovesOf, Uu as describeDockerExecFailure, Va as poisonRenderedSpellingsCollidingIn, Vc as canonicalCoordinates, Vd as hasPlainPrototype, Vi as effectiveDeletionPolicy, Vl as recordNoEchoParameterFreshValue, Vn as withUnprovenUnsettled, Vo as isStatefulRecreateTargetForReplace, Vr as collectPublishedOutputNames, Vs as refuseMalformedResourcePropertiesForDrift, Vt as readRefactorMarker, Vu as resolveDockerContextDirectory, Wa as producerLookupOver, Wc as maskReadbackAtCoordinates, Wd as absoluteAssemblyPathEscape, Wi as unsupportedFinalSnapshotError, Wl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Wn as equalModuloMask, Wr as DEFAULT_RESOURCE_TIMEOUT_MS, Ws as repairMalformedResourcePropertiesForReadOnly, Wt as refactorMarkerRefusalMessage, Wu as describeDockerFailure, Xa as isIamRoleArn, Xd as injectedAwsRegionValue, Xl as acceptedCreateOnlyDropsOf, Xr as withStackRecords, Xs as refuseMalformedOrphansForDestroy, Xt as formatResourceLine, Xu as partitionSensitiveEnv, Ya as explicitRoleArnOrThrow, Yc as noEchoOutputsComparison, Yd as injectAwsRegion, Yl as splitImportedOps, Yn as ledgerForStack, Yo as coerceCfnBoolean, Ys as refuseMalformedOrphans, Yu as finchSecretArgvRefusal, Za as sendableAssumeRoleCommand, Zc as readbackPathFor, Zl as describeRegionValueKind, Zn as withCreateTokenLedger, Zs as repairMalformedOrphansForReadOnly, Zt as pendingRequestCount, Zu as warnFinchArgvExposure, _ as readRecordedConditionVerdicts, _c as JSON_LISTING_HOLE_VALUE, _d as resolveUseCdkBootstrapAssets, _i as noEchoExactEchoLeavesOf, _l as errorCauseChain, _n as loadJournaledOrphans, _o as lacksRecordedTableArn, _r as nameGenerationHighWaterOf, _s as previewableOrphanRecords, _u as isAccessDenied, aa as ProviderRegistry, ac as refuseMalformedOutputsForDestroy, ad as getDockerImageBySourceHash, ai as supersededHolderOf, an as recordDisplacedSkips, ao as regionLessSecretName, ar as recheckFailedPlan, as as prefetchCreateOnlyPropertyPaths, au as shouldRetainResource, b as isAbsoluteAssetPath, bc as STATE_RESOURCES_MALFORMED, bd as ssmResolvedValueType, bi as createReadOnlyAttributeHealerFactory, bl as scrubResourceRecord, bn as makeSiblingClaimReader, bo as keepHeldTokenProvenance, br as retiredNameGenerationsAfter, bs as refuseMalformedOrphansForOrphan, bu as withStackInstanceIdWithheld, c as mergeNoChangeOutputs, ca as wouldReturnToSdkProvider, cc as refuseDivergentRecordRegionForDestroy, cd as getDefaultStateBucketName, cl as hasMaskableValues, cn as withNestedRevertRun, cr as resolveReplacementOldType, cs as withRetry, cu as hasUnverifiableParameterRefusal, d as crossStackOutputProvenanceSource, da as customResourceResponseExpirationWarning, dc as malformedStateRefusalMessage, dd as resolveApp, di as gray, dl as printingCorpusOf, dn as withNestedStackContext, do as coerceParameterTypedValue, ds as declaresNoEcho, du as timePhase, ec as malformedLocalOutputsWarning, ed as formatDockerLoginError, ei as holdsSupersededResources, el as valueAtCoordinate, en as displacedOpClause, eo as callerEnvCredentials, er as seedsDeleteFirstGuard, eu as importableOutputKeys, f as inheritedProvenanceForChildDiff, fa as TemplateNoEchoReresolver, fc as refuseMalformedResourcesForDeploy, fd as resolveAutoAssetStorage, fi as green, fl as recordLogOnlyParameterValue, fn as deleteJournaledOrphans, fo as isUnboundTemplateParameter, fs as deployRefusesOrphanRowsReason, fu as rebuildClientForBucketRegion, g as parentSuppliedValues, ga as withPrintingSecrets, gc as repairMalformedResourcesForReadOnly, gd as resolveStateBucketWithDefaultAndSource, gi as noEchoComparisonForTemplate, gl as createSecretMasker, gn as journaledOrphanLines, go as isStalePlaceholderArnAttribute, gr as nameGenerationCarriedFrom, gs as malformedOrphanRowsKeptWarning, gu as crossPrefixDeniedWarning, h as conditionInputsFrom, hc as refuseMalformedState, hd as resolveStateBucketWithDefault, hi as noEchoAttributeNamesOf, hl as unionOfSecretBags, hn as isHandledOrphan, ho as cfnRefValueFromPhysicalId, hr as orphanNeedsIdentity, hs as malformedOrphanRecordsWarning, hu as applyCrossPrefixScan, ia as CC_BROKEN_REASON, ic as refuseMalformedOutputs, id as AssetManifestLoader, ii as supersededHeldByOtherTypeWarning, in as nestedChildStackName$1, io as producerRegionsFromState, ir as planFailedOps, iu as orphansCarriedFrom, j as diffSecurity, jc as hasNoCloudControlHandlers, jd as derivePartitionAndUrlSuffix, ji as storedSecretNameNeedles, jl as physicalNameCopiesOf, jn as withMovedTo, jo as INTRINSIC_KEYS, jr as exportAliasCollisionScrubWarning, js as refuseMalformedResourceEntriesForDeploy, ju as buildDenyExternalAccessPolicy, k as findServiceTokenRefusals, kd as PARTITION_TABLE, ki as secretNamedRecordNeedles, kl as inheritNestedStackParameterAssociations, kn as movedToHint, ko as keepsSecretReferenceToken, kr as WITHHELD_NAME_DISPLAY, ks as refuseMalformedResourceAttributesForOrphan, ku as AssetModeResolver, l as scanActiveConsumers, la as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, lc as malformedRenderedContainersWarning, ld as getLegacyStateBucketName, li as bold, ll as literalSplitDelimitersOf, ln as collectNestedChildUnaddressed, lr as findNestedStackTypeChanges, ls as parameterInputsFor, lu as PhaseClock, m as conditionFingerprint, ma as isCustomResourceType$1, mc as refuseMalformedResourcesForExport, md as resolveSkipPrefix, mi as yellow, ml as shareLogOnlyValues, mn as dropFailedHint, mo as AWS_NO_VALUE, mr as removeProtectionTypeList, ms as malformedOrphanRecordsRefusalMessage, mu as CrossPrefixScanCache, nc as malformedOutputsWarning, nd as runDockerForeground, ni as removeSuperseded, nn as dropSettledNestedJournals, no as classifyRecordedSecretRegion, nr as isJournaledOrphan, nu as isReadableBag, o as isSecretBearingReferenceString, oa as ccBrokenReason, oc as repairMalformedOutputsForReadOnly, od as Synthesizer, oi as supersededResourcesOf, ol as carryLogOnlyValues, or as recordUnderIdIsNotOwn, os as templateResourceTypes, ou as stackInstanceIdCarriedFrom, p as makeCanonicalizePropertiesFn, pa as readsNoEchoDeleteValues, pc as refuseMalformedResourcesForDestroy, pd as resolveCaptureObservedState, pi as red, pl as recordLogOnlyValue, pn as dropFailedCommands, po as parameterTypeMayLoseSecretIdentity, ps as isReadableOrphanRecord, pu as CrossPrefixReadError, qa as assertFlagRoleArn, qc as noEchoCoordinatesOf, qd as renderAssemblyPathEscape, ql as isLockInfoExpired, qn as updatePartialReason, qs as malformedOrphansRefusalMessage, qt as updateRefactorMarker, qu as redactDockerArgvValues, rd as runDockerStreaming, ri as supersededAfterRollback, rl as redactForState, ro as classifyReplaySecretRegion, rr as isReplacementOrphan, ru as orphansAfterRollback, s as keptWholeReasonText, sa as isCustomResource, sc as STATE_REGION_DIVERGED, sd as synthesisStatusMessage, si as withoutSuperseded, sl as createUnionSecretMasker, sn as revertedNestedRowIds, sr as replacementNeverSwapped, ss as describeTypeWithThrottleRetry, su as hasReasonlessBaselineRefusal, t as DeployEngine, tc as malformedOutputsRefusalMessage, td as getDockerCmd, ti as isSupersededResourceRecord, tl as liveMatchesUnresolvedTokenFrame, tn as displacedPhysicalIdShown, to as envCredentialsAreAssumedRole, tr as demoteSupersededOrphans, tu as importableOutputs, u as inRunStackKey, ua as applyCustomResourceResponseExpiration, uc as malformedResourcesWarning, ud as loadCdkJson, ui as cyan, ul as logOnlyValueCount, un as getCurrentNestedStackContext, uu as renderPhaseTimings, v as childTemplateLoader, va as CloudControlProvider, vc as accountArgs, vd as stateBucketExistenceConfirmed, vi as noEchoParameterNamesOf, vl as maskSecretsInError, vn as sameJournaledOrphans, vo as refStateLookupFromResource, vr as nameScopeOf, vs as refuseMalformedOrphanRecords, vu as isNotImplemented, w as hasPendingMovesOut, wa as UNSPECIFIED_SKIP_REASON, wc as hasReadableResources, wd as findLargeInlineResources, wi as namingSecretsWithRecordedNoEcho, wl as dynamicReferenceTokens, wn as constructPathOf$1, wo as getAccountInfo, wr as inheritProducerRegions, ws as isReadableResourceEntry, wu as WorkGraph, x as listNestedTemplateRows, xa as setResolvedResourceTimeouts, xc as UNREADABLE_RESOURCES_MAP_ROW, xd as CFN_TEMPLATE_BODY_LIMIT, xi as completedReplayEntries, xl as withPhysicalNameCopies, xn as planOrphanAdoption, xr as retiredNameGenerationsLeaving, xs as repairMalformedOrphanRecordsForReadOnly, xu as AssetPublisher, y as findNestedTemplateTreeDefect, yc as withheldAccountClause, yd as warnDeprecatedNoPrefixCliFlag, yi as withAttemptedItemsMasked, yl as maskSecretsInText, yn as makeForeignHolderScan, yr as retiredAfterRollback, ys as refuseMalformedOrphanRecordsForDestroy, yu as stackInstanceIdOf, za as IntrinsicFunctionResolver, zc as DagBuilder, zd as defineOwnKey, zi as ccRoutedFinalSnapshotError, zl as recordMaskOnlyValuesIn, zn as recordAfterRollbackUpdate, zo as shownType, zr as noEchoParameterValueSeed, zs as malformedResourcePropertiesWarning, zt as keptForRetainedRecord, zu as BOOTSTRAP_MARKER_PREFIX } from "./deploy-engine-BFlLAOb5.js";
4
- import { $ as DeployCancelledError, A as stripForDisplay, Ct as setPasteableVerbFlags, H as isThrottlingError, J as IntrinsicResolutionRefusalError, K as CrossAccountSecretRefusalError, L as isRetryableTransientError, O as escapeRegExp, P as isAmbiguousOutcomeError, Q as CdkdError, R as isTransientServerError, St as setPasteableRunFlags, U as markNonRetryable, V as isMarkedNonRetryable, X as AccountIdUnavailableError, Y as MalformedProducerRecordRefusalError, _ as StackHasActiveImportsError, _t as plainOrDescribed, a as normalizeAwsError, at as StateError, bt as shellQuote, c as withErrorHandling, ct as TIMEOUT_FLAG_RESOURCE_TYPE, ft as commandHole, g as ResourceUpdateNotSupportedError, h as PartialFailureError, ht as pasteableCommand, i as credentialFingerprint, it as ResourceTimeoutError, k as stripControlChars, l as LocalStartServiceError, m as NestedStackChildDirectDestroyError, mt as isInertUnquoted, n as ambientCredentialConfig, o as formatError, ot as SynthesisError, q as DynamicReferenceRegionAmbiguousError, r as clientDefaultsFor, rt as ProvisioningError, t as ambientClientDefaults, tt as LocalInvokeBuildError$1, ut as SHELL_ACTIVE_WHY, v as StackTerminationProtectionError, vt as quotedOrDescribed, xt as withheldTargetClause, yt as shellBoundedDisplay, z as retryClassificationText } from "./ambient-client-defaults-D2df_dIB.js";
5
- import { $t as forceQuitRecoveryClause, Dt as logicalIdShown, H as assertRegionMatch, M as VALUE_NOT_SHOWN, Qt as buildLockContentionMessage, U as isMarkedNotGone, V as RESOURCE_NOT_FOUND, Xt as UNREPRODUCIBLE_LOCK_CLAUSE, Zt as buildForceUnlockCommand, an as CUSTOM_RESOURCE_RESPONSE_PREFIX, bt as interruptWatchListenerCount, dn as setPasteableAwsProfile, en as formatLockExpiry, fn as withPasteableAwsProfile, kt as resourceTypeShown, ln as producerCoordinateKey, m as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, mt as isAwsCliLiteral, nn as formatLockOwner, on as DEFAULT_STATE_PREFIX, p as IAM_PRINCIPAL_NAME, sn as injectiveKey, st as runDeleteAttempt, tn as formatLockOperation, un as producerRecordKey, vt as beginCommandInterruptScope, xt as isInterruptedWaitError, y as readRecordedPrincipals, yt as endCommandInterruptScope, z as remedyLogicalId } from "./update-removal-DTvJXMeM.js";
1
+ import { t as getCdkdVersion } from "./version-B7cmr9JA.js";
2
+ import { $ as UNRENDERABLE, F as generateResourceName, G as isNameGeneration, J as withStackScope, M as PATTERN_B_NAME_PROPERTIES, N as PATTERN_B_RESOURCE_TYPES, P as derivesPatternBName, Q as STACK_REF_MAX_CODE_POINTS, X as SAFE_MSG_ALTERED_CHAR, Z as SECRET_REF_MAX_CODE_POINTS, _ as explicitNamePropertyFor, a as safeStringify, at as displayStackName, c as isStdoutReservedForPayload, ct as plainIdentOr, d as runStackBuffered, dt as terminalSafe, et as asIsMessage, ft as truncateCodePoints, it as displaySafe, j as PATTERN_B_NAME_OPTIONS, l as reserveStdoutForPayload, lt as safeMsg, m as getLiveRenderer, n as describeAwsFailure, nt as displayAwsMessage, ot as isPasteableIdent, q as withSkipPrefix, rt as displayIdent, s as getLogger, tt as cutMarker, ut as stringifyJsonPayload, x as coerceCfnBoolean } from "./aws-failure-text-zxW2CTmF.js";
3
+ import { $a as refuseUnreadableCdkCrossAccountRefs, $c as liveMatchesUnresolvedTokenFrame, $i as createPreDeleteFinalSnapshot, $l as importableOutputs, $n as updatePartialMessage, $r as DEFAULT_RESOURCE_WARN_AFTER_MS, $s as malformedOutputsRefusalMessage, $t as NESTED_PENDING_PARENT_REASON, $u as getDockerCmd, A as PROTECTION_PROPERTY_BY_TYPE, Aa as slowCcOperationTimeoutMs, Ad as refuseFailedLookups, Ai as journaledOrphanPrintingBag, An as rollbackOrphanIds, Ao as recordedOutputReferenceRegions, Ar as withNameGenerationReached, As as refuseMalformedResourceEntriesForDestroy, Au as assertAssetBucketRegion, Bc as isMarkedCoordinate, Bd as nullPrototypeRecord, Bi as extractDeploymentEventError, Bl as recordProvenPublicExpression, Bn as propertiesChangedReason, Br as secretBearing, Bs as refuseMalformedResourcePropertiesForExport, Bt as refactorMarkerRefusalMessage, Bu as describeDockerCapturedOutput, C as refusePendingMovesOut, Cc as findActionableSdkUnwired, Cd as uploadCfnTemplate, Ci as noEchoAttributeNamesOf, Cl as isUncertifiedBaselineMaskPosition, Cn as DeploymentEventsStore, Co as cfnRefValueFromPhysicalId, Cr as orphanNeedsIdentity, Cs as malformedLocalResourceEntriesWarning, Cu as buildAssetRedirectMap, D as diffSecurity, Dd as PARTITION_TABLE, Di as withAttemptedItemsMasked, Dl as inheritNestedStackParameterAssociations, Dn as findRefactorHints, Dr as retiredAfterRollback, Ds as refuseMalformedResourceAttributesForOrphan, Du as AssetModeResolver, E as serviceTokenBlockingReason, Ea as CloudControlProvider, Ec as unwrittenCreateOnlyReplacement, Ed as expectedOwnerParam, Ei as noEchoParameterNamesOf, El as identityKeyFor, En as formatDestructiveChange, Eo as refStateLookupFromResource, Er as nameScopeOf, Es as malformedScrubResourceEntriesRefusalMessage, Eu as rewriteTemplateAssetReferences, Fa as deleteSkipReason, Fd as parseFailureDebugDetail, Fi as secretNamePrintingBags, Fl as provenPublicValue, Fn as differingRemedy, Fo as isNamelessDynamicReferenceError, Fr as reachableDivergentParameters, Fs as unreadableResourceEntries, Ft as keptForRetainedRecord, Fu as validateAssetBucketName, Ga as isWaitAbandonedError, Gc as noEchoCoordinatesOf, Gd as renderAssemblyPathEscape, Gi as ATOMIC_FINAL_SNAPSHOT_TYPES, Gl as isLockInfoExpired, Gn as DELETED_RESOURCE_REMEDY, Go as withoutUnsettledProperties, Gr as exportNameSecretExposure, Gs as malformedOrphansRefusalMessage, Gu as redactDockerArgvValues, Hc as maskReadbackAtCoordinates, Hd as absoluteAssemblyPathEscape, Hl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Hn as referencedLogicalIds, Ho as unsettledItemsOf, Hr as secretSafeKeyDisplay, Hs as repairMalformedResourcePropertiesForReadOnly, Ht as sameMove, Hu as describeDockerFailure, Id as utf8ByteLength, Il as recordMaskOnlyValue, In as isPairableType, Io as carriesDynamicReference, Ir as resourcesNamingDeclaredParameter, Is as malformedDriftResourcePropertiesWarning, It as recordRetainedForReadoption, Iu as validateContainerRepoName, Ja as isAlwaysLiveAttribute, Jd as injectedAwsRegionValue, Ji as ccRoutedInstanceTakesNoSnapshot, Jl as acceptedCreateOnlyDropsOf, Jn as withUnprovenUnsettled, Jo as MULTI_REGION_RECREATE_BLOCKED_TYPES, Jr as collectDeclaredOutputNames, Js as refuseMalformedOrphansForDestroy, Ju as partitionSensitiveEnv, Ka as DiffCalculator, Kc as noEchoLeavesOf, Kd as resolveAssemblyPath, Ki as PRE_DELETE_SNAPSHOT_TYPES, Kl as S3StateBackend, Kn as recordAfterRollbackUpdate, Ko as findReplacedReadersOfRecreateTargets, Kr as isWholeDynamicReferenceValue, Ks as malformedOrphansWarning, Kt as formatResourceLine, Ku as dockerSpawnEnvWithSensitive, Lc as DagBuilder, Ld as defineOwnKey, Li as secretNamedRecordNeedles, Ll as recordMaskOnlyValuesIn, Ln as looselyEqual, Lo as keepsSecretReferenceToken, Lr as WITHHELD_NAME_DISPLAY, Ls as malformedResourcePropertiesWarning, Lt as readRefactorMarker, Lu as BOOTSTRAP_MARKER_PREFIX, M as perType, Ma as UNSPECIFIED_SKIP_REASON, Md as StageLoadError, Mi as namingSecretsWithRecordedNoEcho, Ml as recordNestedStackParameterExpressions, Mn as changedReferenceInDiff, Mo as getAccountInfo, Mr as inheritProducerRegions, Ms as refuseMalformedResourceEntriesForImportSave, Mt as withResourceDeadline, Mu as getBootstrapMarkerKey, N as readProtection, Na as deleteIndeterminateGuards, Nd as processStackMessages, Ni as orphanRecordsPrintingBag, Nl as splitGetAttStringForm, Nn as changedReferencePath, No as isImpossibleEmptyStoredAttribute, Nr as computeParameterTaint, Ns as refuseMalformedResourceEntriesForOrphan, Nt as IMPLICIT_DELETE_DEPENDENCIES, Nu as parseBootstrapMarker, O as recordedProtectionEvidence, Oc as NO_CC_HANDLERS_REASON, Od as canonicalizeRegion, Oi as createReadOnlyAttributeHealerFactory, On as hintSidesOf, Oo as keepHeldTokenProvenance, Or as retiredNameGenerationsAfter, Os as refuseMalformedResourceEntries, Ou as ensureAssetStorage, Pa as deleteLeftInPlace, Pd as describeJsonParseFailure, Pi as secretNamePrintingBag, Pl as carriesSecretMask, Pn as changedReferenceReason, Po as carriesFetchableDynamicReference, Pr as namesAnyDeclaredParameter, Ps as repairMalformedResourceEntriesForReadOnly, Pt as computeImplicitDeleteEdges, Pu as readBootstrapMarkerBody, Qa as producerLookupOver, Qc as valueAtCoordinate, Qi as unsupportedFinalSnapshotError, Ql as importableOutputKeys, Qn as undeclaredEmptyObservedKeys, Qr as DEFAULT_RESOURCE_TIMEOUT_MS, Qs as malformedLocalOutputsWarning, Qt as resolvePendingCloudControlRequests, Qu as formatDockerLoginError, Rc as TemplateParser, Rd as hasOwnKey, Ri as stateSecretNameNeedles, Rl as recordNoEchoAttributeValues, Rn as mappingPairs, Ro as withSharedDrainBudget, Rr as displayTextOrWithheld, Rs as refuseMalformedResourcePropertiesForDestroy, Rt as readRefactorMarkerOnce, Ru as buildDockerImage, S as pendingMovesRefusalMessage, Sa as isCustomResourceType$1, Sc as hasReadableResources, Sd as findLargeInlineResources, Si as yellow, Sl as dynamicReferenceTokens, Sn as DeploymentEventsReader, So as AWS_NO_VALUE, Sr as removeProtectionTypeList, Ss as isReadableResourceEntry, Su as WorkGraph, T as findServiceTokenRefusals, Td as decodeListingKey, Ti as noEchoExactEchoLeavesOf, Tl as pathCrossesDottedKey, Tn as findDestructiveChanges, To as lacksRecordedTableArn, Tr as nameGenerationHighWaterOf, Ts as malformedResourceEntriesWarning, Tu as loadPublishableAssetManifest, Uc as maskWholeValue, Ud as describeFileReadFailure, Ui as secretSegmentsOfState, Ul as isSingleDynamicReferenceToken, Un as replayFailedOperations, Uo as unsettledPropertiesOf, Ur as carriedExportAliasExposure, Us as UNREADABLE_ORPHANS_CONTAINER_ROW, Ut as updateRefactorMarker, Uu as redactedCause, Vc as maskAtCoordinates, Vd as ownValue, Vl as wholeStringLeavesOf, Vn as proposeRenames, Vo as unsettledItemsField, Vr as secretBearingStateKeyWarning, Vs as refuseMalformedResourcePropertiesForOrphan, Vt as refuseRefactorMarker, Vu as describeDockerExecFailure, Wc as maskedLeafCoordinatesOf, Wd as displayAssemblyPath, Wi as withSecretPhysicalIdsMaskedInState, Wl as LockManager, Wn as replayRollback, Wo as withUnsettledProperties, Wr as exportNameNoEchoParameters, Ws as hasReadableOrphans, Wu as redactedDockerCause, Xc as readsNoEchoSource, Xd as resolveBucketRegion, Xi as isFinalSnapshotError, Xl as exportNamesCarriedFrom, Xn as equalModuloMarkedMask, Xo as isStatefulRecreateTargetSync, Xr as isExportAliasCollision, Xs as malformedExportNamesWarning, Xu as isDockerClientEnvKey, Ya as poisonRenderedSpellingsCollidingIn, Yc as readbackPathFor, Yi as effectiveDeletionPolicy, Yl as describeRegionValueKind, Yn as calculateResourceDrift, Yo as isStatefulRecreateTargetForReplace, Yr as collectPublishedOutputNames, Ys as repairMalformedOrphansForReadOnly, Yu as warnFinchArgvExposure, Za as resolveDynamicReferences, Zc as recordedNoEchoValuesOf, Zi as refusesFinalSnapshot, Zl as hasReadableExportSet, Zn as equalModuloMask, Zo as renderStatefulReason, Zr as bindingSkippedOutputs, Zs as malformedExportSourceWarning, Zt as pendingRequestCount, Zu as isMalformedEnvKey, _ as listNestedTemplateRows, _a as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, _c as withheldAccountClause, _d as warnDeprecatedNoPrefixCliFlag, _i as bold, _l as maskSecretsInText, _n as loadJournaledOrphans, _r as findNestedStackTypeChanges, _s as refuseMalformedOrphanRecordsForDestroy, _u as stackInstanceIdOf, a as scanActiveConsumers, ac as STATE_REGION_DIVERGED, ad as synthesisStatusMessage, al as createUnionSecretMasker, an as recordDisplacedSkips, ao as sendableAssumeRoleCommand, as as describeTypeWithThrottleRetry, au as hasReasonlessBaselineRefusal, b as hasPendingMovesOut, ba as TemplateNoEchoReresolver, bc as displayLogicalId, bd as CFN_TEMPLATE_URL_LIMIT, bi as green, bn as makeSiblingClaimReader, bo as isUnboundTemplateParameter, bs as unpreviewableOrphanRecords, bu as isSensitiveAttributeName, c as inheritedProvenanceForChildDiff, cc as malformedResourcesWarning, cd as loadCdkJson, ci as holdsSupersededResources, cl as logOnlyValueCount, cn as withNestedRevertRun, co as callerEnvCredentials, cr as demoteSupersededOrphans, cu as renderPhaseTimings, d as conditionInputsFrom, dc as refuseMalformedResourcesForDestroy, dd as resolveCaptureObservedState, di as supersededAfterRollback, dl as recordLogOnlyValue, dn as withNestedStackContext, do as classifyReplaySecretRegion, dr as planFailedOps, ds as isReadableOrphanRecord, du as CrossPrefixReadError, ea as buildFinalSnapshotIdentifier, ec as malformedOutputsWarning, ed as runDockerForeground, ei as maskingRetryLogger, en as displacedOpClause, eo as applyRoleArnIfSet, er as updatePartialReason, eu as isReadableBag, f as parentSuppliedValues, fa as CC_BROKEN_REASON, fc as refuseMalformedResourcesForExport, fd as resolveSkipPrefix, fi as supersededHeldByOtherTypeWarning, fl as shareLogOnlyValues, fn as deleteJournaledOrphans, fo as producerRegionsFromState, fr as recheckFailedPlan, fs as malformedOrphanRecordsRefusalMessage, fu as CrossPrefixScanCache, g as isAbsoluteAssetPath, ga as wouldReturnToSdkProvider, gc as accountArgs, gd as stateBucketExistenceConfirmed, gl as maskSecretsInError, gn as journaledOrphanLines, gr as withPreviousPolicies, gs as refuseMalformedOrphanRecords, gu as isNotImplemented, h as findNestedTemplateTreeDefect, ha as isCustomResource, hc as JSON_LISTING_HOLE_VALUE, hd as resolveUseCdkBootstrapAssets, hi as withoutSuperseded, hl as errorCauseChain, hn as isHandledOrphan, hr as resolveReplacementOldType, hs as previewableOrphanRecords, hu as isAccessDenied, i as mergeNoChangeOutputs, ic as repairMalformedOutputsForReadOnly, id as Synthesizer, ii as withStackRecords, il as carryLogOnlyValues, in as nestedChildStackName$1, io as isIamRoleArn, ir as withCreateTokenLedger, is as templateResourceTypes, iu as stackInstanceIdCarriedFrom, j as isProtectionValueActive, ja as RollbackInlinePolicyWriters, jd as AssemblyReader, ji as maskEventTextWithBoundBags, jl as recordPhysicalNameCopy, jn as withMovedTo, jo as recordedReferenceRegions, js as refuseMalformedResourceEntriesForImport, ju as isCrossRegionRedirect, k as recordedProtectionNote, ka as setResolvedResourceTimeouts, kc as hasNoCloudControlHandlers, kd as derivePartitionAndUrlSuffix, ki as completedReplayEntries, kl as physicalNameCopiesOf, kn as movedToHint, kr as retiredNameGenerationsLeaving, ks as refuseMalformedResourceEntriesForDeploy, ku as buildDenyExternalAccessPolicy, l as makeCanonicalizePropertiesFn, lc as malformedStateRefusalMessage, ld as resolveApp, li as isSupersededResourceRecord, ll as printingCorpusOf, ln as collectNestedChildUnaddressed, lo as envCredentialsAreAssumedRole, lr as isJournaledOrphan, ls as declaresNoEcho, lu as timePhase, m as childTemplateLoader, ma as ccBrokenReason, mc as repairMalformedResourcesForReadOnly, md as resolveStateBucketWithDefaultAndSource, mi as supersededResourcesOf, ml as createSecretMasker, mn as dropFailedHint, mr as replacementNeverSwapped, ms as malformedOrphanRowsKeptWarning, mu as crossPrefixDeniedWarning, n as isSecretBearingReferenceString, nc as refuseMalformedOutputs, nd as AssetManifestLoader, ni as destroyStackRecordsView, nn as dropSettledNestedJournals, no as assertSendableRoleArn, nr as ledgerForStack, nu as orphansCarriedFrom, o as inRunStackKey, oc as refuseDivergentRecordRegionForDestroy, od as getDefaultStateBucketName, oi as addSuperseded, ol as hasMaskableValues, oo as AWS_CREDENTIAL_ENV_KEYS, or as planRollback, os as withRetry, ou as hasUnverifiableParameterRefusal, p as readRecordedConditionVerdicts, pa as ProviderRegistry, pc as refuseMalformedState, pd as resolveStateBucketWithDefault, pi as supersededHolderOf, pl as unionOfSecretBags, pn as dropFailedCommands, po as regionLessSecretName, pr as recordUnderIdIsNotOwn, ps as malformedOrphanRecordsWarning, pu as applyCrossPrefixScan, qa as IntrinsicFunctionResolver, qc as noEchoOutputsComparison, qd as injectAwsRegion, qi as ccRoutedFinalSnapshotError, ql as splitImportedOps, qn as settleUnsettledPrevious, qo as shownType, qr as noEchoParameterValueSeed, qs as refuseMalformedOrphans, qu as finchSecretArgvRefusal, r as keptWholeReasonText, rc as refuseMalformedOutputsForDestroy, rd as getDockerImageBySourceHash, ro as explicitRoleArnOrThrow, rs as prefetchCreateOnlyPropertyPaths, ru as shouldRetainResource, s as crossStackOutputProvenanceSource, sc as malformedRenderedContainersWarning, sd as getLegacyStateBucketName, si as deleteSupersededEntry, sl as literalSplitDelimitersOf, sn as revertedNestedRowIds, so as applyCallerIdentityCredentials, sr as seedsDeleteFirstGuard, ss as parameterInputsFor, su as PhaseClock, t as DeployEngine, td as runDockerStreaming, tl as redactForState, tn as displacedPhysicalIdShown, to as assertFlagRoleArn, tu as orphansAfterRollback, u as conditionFingerprint, uc as refuseMalformedResourcesForDeploy, ud as resolveAutoAssetStorage, ui as removeSuperseded, ul as recordLogOnlyParameterValue, un as getCurrentNestedStackContext, uo as classifyRecordedSecretRegion, ur as isReplacementOrphan, us as deployRefusesOrphanRowsReason, uu as rebuildClientForBucketRegion, v as renderNestedTemplateTreeDefect, va as applyCustomResourceResponseExpiration, vc as STATE_RESOURCES_MALFORMED, vd as ssmResolvedValueType, vi as cyan, vl as scrubResourceRecord, vn as sameJournaledOrphans, vs as refuseMalformedOrphansForOrphan, vu as withStackInstanceIdWithheld, w as deferredServiceTokenWarning, wa as withPrintingSecrets, wc as findHandledUnwrittenCreateOnly, wd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, wi as noEchoComparisonForTemplate, wl as spelledKeysOf, wn as constructPathOf$1, wo as isStalePlaceholderArnAttribute, wr as nameGenerationCarriedFrom, ws as malformedLocalResourcesWarning, wu as createAssetRedirectResolver, x as pendingMovesOutOf, xa as readsNoEchoDeleteValues, xc as hasReadableOutputs, xd as MIGRATE_TMP_PREFIX, xi as red, xl as DYNAMIC_REFERENCE_TOKEN_SCAN, xn as planOrphanAdoption, xo as parameterTypeMayLoseSecretIdentity, xs as unreadableOrphanRecords, xu as stringifyValue, y as templateIdentity, ya as customResourceResponseExpirationWarning, yc as UNREADABLE_RESOURCES_MAP_ROW, yd as CFN_TEMPLATE_BODY_LIMIT, yi as gray, yl as withPhysicalNameCopies, yn as makeForeignHolderScan, yo as coerceParameterTypedValue, ys as repairMalformedOrphanRecordsForReadOnly, yu as AssetPublisher, zc as canonicalCoordinates, zd as hasPlainPrototype, zi as storedSecretNameNeedles, zl as recordNoEchoParameterFreshValue, zn as parseMappingFile, zo as INTRINSIC_KEYS, zr as exportAliasCollisionScrubWarning, zs as refuseMalformedResourcePropertiesForDrift, zt as refactorMarkerMovesOf, zu as resolveDockerContextDirectory } from "./deploy-engine-BZSAOzE6.js";
4
+ import { $ as DeployCancelledError, A as stripForDisplay, Ct as setPasteableVerbFlags, H as isThrottlingError, J as IntrinsicResolutionRefusalError, K as CrossAccountSecretRefusalError, L as isRetryableTransientError, O as escapeRegExp, P as isAmbiguousOutcomeError, Q as CdkdError, R as isTransientServerError, St as setPasteableRunFlags, U as markNonRetryable, V as isMarkedNonRetryable, X as AccountIdUnavailableError, Y as MalformedProducerRecordRefusalError, _ as StackHasActiveImportsError, _t as plainOrDescribed, a as normalizeAwsError, at as StateError, bt as shellQuote, c as withErrorHandling, ct as TIMEOUT_FLAG_RESOURCE_TYPE, ft as commandHole, g as ResourceUpdateNotSupportedError, h as PartialFailureError, ht as pasteableCommand, i as credentialFingerprint, it as ResourceTimeoutError, k as stripControlChars, l as LocalStartServiceError, m as NestedStackChildDirectDestroyError, mt as isInertUnquoted, n as ambientCredentialConfig, o as formatError, ot as SynthesisError, q as DynamicReferenceRegionAmbiguousError, r as clientDefaultsFor, rt as ProvisioningError, t as ambientClientDefaults, tt as LocalInvokeBuildError$1, ut as SHELL_ACTIVE_WHY, v as StackTerminationProtectionError, vt as quotedOrDescribed, xt as withheldTargetClause, yt as shellBoundedDisplay, z as retryClassificationText } from "./ambient-client-defaults-CtGTOtn9.js";
5
+ import { $t as forceQuitRecoveryClause, Dt as logicalIdShown, H as assertRegionMatch, M as VALUE_NOT_SHOWN, Qt as buildLockContentionMessage, U as isMarkedNotGone, V as RESOURCE_NOT_FOUND, Xt as UNREPRODUCIBLE_LOCK_CLAUSE, Zt as buildForceUnlockCommand, an as CUSTOM_RESOURCE_RESPONSE_PREFIX, bt as interruptWatchListenerCount, dn as setPasteableAwsProfile, en as formatLockExpiry, fn as withPasteableAwsProfile, kt as resourceTypeShown, ln as producerCoordinateKey, m as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, mt as isAwsCliLiteral, nn as formatLockOwner, on as DEFAULT_STATE_PREFIX, p as IAM_PRINCIPAL_NAME, sn as injectiveKey, st as runDeleteAttempt, tn as formatLockOperation, un as producerRecordKey, vt as beginCommandInterruptScope, xt as isInterruptedWaitError, y as readRecordedPrincipals, yt as endCommandInterruptScope, z as remedyLogicalId } from "./update-removal-CNj3wKPR.js";
6
6
  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-D3Z_tFc1.js";
7
7
  import { a as setAssumedRoleCredentials, d as formatAuthority, i as getPreAssumeEnvCredentials, n as awsClientDefaults, r as getAssumedRoleCredentials, u as runInStackAwsScope } from "./aws-client-defaults-BLXFsfMa.js";
8
- import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-DWcC0h82.js";
8
+ import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-DmkrTyRF.js";
9
9
  import { t as cdkdCacheHome } from "./cli.js";
10
10
  import { randomBytes, randomUUID } from "node:crypto";
11
11
  import { CopyObjectCommand, CreateBucketCommand, DeleteBucketCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutBucketVersioningCommand, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
@@ -1854,7 +1854,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
1854
1854
  // src/provisioning/register-providers.ts
1855
1855
  let providerClasses;
1856
1856
  function loadProviderClasses() {
1857
- providerClasses ??= import("./provider-classes-ZB2dhH_W.js");
1857
+ providerClasses ??= import("./provider-classes-0cQAzv7Y.js");
1858
1858
  return providerClasses;
1859
1859
  }
1860
1860
  function registerAllProviders(registry, classes) {
@@ -6096,7 +6096,7 @@ async function buildDiffTree(args) {
6096
6096
  destructiveChanges: findDestructiveChanges(stackName, changes.values(), stateAfterAdoption.resources, effectiveTemplate),
6097
6097
  children: []
6098
6098
  };
6099
- if (found && !isNestedChild && node.blocking.length === 0) node.refactorSides = hintSidesOf(changes.values(), rollbackOrphanIds(state.orphans));
6099
+ if (found && !isNestedChild && node.blocking.length === 0) node.refactorSides = hintSidesOf(changes.values(), effectiveTemplate, rollbackOrphanIds(state.orphans));
6100
6100
  if (!recursive) return node;
6101
6101
  const templateChildIds = /* @__PURE__ */ new Set();
6102
6102
  for (const [logicalId, resource] of Object.entries(effectiveTemplate.Resources ?? {})) {
@@ -12142,7 +12142,6 @@ function deletedRefusalError({ deleted, recordMissing }, mode) {
12142
12142
  const parts = [...deleted > 0 ? [`${deleted} resource(s) deleted outside cdkd`] : [], ...recordMissing > 0 ? [`${recordMissing} nested stack(s) whose state record is gone`] : []];
12143
12143
  return new PartialFailureError(`${parts.join(" and ")} were not ${verb}; each is named above.`);
12144
12144
  }
12145
- const DELETED_RESOURCE_REMEDY = "First confirm it is really gone (in the AWS console or with the AWS CLI). A deploy that does not change it will not recreate it: to recreate it, remove it from the CDK app and deploy, then restore it and deploy again; if it is meant to be gone, the first of those deploys is enough. Anything in the app that references it has to come out with it, and that deploy DELETES those resources too.";
12146
12145
  const NESTED_RECORD_MISSING_REMEDY = "If the parent was imported with 'cdkd import --migrate-from-cloudformation' and that import stopped part-way, its nested stacks were not recorded yet: re-run that import with --force, which rebuilds the parent record from the stack and then records them. Otherwise the resources the nested stack held are no longer tracked by cdkd and may still exist in AWS, and recreating it can collide with them. A deploy that does not change the nested stack will not recreate it: to recreate it, remove it from the CDK app and deploy, then restore it and deploy again; if it is meant to be gone, the first of those deploys is enough.";
12147
12146
  function nestedRecordMissingClause(report, outcome) {
12148
12147
  return safeMsg`its nested stack's own state record ${reportIdent(nestedChildStackName(report.stackName, outcome.logicalId), STACK_REF_MAX_CODE_POINTS)} is not in state.`;
@@ -20564,6 +20563,7 @@ function actionLabel(item, skipFinalSnapshot) {
20564
20563
  case "orphan-retain": return ` - orphan ${safe(op.logicalId)} (${safe(op.resourceType)}) [DeletionPolicy Retain — left in AWS]`;
20565
20564
  case "orphan-flag": return ` - orphan ${safe(op.logicalId)} (${safe(op.resourceType)}) [--orphan]`;
20566
20565
  case "revert": return ` - revert ${safe(op.logicalId)} (${safe(op.resourceType)})${rep}`;
20566
+ case "restore-policies": return ` - revert ${safe(op.logicalId)} (${safe(op.resourceType)}) [DeletionPolicy / UpdateReplacePolicy only, in state; no AWS call]`;
20567
20567
  case "reverse-replacement":
20568
20568
  if (op.oldResourceMaySurvive !== void 0) return ` - reverse-replace ${safe(op.logicalId)} (${replacementTypes(op)}) [the deploy did not confirm deleting the old resource: re-create it if AWS reports it gone, ` + (op.oldResourceMaySurvive === "kept" ? `re-adopt it if AWS still has it (its delete was refused or never sent), ` : `REFUSED if AWS still has it (its delete may still be running, or only partly ran), `) + `REFUSED if cdkd cannot tell; ` + (item.retainsNewResource ? `new one RETAINED (UpdateReplacePolicy: Retain) and left untracked]` : `delete new]`);
20569
20569
  return item.retainsNewResource ? ` - reverse-replace ${safe(op.logicalId)} (${replacementTypes(op)}) [re-create old resource; new one RETAINED (UpdateReplacePolicy: Retain) and left untracked — REFUSED instead if the re-create collides with the name the retained resource still holds]` : ` - reverse-replace ${safe(op.logicalId)} (${replacementTypes(op)}) [re-create old resource, delete new]`;
@@ -20727,7 +20727,14 @@ function applyPlanToPreview(plan, previewState, skipFinalSnapshot) {
20727
20727
  break;
20728
20728
  case "revert":
20729
20729
  case "reverse-replacement":
20730
- case "reverse-replacement-readopt": if (op.previousState) previewState[op.logicalId] = op.previousState;
20730
+ case "reverse-replacement-readopt":
20731
+ if (op.previousState) previewState[op.logicalId] = op.previousState;
20732
+ break;
20733
+ case "restore-policies": {
20734
+ const current = previewState[op.logicalId];
20735
+ if (op.previousState && current) previewState[op.logicalId] = withPreviousPolicies(current, op.previousState);
20736
+ break;
20737
+ }
20731
20738
  }
20732
20739
  }
20733
20740
  }
@@ -22225,19 +22232,23 @@ async function planMoves(plans, envOf, overrides) {
22225
22232
  const { changes } = await dest.diff(withMoves);
22226
22233
  for (const m of incoming) {
22227
22234
  const change = changes.get(m.to);
22228
- if (change?.changeType === "NO_CHANGE") continue;
22235
+ const ref = change?.changeType === "NO_CHANGE" ? changedReferenceInDiff(dest.template, m.to, changes) : void 0;
22236
+ if (change?.changeType === "NO_CHANGE" && ref === void 0) continue;
22229
22237
  failed.push(m);
22230
- const paths = (change?.propertyChanges ?? []).map((p) => p.path);
22238
+ const paths = ref === void 0 ? (change?.propertyChanges ?? []).map((p) => p.path) : [changedReferencePath(ref)];
22231
22239
  for (const a of change?.attributeChanges ?? []) paths.push(a.attribute);
22232
22240
  if (paths.length === 0) paths.push(`(${change?.changeType ?? "not in the diff"})`);
22233
- if (m.source === "override") result.refused.push({
22234
- fromStack: m.fromStack,
22235
- from: m.from,
22236
- toStack: m.toStack,
22237
- to: m.to,
22238
- reason: `its properties also changed (${paths.join(", ")}); cdkd refactor keeps only an unchanged resource. Revert the property change, run cdkd refactor, then deploy the change`
22239
- });
22240
- else result.differing.push({
22241
+ if (m.source === "override") {
22242
+ const reason = ref === void 0 ? propertiesChangedReason(paths) : changedReferenceReason(ref);
22243
+ const { fromStack, from, toStack, to } = m;
22244
+ result.refused.push({
22245
+ fromStack,
22246
+ from,
22247
+ toStack,
22248
+ to,
22249
+ reason
22250
+ });
22251
+ } else result.differing.push({
22241
22252
  move: m,
22242
22253
  paths
22243
22254
  });
@@ -22260,7 +22271,7 @@ function renderMovePlan(plan) {
22260
22271
  if (plan.moves.length === 0 && plan.differing.length === 0 && plan.refused.length === 0 && plan.ambiguous.length === 0) return lines;
22261
22272
  lines.push("Moves between stacks");
22262
22273
  for (const m of plan.moves) lines.push(safeMsg` ${m.fromStack}.${m.from} -> ${m.toStack}.${m.to} (${m.resourceType}${m.source === "override" ? ", from the mapping file" : ""})`);
22263
- for (const { move: m, paths } of plan.differing) lines.push(safeMsg` Not moved: ${m.fromStack}.${m.from} -> ${m.toStack}.${m.to} (${m.resourceType}) also ` + safeMsg`changes ${paths.join(", ")}. cdkd refactor keeps only an unchanged resource: revert ` + "the property change, run cdkd refactor, then deploy the change.");
22274
+ for (const { move: m, paths } of plan.differing) lines.push(safeMsg` Not moved: ${m.fromStack}.${m.from} -> ${m.toStack}.${m.to} (${m.resourceType}) also ` + safeMsg`changes ${paths.join(", ")}. ${differingRemedy(paths)}`);
22264
22275
  for (const group of plan.ambiguous) lines.push(safeMsg` Ambiguous (${group.resourceType}): ${group.from.join(", ")} could each be ` + safeMsg`${group.to.join(", ")}. Name the pairs with --override-file.`);
22265
22276
  for (const r of plan.refused) lines.push(safeMsg` Refused: ${r.fromStack}.${r.from} -> ${r.toStack}.${r.to}: ${r.reason}.`);
22266
22277
  return lines;
@@ -22650,22 +22661,29 @@ async function planStackRefactor(input) {
22650
22661
  });
22651
22662
  return false;
22652
22663
  });
22653
- const confirm = async (proposed) => {
22664
+ const confirm = async (proposed, checkReferences = false) => {
22654
22665
  let kept = [...proposed];
22655
22666
  while (kept.length > 0) {
22656
22667
  const renamed = applyLogicalIdRenames(state, toLogicalIdRenames(kept), template);
22657
22668
  const { changes } = await diff(renamed);
22658
- const failed = kept.filter((r) => changes.get(r.to)?.changeType !== "NO_CHANGE");
22669
+ const refOf = /* @__PURE__ */ new Map();
22670
+ const failed = kept.filter((r) => {
22671
+ if (changes.get(r.to)?.changeType !== "NO_CHANGE") return true;
22672
+ const ref = checkReferences ? changedReferenceInDiff(template, r.to, changes) : void 0;
22673
+ if (ref !== void 0) refOf.set(r, ref);
22674
+ return ref !== void 0;
22675
+ });
22659
22676
  if (failed.length === 0) return {
22660
22677
  kept,
22661
22678
  changes
22662
22679
  };
22663
22680
  for (const rename of failed) {
22664
- const paths = changedPaths(changes.get(rename.to));
22681
+ const ref = refOf.get(rename);
22682
+ const paths = ref === void 0 ? changedPaths(changes.get(rename.to)) : [changedReferencePath(ref)];
22665
22683
  if (rename.source === "override") refusedOverrides.push({
22666
22684
  from: rename.from,
22667
22685
  to: rename.to,
22668
- reason: `its properties also changed (${paths.join(", ")}); cdkd refactor keeps only an unchanged resource. Revert the property change, run cdkd refactor, then deploy the change`
22686
+ reason: ref === void 0 ? propertiesChangedReason(paths) : changedReferenceReason(ref)
22669
22687
  });
22670
22688
  else differing.push({
22671
22689
  rename,
@@ -22740,6 +22758,8 @@ async function planStackRefactor(input) {
22740
22758
  if (accepted.length === 0) break;
22741
22759
  ({kept: renames, changes: confirmed} = await confirm([...renames, ...accepted]));
22742
22760
  }
22761
+ const settled = confirmed;
22762
+ if (settled && renames.some((r) => changedReferenceInDiff(template, r.to, settled))) ({kept: renames, changes: confirmed} = await confirm(renames, true));
22743
22763
  const renamedTo = new Set(renames.map((r) => r.to));
22744
22764
  const stillChanging = confirmed === void 0 ? [] : [...confirmed.values()].filter((change) => (change.changeType === "UPDATE" || change.changeType === "CREATE") && !renamedTo.has(change.logicalId) && [...referencedLogicalIds(template, change.logicalId)].some((id) => renamedTo.has(id))).map((change) => change.logicalId).sort();
22745
22765
  const takenTo = /* @__PURE__ */ new Set([
@@ -22777,34 +22797,6 @@ async function planStackRefactor(input) {
22777
22797
  };
22778
22798
  }
22779
22799
  const MAX_TRIAL_DIFFS = 64;
22780
- function referencedLogicalIds(template, logicalId) {
22781
- const out = /* @__PURE__ */ new Set();
22782
- const resources = template.Resources ?? {};
22783
- if (!Object.hasOwn(resources, logicalId)) return out;
22784
- const resource = resources[logicalId];
22785
- const dependsOn = resource.DependsOn;
22786
- for (const id of Array.isArray(dependsOn) ? dependsOn : [dependsOn]) if (typeof id === "string") out.add(id);
22787
- const walk = (value) => {
22788
- if (Array.isArray(value)) {
22789
- value.forEach(walk);
22790
- return;
22791
- }
22792
- if (value === null || typeof value !== "object") return;
22793
- for (const [key, arg] of Object.entries(value)) {
22794
- if (key === "Ref" && typeof arg === "string") out.add(arg);
22795
- else if (key === "Fn::GetAtt") {
22796
- if (Array.isArray(arg) && typeof arg[0] === "string") out.add(arg[0]);
22797
- else if (typeof arg === "string") out.add(arg.split(".")[0]);
22798
- } else if (key === "Fn::Sub") {
22799
- const text = typeof arg === "string" ? arg : Array.isArray(arg) ? arg[0] : void 0;
22800
- if (typeof text === "string") for (const match of text.matchAll(/\$\{([^}!][^}.]*)/g)) out.add(match[1]);
22801
- }
22802
- walk(arg);
22803
- }
22804
- };
22805
- walk(resource.Properties);
22806
- return out;
22807
- }
22808
22800
  function toLogicalIdRenames(renames) {
22809
22801
  return renames.map(({ from, to }) => ({
22810
22802
  from,
@@ -22844,7 +22836,7 @@ function renderRefactorPlan(plan) {
22844
22836
  const lines = [safeMsg`Stack ${plan.stackName} (${plan.region})`];
22845
22837
  if (plan.renames.length === 0) lines.push(" No resource to refactor.");
22846
22838
  for (const r of plan.renames) lines.push(safeMsg` ${r.from} -> ${r.to} (${r.resourceType}${r.source === "override" ? ", from the mapping file" : ""})`);
22847
- for (const { rename, paths } of plan.differing) lines.push(safeMsg` Not refactored: ${rename.from} -> ${rename.to} (${rename.resourceType}) also changes ` + safeMsg`${paths.join(", ")}. cdkd refactor keeps only an unchanged resource: revert the ` + "property change, run cdkd refactor, then deploy the change.");
22839
+ for (const { rename, paths } of plan.differing) lines.push(safeMsg` Not refactored: ${rename.from} -> ${rename.to} (${rename.resourceType}) also changes ` + safeMsg`${paths.join(", ")}. ` + differingRemedy(paths));
22848
22840
  for (const { rename, reason } of plan.skipped) lines.push(safeMsg` Not refactored: ${rename.from} -> ${rename.to} (${rename.resourceType}): ${reason}.`);
22849
22841
  for (const group of plan.ambiguous) lines.push(safeMsg` Ambiguous (${group.resourceType}): ${group.from.join(", ")} could each be ` + safeMsg`${group.to.join(", ")}. Name the pairs with --override-file.`);
22850
22842
  for (const refused of plan.refusedOverrides) lines.push(safeMsg` Refused: ${refused.from} -> ${refused.to}: ${refused.reason}.`);
@@ -32863,4 +32855,4 @@ function collectVerbFlags(program) {
32863
32855
  }
32864
32856
 
32865
32857
  export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, canonicalizeIpProtocolValue as o, holdsUnprovenSecretPrincipalToken as r, canonicalizeIpv4Cidr as t };
32866
- //# sourceMappingURL=program-B-C6eA7H.js.map
32858
+ //# sourceMappingURL=program-7VC8uSCL.js.map