@cdkd/cli 0.345.0 → 0.346.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.
- package/dist/{asg-provider-CwaTAotW.js → asg-provider-Bu7rz365.js} +2 -2
- package/dist/{asg-provider-CwaTAotW.js.map → asg-provider-Bu7rz365.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{db-instance-modify-retry-B8xFklWu.js → db-instance-modify-retry-CY94H9jp.js} +2 -2
- package/dist/{db-instance-modify-retry-B8xFklWu.js.map → db-instance-modify-retry-CY94H9jp.js.map} +1 -1
- package/dist/{deploy-engine-DtUOqlzH.js → deploy-engine-BocT17az.js} +169 -26
- package/dist/deploy-engine-BocT17az.js.map +1 -0
- package/dist/{ecr-uri-J5nIkfit.js → ecr-uri-Cg53WsUz.js} +2 -2
- package/dist/{ecr-uri-J5nIkfit.js.map → ecr-uri-Cg53WsUz.js.map} +1 -1
- package/dist/{iam-role-provider-B0hZvgwj.js → iam-role-provider-_bvctXgr.js} +2 -2
- package/dist/{iam-role-provider-B0hZvgwj.js.map → iam-role-provider-_bvctXgr.js.map} +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/{neptune-provider-CyePVMKo.js → neptune-provider-CceDOA6q.js} +3 -3
- package/dist/{neptune-provider-CyePVMKo.js.map → neptune-provider-CceDOA6q.js.map} +1 -1
- package/dist/{program-CZXbWLai.js → program-DM3nrEl9.js} +16 -29
- package/dist/program-DM3nrEl9.js.map +1 -0
- package/dist/{provider-classes-BBiXFmPi.js → provider-classes-BJRQVOZ0.js} +97 -29
- package/dist/{provider-classes-BBiXFmPi.js.map → provider-classes-BJRQVOZ0.js.map} +1 -1
- package/dist/{rds-provider-DpJ8f3oK.js → rds-provider-B-TkBvu0.js} +482 -48
- package/dist/rds-provider-B-TkBvu0.js.map +1 -0
- package/dist/{read-replica-BxCCOKlu.js → read-replica-IoZoKlpg.js} +4 -4
- package/dist/{read-replica-BxCCOKlu.js.map → read-replica-IoZoKlpg.js.map} +1 -1
- package/dist/{version-BLMZsdJP.js → version-BdxBmlDu.js} +2 -2
- package/dist/{version-BLMZsdJP.js.map → version-BdxBmlDu.js.map} +1 -1
- package/package.json +2 -2
- package/dist/deploy-engine-DtUOqlzH.js.map +0 -1
- package/dist/program-CZXbWLai.js.map +0 -1
- package/dist/rds-provider-DpJ8f3oK.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as getCdkdVersion } from "./version-
|
|
1
|
+
import { t as getCdkdVersion } from "./version-BdxBmlDu.js";
|
|
2
2
|
import { $ as STACK_REF_MAX_CODE_POINTS, F as derivesPatternBName, I as generateResourceName, J as withSkipPrefix, K as isNameGeneration, M as PATTERN_B_NAME_OPTIONS, N as PATTERN_B_NAME_PROPERTIES, P as PATTERN_B_RESOURCE_TYPES, Q as SECRET_REF_MAX_CODE_POINTS, S as coerceCfnBoolean, Y as withStackScope, Z as SAFE_MSG_ALTERED_CHAR, a as safeStringify, at as displaySafe, c as isStdoutReservedForPayload, dt as stringifyJsonPayload, et as UNRENDERABLE, f as runStackBuffered, ft as terminalSafe, h as getLiveRenderer, it as displayIdent, l as releaseStdoutForPayload, lt as plainIdentOr, n as describeAwsFailure, nt as cutMarker, ot as displayStackName, pt as truncateCodePoints, rt as displayAwsMessage, s as getLogger, st as isPasteableIdent, tt as asIsMessage, u as reserveStdoutForPayload, ut as safeMsg, v as explicitNamePropertyFor } from "./aws-failure-text-jomzO3aT.js";
|
|
3
|
-
import { $a as applyRoleArnIfSet, $i as buildFinalSnapshotIdentifier, $l as isReadableBag, $n as updatePartialMessage, $r as DEFAULT_RESOURCE_TIMEOUT_MS, $s as malformedOutputsWarning, $t as NESTED_PENDING_PARENT_REASON, $u as runDockerForeground, A as PROTECTION_PROPERTY_BY_TYPE, Aa as RollbackInlinePolicyWriters, Ad as AssemblyReader, Ai as maskEventTextWithBoundBags, Al as recordPhysicalNameCopy, An as rollbackOrphanIds, Ao as recordedReferenceRegions, Ar as retiredNameGenerationsLeaving, As as refuseMalformedResourceEntriesForImport, Au as isCrossRegionRedirect, Bc as maskAtCoordinates, Bd as ownValue, Bl as wholeStringLeavesOf, Bn as propertiesChangedReason, Bo as unsettledItemsField, Br as exportAliasCollisionScrubWarning, Bs as refuseMalformedResourcePropertiesForOrphan, Bt as refactorMarkerRefusalMessage, Bu as describeDockerExecFailure, C as refusePendingMovesOut, Ca as withPrintingSecrets, Cc as findHandledUnwrittenCreateOnly, Cd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Ci as noEchoComparisonForTemplate, Cl as spelledKeysOf, Cn as DeploymentEventsStore, Co as isStalePlaceholderArnAttribute, Cr as removeProtectionTypeList, Cs as malformedLocalResourcesWarning, Cu as createAssetRedirectResolver, D as diffSecurity, Dc as NO_CC_HANDLERS_REASON, Dd as canonicalizeRegion, Di as createReadOnlyAttributeHealerFactory, Dn as findRefactorHints, Do as keepHeldTokenProvenance, Dr as nameScopeOf, Ds as refuseMalformedResourceEntries, Du as ensureAssetStorage, E as serviceTokenBlockingReason, Ed as PARTITION_TABLE, Ei as withAttemptedItemsMasked, El as inheritNestedStackParameterAssociations, En as formatDestructiveChange, Er as nameGenerationHighWaterOf, Es as refuseMalformedResourceAttributesForOrphan, Eu as AssetModeResolver, Fd as utf8ByteLength, Fl as recordMaskOnlyValue, Fn as differingRemedy, Fo as carriesDynamicReference, Fr as namesAnyDeclaredParameter, Fs as malformedDriftResourcePropertiesWarning, Ft as keptForRetainedRecord, Fu as validateContainerRepoName, Ga as DiffCalculator, Gc as noEchoLeavesOf, Gd as resolveAssemblyPath, Gi as PRE_DELETE_SNAPSHOT_TYPES, Gl as S3StateBackend, Gn as DELETED_RESOURCE_REMEDY, Go as findReplacedReadersOfRecreateTargets, Gr as exportNameNoEchoParameters, Gs as malformedOrphansWarning, Gu as dockerSpawnEnvWithSensitive, Hc as maskWholeValue, Hd as describeFileReadFailure, Hi as secretSegmentsOfState, Hl as isSingleDynamicReferenceToken, Hn as referencedLogicalIds, Ho as unsettledPropertiesOf, Hr as secretBearingStateKeyWarning, Hs as UNREADABLE_ORPHANS_CONTAINER_ROW, Ht as sameMove, Hu as redactedCause, Ic as DagBuilder, Id as defineOwnKey, Ii as secretNamedRecordNeedles, Il as recordMaskOnlyValuesIn, In as isPairableType, Io as keepsSecretReferenceToken, Ir as reachableDivergentParameters, Is as malformedResourcePropertiesWarning, It as recordRetainedForReadoption, Iu as BOOTSTRAP_MARKER_PREFIX, Ja as poisonRenderedSpellingsCollidingIn, Jc as readbackPathFor, Ji as effectiveDeletionPolicy, Jl as describeRegionValueKind, Jn as withUnprovenUnsettled, Jo as isStatefulRecreateTargetForReplace, Jr as noEchoParameterValueSeed, Js as repairMalformedOrphansForReadOnly, Ju as warnFinchArgvExposure, Ka as IntrinsicFunctionResolver, Kc as noEchoOutputsComparison, Kd as injectAwsRegion, Ki as ccRoutedFinalSnapshotError, Kl as splitImportedOps, Kn as recordAfterRollbackUpdate, Ko as shownType, Kr as exportNameSecretExposure, Ks as refuseMalformedOrphans, Kt as formatResourceLine, Ku as finchSecretArgvRefusal, Lc as TemplateParser, Ld as hasOwnKey, Li as stateSecretNameNeedles, Ll as recordNoEchoAttributeValues, Ln as looselyEqual, Lo as withSharedDrainBudget, Lr as resourcesNamingDeclaredParameter, Ls as refuseMalformedResourcePropertiesForDestroy, Lt as readRefactorMarker, Lu as buildDockerImage, M as perType, Ma as deleteIndeterminateGuards, Md as processStackMessages, Mi as orphanRecordsPrintingBag, Ml as splitGetAttStringForm, Mn as changedReferenceInDiff, Mo as isImpossibleEmptyStoredAttribute, Ms as refuseMalformedResourceEntriesForOrphan, Mt as withResourceDeadline, Mu as parseBootstrapMarker, N as readProtection, Na as deleteLeftInPlace, Nd as describeJsonParseFailure, Ni as secretNamePrintingBag, Nl as carriesSecretMask, Nn as changedReferencePath, No as carriesFetchableDynamicReference, Nr as inheritProducerRegions, Ns as repairMalformedResourceEntriesForReadOnly, Nt as IMPLICIT_DELETE_DEPENDENCIES, Nu as readBootstrapMarkerBody, O as recordedProtectionEvidence, Oa as setResolvedResourceTimeouts, Oc as hasNoCloudControlHandlers, Od as derivePartitionAndUrlSuffix, Oi as completedReplayEntries, Ol as physicalNameCopiesOf, On as hintSidesOf, Or as retiredAfterRollback, Os as refuseMalformedResourceEntriesForDeploy, Ou as buildDenyExternalAccessPolicy, Pa as deleteSkipReason, Pd as parseFailureDebugDetail, Pi as secretNamePrintingBags, Pl as provenPublicValue, Pn as changedReferenceReason, Po as isNamelessDynamicReferenceError, Pr as computeParameterTaint, Ps as unreadableResourceEntries, Pt as computeImplicitDeleteEdges, Pu as validateAssetBucketName, Qa as refuseUnreadableCdkCrossAccountRefs, Qc as liveMatchesUnresolvedTokenFrame, Qi as createPreDeleteFinalSnapshot, Ql as importableOutputs, Qn as undeclaredEmptyObservedKeys, Qr as bindingSkippedOutputs, Qs as malformedOutputsRefusalMessage, Qt as resolvePendingCloudControlRequests, Qu as getDockerCmd, Rc as canonicalCoordinates, Rd as hasPlainPrototype, Ri as storedSecretNameNeedles, Rl as recordNoEchoParameterFreshValue, Rn as mappingPairs, Ro as INTRINSIC_KEYS, Rr as WITHHELD_NAME_DISPLAY, Rs as refuseMalformedResourcePropertiesForDrift, Rt as readRefactorMarkerOnce, Ru as resolveDockerContextDirectory, S as pendingMovesRefusalMessage, Sc as findActionableSdkUnwired, Sd as uploadCfnTemplate, Si as noEchoAttributeNamesOf, Sl as isUncertifiedBaselineMaskPosition, Sn as DeploymentEventsReader, So as cfnRefValueFromPhysicalId, Sr as segmentCleanupOptions, Ss as malformedLocalResourceEntriesWarning, Su as buildAssetRedirectMap, T as findServiceTokenRefusals, Ta as CloudControlProvider, Tc as unwrittenCreateOnlyReplacement, Td as expectedOwnerParam, Ti as noEchoParameterNamesOf, Tl as identityKeyFor, Tn as findDestructiveChanges, To as refStateLookupFromResource, Tr as nameGenerationCarriedFrom, Ts as malformedScrubResourceEntriesRefusalMessage, Tu as rewriteTemplateAssetReferences, Uc as maskedLeafCoordinatesOf, Ud as displayAssemblyPath, Ui as withSecretPhysicalIdsMaskedInState, Ul as LockManager, Un as replayFailedOperations, Uo as withUnsettledProperties, Ur as secretSafeKeyDisplay, Us as hasReadableOrphans, Ut as updateRefactorMarker, Uu as redactedDockerCause, Vc as maskReadbackAtCoordinates, Vd as absoluteAssemblyPathEscape, Vl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Vn as proposeRenames, Vo as unsettledItemsOf, Vr as secretBearing, Vs as repairMalformedResourcePropertiesForReadOnly, Vt as refuseRefactorMarker, Vu as describeDockerFailure, Wa as isWaitAbandonedError, Wc as noEchoCoordinatesOf, Wd as renderAssemblyPathEscape, Wi as ATOMIC_FINAL_SNAPSHOT_TYPES, Wl as isLockInfoExpired, Wn as replayRollback, Wo as withoutUnsettledProperties, Wr as carriedExportAliasExposure, Ws as malformedOrphansRefusalMessage, Wu as redactDockerArgvValues, Xa as resolveDynamicReferences, Xc as recordedNoEchoValuesOf, Xi as refusesFinalSnapshot, Xl as hasReadableExportSet, Xn as equalModuloMarkedMask, Xo as renderStatefulReason, Xr as collectPublishedOutputNames, Xs as malformedExportSourceWarning, Xu as isMalformedEnvKey, Yc as readsNoEchoSource, Yd as resolveBucketRegion, Yi as isFinalSnapshotError, Yl as exportNamesCarriedFrom, Yn as calculateResourceDrift, Yo as isStatefulRecreateTargetSync, Yr as collectDeclaredOutputNames, Ys as malformedExportNamesWarning, Yu as isDockerClientEnvKey, Za as producerLookupOver, Zc as valueAtCoordinate, Zi as unsupportedFinalSnapshotError, Zl as importableOutputKeys, Zn as equalModuloMask, Zr as isExportAliasCollision, Zs as malformedLocalOutputsWarning, Zt as pendingRequestCount, Zu as formatDockerLoginError, _ as listNestedTemplateRows, _a as applyCustomResourceResponseExpiration, _c as STATE_RESOURCES_MALFORMED, _d as ssmResolvedValueType, _i as cyan, _l as scrubResourceRecord, _n as loadJournaledOrphans, _r as findNestedStackTypeChanges, _s as refuseMalformedOrphansForOrphan, _u as withStackInstanceIdWithheld, a as scanActiveConsumers, ac as refuseDivergentRecordRegionForDestroy, ad as getDefaultStateBucketName, ai as withStackRecords, al as hasMaskableValues, an as recordDisplacedSkips, ao as AWS_CREDENTIAL_ENV_KEYS, as as withRetry, au as hasUnverifiableParameterRefusal, b as hasPendingMovesOut, ba as readsNoEchoDeleteValues, bc as hasReadableOutputs, bd as MIGRATE_TMP_PREFIX, bi as red, bl as DYNAMIC_REFERENCE_TOKEN_SCAN, bn as makeSiblingClaimReader, bo as parameterTypeMayLoseSecretIdentity, bs as unreadableOrphanRecords, bu as stringifyValue, c as inheritedProvenanceForChildDiff, cc as malformedStateRefusalMessage, cd as resolveApp, ci as holdsSupersededResources, cl as printingCorpusOf, cn as withNestedRevertRun, co as envCredentialsAreAssumedRole, cr as demoteSupersededOrphans, cs as declaresNoEcho, cu as timePhase, d as conditionInputsFrom, da as CC_BROKEN_REASON, dc as refuseMalformedResourcesForExport, dd as resolveSkipPrefix, di as supersededHeldByOtherTypeWarning, dl as shareLogOnlyValues, dn as withNestedStackContext, do as producerRegionsFromState, dr as planFailedOps, ds as malformedOrphanRecordsRefusalMessage, du as CrossPrefixScanCache, ed as runDockerStreaming, ei as DEFAULT_RESOURCE_WARN_AFTER_MS, el as redactForState, en as displacedOpClause, eo as assertFlagRoleArn, er as updatePartialReason, eu as orphansAfterRollback, f as parentSuppliedValues, fa as ProviderRegistry, fc as refuseMalformedState, fd as resolveStateBucketWithDefault, fi as supersededHolderOf, fl as unionOfSecretBags, fn as deleteJournaledOrphans, fo as regionLessSecretName, fr as recheckFailedPlan, fs as malformedOrphanRecordsWarning, fu as applyCrossPrefixScan, g as isAbsoluteAssetPath, ga as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, gc as withheldAccountClause, gd as warnDeprecatedNoPrefixCliFlag, gi as bold, gl as maskSecretsInText, gn as journaledOrphanLines, gr as withPreviousPolicies, gs as refuseMalformedOrphanRecordsForDestroy, gu as stackInstanceIdOf, h as findNestedTemplateTreeDefect, ha as wouldReturnToSdkProvider, hc as accountArgs, hd as stateBucketExistenceConfirmed, hl as maskSecretsInError, hn as isHandledOrphan, hr as resolveReplacementOldType, hs as refuseMalformedOrphanRecords, hu as isNotImplemented, i as mergeNoChangeOutputs, ic as STATE_REGION_DIVERGED, id as synthesisStatusMessage, il as createUnionSecretMasker, in as nestedChildStackName$1, io as sendableAssumeRoleCommand, ir as withCreateTokenLedger, is as describeTypeWithThrottleRetry, iu as hasReasonlessBaselineRefusal, j as isProtectionValueActive, ja as UNSPECIFIED_SKIP_REASON, jd as StageLoadError, ji as namingSecretsWithRecordedNoEcho, jl as recordNestedStackParameterExpressions, jn as withMovedTo, jo as getAccountInfo, jr as withNameGenerationReached, js as refuseMalformedResourceEntriesForImportSave, ju as getBootstrapMarkerKey, k as recordedProtectionNote, ka as slowCcOperationTimeoutMs, kd as refuseFailedLookups, ki as journaledOrphanPrintingBag, kn as movedToHint, ko as recordedOutputReferenceRegions, kr as retiredNameGenerationsAfter, ks as refuseMalformedResourceEntriesForDestroy, ku as assertAssetBucketRegion, l as makeCanonicalizePropertiesFn, lc as refuseMalformedResourcesForDeploy, ld as resolveAutoAssetStorage, li as isSupersededResourceRecord, ll as recordLogOnlyParameterValue, ln as collectNestedChildUnaddressed, lo as classifyRecordedSecretRegion, lr as isJournaledOrphan, ls as deployRefusesOrphanRowsReason, lu as rebuildClientForBucketRegion, m as childTemplateLoader, ma as isCustomResource, mc as JSON_LISTING_HOLE_VALUE, md as resolveUseCdkBootstrapAssets, mi as withoutSuperseded, ml as errorCauseChain, mn as dropFailedHint, mr as replacementNeverSwapped, ms as previewableOrphanRecords, mu as isAccessDenied, n as isSecretBearingReferenceString, nc as refuseMalformedOutputsForDestroy, nd as getDockerImageBySourceHash, nn as dropSettledNestedJournals, no as explicitRoleArnOrThrow, nr as ledgerForStack, ns as prefetchCreateOnlyPropertyPaths, nu as shouldRetainResource, o as inRunStackKey, oc as malformedRenderedContainersWarning, od as getLegacyStateBucketName, ol as literalSplitDelimitersOf, oo as applyCallerIdentityCredentials, or as planRollback, os as parameterInputsFor, ou as PhaseClock, p as readRecordedConditionVerdicts, pa as ccBrokenReason, pc as repairMalformedResourcesForReadOnly, pd as resolveStateBucketWithDefaultAndSource, pi as supersededResourcesOf, pl as createSecretMasker, pn as dropFailedCommands, pr as recordUnderIdIsNotOwn, ps as malformedOrphanRowsKeptWarning, pu as crossPrefixDeniedWarning, qa as isAlwaysLiveAttribute, qd as injectedAwsRegionValue, qi as ccRoutedInstanceTakesNoSnapshot, ql as acceptedCreateOnlyDropsOf, qn as settleUnsettledPrevious, qo as MULTI_REGION_RECREATE_BLOCKED_TYPES, qr as isWholeDynamicReferenceValue, qs as refuseMalformedOrphansForDestroy, qu as partitionSensitiveEnv, r as keptWholeReasonText, rc as repairMalformedOutputsForReadOnly, rd as Synthesizer, ri as destroyStackRecordsView, rl as carryLogOnlyValues, ro as isIamRoleArn, rs as templateResourceTypes, ru as stackInstanceIdCarriedFrom, s as crossStackOutputProvenanceSource, sc as malformedResourcesWarning, sd as loadCdkJson, si as deleteSupersededEntry, sl as logOnlyValueCount, sn as revertedNestedRowIds, so as callerEnvCredentials, sr as seedsDeleteFirstGuard, su as renderPhaseTimings, t as DeployEngine, tc as refuseMalformedOutputs, td as AssetManifestLoader, ti as maskingRetryLogger, tn as displacedPhysicalIdShown, to as assertSendableRoleArn, tu as orphansCarriedFrom, u as conditionFingerprint, uc as refuseMalformedResourcesForDestroy, ud as resolveCaptureObservedState, ui as supersededAfterRollback, ul as recordLogOnlyValue, un as getCurrentNestedStackContext, uo as classifyReplaySecretRegion, ur as isReplacementOrphan, us as isReadableOrphanRecord, uu as CrossPrefixReadError, v as renderNestedTemplateTreeDefect, va as customResourceResponseExpirationWarning, vc as UNREADABLE_RESOURCES_MAP_ROW, vd as CFN_TEMPLATE_BODY_LIMIT, vi as gray, vl as withPhysicalNameCopies, vn as sameJournaledOrphans, vo as coerceParameterTypedValue, vs as repairMalformedOrphanRecordsForReadOnly, vu as AssetPublisher, w as deferredServiceTokenWarning, wd as decodeListingKey, wi as noEchoExactEchoLeavesOf, wl as pathCrossesDottedKey, wn as constructPathOf$1, wo as lacksRecordedTableArn, wr as orphanNeedsIdentity, ws as malformedResourceEntriesWarning, wu as loadPublishableAssetManifest, x as pendingMovesOutOf, xa as isCustomResourceType$1, xc as hasReadableResources, xd as findLargeInlineResources, xi as yellow, xl as dynamicReferenceTokens, xn as planOrphanAdoption, xo as AWS_NO_VALUE, xs as isReadableResourceEntry, xu as WorkGraph, y as templateIdentity, ya as TemplateNoEchoReresolver, yc as displayLogicalId, yd as CFN_TEMPLATE_URL_LIMIT, yi as green, yn as makeForeignHolderScan, yo as isUnboundTemplateParameter, ys as unpreviewableOrphanRecords, yu as isSensitiveAttributeName, zc as isMarkedCoordinate, zd as nullPrototypeRecord, zi as extractDeploymentEventError, zl as recordProvenPublicExpression, zn as parseMappingFile, zr as displayTextOrWithheld, zs as refuseMalformedResourcePropertiesForExport, zt as refactorMarkerMovesOf, zu as describeDockerCapturedOutput } from "./deploy-engine-DtUOqlzH.js";
|
|
3
|
+
import { $c as recordedNoEchoValuesOf, $i as isFinalSnapshotError, $l as hasReadableExportSet, $n as updatePartialMessage, $o as isStatefulRecreateTargetSync, $r as DEFAULT_RESOURCE_TIMEOUT_MS, $s as malformedExportNamesWarning, $t as NESTED_PENDING_PARENT_REASON, $u as isMalformedEnvKey, A as PROTECTION_PROPERTY_BY_TYPE, Ad as canonicalizeRegion, Ai as withAttemptedItemsMasked, An as rollbackOrphanIds, Ar as retiredNameGenerationsLeaving, As as refuseMalformedResourceAttributesForOrphan, Au as ensureAssetStorage, Bc as DagBuilder, Bd as hasOwnKey, Bi as secretNamedRecordNeedles, Bl as recordNoEchoAttributeValues, Bn as propertiesChangedReason, Bo as keepsSecretReferenceToken, Br as exportAliasCollisionScrubWarning, Bs as malformedResourcePropertiesWarning, Bt as refactorMarkerRefusalMessage, Bu as buildDockerImage, C as refusePendingMovesOut, Ca as TemplateNoEchoReresolver, Cc as displayLogicalId, Cd as MIGRATE_TMP_PREFIX, Ci as green, Cl as DYNAMIC_REFERENCE_TOKEN_SCAN, Cn as DeploymentEventsStore, Co as isUnboundTemplateParameter, Cr as removeProtectionTypeList, Cs as unpreviewableOrphanRecords, Cu as stringifyValue, D as diffSecurity, Da as withPrintingSecrets, Dc as findHandledUnwrittenCreateOnly, Dd as decodeListingKey, Di as noEchoComparisonForTemplate, Dl as pathCrossesDottedKey, Dn as findRefactorHints, Do as isStalePlaceholderArnAttribute, Dr as nameScopeOf, Ds as malformedLocalResourcesWarning, Du as loadPublishableAssetManifest, E as serviceTokenBlockingReason, Ec as findActionableSdkUnwired, Ed as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Ei as noEchoAttributeNamesOf, El as spelledKeysOf, En as formatDestructiveChange, Eo as cfnRefValueFromPhysicalId, Er as nameGenerationHighWaterOf, Es as malformedLocalResourceEntriesWarning, Eu as createAssetRedirectResolver, Fa as UNSPECIFIED_SKIP_REASON, Fd as processStackMessages, Fi as namingSecretsWithRecordedNoEcho, Fl as splitGetAttStringForm, Fn as differingRemedy, Fo as getAccountInfo, Fr as namesAnyDeclaredParameter, Fs as refuseMalformedResourceEntriesForImportSave, Ft as keptForRetainedRecord, Fu as parseBootstrapMarker, Gc as maskReadbackAtCoordinates, Gd as describeFileReadFailure, Gl as isSingleDynamicReferenceToken, Gn as DELETED_RESOURCE_REMEDY, Go as unsettledItemsOf, Gr as exportNameNoEchoParameters, Gs as repairMalformedResourcePropertiesForReadOnly, Gu as redactedCause, Hc as canonicalCoordinates, Hd as nullPrototypeRecord, Hi as storedSecretNameNeedles, Hl as recordProvenPublicExpression, Hn as referencedLogicalIds, Ho as INTRINSIC_KEYS, Hr as secretBearingStateKeyWarning, Hs as refuseMalformedResourcePropertiesForDrift, Ht as sameMove, Hu as describeDockerCapturedOutput, Ia as deleteIndeterminateGuards, Id as describeJsonParseFailure, Ii as orphanRecordsPrintingBag, Il as carriesSecretMask, In as isPairableType, Io as isImpossibleEmptyStoredAttribute, Ir as reachableDivergentParameters, Is as refuseMalformedResourceEntriesForOrphan, It as recordRetainedForReadoption, Iu as readBootstrapMarkerBody, Ja as isWaitAbandonedError, Jc as noEchoCoordinatesOf, Jd as resolveAssemblyPath, Ji as ATOMIC_FINAL_SNAPSHOT_TYPES, Jl as S3StateBackend, Jn as withUnprovenUnsettled, Jo as withoutUnsettledProperties, Jr as noEchoParameterValueSeed, Js as malformedOrphansRefusalMessage, Ju as dockerSpawnEnvWithSensitive, Kc as maskWholeValue, Kd as displayAssemblyPath, Ki as secretSegmentsOfState, Kl as LockManager, Kn as recordAfterRollbackUpdate, Ko as unsettledPropertiesOf, Kr as exportNameSecretExposure, Ks as UNREADABLE_ORPHANS_CONTAINER_ROW, Kt as formatResourceLine, Ku as redactedDockerCause, La as deleteLeftInPlace, Ld as parseFailureDebugDetail, Li as secretNamePrintingBag, Ll as provenPublicValue, Ln as looselyEqual, Lo as carriesFetchableDynamicReference, Lr as resourcesNamingDeclaredParameter, Ls as repairMalformedResourceEntriesForReadOnly, Lt as readRefactorMarker, Lu as validateAssetBucketName, M as perType, Ma as setResolvedResourceTimeouts, Mc as hasNoCloudControlHandlers, Md as refuseFailedLookups, Mi as completedReplayEntries, Mn as changedReferenceInDiff, Ms as refuseMalformedResourceEntriesForDeploy, Mt as withResourceDeadline, Mu as assertAssetBucketRegion, N as readProtection, Na as slowCcOperationTimeoutMs, Nd as AssemblyReader, Ni as journaledOrphanPrintingBag, Nl as recordPhysicalNameCopy, Nn as changedReferencePath, No as recordedOutputReferenceRegions, Nr as inheritProducerRegions, Ns as refuseMalformedResourceEntriesForDestroy, Nt as IMPLICIT_DELETE_DEPENDENCIES, Nu as isCrossRegionRedirect, O as recordedProtectionEvidence, Od as expectedOwnerParam, Oi as noEchoExactEchoLeavesOf, Ol as identityKeyFor, On as hintSidesOf, Oo as lacksRecordedTableArn, Or as retiredAfterRollback, Os as malformedResourceEntriesWarning, Ou as rewriteTemplateAssetReferences, Pa as RollbackInlinePolicyWriters, Pd as StageLoadError, Pi as maskEventTextWithBoundBags, Pl as recordNestedStackParameterExpressions, Pn as changedReferenceReason, Po as recordedReferenceRegions, Pr as computeParameterTaint, Ps as refuseMalformedResourceEntriesForImport, Pt as computeImplicitDeleteEdges, Pu as getBootstrapMarkerKey, Qa as poisonRenderedSpellingsCollidingIn, Qc as readsNoEchoSource, Qd as resolveBucketRegion, Qi as effectiveDeletionPolicy, Ql as exportNamesCarriedFrom, Qn as undeclaredEmptyObservedKeys, Qo as isStatefulRecreateTargetForReplace, Qr as bindingSkippedOutputs, Qs as repairMalformedOrphansForReadOnly, Qt as resolvePendingCloudControlRequests, Qu as isDockerClientEnvKey, Ra as deleteSkipReason, Rd as utf8ByteLength, Ri as secretNamePrintingBags, Rl as recordMaskOnlyValue, Rn as mappingPairs, Ro as isNamelessDynamicReferenceError, Rr as WITHHELD_NAME_DISPLAY, Rs as unreadableResourceEntries, Rt as readRefactorMarkerOnce, Ru as validateContainerRepoName, S as pendingMovesRefusalMessage, Sa as customResourceResponseExpirationWarning, Sc as UNREADABLE_RESOURCES_MAP_ROW, Sd as CFN_TEMPLATE_URL_LIMIT, Si as gray, Sn as DeploymentEventsReader, So as coerceParameterTypedValue, Sr as segmentCleanupOptions, Ss as repairMalformedOrphanRecordsForReadOnly, Su as isSensitiveAttributeName, T as findServiceTokenRefusals, Ta as isCustomResourceType$1, Tc as hasReadableResources, Td as uploadCfnTemplate, Ti as yellow, Tl as isUncertifiedBaselineMaskPosition, Tn as findDestructiveChanges, To as AWS_NO_VALUE, Tr as nameGenerationCarriedFrom, Ts as isReadableResourceEntry, Tu as buildAssetRedirectMap, Uc as isMarkedCoordinate, Ud as ownValue, Ui as extractDeploymentEventError, Ul as wholeStringLeavesOf, Un as replayFailedOperations, Ur as secretSafeKeyDisplay, Us as refuseMalformedResourcePropertiesForExport, Ut as updateRefactorMarker, Uu as describeDockerExecFailure, Vc as TemplateParser, Vd as hasPlainPrototype, Vi as stateSecretNameNeedles, Vl as recordNoEchoParameterFreshValue, Vn as proposeRenames, Vo as withSharedDrainBudget, Vr as secretBearing, Vs as refuseMalformedResourcePropertiesForDestroy, Vt as refuseRefactorMarker, Vu as resolveDockerContextDirectory, Wc as maskAtCoordinates, Wd as absoluteAssemblyPathEscape, Wl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Wn as replayRollback, Wo as unsettledItemsField, Wr as carriedExportAliasExposure, Ws as refuseMalformedResourcePropertiesForOrphan, Wu as describeDockerFailure, Xa as IntrinsicFunctionResolver, Xc as noEchoOutputsComparison, Xd as injectedAwsRegionValue, Xi as ccRoutedFinalSnapshotError, Xl as acceptedCreateOnlyDropsOf, Xn as equalModuloMarkedMask, Xo as shownType, Xr as collectPublishedOutputNames, Xs as refuseMalformedOrphans, Xu as partitionSensitiveEnv, Ya as DiffCalculator, Yc as noEchoLeavesOf, Yd as injectAwsRegion, Yi as PRE_DELETE_SNAPSHOT_TYPES, Yl as splitImportedOps, Yn as calculateResourceDrift, Yo as findReplacedReadersOfRecreateTargets, Yr as collectDeclaredOutputNames, Ys as malformedOrphansWarning, Yu as finchSecretArgvRefusal, Za as isAlwaysLiveAttribute, Zi as ccRoutedInstanceTakesNoSnapshot, Zl as describeRegionValueKind, Zn as equalModuloMask, Zo as MULTI_REGION_RECREATE_BLOCKED_TYPES, Zr as isExportAliasCollision, Zs as refuseMalformedOrphansForDestroy, Zt as pendingRequestCount, Zu as warnFinchArgvExposure, _ as listNestedTemplateRows, _a as ccBrokenReason, _c as repairMalformedResourcesForReadOnly, _d as resolveUseCdkBootstrapAssets, _l as errorCauseChain, _n as loadJournaledOrphans, _r as findNestedStackTypeChanges, _s as malformedOrphanRowsKeptWarning, _u as isAccessDenied, a as scanActiveConsumers, ac as refuseMalformedOutputs, ad as getDockerImageBySourceHash, ai as withStackRecords, an as recordDisplacedSkips, ao as assertSendableRoleArn, au as shouldRetainResource, b as hasPendingMovesOut, ba as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, bc as withheldAccountClause, bd as ssmResolvedValueType, bi as bold, bl as scrubResourceRecord, bn as makeSiblingClaimReader, bs as refuseMalformedOrphanRecordsForDestroy, bu as withStackInstanceIdWithheld, c as inheritedProvenanceForChildDiff, cc as STATE_REGION_DIVERGED, cd as getDefaultStateBucketName, ci as holdsSupersededResources, cl as hasMaskableValues, cn as withNestedRevertRun, co as sendableAssumeRoleCommand, cr as demoteSupersededOrphans, cs as describeTypeWithThrottleRetry, cu as hasUnverifiableParameterRefusal, d as conditionInputsFrom, dc as malformedResourcesWarning, dd as resolveApp, di as supersededHeldByOtherTypeWarning, dl as printingCorpusOf, dn as withNestedStackContext, do as callerEnvCredentials, dr as planFailedOps, du as timePhase, ea as refusesFinalSnapshot, ec as malformedExportSourceWarning, ed as formatDockerLoginError, ei as DEFAULT_RESOURCE_WARN_AFTER_MS, el as valueAtCoordinate, en as displacedOpClause, eo as resolveDynamicReferences, er as updatePartialReason, es as renderStatefulReason, eu as importableOutputKeys, f as parentSuppliedValues, fc as malformedStateRefusalMessage, fd as resolveAutoAssetStorage, fi as supersededHolderOf, fl as recordLogOnlyParameterValue, fn as deleteJournaledOrphans, fo as envCredentialsAreAssumedRole, fr as recheckFailedPlan, fs as declaresNoEcho, fu as rebuildClientForBucketRegion, g as isAbsoluteAssetPath, ga as ProviderRegistry, gc as refuseMalformedState, gd as resolveStateBucketWithDefaultAndSource, gl as createSecretMasker, gn as journaledOrphanLines, go as regionLessSecretName, gr as withPreviousPolicies, gs as malformedOrphanRecordsWarning, gu as crossPrefixDeniedWarning, h as findNestedTemplateTreeDefect, ha as CC_BROKEN_REASON, hc as refuseMalformedResourcesForExport, hd as resolveStateBucketWithDefault, hl as unionOfSecretBags, hn as isHandledOrphan, ho as producerRegionsFromState, hr as resolveReplacementOldType, hs as malformedOrphanRecordsRefusalMessage, hu as applyCrossPrefixScan, i as mergeNoChangeOutputs, id as AssetManifestLoader, in as nestedChildStackName$1, io as assertFlagRoleArn, ir as withCreateTokenLedger, iu as orphansCarriedFrom, j as isProtectionValueActive, jc as NO_CC_HANDLERS_REASON, jd as derivePartitionAndUrlSuffix, ji as createReadOnlyAttributeHealerFactory, jl as physicalNameCopiesOf, jn as withMovedTo, jo as keepHeldTokenProvenance, jr as withNameGenerationReached, js as refuseMalformedResourceEntries, ju as buildDenyExternalAccessPolicy, k as recordedProtectionNote, ka as CloudControlProvider, kc as unwrittenCreateOnlyReplacement, kd as PARTITION_TABLE, ki as noEchoParameterNamesOf, kl as inheritNestedStackParameterAssociations, kn as movedToHint, ko as refStateLookupFromResource, kr as retiredNameGenerationsAfter, ks as malformedScrubResourceEntriesRefusalMessage, ku as AssetModeResolver, l as makeCanonicalizePropertiesFn, lc as refuseDivergentRecordRegionForDestroy, ld as getLegacyStateBucketName, li as isSupersededResourceRecord, ll as literalSplitDelimitersOf, ln as collectNestedChildUnaddressed, lo as AWS_CREDENTIAL_ENV_KEYS, lr as isJournaledOrphan, ls as withRetry, lu as PhaseClock, m as childTemplateLoader, mc as refuseMalformedResourcesForDestroy, md as resolveSkipPrefix, mi as withoutSuperseded, ml as shareLogOnlyValues, mn as dropFailedHint, mo as classifyReplaySecretRegion, mr as replacementNeverSwapped, ms as isReadableOrphanRecord, mu as CrossPrefixScanCache, n as isSecretBearingReferenceString, na as createPreDeleteFinalSnapshot, nc as malformedOutputsRefusalMessage, nd as runDockerForeground, nn as dropSettledNestedJournals, no as refuseUnreadableCdkCrossAccountRefs, nr as ledgerForStack, nu as isReadableBag, o as inRunStackKey, oc as refuseMalformedOutputsForDestroy, od as Synthesizer, ol as carryLogOnlyValues, oo as explicitRoleArnOrThrow, or as planRollback, os as prefetchCreateOnlyPropertyPaths, ou as stackInstanceIdCarriedFrom, p as readRecordedConditionVerdicts, pc as refuseMalformedResourcesForDeploy, pd as resolveCaptureObservedState, pi as supersededResourcesOf, pl as recordLogOnlyValue, pn as dropFailedCommands, po as classifyRecordedSecretRegion, pr as recordUnderIdIsNotOwn, ps as deployRefusesOrphanRowsReason, pu as CrossPrefixReadError, qc as maskedLeafCoordinatesOf, qd as renderAssemblyPathEscape, qi as withSecretPhysicalIdsMaskedInState, ql as isLockInfoExpired, qn as settleUnsettledPrevious, qo as withUnsettledProperties, qr as isWholeDynamicReferenceValue, qs as hasReadableOrphans, qu as redactDockerArgvValues, r as keptWholeReasonText, ra as buildFinalSnapshotIdentifier, rc as malformedOutputsWarning, rd as runDockerStreaming, ri as destroyStackRecordsView, rl as redactForState, ro as applyRoleArnIfSet, ru as orphansAfterRollback, s as crossStackOutputProvenanceSource, sc as repairMalformedOutputsForReadOnly, sd as synthesisStatusMessage, si as deleteSupersededEntry, sl as createUnionSecretMasker, sn as revertedNestedRowIds, so as isIamRoleArn, sr as seedsDeleteFirstGuard, ss as templateResourceTypes, su as hasReasonlessBaselineRefusal, t as DeployEngine, ta as unsupportedFinalSnapshotError, tc as malformedLocalOutputsWarning, td as getDockerCmd, ti as maskingRetryLogger, tl as liveMatchesUnresolvedTokenFrame, tn as displacedPhysicalIdShown, to as producerLookupOver, tu as importableOutputs, u as conditionFingerprint, uc as malformedRenderedContainersWarning, ud as loadCdkJson, ui as supersededAfterRollback, ul as logOnlyValueCount, un as getCurrentNestedStackContext, uo as applyCallerIdentityCredentials, ur as isReplacementOrphan, us as parameterInputsFor, uu as renderPhaseTimings, v as renderNestedTemplateTreeDefect, va as isCustomResource, vc as JSON_LISTING_HOLE_VALUE, vd as stateBucketExistenceConfirmed, vl as maskSecretsInError, vn as sameJournaledOrphans, vs as previewableOrphanRecords, vu as isNotImplemented, w as deferredServiceTokenWarning, wa as readsNoEchoDeleteValues, wc as hasReadableOutputs, wd as findLargeInlineResources, wi as red, wl as dynamicReferenceTokens, wn as constructPathOf$1, wo as parameterTypeMayLoseSecretIdentity, wr as orphanNeedsIdentity, ws as unreadableOrphanRecords, wu as WorkGraph, x as pendingMovesOutOf, xa as applyCustomResourceResponseExpiration, xc as STATE_RESOURCES_MALFORMED, xd as CFN_TEMPLATE_BODY_LIMIT, xi as cyan, xl as withPhysicalNameCopies, xn as planOrphanAdoption, xs as refuseMalformedOrphansForOrphan, xu as AssetPublisher, y as templateIdentity, ya as wouldReturnToSdkProvider, yc as accountArgs, yd as warnDeprecatedNoPrefixCliFlag, yl as maskSecretsInText, yn as makeForeignHolderScan, ys as refuseMalformedOrphanRecords, yu as stackInstanceIdOf, zd as defineOwnKey, zl as recordMaskOnlyValuesIn, zn as parseMappingFile, zo as carriesDynamicReference, zr as displayTextOrWithheld, zs as malformedDriftResourcePropertiesWarning, zt as refactorMarkerMovesOf, zu as BOOTSTRAP_MARKER_PREFIX } from "./deploy-engine-BocT17az.js";
|
|
4
4
|
import { $ as CdkdError, A as stripControlChars, B as retryClassificationText, Ct as setPasteableRunFlags, F as isAmbiguousOutcomeError, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, R as isRetryableTransientError, St as withheldTargetClause, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as AccountIdUnavailableError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ResourceTimeoutError, bt as shellBoundedDisplay, dt as SHELL_ACTIVE_WHY, et as DeployCancelledError, g as PartialFailureError, gt as pasteableCommand, h as NestedStackChildDirectDestroyError, ht as isInertUnquoted, i as credentialFingerprint, it as ProvisioningError, j as stripForDisplay, k as escapeRegExp, l as withErrorHandling, lt as TIMEOUT_FLAG_RESOURCE_TYPE, n as ambientCredentialConfig, nt as LocalInvokeBuildError$1, o as formatError, ot as StateError, pt as commandHole, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, s as handleError, st as SynthesisError, t as ambientClientDefaults, u as LocalStartServiceError, v as StackHasActiveImportsError, vt as plainOrDescribed, wt as setPasteableVerbFlags, xt as shellQuote, y as StackTerminationProtectionError, yt as quotedOrDescribed, z as isTransientServerError } from "./ambient-client-defaults-w6GrD1cQ.js";
|
|
5
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 setPasteableAwsCaBundle, en as formatLockExpiry, fn as setPasteableAwsProfile, 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, pn as withPasteableAwsProfile, 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-BjJh8h9m.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-CUCH-WCd.js";
|
|
7
7
|
import { a as getAssumedRoleCredentials, c as setAwsEndpointOverrideSource, m as formatAuthority, n as awsClientDefaults, o as getPreAssumeEnvCredentials, p as runInStackAwsScope, s as setAssumedRoleCredentials } from "./aws-client-defaults-DP5k4Mfi.js";
|
|
8
|
-
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-
|
|
8
|
+
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-Cg53WsUz.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";
|
|
@@ -2140,7 +2140,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
2140
2140
|
// src/provisioning/register-providers.ts
|
|
2141
2141
|
let providerClasses;
|
|
2142
2142
|
function loadProviderClasses() {
|
|
2143
|
-
providerClasses ??= import("./provider-classes-
|
|
2143
|
+
providerClasses ??= import("./provider-classes-BJRQVOZ0.js");
|
|
2144
2144
|
return providerClasses;
|
|
2145
2145
|
}
|
|
2146
2146
|
function registerAllProviders(registry, classes) {
|
|
@@ -10355,15 +10355,12 @@ function redactDriftChanges(changes, secrets, secretPaths, maskPaths) {
|
|
|
10355
10355
|
};
|
|
10356
10356
|
}
|
|
10357
10357
|
function maskMarkedNoEchoBaseline(baseline, record, observed) {
|
|
10358
|
-
return maskMarkedNoEchoBaselineWithLeaves(baseline, record, observed).baseline;
|
|
10359
|
-
}
|
|
10360
|
-
function maskMarkedNoEchoBaselineWithLeaves(baseline, record, observed) {
|
|
10361
10358
|
const marked = noEchoLeavesOf(record) ?? [];
|
|
10362
10359
|
if (observed) {
|
|
10363
10360
|
const coordinates = [...marked, ...maskedLeafCoordinatesOf(record.properties ?? {})];
|
|
10364
|
-
return
|
|
10361
|
+
return coordinates.length === 0 ? baseline : maskReadbackAtCoordinates(baseline, record.properties ?? {}, coordinates);
|
|
10365
10362
|
}
|
|
10366
|
-
if (marked.length === 0) return
|
|
10363
|
+
if (marked.length === 0) return baseline;
|
|
10367
10364
|
const recorded = record.properties ?? {};
|
|
10368
10365
|
const listPathOf = (coordinate) => {
|
|
10369
10366
|
const list = coordinate.findIndex((segment) => typeof segment === "number");
|
|
@@ -10376,12 +10373,8 @@ function maskMarkedNoEchoBaselineWithLeaves(baseline, record, observed) {
|
|
|
10376
10373
|
return JSON.stringify(valueAtCoordinate(maskAtCoordinates(baseline, underList), path)) !== JSON.stringify(valueAtCoordinate(maskAtCoordinates(recorded, underList), path));
|
|
10377
10374
|
});
|
|
10378
10375
|
const byIndex = maskAtCoordinates(baseline, marked.filter((coordinate) => !replaced.includes(coordinate)));
|
|
10379
|
-
if (replaced.length === 0) return
|
|
10380
|
-
|
|
10381
|
-
return {
|
|
10382
|
-
baseline: maskReadbackAtCoordinates(byIndex, recorded, replaced),
|
|
10383
|
-
...widened.length > 0 && { noEchoLeaves: canonicalCoordinates([...marked, ...widened]) }
|
|
10384
|
-
};
|
|
10376
|
+
if (replaced.length === 0) return byIndex;
|
|
10377
|
+
return maskReadbackAtCoordinates(byIndex, recorded, replaced);
|
|
10385
10378
|
}
|
|
10386
10379
|
|
|
10387
10380
|
// src/cli/commands/drift/read-failure.ts
|
|
@@ -10839,7 +10832,7 @@ function printAcceptPlan(reports, out) {
|
|
|
10839
10832
|
let plannedWrites = 0;
|
|
10840
10833
|
for (const o of drifted) {
|
|
10841
10834
|
if (report.state.resources[o.logicalId]?.observedBaselineRefused === true) {
|
|
10842
|
-
lines.push(` ~ ${reportResource(o)}\n SKIPPED — a 'cdkd import' run refused this resource's observed-properties baseline; accepting would write
|
|
10835
|
+
lines.push(` ~ ${reportResource(o)}\n SKIPPED — a 'cdkd import' run refused this resource's observed-properties baseline; accepting would write a baseline positioned against properties it already found untrustworthy. ` + (refusedBaselineRemedy(report.state.resources[o.logicalId]) ?? `Deploy a change to this resource first.`) + `\n`);
|
|
10843
10836
|
continue;
|
|
10844
10837
|
}
|
|
10845
10838
|
lines.push(` ~ ${reportResource(o)}\n`);
|
|
@@ -11019,12 +11012,10 @@ async function runAccept(reports, regionScope, stateBackend, stateConfig, awsCli
|
|
|
11019
11012
|
const existing = resources[outcome.logicalId];
|
|
11020
11013
|
if (!existing) continue;
|
|
11021
11014
|
if (existing.observedBaselineRefused === true) {
|
|
11022
|
-
logger.warn(` ! ${report.stackName}/${outcome.logicalId} (${outcome.resourceType}): NOT accepted — a 'cdkd import' run refused to capture this resource's observed-properties baseline, because its recorded properties can no longer position the secret redaction. Accepting would write
|
|
11015
|
+
logger.warn(` ! ${report.stackName}/${outcome.logicalId} (${outcome.resourceType}): NOT accepted — a 'cdkd import' run refused to capture this resource's observed-properties baseline, because its recorded properties can no longer position the secret redaction. Accepting would write a baseline positioned against those properties, which can persist a resolved secret into state.json in plaintext. ` + safeMsg`${refusedBaselineRemedy(existing) ?? "Deploy a change to this resource to restore a baseline first."}`);
|
|
11023
11016
|
continue;
|
|
11024
11017
|
}
|
|
11025
|
-
const
|
|
11026
|
-
const baselineSource = hasObserved ? existing.observedProperties : existing.properties ?? {};
|
|
11027
|
-
const newBaseline = JSON.parse(JSON.stringify(baselineSource));
|
|
11018
|
+
const newBaseline = existing.observedProperties === void 0 ? structuredClone(outcome.awsProperties) : JSON.parse(JSON.stringify(existing.observedProperties));
|
|
11028
11019
|
const accepted = [];
|
|
11029
11020
|
for (const change of outcome.changes) {
|
|
11030
11021
|
const refusal = acceptRefusalReason(change, outcome.maskedPaths);
|
|
@@ -11037,7 +11028,7 @@ async function runAccept(reports, regionScope, stateBackend, stateConfig, awsCli
|
|
|
11037
11028
|
accepted.push(change);
|
|
11038
11029
|
}
|
|
11039
11030
|
const redactedBaseline = withPhysicalNameCopies(outcome.secrets, otherPhysicalIds(report.state.resources, outcome.logicalId), () => redactForState(newBaseline, {
|
|
11040
|
-
provenance:
|
|
11031
|
+
provenance: "state-baseline",
|
|
11041
11032
|
secrets: outcome.secrets,
|
|
11042
11033
|
source: existing.properties ?? {}
|
|
11043
11034
|
}));
|
|
@@ -11050,18 +11041,14 @@ async function runAccept(reports, regionScope, stateBackend, stateConfig, awsCli
|
|
|
11050
11041
|
logger.warn(` ! ${report.stackName}/${outcome.logicalId} (${outcome.resourceType}): '${displayDriftPath(outcome, change.path)}' was NOT recorded — after redaction cdkd state holds a different value at that property. Usually an unresolved '{{resolve:...}}' reference sits there and wins over an accepted value (change the template if that reference is wrong); a readback value cdkd cannot compare is never called recorded.`);
|
|
11051
11042
|
}
|
|
11052
11043
|
if (recordedChanges > 0) acceptedResourceCount++;
|
|
11053
|
-
const written =
|
|
11044
|
+
const written = maskMarkedNoEchoBaseline(redactedBaseline, existing, true);
|
|
11054
11045
|
const settled = await settleUnsettled(existing, outcome.logicalId, () => regionScope(report.region).registry.getProviderFor({
|
|
11055
11046
|
resourceType: outcome.resourceType,
|
|
11056
11047
|
provisionedBy: existing.provisionedBy
|
|
11057
11048
|
}).provider);
|
|
11058
|
-
resources[outcome.logicalId] =
|
|
11059
|
-
...settled,
|
|
11060
|
-
observedProperties: written.baseline
|
|
11061
|
-
} : {
|
|
11049
|
+
resources[outcome.logicalId] = {
|
|
11062
11050
|
...settled,
|
|
11063
|
-
|
|
11064
|
-
...written.noEchoLeaves !== void 0 && { noEchoLeaves: written.noEchoLeaves }
|
|
11051
|
+
observedProperties: written
|
|
11065
11052
|
};
|
|
11066
11053
|
}
|
|
11067
11054
|
const { skippedOutputs: _droppedByAccept, ...carriedState } = report.state;
|
|
@@ -33410,4 +33397,4 @@ function collectVerbFlags(program) {
|
|
|
33410
33397
|
}
|
|
33411
33398
|
|
|
33412
33399
|
export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, canonicalizeIpProtocolValue as o, holdsUnprovenSecretPrincipalToken as r, canonicalizeIpv4Cidr as t };
|
|
33413
|
-
//# sourceMappingURL=program-
|
|
33400
|
+
//# sourceMappingURL=program-DM3nrEl9.js.map
|