@cdkd/cli 0.338.0 → 0.340.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 (40) hide show
  1. package/dist/{ambient-client-defaults-Bz2AYX3k.js → ambient-client-defaults-D2df_dIB.js} +22 -3
  2. package/dist/{ambient-client-defaults-Bz2AYX3k.js.map → ambient-client-defaults-D2df_dIB.js.map} +1 -1
  3. package/dist/{asg-provider-CWmAKpgF.js → asg-provider-DrQNWTtu.js} +4 -4
  4. package/dist/{asg-provider-CWmAKpgF.js.map → asg-provider-DrQNWTtu.js.map} +1 -1
  5. package/dist/{aws-clients-ez_oXu6x.js → aws-clients-D3Z_tFc1.js} +4 -25
  6. package/dist/aws-clients-D3Z_tFc1.js.map +1 -0
  7. package/dist/cli.js +2 -2
  8. package/dist/{db-instance-modify-retry-Dks4BxMq.js → db-instance-modify-retry-BJSwxkSE.js} +3 -3
  9. package/dist/{db-instance-modify-retry-Dks4BxMq.js.map → db-instance-modify-retry-BJSwxkSE.js.map} +1 -1
  10. package/dist/{deploy-engine-BnsHKIjc.js → deploy-engine-Bn_aBFb7.js} +281 -46
  11. package/dist/deploy-engine-Bn_aBFb7.js.map +1 -0
  12. package/dist/{ecr-uri-Bekubfie.js → ecr-uri-B5zqA138.js} +3 -3
  13. package/dist/{ecr-uri-Bekubfie.js.map → ecr-uri-B5zqA138.js.map} +1 -1
  14. package/dist/{iam-role-provider-c85y_vuT.js → iam-role-provider-CRHaUz5M.js} +5 -5
  15. package/dist/{iam-role-provider-c85y_vuT.js.map → iam-role-provider-CRHaUz5M.js.map} +1 -1
  16. package/dist/index.d.ts +3 -0
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +4 -4
  19. package/dist/{neptune-provider-CLuvQucV.js → neptune-provider-BL93NXUx.js} +5 -5
  20. package/dist/{neptune-provider-CLuvQucV.js.map → neptune-provider-BL93NXUx.js.map} +1 -1
  21. package/dist/{program-CF2fN6wd.js → program-CuJKRAac.js} +50 -80
  22. package/dist/program-CuJKRAac.js.map +1 -0
  23. package/dist/{provider-classes-Ch72oCC3.js → provider-classes-CRZ8a4sy.js} +13 -13
  24. package/dist/provider-classes-CRZ8a4sy.js.map +1 -0
  25. package/dist/{rds-provider-DDK78o9z.js → rds-provider-B-LP69hz.js} +624 -171
  26. package/dist/rds-provider-B-LP69hz.js.map +1 -0
  27. package/dist/{read-replica-C7nFHyNr.js → read-replica-DblnJp2B.js} +5 -19
  28. package/dist/read-replica-DblnJp2B.js.map +1 -0
  29. package/dist/rolldown-runtime-CNh9ExCG.js +17 -0
  30. package/dist/{update-removal--qeWEXhm.js → update-removal-DTvJXMeM.js} +2 -2
  31. package/dist/{update-removal--qeWEXhm.js.map → update-removal-DTvJXMeM.js.map} +1 -1
  32. package/dist/{version-bUHr9iDr.js → version-Y2LIzQUU.js} +2 -2
  33. package/dist/{version-bUHr9iDr.js.map → version-Y2LIzQUU.js.map} +1 -1
  34. package/package.json +11 -11
  35. package/dist/aws-clients-ez_oXu6x.js.map +0 -1
  36. package/dist/deploy-engine-BnsHKIjc.js.map +0 -1
  37. package/dist/program-CF2fN6wd.js.map +0 -1
  38. package/dist/provider-classes-Ch72oCC3.js.map +0 -1
  39. package/dist/rds-provider-DDK78o9z.js.map +0 -1
  40. package/dist/read-replica-C7nFHyNr.js.map +0 -1
@@ -1,12 +1,12 @@
1
- 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-ez_oXu6x.js";
1
+ import { t as getCdkdVersion } from "./version-Y2LIzQUU.js";
2
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 { B as isMarkedNonRetryable, D as escapeRegExp, G as CrossAccountSecretRefusalError, H as markNonRetryable, I as isRetryableTransientError, J as MalformedProducerRecordRefusalError, K as DynamicReferenceRegionAmbiguousError, L as isTransientServerError, N as isAmbiguousOutcomeError, O as stripControlChars, Q as DeployCancelledError, R as retryClassificationText, St as setPasteableVerbFlags, V as isThrottlingError, Y as AccountIdUnavailableError, Z as CdkdError, _ as StackTerminationProtectionError, _t as quotedOrDescribed, a as normalizeAwsError, at as SynthesisError, bt as withheldTargetClause, c as withErrorHandling, dt as commandHole, et as LocalInvokeBuildError$1, g as StackHasActiveImportsError, gt as plainOrDescribed, h as ResourceUpdateNotSupportedError, i as credentialFingerprint, it as StateError, k as stripForDisplay, l as LocalStartServiceError, lt as SHELL_ACTIVE_WHY, m as PartialFailureError, mt as pasteableCommand, n as ambientCredentialConfig, nt as ProvisioningError, o as formatError, p as NestedStackChildDirectDestroyError, pt as isInertUnquoted, q as IntrinsicResolutionRefusalError, r as clientDefaultsFor, rt as ResourceTimeoutError, st as TIMEOUT_FLAG_RESOURCE_TYPE, t as ambientClientDefaults, vt as shellBoundedDisplay, xt as setPasteableRunFlags, yt as shellQuote } from "./ambient-client-defaults-Bz2AYX3k.js";
3
+ import { $a as assertFlagRoleArn, $c as noEchoCoordinatesOf, $d as renderAssemblyPathEscape, $l as isLockInfoExpired, $n as updatePartialReason, $s as malformedOrphansRefusalMessage, $t as NESTED_PENDING_PARENT_REASON, $u as redactDockerArgvValues, A as serviceTokenBlockingReason, Aa as UNSPECIFIED_SKIP_REASON, Ac as hasReadableResources, Ad as findLargeInlineResources, Ai as namingSecretsWithRecordedNoEcho, Al as dynamicReferenceTokens, An as rollbackOrphanIds, Ao as getAccountInfo, Ar as inheritProducerRegions, As as isReadableResourceEntry, Au as WorkGraph, Bd as StageLoadError, Bl as recordNestedStackParameterExpressions, Bn as propertiesChangedReason, Bo as unsettledItemsOf, Br as secretSafeKeyDisplay, Bs as refuseMalformedResourceEntriesForImportSave, Bt as recordRetainedForReadoption, Bu as getBootstrapMarkerKey, C as templateIdentity, Cc as JSON_LISTING_HOLE_VALUE, Cd as resolveUseCdkBootstrapAssets, Ci as noEchoExactEchoLeavesOf, Cl as errorCauseChain, Cn as DeploymentEventsStore, Co as lacksRecordedTableArn, Cr as nameGenerationHighWaterOf, Cs as previewableOrphanRecords, Cu as isAccessDenied, D as refusePendingMovesOut, Da as setResolvedResourceTimeouts, Dc as UNREADABLE_RESOURCES_MAP_ROW, Dd as CFN_TEMPLATE_BODY_LIMIT, Di as completedReplayEntries, Dl as withPhysicalNameCopies, Dn as findRefactorHints, Dr as retiredNameGenerationsLeaving, Ds as repairMalformedOrphanRecordsForReadOnly, Du as AssetPublisher, E as pendingMovesRefusalMessage, Ec as STATE_RESOURCES_MALFORMED, Ed as ssmResolvedValueType, Ei as createReadOnlyAttributeHealerFactory, El as scrubResourceRecord, En as formatDestructiveChange, Eo as keepHeldTokenProvenance, Er as retiredNameGenerationsAfter, Es as refuseMalformedOrphansForOrphan, Eu as withStackInstanceIdWithheld, F as isProtectionValueActive, Fd as PARTITION_TABLE, Fi as secretNamedRecordNeedles, Fl as inheritNestedStackParameterAssociations, Fn as differingRemedy, Fo as keepsSecretReferenceToken, Fr as WITHHELD_NAME_DISPLAY, Fs as refuseMalformedResourceAttributesForOrphan, Fu as AssetModeResolver, Ga as IntrinsicFunctionResolver, Gc as DagBuilder, Gd as defineOwnKey, Gi as ccRoutedFinalSnapshotError, Gl as recordMaskOnlyValuesIn, Gn as recordAfterRollbackUpdate, Go as shownType, Gr as noEchoParameterValueSeed, Gs as malformedResourcePropertiesWarning, Gt as refuseRefactorMarker, Gu as BOOTSTRAP_MARKER_PREFIX, Hd as describeJsonParseFailure, Hi as withSecretPhysicalIdsMaskedInState, Hl as carriesSecretMask, Hn as referencedLogicalIds, Ho as withUnsettledProperties, Hr as exportNameNoEchoParameters, Hs as repairMalformedResourceEntriesForReadOnly, Ht as readRefactorMarkerOnce, Hu as readBootstrapMarkerBody, I as perType, Ic as NO_CC_HANDLERS_REASON, Id as canonicalizeRegion, Ii as stateSecretNameNeedles, In as isPairableType, Io as withSharedDrainBudget, Ir as displayTextOrWithheld, Is as refuseMalformedResourceEntries, It as withResourceDeadline, Iu as ensureAssetStorage, Jc as isMarkedCoordinate, Jd as nullPrototypeRecord, Ji as isFinalSnapshotError, Jl as recordProvenPublicExpression, Jn as calculateResourceDrift, Jo as isStatefulRecreateTargetSync, Jr as isExportAliasCollision, Js as refuseMalformedResourcePropertiesForExport, Ju as describeDockerCapturedOutput, Ka as isAlwaysLiveAttribute, Kc as TemplateParser, Kd as hasOwnKey, Ki as ccRoutedInstanceTakesNoSnapshot, Kl as recordNoEchoAttributeValues, Kn as settleUnsettledPrevious, Ko as MULTI_REGION_RECREATE_BLOCKED_TYPES, Kr as collectDeclaredOutputNames, Ks as refuseMalformedResourcePropertiesForDestroy, Kt as sameMove, Ku as buildDockerImage, L as readProtection, Lc as hasNoCloudControlHandlers, Ld as derivePartitionAndUrlSuffix, Li as storedSecretNameNeedles, Ll as physicalNameCopiesOf, Ln as looselyEqual, Lo as INTRINSIC_KEYS, Lr as exportAliasCollisionScrubWarning, Ls as refuseMalformedResourceEntriesForDeploy, Lt as IMPLICIT_DELETE_DEPENDENCIES, Lu as buildDenyExternalAccessPolicy, M as recordedProtectionEvidence, Ma as deleteLeftInPlace, Mc as findHandledUnwrittenCreateOnly, Md as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Mi as secretNamePrintingBag, Ml as spelledKeysOf, Mn as changedReferenceInDiff, Mo as carriesFetchableDynamicReference, Mr as namesAnyDeclaredParameter, Ms as malformedLocalResourcesWarning, Mu as createAssetRedirectResolver, N as recordedProtectionNote, Na as deleteSkipReason, Nd as decodeListingKey, Ni as secretNamePrintingBags, Nl as pathCrossesDottedKey, Nn as changedReferencePath, No as isNamelessDynamicReferenceError, Nr as reachableDivergentParameters, Ns as malformedResourceEntriesWarning, Nu as loadPublishableAssetManifest, O as deferredServiceTokenWarning, Oa as slowCcOperationTimeoutMs, Oc as displayLogicalId, Od as CFN_TEMPLATE_URL_LIMIT, Oi as journaledOrphanPrintingBag, On as hintSidesOf, Oo as recordedOutputReferenceRegions, Or as withNameGenerationReached, Os as unpreviewableOrphanRecords, Ou as isSensitiveAttributeName, P as PROTECTION_PROPERTY_BY_TYPE, Pc as unwrittenCreateOnlyReplacement, Pd as expectedOwnerParam, Pl as identityKeyFor, Pn as changedReferenceReason, Po as carriesDynamicReference, Pr as resourcesNamingDeclaredParameter, Ps as malformedScrubResourceEntriesRefusalMessage, Pu as rewriteTemplateAssetReferences, Qa as applyRoleArnIfSet, Qc as maskedLeafCoordinatesOf, Qd as displayAssemblyPath, Qi as buildFinalSnapshotIdentifier, Ql as LockManager, Qn as updatePartialMessage, Qr as maskingRetryLogger, Qs as hasReadableOrphans, Qt as resolvePendingCloudControlRequests, Qu as redactedDockerCause, Rd as refuseFailedLookups, Ri as extractDeploymentEventError, Rn as mappingPairs, Rr as secretBearing, Rs as refuseMalformedResourceEntriesForDestroy, Rt as computeImplicitDeleteEdges, Ru as assertAssetBucketRegion, S as renderNestedTemplateTreeDefect, Sa as withPrintingSecrets, Sc as repairMalformedResourcesForReadOnly, Sd as resolveStateBucketWithDefaultAndSource, Si as noEchoComparisonForTemplate, Sl as createSecretMasker, Sn as DeploymentEventsReader, So as isStalePlaceholderArnAttribute, Sr as nameGenerationCarriedFrom, Ss as malformedOrphanRowsKeptWarning, Su as crossPrefixDeniedWarning, T as pendingMovesOutOf, Tc as withheldAccountClause, Td as warnDeprecatedNoPrefixCliFlag, Ti as withAttemptedItemsMasked, Tl as maskSecretsInText, Tn as findDestructiveChanges, Tr as retiredAfterRollback, Ts as refuseMalformedOrphanRecordsForDestroy, Tu as stackInstanceIdOf, Ua as isWaitAbandonedError, Ud as parseFailureDebugDetail, Ui as ATOMIC_FINAL_SNAPSHOT_TYPES, Ul as provenPublicValue, Un as replayFailedOperations, Uo as withoutUnsettledProperties, Ur as exportNameSecretExposure, Us as unreadableResourceEntries, Ut as refactorMarkerMovesOf, Uu as validateAssetBucketName, Vd as processStackMessages, Vi as secretSegmentsOfState, Vl as splitGetAttStringForm, Vn as proposeRenames, Vo as unsettledPropertiesOf, Vr as carriedExportAliasExposure, Vs as refuseMalformedResourceEntriesForOrphan, Vt as readRefactorMarker, Vu as parseBootstrapMarker, Wa as DiffCalculator, Wd as utf8ByteLength, Wi as PRE_DELETE_SNAPSHOT_TYPES, Wl as recordMaskOnlyValue, Wn as replayRollback, Wo as findReplacedReadersOfRecreateTargets, Wr as isWholeDynamicReferenceValue, Ws as malformedDriftResourcePropertiesWarning, Wt as refactorMarkerRefusalMessage, Wu as validateContainerRepoName, Xa as producerLookupOver, Xc as maskReadbackAtCoordinates, Xd as absoluteAssemblyPathEscape, Xi as unsupportedFinalSnapshotError, Xl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Xn as equalModuloMask, Xr as DEFAULT_RESOURCE_TIMEOUT_MS, Xs as repairMalformedResourcePropertiesForReadOnly, Xt as formatResourceLine, Xu as describeDockerFailure, Ya as resolveDynamicReferences, Yc as maskAtCoordinates, Yd as ownValue, Yi as refusesFinalSnapshot, Yl as wholeStringLeavesOf, Yn as equalModuloMarkedMask, Yo as renderStatefulReason, Yr as bindingSkippedOutputs, Ys as refuseMalformedResourcePropertiesForOrphan, Yu as describeDockerExecFailure, Za as refuseUnreadableCdkCrossAccountRefs, Zc as maskWholeValue, Zd as describeFileReadFailure, Zi as createPreDeleteFinalSnapshot, Zl as isSingleDynamicReferenceToken, Zn as undeclaredEmptyObservedKeys, Zr as DEFAULT_RESOURCE_WARN_AFTER_MS, Zs as UNREADABLE_ORPHANS_CONTAINER_ROW, Zt as pendingRequestCount, Zu as redactedCause, _ as readRecordedConditionVerdicts, _a as customResourceResponseExpirationWarning, _c as malformedStateRefusalMessage, _d as resolveApp, _i as gray, _l as printingCorpusOf, _n as loadJournaledOrphans, _o as coerceParameterTypedValue, _s as declaresNoEcho, _u as timePhase, ac as malformedExportSourceWarning, ad as isMalformedEnvKey, ai as deleteSupersededEntry, al as recordedNoEchoValuesOf, an as recordDisplacedSkips, ao as applyCallerIdentityCredentials, ar as planRollback, au as hasReadableExportSet, b as isAbsoluteAssetPath, ba as isCustomResourceType$1, bc as refuseMalformedResourcesForExport, bd as resolveSkipPrefix, bi as yellow, bl as shareLogOnlyValues, bn as makeSiblingClaimReader, bo as AWS_NO_VALUE, br as removeProtectionTypeList, bs as malformedOrphanRecordsRefusalMessage, bu as CrossPrefixScanCache, c as mergeNoChangeOutputs, cc as malformedOutputsWarning, cd as runDockerForeground, ci as removeSuperseded, cn as withNestedRevertRun, co as classifyRecordedSecretRegion, cr as isJournaledOrphan, cu as isReadableBag, d as crossStackOutputProvenanceSource, da as ProviderRegistry, dc as refuseMalformedOutputsForDestroy, dd as getDockerImageBySourceHash, di as supersededHolderOf, dn as withNestedStackContext, do as regionLessSecretName, dr as recheckFailedPlan, ds as prefetchCreateOnlyPropertyPaths, du as shouldRetainResource, ec as malformedOrphansWarning, ed as dockerSpawnEnvWithSensitive, ef as resolveAssemblyPath, ei as destroyStackRecordsView, el as noEchoLeavesOf, en as displacedOpClause, eo as assertSendableRoleArn, eu as S3StateBackend, f as inheritedProvenanceForChildDiff, fa as ccBrokenReason, fc as repairMalformedOutputsForReadOnly, fd as Synthesizer, fi as supersededResourcesOf, fl as carryLogOnlyValues, fn as deleteJournaledOrphans, fr as recordUnderIdIsNotOwn, fs as templateResourceTypes, fu as stackInstanceIdCarriedFrom, g as parentSuppliedValues, ga as applyCustomResourceResponseExpiration, gc as malformedResourcesWarning, gd as loadCdkJson, gi as cyan, gl as logOnlyValueCount, gn as journaledOrphanLines, gu as renderPhaseTimings, h as conditionInputsFrom, ha as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, hc as malformedRenderedContainersWarning, hd as getLegacyStateBucketName, hi as bold, hl as literalSplitDelimitersOf, hn as isHandledOrphan, hr as findNestedStackTypeChanges, hs as parameterInputsFor, hu as PhaseClock, ic as malformedExportNamesWarning, id as isDockerClientEnvKey, if as resolveBucketRegion, ii as addSuperseded, il as readsNoEchoSource, in as nestedChildStackName$1, io as AWS_CREDENTIAL_ENV_KEYS, iu as exportNamesCarriedFrom, j as diffSecurity, ja as deleteIndeterminateGuards, jc as findActionableSdkUnwired, jd as uploadCfnTemplate, ji as orphanRecordsPrintingBag, jl as isUncertifiedBaselineMaskPosition, jn as withMovedTo, jo as isImpossibleEmptyStoredAttribute, jr as computeParameterTaint, js as malformedLocalResourceEntriesWarning, ju as buildAssetRedirectMap, k as findServiceTokenRefusals, ka as RollbackInlinePolicyWriters, kc as hasReadableOutputs, kd as MIGRATE_TMP_PREFIX, ki as maskEventTextWithBoundBags, kl as DYNAMIC_REFERENCE_TOKEN_SCAN, kn as movedToHint, ko as recordedReferenceRegions, ks as unreadableOrphanRecords, ku as stringifyValue, l as scanActiveConsumers, ld as runDockerStreaming, li as supersededAfterRollback, ll as redactForState, ln as collectNestedChildUnaddressed, lo as classifyReplaySecretRegion, lr as isReplacementOrphan, lu as orphansAfterRollback, m as conditionFingerprint, ma as wouldReturnToSdkProvider, mc as refuseDivergentRecordRegionForDestroy, md as getDefaultStateBucketName, ml as hasMaskableValues, mn as dropFailedHint, mr as resolveReplacementOldType, ms as withRetry, mu as hasUnverifiableParameterRefusal, nc as refuseMalformedOrphansForDestroy, nd as partitionSensitiveEnv, nf as injectedAwsRegionValue, ni as withStackRecords, nn as dropSettledNestedJournals, no as isIamRoleArn, nu as acceptedCreateOnlyDropsOf, o as isSecretBearingReferenceString, oc as malformedLocalOutputsWarning, od as formatDockerLoginError, oi as holdsSupersededResources, ol as valueAtCoordinate, oo as callerEnvCredentials, or as seedsDeleteFirstGuard, ou as importableOutputKeys, p as makeCanonicalizePropertiesFn, pa as isCustomResource, pc as STATE_REGION_DIVERGED, pd as synthesisStatusMessage, pi as withoutSuperseded, pl as createUnionSecretMasker, pn as dropFailedCommands, pr as replacementNeverSwapped, ps as describeTypeWithThrottleRetry, pu as hasReasonlessBaselineRefusal, qa as poisonRenderedSpellingsCollidingIn, qc as canonicalCoordinates, qd as hasPlainPrototype, qi as effectiveDeletionPolicy, ql as recordNoEchoParameterFreshValue, qn as withUnprovenUnsettled, qo as isStatefulRecreateTargetForReplace, qr as collectPublishedOutputNames, qs as refuseMalformedResourcePropertiesForDrift, qt as updateRefactorMarker, qu as resolveDockerContextDirectory, rc as repairMalformedOrphansForReadOnly, rd as warnFinchArgvExposure, rl as readbackPathFor, ro as sendableAssumeRoleCommand, rr as withCreateTokenLedger, ru as describeRegionValueKind, s as keptWholeReasonText, sc as malformedOutputsRefusalMessage, sd as getDockerCmd, si as isSupersededResourceRecord, sl as liveMatchesUnresolvedTokenFrame, sn as revertedNestedRowIds, so as envCredentialsAreAssumedRole, sr as demoteSupersededOrphans, su as importableOutputs, t as DeployEngine, tc as refuseMalformedOrphans, td as finchSecretArgvRefusal, tf as injectAwsRegion, tl as noEchoOutputsComparison, tn as displacedPhysicalIdShown, to as explicitRoleArnOrThrow, tr as ledgerForStack, ts as coerceCfnBoolean, tu as splitImportedOps, u as inRunStackKey, ua as CC_BROKEN_REASON, uc as refuseMalformedOutputs, ud as AssetManifestLoader, ui as supersededHeldByOtherTypeWarning, un as getCurrentNestedStackContext, uo as producerRegionsFromState, ur as planFailedOps, uu as orphansCarriedFrom, v as childTemplateLoader, va as TemplateNoEchoReresolver, vc as refuseMalformedResourcesForDeploy, vd as resolveAutoAssetStorage, vi as green, vl as recordLogOnlyParameterValue, vn as sameJournaledOrphans, vo as isUnboundTemplateParameter, vs as deployRefusesOrphanRowsReason, vu as rebuildClientForBucketRegion, w as hasPendingMovesOut, wa as CloudControlProvider, wc as accountArgs, wd as stateBucketExistenceConfirmed, wi as noEchoParameterNamesOf, wl as maskSecretsInError, wn as constructPathOf$1, wo as refStateLookupFromResource, wr as nameScopeOf, ws as refuseMalformedOrphanRecords, wu as isNotImplemented, x as listNestedTemplateRows, xc as refuseMalformedState, xd as resolveStateBucketWithDefault, xi as noEchoAttributeNamesOf, xl as unionOfSecretBags, xn as planOrphanAdoption, xo as cfnRefValueFromPhysicalId, xr as orphanNeedsIdentity, xs as malformedOrphanRecordsWarning, xu as applyCrossPrefixScan, y as findNestedTemplateTreeDefect, ya as readsNoEchoDeleteValues, yc as refuseMalformedResourcesForDestroy, yd as resolveCaptureObservedState, yi as red, yl as recordLogOnlyValue, yn as makeForeignHolderScan, yo as parameterTypeMayLoseSecretIdentity, ys as isReadableOrphanRecord, yu as CrossPrefixReadError, zd as AssemblyReader, zl as recordPhysicalNameCopy, zn as parseMappingFile, zo as unsettledItemsField, zr as secretBearingStateKeyWarning, zs as refuseMalformedResourceEntriesForImport, zt as keptForRetainedRecord, zu as isCrossRegionRedirect } from "./deploy-engine-Bn_aBFb7.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";
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";
4
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";
5
- import { $a as envCredentialsAreAssumedRole, $c as liveMatchesUnresolvedTokenFrame, $l as importableOutputs, $n as demoteSupersededOrphans, $r as isSupersededResourceRecord, $s as malformedOutputsRefusalMessage, $t as displacedPhysicalIdShown, $u as getDockerCmd, A as recordedProtectionEvidence, Ad as refuseFailedLookups, Ai as extractDeploymentEventError, An as isPairableType, Ar as secretBearing, As as refuseMalformedResourceEntriesForDestroy, Au as assertAssetBucketRegion, Bc as isMarkedCoordinate, Bd as nullPrototypeRecord, Bi as isFinalSnapshotError, Bl as recordProvenPublicExpression, Bn as calculateResourceDrift, Bo as isStatefulRecreateTargetSync, Br as isExportAliasCollision, Bs as refuseMalformedResourcePropertiesForExport, Bt as readRefactorMarkerOnce, Bu as describeDockerCapturedOutput, C as pendingMovesOutOf, Ca as deleteIndeterminateGuards, Cc as findActionableSdkUnwired, Cd as uploadCfnTemplate, Ci as orphanRecordsPrintingBag, Cl as isUncertifiedBaselineMaskPosition, Cn as findDestructiveChanges, Co as isImpossibleEmptyStoredAttribute, Cr as computeParameterTaint, Cs as malformedLocalResourceEntriesWarning, Cu as buildAssetRedirectMap, D as findServiceTokenRefusals, Dd as PARTITION_TABLE, Di as secretNamedRecordNeedles, Dl as inheritNestedStackParameterAssociations, Dn as movedToHint, Do as keepsSecretReferenceToken, Dr as WITHHELD_NAME_DISPLAY, Ds as refuseMalformedResourceAttributesForOrphan, Du as AssetModeResolver, E as deferredServiceTokenWarning, Ec as unwrittenCreateOnlyReplacement, Ed as expectedOwnerParam, El as identityKeyFor, En as hintSidesOf, Eo as carriesDynamicReference, Er as resourcesNamingDeclaredParameter, Es as malformedScrubResourceEntriesRefusalMessage, Eu as rewriteTemplateAssetReferences, F as readProtection, Fa as isWaitAbandonedError, Fd as parseFailureDebugDetail, Fi as ATOMIC_FINAL_SNAPSHOT_TYPES, Fl as provenPublicValue, Fn as replayFailedOperations, Fo as withoutUnsettledProperties, Fr as exportNameSecretExposure, Fs as unreadableResourceEntries, Ft as IMPLICIT_DELETE_DEPENDENCIES, Fu as validateAssetBucketName, Ga as assertFlagRoleArn, Gc as noEchoCoordinatesOf, Gd as renderAssemblyPathEscape, Gl as isLockInfoExpired, Gn as updatePartialReason, Gs as malformedOrphansRefusalMessage, Gt as updateRefactorMarker, Gu as redactDockerArgvValues, Ha as producerLookupOver, Hc as maskReadbackAtCoordinates, Hd as absoluteAssemblyPathEscape, Hi as unsupportedFinalSnapshotError, Hl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Hn as equalModuloMask, Hr as DEFAULT_RESOURCE_TIMEOUT_MS, Hs as repairMalformedResourcePropertiesForReadOnly, Ht as refactorMarkerRefusalMessage, Hu as describeDockerFailure, Ia as DiffCalculator, Id as utf8ByteLength, Ii as PRE_DELETE_SNAPSHOT_TYPES, Il as recordMaskOnlyValue, In as replayRollback, Io as findReplacedReadersOfRecreateTargets, Ir as isWholeDynamicReferenceValue, Is as malformedDriftResourcePropertiesWarning, It as computeImplicitDeleteEdges, Iu as validateContainerRepoName, Ja as isIamRoleArn, Jd as injectedAwsRegionValue, Jl as acceptedCreateOnlyDropsOf, Jr as withStackRecords, Js as refuseMalformedOrphansForDestroy, Jt as formatResourceLine, Ju as partitionSensitiveEnv, Ka as assertSendableRoleArn, Kc as noEchoLeavesOf, Kd as resolveAssemblyPath, Kl as S3StateBackend, Kr as destroyStackRecordsView, Ks as malformedOrphansWarning, Ku as dockerSpawnEnvWithSensitive, La as IntrinsicFunctionResolver, Lc as DagBuilder, Ld as defineOwnKey, Li as ccRoutedFinalSnapshotError, Ll as recordMaskOnlyValuesIn, Ln as recordAfterRollbackUpdate, Lo as shownType, Lr as noEchoParameterValueSeed, Ls as malformedResourcePropertiesWarning, Lt as keptForRetainedRecord, Lu as BOOTSTRAP_MARKER_PREFIX, M as PROTECTION_PROPERTY_BY_TYPE, Md as StageLoadError, Ml as recordNestedStackParameterExpressions, Mn as mappingPairs, Mo as unsettledItemsOf, Mr as secretSafeKeyDisplay, Ms as refuseMalformedResourceEntriesForImportSave, Mu as getBootstrapMarkerKey, N as isProtectionValueActive, Nd as processStackMessages, Ni as secretSegmentsOfState, Nl as splitGetAttStringForm, Nn as parseMappingFile, No as unsettledPropertiesOf, Nr as carriedExportAliasExposure, Ns as refuseMalformedResourceEntriesForOrphan, Nu as parseBootstrapMarker, O as serviceTokenBlockingReason, Oc as NO_CC_HANDLERS_REASON, Od as canonicalizeRegion, Oi as stateSecretNameNeedles, On as rollbackOrphanIds, Oo as withSharedDrainBudget, Or as displayTextOrWithheld, Os as refuseMalformedResourceEntries, Ou as ensureAssetStorage, P as perType, Pd as describeJsonParseFailure, Pi as withSecretPhysicalIdsMaskedInState, Pl as carriesSecretMask, Pn as proposeRenames, Po as withUnsettledProperties, Pr as exportNameNoEchoParameters, Ps as repairMalformedResourceEntriesForReadOnly, Pt as withResourceDeadline, Pu as readBootstrapMarkerBody, Qa as callerEnvCredentials, Qc as valueAtCoordinate, Ql as importableOutputKeys, Qn as seedsDeleteFirstGuard, Qr as holdsSupersededResources, Qs as malformedLocalOutputsWarning, Qt as displacedOpClause, Qu as formatDockerLoginError, Ra as isAlwaysLiveAttribute, Rc as TemplateParser, Rd as hasOwnKey, Ri as ccRoutedInstanceTakesNoSnapshot, Rl as recordNoEchoAttributeValues, Rn as settleUnsettledPrevious, Ro as MULTI_REGION_RECREATE_BLOCKED_TYPES, Rr as collectDeclaredOutputNames, Rs as refuseMalformedResourcePropertiesForDestroy, Rt as recordRetainedForReadoption, Ru as buildDockerImage, S as hasPendingMovesOut, Sa as UNSPECIFIED_SKIP_REASON, Sc as hasReadableResources, Sd as findLargeInlineResources, Si as namingSecretsWithRecordedNoEcho, Sl as dynamicReferenceTokens, Sn as constructPathOf$1, So as getAccountInfo, Sr as inheritProducerRegions, Ss as isReadableResourceEntry, Su as WorkGraph, T as refusePendingMovesOut, Ta as deleteSkipReason, Td as decodeListingKey, Ti as secretNamePrintingBags, Tl as pathCrossesDottedKey, Tn as findRefactorHints, To as isNamelessDynamicReferenceError, Tr as reachableDivergentParameters, Ts as malformedResourceEntriesWarning, Tu as loadPublishableAssetManifest, Ua as refuseUnreadableCdkCrossAccountRefs, Uc as maskWholeValue, Ud as describeFileReadFailure, Ui as createPreDeleteFinalSnapshot, Ul as isSingleDynamicReferenceToken, Un as undeclaredEmptyObservedKeys, Ur as DEFAULT_RESOURCE_WARN_AFTER_MS, Us as UNREADABLE_ORPHANS_CONTAINER_ROW, Ut as refuseRefactorMarker, Uu as redactedCause, Va as resolveDynamicReferences, Vc as maskAtCoordinates, Vd as ownValue, Vi as refusesFinalSnapshot, Vl as wholeStringLeavesOf, Vn as equalModuloMarkedMask, Vo as renderStatefulReason, Vr as bindingSkippedOutputs, Vs as refuseMalformedResourcePropertiesForOrphan, Vt as refactorMarkerMovesOf, Vu as describeDockerExecFailure, Wa as applyRoleArnIfSet, Wc as maskedLeafCoordinatesOf, Wd as displayAssemblyPath, Wi as buildFinalSnapshotIdentifier, Wl as LockManager, Wn as updatePartialMessage, Wr as maskingRetryLogger, Ws as hasReadableOrphans, Wt as sameMove, Wu as redactedDockerCause, Xa as AWS_CREDENTIAL_ENV_KEYS, Xc as readsNoEchoSource, Xd as resolveBucketRegion, Xl as exportNamesCarriedFrom, Xr as addSuperseded, Xs as malformedExportNamesWarning, Xt as resolvePendingCloudControlRequests, Xu as isDockerClientEnvKey, Ya as sendableAssumeRoleCommand, Yc as readbackPathFor, Yl as describeRegionValueKind, Yn as withCreateTokenLedger, Ys as repairMalformedOrphansForReadOnly, Yt as pendingRequestCount, Yu as warnFinchArgvExposure, Za as applyCallerIdentityCredentials, Zc as recordedNoEchoValuesOf, Zl as hasReadableExportSet, Zn as planRollback, Zr as deleteSupersededEntry, Zs as malformedExportSourceWarning, Zt as NESTED_PENDING_PARENT_REASON, Zu as isMalformedEnvKey, _ as findNestedTemplateTreeDefect, _c as withheldAccountClause, _d as warnDeprecatedNoPrefixCliFlag, _i as withAttemptedItemsMasked, _l as maskSecretsInText, _n as makeForeignHolderScan, _r as retiredAfterRollback, _s as refuseMalformedOrphanRecordsForDestroy, _u as stackInstanceIdOf, aa as isCustomResource, ac as STATE_REGION_DIVERGED, ad as synthesisStatusMessage, ai as withoutSuperseded, al as createUnionSecretMasker, an as revertedNestedRowIds, ar as replacementNeverSwapped, as as describeTypeWithThrottleRetry, au as hasReasonlessBaselineRefusal, b as renderNestedTemplateTreeDefect, ba as slowCcOperationTimeoutMs, bc as displayLogicalId, bd as CFN_TEMPLATE_URL_LIMIT, bi as journaledOrphanPrintingBag, bn as DeploymentEventsReader, bo as recordedOutputReferenceRegions, br as withNameGenerationReached, bs as unpreviewableOrphanRecords, bu as isSensitiveAttributeName, c as mergeNoChangeOutputs, ca as applyCustomResourceResponseExpiration, cc as malformedResourcesWarning, cd as loadCdkJson, ci as cyan, cl as logOnlyValueCount, cn as getCurrentNestedStackContext, cu as renderPhaseTimings, d as makeCanonicalizePropertiesFn, da as readsNoEchoDeleteValues, dc as refuseMalformedResourcesForDestroy, dd as resolveCaptureObservedState, di as red, dl as recordLogOnlyValue, dn as dropFailedCommands, do as parameterTypeMayLoseSecretIdentity, ds as isReadableOrphanRecord, du as CrossPrefixReadError, ec as malformedOutputsWarning, ed as runDockerForeground, ei as removeSuperseded, en as dropSettledNestedJournals, eo as classifyRecordedSecretRegion, er as isJournaledOrphan, eu as isReadableBag, f as conditionFingerprint, fa as isCustomResourceType$1, fc as refuseMalformedResourcesForExport, fd as resolveSkipPrefix, fi as yellow, fl as shareLogOnlyValues, fn as dropFailedHint, fo as AWS_NO_VALUE, fr as removeProtectionTypeList, fs as malformedOrphanRecordsRefusalMessage, fu as CrossPrefixScanCache, g as childTemplateLoader, ga as CloudControlProvider, gc as accountArgs, gd as stateBucketExistenceConfirmed, gi as noEchoParameterNamesOf, gl as maskSecretsInError, gn as sameJournaledOrphans, go as refStateLookupFromResource, gr as nameScopeOf, gs as refuseMalformedOrphanRecords, gu as isNotImplemented, h as readRecordedConditionVerdicts, hc as JSON_LISTING_HOLE_VALUE, hd as resolveUseCdkBootstrapAssets, hi as noEchoExactEchoLeavesOf, hl as errorCauseChain, hn as loadJournaledOrphans, ho as lacksRecordedTableArn, hr as nameGenerationHighWaterOf, hs as previewableOrphanRecords, hu as isAccessDenied, ia as ccBrokenReason, ic as repairMalformedOutputsForReadOnly, id as Synthesizer, ii as supersededResourcesOf, il as carryLogOnlyValues, ir as recordUnderIdIsNotOwn, is as templateResourceTypes, iu as stackInstanceIdCarriedFrom, j as recordedProtectionNote, jd as AssemblyReader, jl as recordPhysicalNameCopy, jn as looselyEqual, jo as unsettledItemsField, jr as secretBearingStateKeyWarning, js as refuseMalformedResourceEntriesForImport, ju as isCrossRegionRedirect, k as diffSecurity, kc as hasNoCloudControlHandlers, kd as derivePartitionAndUrlSuffix, ki as storedSecretNameNeedles, kl as physicalNameCopiesOf, kn as withMovedTo, ko as INTRINSIC_KEYS, kr as exportAliasCollisionScrubWarning, ks as refuseMalformedResourceEntriesForDeploy, ku as buildDenyExternalAccessPolicy, l as crossStackOutputProvenanceSource, la as customResourceResponseExpirationWarning, lc as malformedStateRefusalMessage, ld as resolveApp, li as gray, ll as printingCorpusOf, ln as withNestedStackContext, lo as coerceParameterTypedValue, ls as declaresNoEcho, lu as timePhase, m as parentSuppliedValues, ma as withPrintingSecrets, mc as repairMalformedResourcesForReadOnly, md as resolveStateBucketWithDefaultAndSource, mi as noEchoComparisonForTemplate, ml as createSecretMasker, mn as journaledOrphanLines, mo as isStalePlaceholderArnAttribute, mr as nameGenerationCarriedFrom, ms as malformedOrphanRowsKeptWarning, mu as crossPrefixDeniedWarning, na as CC_BROKEN_REASON, nc as refuseMalformedOutputs, nd as AssetManifestLoader, ni as supersededHeldByOtherTypeWarning, nn as nestedChildStackName$1, no as producerRegionsFromState, nr as planFailedOps, nu as orphansCarriedFrom, o as isSecretBearingReferenceString, oa as wouldReturnToSdkProvider, oc as refuseDivergentRecordRegionForDestroy, od as getDefaultStateBucketName, ol as hasMaskableValues, on as withNestedRevertRun, or as resolveReplacementOldType, os as withRetry, ou as hasUnverifiableParameterRefusal, p as conditionInputsFrom, pc as refuseMalformedState, pd as resolveStateBucketWithDefault, pi as noEchoAttributeNamesOf, pl as unionOfSecretBags, pn as isHandledOrphan, po as cfnRefValueFromPhysicalId, pr as orphanNeedsIdentity, ps as malformedOrphanRecordsWarning, pu as applyCrossPrefixScan, qa as explicitRoleArnOrThrow, qc as noEchoOutputsComparison, qd as injectAwsRegion, ql as splitImportedOps, qn as ledgerForStack, qo as coerceCfnBoolean, qs as refuseMalformedOrphans, qu as finchSecretArgvRefusal, ra as ProviderRegistry, rc as refuseMalformedOutputsForDestroy, rd as getDockerImageBySourceHash, ri as supersededHolderOf, rn as recordDisplacedSkips, ro as regionLessSecretName, rr as recheckFailedPlan, rs as prefetchCreateOnlyPropertyPaths, ru as shouldRetainResource, s as keptWholeReasonText, sa as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, sc as malformedRenderedContainersWarning, sd as getLegacyStateBucketName, si as bold, sl as literalSplitDelimitersOf, sn as collectNestedChildUnaddressed, sr as findNestedStackTypeChanges, ss as parameterInputsFor, su as PhaseClock, t as DeployEngine, td as runDockerStreaming, ti as supersededAfterRollback, tl as redactForState, to as classifyReplaySecretRegion, tr as isReplacementOrphan, tu as orphansAfterRollback, u as inheritedProvenanceForChildDiff, ua as TemplateNoEchoReresolver, uc as refuseMalformedResourcesForDeploy, ud as resolveAutoAssetStorage, ui as green, ul as recordLogOnlyParameterValue, un as deleteJournaledOrphans, uo as isUnboundTemplateParameter, us as deployRefusesOrphanRowsReason, uu as rebuildClientForBucketRegion, v as isAbsoluteAssetPath, vc as STATE_RESOURCES_MALFORMED, vd as ssmResolvedValueType, vi as createReadOnlyAttributeHealerFactory, vl as scrubResourceRecord, vn as makeSiblingClaimReader, vo as keepHeldTokenProvenance, vr as retiredNameGenerationsAfter, vs as refuseMalformedOrphansForOrphan, vu as withStackInstanceIdWithheld, w as pendingMovesRefusalMessage, wa as deleteLeftInPlace, wc as findHandledUnwrittenCreateOnly, wd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, wi as secretNamePrintingBag, wl as spelledKeysOf, wn as formatDestructiveChange, wo as carriesFetchableDynamicReference, wr as namesAnyDeclaredParameter, ws as malformedLocalResourcesWarning, wu as createAssetRedirectResolver, x as templateIdentity, xa as RollbackInlinePolicyWriters, xc as hasReadableOutputs, xd as MIGRATE_TMP_PREFIX, xi as maskEventTextWithBoundBags, xl as DYNAMIC_REFERENCE_TOKEN_SCAN, xn as DeploymentEventsStore, xo as recordedReferenceRegions, xs as unreadableOrphanRecords, xu as stringifyValue, y as listNestedTemplateRows, ya as setResolvedResourceTimeouts, yc as UNREADABLE_RESOURCES_MAP_ROW, yd as CFN_TEMPLATE_BODY_LIMIT, yi as completedReplayEntries, yl as withPhysicalNameCopies, yn as planOrphanAdoption, yr as retiredNameGenerationsLeaving, ys as repairMalformedOrphanRecordsForReadOnly, yu as AssetPublisher, za as poisonRenderedSpellingsCollidingIn, zc as canonicalCoordinates, zd as hasPlainPrototype, zi as effectiveDeletionPolicy, zl as recordNoEchoParameterFreshValue, zn as withUnprovenUnsettled, zo as isStatefulRecreateTargetForReplace, zr as collectPublishedOutputNames, zs as refuseMalformedResourcePropertiesForDrift, zt as readRefactorMarker, zu as resolveDockerContextDirectory } from "./deploy-engine-BnsHKIjc.js";
6
- 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--qeWEXhm.js";
7
- import { t as getCdkdVersion } from "./version-bUHr9iDr.js";
8
+ import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-B5zqA138.js";
8
9
  import { t as cdkdCacheHome } from "./cli.js";
9
- import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-Bekubfie.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";
12
12
  import { GetRoleCommand, GetUserCommand } from "@aws-sdk/client-iam";
@@ -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-Ch72oCC3.js");
1857
+ providerClasses ??= import("./provider-classes-CRZ8a4sy.js");
1858
1858
  return providerClasses;
1859
1859
  }
1860
1860
  function registerAllProviders(registry, classes) {
@@ -3453,7 +3453,8 @@ async function deployStackInScope(ctx, stackInfo, stackRegion, stackAwsClients)
3453
3453
  requireApproval,
3454
3454
  approveDeployment
3455
3455
  },
3456
- ...stackInfo.terminationProtection === true && { terminationProtection: true }
3456
+ ...stackInfo.terminationProtection === true && { terminationProtection: true },
3457
+ inRunStacks: ctx.inRunStacks
3457
3458
  };
3458
3459
  const stackDeployEngine = new DeployEngine(stackStateBackend, stackLockManager, dagBuilder, diffCalculator, stackProviderRegistry, deployEngineOptions, stackRegion, exportIndexStore);
3459
3460
  const deployResult = await withNestedStackContext({
@@ -3830,7 +3831,8 @@ Force-quit: stack locks may not be released. If the next run reports a lock, run
3830
3831
  },
3831
3832
  addCancelledStack: () => {
3832
3833
  cancelledStacks++;
3833
- }
3834
+ },
3835
+ inRunStacks: new Set(targetStacks.map((s) => inRunStackKey(s.stackName, stackRegions.get(s) ?? deployStackRegion(s, baseRegion))))
3834
3836
  };
3835
3837
  checkPinCcApiOptions(options, targetStacks, logger);
3836
3838
  runClock.lap("work graph build, recreate checks");
@@ -4707,13 +4709,16 @@ function maskResourceChangeForDisplay(change, mask) {
4707
4709
  let changed = false;
4708
4710
  const propertyChanges = change.propertyChanges.map((propertyChange) => {
4709
4711
  const newValue = maskDiffValue(propertyChange.newValue, mask);
4710
- const oldValue = maskedOldSide(propertyChange.oldValue, newValue !== propertyChange.newValue, mask);
4711
- if (newValue === propertyChange.newValue && oldValue === propertyChange.oldValue) return propertyChange;
4712
+ const hasTemplate = Object.prototype.hasOwnProperty.call(propertyChange, "newValueTemplate");
4713
+ const newValueTemplate = hasTemplate ? maskDiffValue(propertyChange.newValueTemplate, mask) : void 0;
4714
+ const oldValue = maskedOldSide(propertyChange.oldValue, newValue !== propertyChange.newValue || hasTemplate && newValueTemplate !== propertyChange.newValueTemplate, mask);
4715
+ if (newValue === propertyChange.newValue && oldValue === propertyChange.oldValue && newValueTemplate === propertyChange.newValueTemplate) return propertyChange;
4712
4716
  changed = true;
4713
4717
  return {
4714
4718
  ...propertyChange,
4715
4719
  oldValue,
4716
- newValue
4720
+ newValue,
4721
+ ...hasTemplate && { newValueTemplate }
4717
4722
  };
4718
4723
  });
4719
4724
  return changed ? {
@@ -6091,7 +6096,7 @@ async function buildDiffTree(args) {
6091
6096
  destructiveChanges: findDestructiveChanges(stackName, changes.values(), stateAfterAdoption.resources, effectiveTemplate),
6092
6097
  children: []
6093
6098
  };
6094
- 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));
6095
6100
  if (!recursive) return node;
6096
6101
  const templateChildIds = /* @__PURE__ */ new Set();
6097
6102
  for (const [logicalId, resource] of Object.entries(effectiveTemplate.Resources ?? {})) {
@@ -6368,11 +6373,11 @@ function renderChangeLines(changes, logFn, ccApiRoutes, adoptedOrphans, refactor
6368
6373
  logFn(` [~] ${logicalId} (${change.resourceType})${annotateAdoption(logicalId)}${annotateRouting(logicalId)}`);
6369
6374
  if (change.propertyChanges && change.propertyChanges.length > 0) for (const propChange of change.propertyChanges) {
6370
6375
  const requiresReplace = propChange.requiresReplacement && (propChange.inPlacePropagated === true || propChange.replacementPropagated === true) ? " [may require replacement]" : propChange.requiresReplacement ? " [requires replacement]" : "";
6371
- const propagated = propChange.replacementPropagated ? " [replacement propagated]" : propChange.readProvenancePromoted === true ? " [read value moved upstream]" : propChange.inPlacePropagated ? " [attribute propagated]" : propChange.maskedExpressionChanged === true ? " [masked input or expression changed]" : propChange.unsettled === true ? " [unsettled after a failed update; sent again]" : "";
6376
+ const propagated = propChange.replacementPropagated ? " [replacement propagated]" : propChange.readProvenancePromoted === true ? " [read value moved upstream]" : propChange.inPlacePropagated ? " [attribute propagated]" : propChange.maskedExpressionChanged === true ? " [masked input or expression changed]" : propChange.unsettled === true ? " [unsettled after a failed update; sent again]" : propChange.newValueKnownAfterDeploy === true ? " [reads a resource this deploy changes]" : "";
6372
6377
  const indent = " ";
6373
6378
  const [oldFiltered, newFiltered] = stripUnchangedValuePair(propChange.oldValue, propChange.newValue);
6374
6379
  const oldStr = renderDiffValue(propChange.oldValue, oldFiltered, indent, false);
6375
- const newStr = renderDiffValue(propChange.newValue, newFiltered, indent, true);
6380
+ const newStr = propChange.newValueKnownAfterDeploy === true ? `${JSON.stringify(propChange.newValueTemplate)} (known after deploy)` : renderDiffValue(propChange.newValue, newFiltered, indent, true);
6376
6381
  logFn(` - ${propChange.path}:${requiresReplace}${propagated}`);
6377
6382
  logFn(` old: ${oldStr}`);
6378
6383
  logFn(` new: ${newStr}`);
@@ -12308,26 +12313,6 @@ async function releaseRegistryMarkerAfterDestroy(ctx, stackName, region, logger)
12308
12313
  function holdsSameResourcesAs(snapshot, current) {
12309
12314
  return isDeepStrictEqual(snapshot.resources, current.resources) && isDeepStrictEqual(snapshot.supersededResources, current.supersededResources);
12310
12315
  }
12311
- async function scanActiveConsumers(producerStack, producerRegion, ctx) {
12312
- const refs = await ctx.stateBackend.listStacks();
12313
- return (await Promise.all(refs.map(async (ref) => {
12314
- const region = ref.region ?? ctx.baseRegion;
12315
- if (ref.stackName === producerStack && region === producerRegion) return null;
12316
- try {
12317
- const imports = (await ctx.stateBackend.getState(ref.stackName, region))?.state.imports;
12318
- if (!imports || imports.length === 0) return null;
12319
- const matches = imports.filter((entry) => entry.sourceStack === producerStack && canonicalizeRegion(entry.sourceRegion) === canonicalizeRegion(producerRegion));
12320
- if (matches.length === 0) return null;
12321
- return matches.map((entry) => ({
12322
- consumerStack: ref.stackName,
12323
- consumerRegion: region,
12324
- exportName: entry.exportName
12325
- }));
12326
- } catch {
12327
- return null;
12328
- }
12329
- }))).filter((r) => r !== null).flat();
12330
- }
12331
12316
  function refuseNewPendingRequests(read, stackName, region) {
12332
12317
  if ((read.pendingRequests ?? 0) === 0) return;
12333
12318
  throw new Error(`The rollback journal of stack ${displayStackName(stackName)} (${displaySafe(region, { asciiOnly: true })}) now records a Cloud Control CREATE a failed deploy stopped waiting for — another cdkd process wrote to it. Nothing was deleted; re-run the destroy, which checks how that CREATE ended first.`);
@@ -22240,19 +22225,23 @@ async function planMoves(plans, envOf, overrides) {
22240
22225
  const { changes } = await dest.diff(withMoves);
22241
22226
  for (const m of incoming) {
22242
22227
  const change = changes.get(m.to);
22243
- if (change?.changeType === "NO_CHANGE") continue;
22228
+ const ref = change?.changeType === "NO_CHANGE" ? changedReferenceInDiff(dest.template, m.to, changes) : void 0;
22229
+ if (change?.changeType === "NO_CHANGE" && ref === void 0) continue;
22244
22230
  failed.push(m);
22245
- const paths = (change?.propertyChanges ?? []).map((p) => p.path);
22231
+ const paths = ref === void 0 ? (change?.propertyChanges ?? []).map((p) => p.path) : [changedReferencePath(ref)];
22246
22232
  for (const a of change?.attributeChanges ?? []) paths.push(a.attribute);
22247
22233
  if (paths.length === 0) paths.push(`(${change?.changeType ?? "not in the diff"})`);
22248
- if (m.source === "override") result.refused.push({
22249
- fromStack: m.fromStack,
22250
- from: m.from,
22251
- toStack: m.toStack,
22252
- to: m.to,
22253
- 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`
22254
- });
22255
- else result.differing.push({
22234
+ if (m.source === "override") {
22235
+ const reason = ref === void 0 ? propertiesChangedReason(paths) : changedReferenceReason(ref);
22236
+ const { fromStack, from, toStack, to } = m;
22237
+ result.refused.push({
22238
+ fromStack,
22239
+ from,
22240
+ toStack,
22241
+ to,
22242
+ reason
22243
+ });
22244
+ } else result.differing.push({
22256
22245
  move: m,
22257
22246
  paths
22258
22247
  });
@@ -22275,7 +22264,7 @@ function renderMovePlan(plan) {
22275
22264
  if (plan.moves.length === 0 && plan.differing.length === 0 && plan.refused.length === 0 && plan.ambiguous.length === 0) return lines;
22276
22265
  lines.push("Moves between stacks");
22277
22266
  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" : ""})`);
22278
- 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.");
22267
+ 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)}`);
22279
22268
  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.`);
22280
22269
  for (const r of plan.refused) lines.push(safeMsg` Refused: ${r.fromStack}.${r.from} -> ${r.toStack}.${r.to}: ${r.reason}.`);
22281
22270
  return lines;
@@ -22665,22 +22654,29 @@ async function planStackRefactor(input) {
22665
22654
  });
22666
22655
  return false;
22667
22656
  });
22668
- const confirm = async (proposed) => {
22657
+ const confirm = async (proposed, checkReferences = false) => {
22669
22658
  let kept = [...proposed];
22670
22659
  while (kept.length > 0) {
22671
22660
  const renamed = applyLogicalIdRenames(state, toLogicalIdRenames(kept), template);
22672
22661
  const { changes } = await diff(renamed);
22673
- const failed = kept.filter((r) => changes.get(r.to)?.changeType !== "NO_CHANGE");
22662
+ const refOf = /* @__PURE__ */ new Map();
22663
+ const failed = kept.filter((r) => {
22664
+ if (changes.get(r.to)?.changeType !== "NO_CHANGE") return true;
22665
+ const ref = checkReferences ? changedReferenceInDiff(template, r.to, changes) : void 0;
22666
+ if (ref !== void 0) refOf.set(r, ref);
22667
+ return ref !== void 0;
22668
+ });
22674
22669
  if (failed.length === 0) return {
22675
22670
  kept,
22676
22671
  changes
22677
22672
  };
22678
22673
  for (const rename of failed) {
22679
- const paths = changedPaths(changes.get(rename.to));
22674
+ const ref = refOf.get(rename);
22675
+ const paths = ref === void 0 ? changedPaths(changes.get(rename.to)) : [changedReferencePath(ref)];
22680
22676
  if (rename.source === "override") refusedOverrides.push({
22681
22677
  from: rename.from,
22682
22678
  to: rename.to,
22683
- 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`
22679
+ reason: ref === void 0 ? propertiesChangedReason(paths) : changedReferenceReason(ref)
22684
22680
  });
22685
22681
  else differing.push({
22686
22682
  rename,
@@ -22755,6 +22751,8 @@ async function planStackRefactor(input) {
22755
22751
  if (accepted.length === 0) break;
22756
22752
  ({kept: renames, changes: confirmed} = await confirm([...renames, ...accepted]));
22757
22753
  }
22754
+ const settled = confirmed;
22755
+ if (settled && renames.some((r) => changedReferenceInDiff(template, r.to, settled))) ({kept: renames, changes: confirmed} = await confirm(renames, true));
22758
22756
  const renamedTo = new Set(renames.map((r) => r.to));
22759
22757
  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();
22760
22758
  const takenTo = /* @__PURE__ */ new Set([
@@ -22792,34 +22790,6 @@ async function planStackRefactor(input) {
22792
22790
  };
22793
22791
  }
22794
22792
  const MAX_TRIAL_DIFFS = 64;
22795
- function referencedLogicalIds(template, logicalId) {
22796
- const out = /* @__PURE__ */ new Set();
22797
- const resources = template.Resources ?? {};
22798
- if (!Object.hasOwn(resources, logicalId)) return out;
22799
- const resource = resources[logicalId];
22800
- const dependsOn = resource.DependsOn;
22801
- for (const id of Array.isArray(dependsOn) ? dependsOn : [dependsOn]) if (typeof id === "string") out.add(id);
22802
- const walk = (value) => {
22803
- if (Array.isArray(value)) {
22804
- value.forEach(walk);
22805
- return;
22806
- }
22807
- if (value === null || typeof value !== "object") return;
22808
- for (const [key, arg] of Object.entries(value)) {
22809
- if (key === "Ref" && typeof arg === "string") out.add(arg);
22810
- else if (key === "Fn::GetAtt") {
22811
- if (Array.isArray(arg) && typeof arg[0] === "string") out.add(arg[0]);
22812
- else if (typeof arg === "string") out.add(arg.split(".")[0]);
22813
- } else if (key === "Fn::Sub") {
22814
- const text = typeof arg === "string" ? arg : Array.isArray(arg) ? arg[0] : void 0;
22815
- if (typeof text === "string") for (const match of text.matchAll(/\$\{([^}!][^}.]*)/g)) out.add(match[1]);
22816
- }
22817
- walk(arg);
22818
- }
22819
- };
22820
- walk(resource.Properties);
22821
- return out;
22822
- }
22823
22793
  function toLogicalIdRenames(renames) {
22824
22794
  return renames.map(({ from, to }) => ({
22825
22795
  from,
@@ -22859,7 +22829,7 @@ function renderRefactorPlan(plan) {
22859
22829
  const lines = [safeMsg`Stack ${plan.stackName} (${plan.region})`];
22860
22830
  if (plan.renames.length === 0) lines.push(" No resource to refactor.");
22861
22831
  for (const r of plan.renames) lines.push(safeMsg` ${r.from} -> ${r.to} (${r.resourceType}${r.source === "override" ? ", from the mapping file" : ""})`);
22862
- 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.");
22832
+ 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));
22863
22833
  for (const { rename, reason } of plan.skipped) lines.push(safeMsg` Not refactored: ${rename.from} -> ${rename.to} (${rename.resourceType}): ${reason}.`);
22864
22834
  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.`);
22865
22835
  for (const refused of plan.refusedOverrides) lines.push(safeMsg` Refused: ${refused.from} -> ${refused.to}: ${refused.reason}.`);
@@ -32878,4 +32848,4 @@ function collectVerbFlags(program) {
32878
32848
  }
32879
32849
 
32880
32850
  export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, canonicalizeIpProtocolValue as o, holdsUnprovenSecretPrincipalToken as r, canonicalizeIpv4Cidr as t };
32881
- //# sourceMappingURL=program-CF2fN6wd.js.map
32851
+ //# sourceMappingURL=program-CuJKRAac.js.map