@go-to-k/cdkd 0.310.0 → 0.312.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/README.md +2 -2
- package/dist/{asg-provider-I1bFHVsO.js → asg-provider-CVLTQtQr.js} +5 -3
- package/dist/asg-provider-CVLTQtQr.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/{iam-policy-targets-D94wh05t.js → created-resource-sink-BT2Dfnpt.js} +51 -2
- package/dist/created-resource-sink-BT2Dfnpt.js.map +1 -0
- package/dist/{db-instance-modify-retry-BUG7NMWS.js → db-instance-modify-retry-D7wXWxVo.js} +2 -2
- package/dist/{db-instance-modify-retry-BUG7NMWS.js.map → db-instance-modify-retry-D7wXWxVo.js.map} +1 -1
- package/dist/{deploy-engine-DZO2SOQJ.js → deploy-engine-CVNzK__j.js} +914 -185
- package/dist/deploy-engine-CVNzK__j.js.map +1 -0
- package/dist/{iam-role-provider-BWw7I-SZ.js → iam-role-provider-DM7bN9m1.js} +5 -3
- package/dist/iam-role-provider-DM7bN9m1.js.map +1 -0
- package/dist/index.d.ts +9 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/{neptune-provider-8kjFmR1l.js → neptune-provider-qdoLunCh.js} +55 -6
- package/dist/neptune-provider-qdoLunCh.js.map +1 -0
- package/dist/{program-CS420Kx9.js → program-Nk_95KKk.js} +37 -19
- package/dist/program-Nk_95KKk.js.map +1 -0
- package/dist/{provider-classes-KsrvwO_r.js → provider-classes-Dz0pYmlJ.js} +2099 -217
- package/dist/provider-classes-Dz0pYmlJ.js.map +1 -0
- package/dist/{rds-provider-BqwTQeS-.js → rds-provider-CXSZq1c8.js} +28 -14
- package/dist/rds-provider-CXSZq1c8.js.map +1 -0
- package/dist/{version-QOtLxcEo.js → version-BqCEt5Wu.js} +2 -2
- package/dist/{version-QOtLxcEo.js.map → version-BqCEt5Wu.js.map} +1 -1
- package/package.json +2 -2
- package/dist/asg-provider-I1bFHVsO.js.map +0 -1
- package/dist/deploy-engine-DZO2SOQJ.js.map +0 -1
- package/dist/iam-policy-targets-D94wh05t.js.map +0 -1
- package/dist/iam-role-provider-BWw7I-SZ.js.map +0 -1
- package/dist/neptune-provider-8kjFmR1l.js.map +0 -1
- package/dist/program-CS420Kx9.js.map +0 -1
- package/dist/provider-classes-KsrvwO_r.js.map +0 -1
- package/dist/rds-provider-BqwTQeS-.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as runWithStackAwsClients, i as resetAwsClients, o as setAwsClients, t as AwsClients } from "./aws-clients-Bu9EMILF.js";
|
|
2
2
|
import { $ as stringifyJsonPayload, A as isNameGeneration, B as SECRET_REF_MAX_CODE_POINTS, C as generateResourceName, F as withSkipPrefix, G as displayAwsMessage, H as UNRENDERABLE, I as withStackScope, J as displayStackName, K as displayIdent, Q as safeMsg, U as asIsMessage, V as STACK_REF_MAX_CODE_POINTS, W as cutMarker, Y as isPasteableIdent, Z as plainIdentOr, _ as PATTERN_B_RESOURCE_TYPES, a as safeStringify, b as derivesPatternBName, c as isStdoutReservedForPayload, d as runStackBuffered, et as terminalSafe, g as PATTERN_B_NAME_PROPERTIES, h as PATTERN_B_NAME_OPTIONS, l as reserveStdoutForPayload, m as getLiveRenderer, n as describeAwsFailure, q as displaySafe, s as getLogger, tt as truncateCodePoints, x as explicitNamePropertyFor, z as SAFE_MSG_ALTERED_CHAR } from "./aws-failure-text-NSBdKPYK.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $n as plainOrDescribed, $t as formatLockOperation, An as NestedStackChildDirectDestroyError, Ar as markNonRetryable, Cn as DynamicReferenceRegionAmbiguousError, Dt as resourceTypeShown, En as LocalStartServiceError, Er as retryClassificationText, F as VALUE_NOT_SHOWN, Fn as StackHasActiveImportsError, H as remedyLogicalId, Hn as normalizeAwsError, In as StackTerminationProtectionError, Jn as commandHole, Jt as UNREPRODUCIBLE_LOCK_CLAUSE, Kn as SHELL_ACTIVE_WHY, Ln as StateError, M as isMarkedNotGone, Mn as ProvisioningError, Nn as ResourceTimeoutError, Or as isMarkedNonRetryable, P as assertRegionMatch, Pn as ResourceUpdateNotSupportedError, Qt as formatLockExpiry, Rn as SynthesisError, Tn as LocalInvokeBuildError$1, Tr as isTransientServerError, Tt as logicalIdShown, Un as withErrorHandling, Wn as TIMEOUT_FLAG_RESOURCE_TYPE, Xn as isInertUnquoted, Xt as buildLockContentionMessage, Yt as buildForceUnlockCommand, Zn as pasteableCommand, Zt as forceQuitRecoveryClause, _n as CdkdError, _r as stripForDisplay, _t as endCommandInterruptScope, an as injectiveKey, ar as setPasteableVerbFlags, cn as producerRecordKey, dn as ambientClientDefaults, en as formatLockOwner, er as quotedOrDescribed, f as readRecordedPrincipals, fn as ambientCredentialConfig, gr as stripControlChars, gt as beginCommandInterruptScope, hn as AccountIdUnavailableError, hr as escapeRegExp, in as DEFAULT_STATE_PREFIX, ir as setPasteableRunFlags, j as RESOURCE_NOT_FOUND, jn as PartialFailureError, kn as MalformedProducerRecordRefusalError, kr as isThrottlingError, ln as setPasteableAwsProfile, lt as isAwsCliLiteral, mn as credentialFingerprint, nr as shellQuote, o as IAM_PRINCIPAL_NAME, pn as clientDefaultsFor, rn as CUSTOM_RESOURCE_RESPONSE_PREFIX, rr as withheldTargetClause, rt as runDeleteAttempt, s as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, sn as producerCoordinateKey, tr as shellBoundedDisplay, un as withPasteableAwsProfile, vt as interruptWatchListenerCount, wn as IntrinsicResolutionRefusalError, wr as isRetryableTransientError, xn as DeployCancelledError, xr as isAmbiguousOutcomeError, yn as CrossAccountSecretRefusalError, yt as isInterruptedWaitError, zn as formatError } from "./created-resource-sink-BT2Dfnpt.js";
|
|
4
4
|
import { a as setAssumedRoleCredentials, d as formatAuthority, i as getPreAssumeEnvCredentials, n as awsClientDefaults, r as getAssumedRoleCredentials, u as runInStackAwsScope } from "./aws-client-defaults-BX9Y_fKp.js";
|
|
5
|
-
import { $ as computeImplicitDeleteEdges, $a as coerceParameterTypedValue, $c as DYNAMIC_REFERENCE_TOKEN_SCAN, $i as applyCustomResourceResponseExpiration, $l as stringifyValue, $n as WITHHELD_NAME_DISPLAY, $o as refuseMalformedOrphanRecords, $r as noEchoExactEchoLeavesOf, $u as MIGRATE_TMP_PREFIX, Ac as valueAtCoordinate, Al as isAccessDenied, An as resolveReplacementOldType, Ao as isReadableResourceEntry, As as withheldAccountClause, At as displacedOpClause, Au as redactedDockerCause, Ba as assertFlagRoleArn, Bc as logOnlyValueCount, Bl as hasUnverifiableParameterRefusal, Bn as updatePartialMessage, Bo as malformedOrphansRefusalMessage, Br as yellow, Bs as isStatefulRecreateTargetForReplace, Bt as getCurrentNestedStackContext, Bu as loadCdkJson, Ca as withoutUnsettledProperties, Cc as noEchoCoordinatesOf, Cd as resolveAssemblyPath, Ci as ledgerForStack, Cl as isLockInfoExpired, Cn as isJournaledOrphan, Co as accountArgs, Cr as rollbackOrphanIds, Cs as repairMalformedOutputsForReadOnly, Ct as makeSiblingClaimReader, Cu as formatDockerLoginError, Dc as readbackPathFor, Dd as resolveBucketRegion, Di as DeploymentEventsReader, Dl as CrossPrefixScanCache, Dn as recheckFailedPlan, Do as hasReadableOutputs, Dr as mappingPairs, Ds as unpreviewableOrphanRecords, Dt as keptForRetainedRecord, Du as partitionSensitiveEnv, El as CrossPrefixReadError, En as planRollback, Eo as hasReadableOrphans, Er as looselyEqual, Es as repairMalformedResourcesForReadOnly, Et as resolvePendingCloudControlRequests, Eu as isMalformedEnvKey, Fa as keepHeldTokenProvenance, Fl as acceptedCreateOnlyDropsOf, Fn as inheritProducerRegions, Fo as malformedLocalResourceEntriesWarning, Fr as bold, Fs as NO_CC_HANDLERS_REASON, Ft as recordDisplacedSkips, Fu as getDockerImageBySourceHash, Ga as AWS_CREDENTIAL_ENV_KEYS, Gc as unionOfSecretBags, Gi as wouldReturnToSdkProvider, Gl as orphansCarriedFrom, Gn as retiredAfterRollback, Go as malformedResourceEntriesWarning, Gr as removeSuperseded, Gt as isHandledOrphan, Gu as resolveStateBucketWithDefault, Ha as explicitRoleArnOrThrow, Hc as recordLogOnlyParameterValue, Hi as ProviderRegistry, Hl as importableOutputs, Hn as nameGenerationCarriedFrom, Ho as malformedOutputsRefusalMessage, Hr as deleteSupersededEntry, Hs as renderStatefulReason, Ht as deleteJournaledOrphans, Hu as resolveAutoAssetStorage, Ic as carryLogOnlyValues, Il as describeRegionValueKind, Io as malformedLocalResourcesWarning, Ir as cyan, Is as hasNoCloudControlHandlers, Iu as Synthesizer, Ja as envCredentialsAreAssumedRole, Jc as maskSecretsInError, Ji as readsNoEchoDeleteValues, Jl as PhaseClock, Jn as withNameGenerationReached, Jo as malformedScrubResourceEntriesRefusalMessage, Jr as supersededHolderOf, Jt as makeForeignHolderScan, Ju as stateBucketExistenceConfirmed, Ka as applyCallerIdentityCredentials, Kc as createSecretMasker, Kl as shouldRetainResource, Kn as retiredNameGenerationsAfter, Ko as malformedResourcePropertiesWarning, Kr as supersededAfterRollback, Kt as journaledOrphanLines, Ku as resolveStateBucketWithDefaultAndSource, La as recordedOutputReferenceRegions, Lc as createUnionSecretMasker, Ll as exportNamesCarriedFrom, Lo as malformedOrphanRecordsRefusalMessage, Lr as gray, Ls as findReplacedReadersOfRecreateTargets, Lt as revertedNestedRowIds, Lu as synthesisStatusMessage, Ma as resolveDynamicReferences, Ml as stackInstanceIdOf, Mn as orphanNeedsIdentity, Mo as malformedExportNamesWarning, Mt as dropSettledNestedJournals, Mu as runDockerStreaming, Na as producerLookupOver, Nc as redactForState, Nl as withStackInstanceIdWithheld, Nn as findNestedStackTypeChanges, No as malformedExportSourceWarning, Nr as withStackRecords, Ns as unwrittenCreateOnlyReplacement, Nu as warnFinchArgvExposure, Oc as readsNoEchoSource, Oi as DeploymentEventsStore, Ol as applyCrossPrefixScan, On as recordUnderIdIsNotOwn, Oo as hasReadableResources, Or as parseMappingFile, Os as unreadableOrphanRecords, Ot as recordRetainedForReadoption, Ou as redactDockerArgvValues, Pa as refuseUnreadableCdkCrossAccountRefs, Pl as splitImportedOps, Po as malformedLocalOutputsWarning, Pt as nestedChildStackName$1, Pu as AssetManifestLoader, Q as IMPLICIT_DELETE_DEPENDENCIES, Qa as regionLessSecretName, Qi as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, Ql as isSensitiveAttributeName, Qn as resourcesNamingDeclaredParameter, Qr as noEchoComparisonForTemplate, Qu as CFN_TEMPLATE_URL_LIMIT, Ra as recordedReferenceRegions, Rc as hasMaskableValues, Rl as hasReadableExportSet, Ro as malformedOrphanRecordsWarning, Rr as green, Rs as shownType, Rt as withNestedRevertRun, Ru as getDefaultStateBucketName, Sa as withUnsettledProperties, Sc as maskedLeafCoordinatesOf, Sd as renderAssemblyPathEscape, Sl as LockManager, Sn as demoteSupersededOrphans, So as UNREADABLE_RESOURCES_MAP_ROW, Sr as movedToHint, Ss as repairMalformedOrphansForReadOnly, St as makeCanonicalizePropertiesFn, Su as finchSecretArgvRefusal, Ta as poisonRenderedSpellingsCollidingIn, Tc as noEchoOutputsComparison, Td as injectedAwsRegionValue, Ti as withCreateTokenLedger, Tl as rebuildClientForBucketRegion, Tn as planFailedOps, To as displayLogicalId, Tr as isPairableType, Ts as repairMalformedResourcePropertiesForReadOnly, Tt as pendingRequestCount, Tu as isDockerClientEnvKey, Ua as isIamRoleArn, Uc as recordLogOnlyValue, Ui as ccBrokenReason, Ul as isReadableBag, Un as nameGenerationHighWaterOf, Uo as malformedOutputsWarning, Ur as holdsSupersededResources, Ut as dropFailedCommands, Uu as resolveCaptureObservedState, Va as assertSendableRoleArn, Vc as printingCorpusOf, Vi as CC_BROKEN_REASON, Vl as importableOutputKeys, Vn as updatePartialReason, Vo as malformedOrphansWarning, Vr as addSuperseded, Vs as isStatefulRecreateTargetSync, Vt as withNestedStackContext, Vu as resolveApp, Wa as sendableAssumeRoleCommand, Wc as shareLogOnlyValues, Wi as isCustomResource, Wl as orphansAfterRollback, Wn as nameScopeOf, Wo as malformedRenderedContainersWarning, Wr as isSupersededResourceRecord, Wt as dropFailedHint, Wu as resolveSkipPrefix, Xa as classifyReplaySecretRegion, Xc as scrubResourceRecord, Xl as timePhase, Xn as namesAnyDeclaredParameter, Xo as previewableOrphanRecords, Xr as withoutSuperseded, Xt as formatResourceLine, Xu as ssmResolvedValueType, Ya as classifyRecordedSecretRegion, Yc as maskSecretsInText, Yi as isCustomResourceType$1, Yl as renderPhaseTimings, Yn as computeParameterTaint, Yo as malformedStateRefusalMessage, Yr as supersededResourcesOf, Yt as sameJournaledOrphans, Yu as warnDeprecatedNoPrefixCliFlag, Za as producerRegionsFromState, Zc as withPhysicalNameCopies, Zi as withPrintingSecrets, Zl as AssetPublisher, Zn as reachableDivergentParameters, Zo as refuseDivergentRecordRegionForDestroy, Zr as noEchoAttributeNamesOf, Zu as CFN_TEMPLATE_BODY_LIMIT, _c as canonicalCoordinates, _d as nullPrototypeRecord, _i as createPreDeleteFinalSnapshot, _l as recordNoEchoParameterFreshValue, _n as withUnprovenUnsettled, _o as declaresNoEcho, _r as constructPathOf$1, _s as refuseMalformedResourcesForDeploy, _t as withResourceDeadline, _u as resolveDockerContextDirectory, a as isProtectionValueActive, aa as RollbackInlinePolicyWriters, ac as templateResourceTypes, ad as PARTITION_TABLE, ai as namingSecretsWithRecordedNoEcho, al as inheritNestedStackParameterAssociations, an as refuseRefactorMarker, ao as carriesFetchableDynamicReference, ar as carriedExportAliasExposure, as as refuseMalformedOutputsForDestroy, at as childTemplateLoader, au as AssetModeResolver, ba as INTRINSIC_KEYS, bc as maskReadbackAtCoordinates, bd as describeFileReadFailure, bi as refusesFinalSnapshot, bl as WHOLE_DYNAMIC_REFERENCE_PATTERN, bn as equalModuloMask, bo as STATE_RESOURCES_MALFORMED, br as findRefactorHints, bs as refuseMalformedState, bt as keptWholeReasonText, bu as describeDockerFailure, ca as deleteLeftInPlace, cd as AssemblyReader, ci as secretNamePrintingBags, cl as physicalNameCopiesOf, cn as hasPendingMovesOut, co as AWS_NO_VALUE, cr as isWholeDynamicReferenceValue, cs as refuseMalformedResourceEntriesForDeploy, ct as listNestedTemplateRows, cu as ensureAssetStorage, da as isWaitAbandonedError, dd as describeJsonParseFailure, di as stateSecretNameNeedles, dl as splitGetAttStringForm, dn as refusePendingMovesOut, do as lacksRecordedTableArn, dr as collectPublishedOutputNames, ds as refuseMalformedResourceEntriesForImportSave, dt as conditionFingerprint, du as parseBootstrapMarker, ea as customResourceResponseExpirationWarning, ed as findLargeInlineResources, ei as noEchoParameterNamesOf, el as dynamicReferenceTokens, eo as isUnboundTemplateParameter, er as displayTextOrWithheld, es as refuseMalformedOrphanRecordsForDestroy, et as crossStackOutputProvenanceSource, eu as WorkGraph, fd as parseFailureDebugDetail, fi as storedSecretNameNeedles, fl as carriesSecretMask, fn as replayFailedOperations, fo as refStateLookupFromResource, fr as isExportAliasCollision, fs as refuseMalformedResourceEntriesForOrphan, ft as conditionInputsFrom, fu as readBootstrapMarkerBody, gc as TemplateParser, gd as hasPlainPrototype, gi as ccRoutedFinalSnapshotError, gl as recordNoEchoAttributeValues, gn as settleUnsettledPrevious, gr as maskingRetryLogger, gs as refuseMalformedResourcePropertiesForOrphan, gu as buildDockerImage, hc as DagBuilder, hd as hasOwnKey, hi as buildFinalSnapshotIdentifier, hl as recordMaskOnlyValuesIn, hn as recordAfterRollbackUpdate, ho as parameterInputsFor, hr as DEFAULT_RESOURCE_WARN_AFTER_MS, hs as refuseMalformedResourcePropertiesForExport, hu as buildDenyExternalAccessPolicy, i as PROTECTION_PROPERTY_BY_TYPE, ic as prefetchCreateOnlyPropertyPaths, id as expectedOwnerParam, ii as maskEventTextWithBoundBags, il as identityKeyFor, in as refactorMarkerRefusalMessage, io as carriesDynamicReference, ir as secretSafeKeyDisplay, is as refuseMalformedOutputs, it as serviceTokenBlockingReason, iu as rewriteTemplateAssetReferences, jc as liveMatchesUnresolvedTokenFrame, jl as isNotImplemented, jn as seedsDeleteFirstGuard, jo as malformedDriftResourcePropertiesWarning, jr as destroyStackRecordsView, js as findActionableSilentDrops, jt as displacedPhysicalIdShown, ju as runDockerForeground, kc as recordedNoEchoValuesOf, ki as extractDeploymentEventError, kl as crossPrefixDeniedWarning, kn as replacementNeverSwapped, ko as isReadableOrphanRecord, kr as proposeRenames, ks as unreadableResourceEntries, kt as NESTED_PENDING_PARENT_REASON, ku as redactedCause, la as deleteSkipReason, ld as StageLoadError, ln as pendingMovesOutOf, lo as cfnRefValueFromPhysicalId, lr as noEchoParameterValueSeed, ls as refuseMalformedResourceEntriesForDestroy, lt as renderNestedTemplateTreeDefect, lu as getBootstrapMarkerKey, md as defineOwnKey, mi as PRE_DELETE_SNAPSHOT_TYPES, ml as recordMaskOnlyValue, mn as removeProtectionTypeList, mo as withSharedDrainBudget, mr as DEFAULT_RESOURCE_TIMEOUT_MS, ms as refuseMalformedResourcePropertiesForDrift, mt as readRecordedConditionVerdicts, mu as validateContainerRepoName, n as recordedProtectionEvidence, na as slowCcOperationTimeoutMs, nd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, ni as completedReplayEntries, nl as pathCrossesDottedKey, nn as readRefactorMarkerOnce, no as getAccountInfo, nr as secretBearing, ns as refuseMalformedOrphansForDestroy, nt as deferredServiceTokenWarning, nu as createAssetRedirectResolver, o as perType, oa as UNSPECIFIED_SKIP_REASON, oc as describeTypeWithThrottleRetry, od as canonicalizeRegion, oi as orphanRecordsPrintingBag, ol as recordNestedStackParameterExpressions, on as sameMove, oo as isNamelessDynamicReferenceError, or as exportNameNoEchoParameters, os as refuseMalformedResourceAttributesForOrphan, ot as findNestedTemplateTreeDefect, ou as BOOTSTRAP_MARKER_PREFIX, pd as utf8ByteLength, pi as ATOMIC_FINAL_SNAPSHOT_TYPES, pl as provenPublicValue, pn as replayRollback, pr as bindingSkippedOutputs, ps as refuseMalformedResourcePropertiesForDestroy, pt as parentSuppliedValues, pu as validateAssetBucketName, qa as callerEnvCredentials, qc as errorCauseChain, qi as TemplateNoEchoReresolver, ql as stackInstanceIdCarriedFrom, qn as retiredNameGenerationsLeaving, qo as malformedResourcesWarning, qr as supersededHeldByOtherTypeWarning, qt as loadJournaledOrphans, qu as resolveUseCdkBootstrapAssets, r as recordedProtectionNote, rd as decodeListingKey, ri as journaledOrphanPrintingBag, rl as spelledKeysOf, rn as refactorMarkerMovesOf, ro as isImpossibleEmptyStoredAttribute, rr as secretBearingStateKeyWarning, rs as refuseMalformedOrphansForOrphan, rt as findServiceTokenRefusals, ru as loadPublishableAssetManifest, s as readProtection, sa as deleteIndeterminateGuards, sc as withRetry, sd as derivePartitionAndUrlSuffix, si as secretNamePrintingBag, sn as updateRefactorMarker, so as keepsSecretReferenceToken, sr as exportNameSecretExposure, ss as refuseMalformedResourceEntries, st as isAbsoluteAssetPath, su as assertAssetBucketRegion, t as DeployEngine, ta as CloudControlProvider, td as uploadCfnTemplate, ti as createReadOnlyAttributeHealerFactory, tl as isUncertifiedBaselineMaskPosition, tn as readRefactorMarker, to as parameterTypeMayLoseSecretIdentity, tr as exportAliasCollisionScrubWarning, ts as refuseMalformedOrphans, tt as inheritedProvenanceForChildDiff, tu as buildAssetRedirectMap, ud as processStackMessages, ui as secretNamedRecordNeedles, ul as recordPhysicalNameCopy, un as pendingMovesRefusalMessage, uo as isStalePlaceholderArnAttribute, ur as collectDeclaredOutputNames, us as refuseMalformedResourceEntriesForImport, ut as templateIdentity, uu as isCrossRegionRedirect, vc as isMarkedCoordinate, vd as ownValue, vi as effectiveDeletionPolicy, vl as recordProvenPublicExpression, vn as calculateResourceDrift, vo as JSON_LISTING_HOLE_VALUE, vr as findDestructiveChanges, vs as refuseMalformedResourcesForDestroy, vt as diffSecurity, vu as describeDockerCapturedOutput, wa as IntrinsicFunctionResolver, wc as noEchoLeavesOf, wd as injectAwsRegion, wl as S3StateBackend, wn as isReplacementOrphan, wo as deployRefusesOrphanRowsReason, wr as withMovedTo, ws as repairMalformedResourceEntriesForReadOnly, wt as planOrphanAdoption, wu as getDockerCmd, xa as unsettledPropertiesOf, xc as maskWholeValue, xd as displayAssemblyPath, xi as unsupportedFinalSnapshotError, xl as isSingleDynamicReferenceToken, xn as undeclaredEmptyObservedKeys, xo as UNREADABLE_ORPHANS_CONTAINER_ROW, xr as hintSidesOf, xs as repairMalformedOrphanRecordsForReadOnly, xt as mergeNoChangeOutputs, xu as dockerSpawnEnvWithSensitive, ya as DiffCalculator, yc as maskAtCoordinates, yd as absoluteAssemblyPathEscape, yi as isFinalSnapshotError, yl as wholeStringLeavesOf, yn as equalModuloMarkedMask, yo as STATE_REGION_DIVERGED, yr as formatDestructiveChange, ys as refuseMalformedResourcesForExport, yt as isSecretBearingReferenceString, yu as describeDockerExecFailure, za as applyRoleArnIfSet, zc as literalSplitDelimitersOf, zl as hasReasonlessBaselineRefusal, zo as malformedOrphanRowsKeptWarning, zr as red, zs as MULTI_REGION_RECREATE_BLOCKED_TYPES, zt as collectNestedChildUnaddressed, zu as getLegacyStateBucketName } from "./deploy-engine-DZO2SOQJ.js";
|
|
6
|
-
import { t as getCdkdVersion } from "./version-
|
|
5
|
+
import { $a as applyCallerIdentityCredentials, $c as unionOfSecretBags, $i as isCustomResourceType$1, $l as orphansCarriedFrom, $n as namesAnyDeclaredParameter, $o as malformedResourcePropertiesWarning, $r as withoutSuperseded, $t as formatResourceLine, $u as resolveStateBucketWithDefault, Aa as withoutUnsettledProperties, Ac as maskedLeafCoordinatesOf, Ad as renderAssemblyPathEscape, Al as LockManager, An as recheckFailedPlan, Ao as accountArgs, Ar as mappingPairs, As as repairMalformedOutputsForReadOnly, At as keptForRetainedRecord, Au as finchSecretArgvRefusal, Ba as producerLookupOver, Bl as stackInstanceIdOf, Bo as malformedExportSourceWarning, Br as gray, Bt as revertedNestedRowIds, Bu as runDockerStreaming, Ca as DiffCalculator, Cc as DagBuilder, Cd as hasOwnKey, Ci as isFinalSnapshotError, Cl as recordMaskOnlyValuesIn, Cn as equalModuloMask, Cr as findRefactorHints, Cs as refuseMalformedResourcePropertiesForOrphan, Ct as keptWholeReasonText, Cu as buildDenyExternalAccessPolicy, Da as unsettledItemsOf, Dc as maskAtCoordinates, Dd as absoluteAssemblyPathEscape, Di as ledgerForStack, Dl as wholeStringLeavesOf, Dn as isReplacementOrphan, Do as STATE_RESOURCES_MALFORMED, Dr as withMovedTo, Ds as refuseMalformedState, Dt as planOrphanAdoption, Du as describeDockerExecFailure, Ea as unsettledItemsField, Ec as isMarkedCoordinate, Ed as ownValue, El as recordProvenPublicExpression, En as isJournaledOrphan, Eo as STATE_REGION_DIVERGED, Er as rollbackOrphanIds, Es as refuseMalformedResourcesForExport, Et as makeSiblingClaimReader, Eu as describeDockerCapturedOutput, Fc as readbackPathFor, Fd as resolveBucketRegion, Fl as CrossPrefixScanCache, Fn as orphanNeedsIdentity, Fo as hasReadableResources, Fs as unreadableOrphanRecords, Ft as dropSettledNestedJournals, Fu as partitionSensitiveEnv, Ga as recordedReferenceRegions, Gc as createUnionSecretMasker, Gi as CC_BROKEN_REASON, Gl as exportNamesCarriedFrom, Gn as nameGenerationCarriedFrom, Go as malformedOrphanRecordsWarning, Gr as deleteSupersededEntry, Gs as findReplacedReadersOfRecreateTargets, Gt as deleteJournaledOrphans, Gu as synthesisStatusMessage, Ha as keepHeldTokenProvenance, Hl as splitImportedOps, Ho as malformedLocalResourceEntriesWarning, Hr as red, Ht as collectNestedChildUnaddressed, Hu as AssetManifestLoader, Ic as readsNoEchoSource, Il as applyCrossPrefixScan, In as findNestedStackTypeChanges, Io as isReadableOrphanRecord, Ir as withStackRecords, Is as unreadableResourceEntries, Iu as redactDockerArgvValues, Ja as assertSendableRoleArn, Jc as logOnlyValueCount, Ji as isCustomResource, Jl as hasUnverifiableParameterRefusal, Jn as retiredAfterRollback, Jo as malformedOrphansWarning, Jr as removeSuperseded, Js as isStatefulRecreateTargetForReplace, Jt as isHandledOrphan, Ju as loadCdkJson, Ka as applyRoleArnIfSet, Kc as hasMaskableValues, Ki as ProviderRegistry, Kl as hasReadableExportSet, Kn as nameGenerationHighWaterOf, Ko as malformedOrphanRowsKeptWarning, Kr as holdsSupersededResources, Ks as shownType, Kt as dropFailedCommands, Ku as getDefaultStateBucketName, Lc as recordedNoEchoValuesOf, Ll as crossPrefixDeniedWarning, Lo as isReadableResourceEntry, Ls as withheldAccountClause, Lt as nestedChildStackName$1, Lu as redactedCause, Ma as poisonRenderedSpellingsCollidingIn, Mc as noEchoLeavesOf, Md as injectAwsRegion, Mi as DeploymentEventsStore, Ml as S3StateBackend, Mn as replacementNeverSwapped, Mo as displayLogicalId, Mr as proposeRenames, Ms as repairMalformedResourcePropertiesForReadOnly, Mt as NESTED_PENDING_PARENT_REASON, Mu as getDockerCmd, Nc as noEchoOutputsComparison, Nd as injectedAwsRegionValue, Ni as extractDeploymentEventError, Nl as rebuildClientForBucketRegion, Nn as resolveReplacementOldType, No as hasReadableOrphans, Ns as repairMalformedResourcesForReadOnly, Nt as displacedOpClause, Nu as isDockerClientEnvKey, Oa as unsettledPropertiesOf, Oc as maskReadbackAtCoordinates, Od as describeFileReadFailure, Ol as WHOLE_DYNAMIC_REFERENCE_PATTERN, On as planFailedOps, Oo as UNREADABLE_ORPHANS_CONTAINER_ROW, Or as isPairableType, Os as repairMalformedOrphanRecordsForReadOnly, Ot as pendingRequestCount, Ou as describeDockerFailure, Pl as CrossPrefixReadError, Pn as seedsDeleteFirstGuard, Po as hasReadableOutputs, Pr as destroyStackRecordsView, Ps as unpreviewableOrphanRecords, Pt as displacedPhysicalIdShown, Pu as isMalformedEnvKey, Qa as AWS_CREDENTIAL_ENV_KEYS, Qc as shareLogOnlyValues, Qi as readsNoEchoDeleteValues, Ql as orphansAfterRollback, Qn as computeParameterTaint, Qo as malformedResourceEntriesWarning, Qr as supersededResourcesOf, Qt as sameJournaledOrphans, Qu as resolveSkipPrefix, Rc as valueAtCoordinate, Rl as isAccessDenied, Rn as inheritProducerRegions, Ro as malformedDriftResourcePropertiesWarning, Rr as bold, Rs as findActionableSilentDrops, Rt as recordDisplacedSkips, Ru as redactedDockerCause, Sd as defineOwnKey, Si as effectiveDeletionPolicy, Sl as recordMaskOnlyValue, Sn as equalModuloMarkedMask, So as parameterInputsFor, Sr as formatDestructiveChange, Ss as refuseMalformedResourcePropertiesForExport, St as isSecretBearingReferenceString, Su as validateContainerRepoName, Tc as canonicalCoordinates, Td as nullPrototypeRecord, Ti as unsupportedFinalSnapshotError, Tl as recordNoEchoParameterFreshValue, Tn as demoteSupersededOrphans, To as JSON_LISTING_HOLE_VALUE, Tr as movedToHint, Ts as refuseMalformedResourcesForDestroy, Tt as makeCanonicalizePropertiesFn, Tu as resolveDockerContextDirectory, Ul as acceptedCreateOnlyDropsOf, Un as updatePartialMessage, Uo as malformedLocalResourcesWarning, Ur as yellow, Us as NO_CC_HANDLERS_REASON, Ut as getCurrentNestedStackContext, Uu as getDockerImageBySourceHash, Va as refuseUnreadableCdkCrossAccountRefs, Vc as redactForState, Vl as withStackInstanceIdWithheld, Vo as malformedLocalOutputsWarning, Vr as green, Vs as unwrittenCreateOnlyReplacement, Vt as withNestedRevertRun, Vu as warnFinchArgvExposure, Wa as recordedOutputReferenceRegions, Wc as carryLogOnlyValues, Wl as describeRegionValueKind, Wn as updatePartialReason, Wo as malformedOrphanRecordsRefusalMessage, Wr as addSuperseded, Ws as hasNoCloudControlHandlers, Wt as withNestedStackContext, Wu as Synthesizer, Xa as isIamRoleArn, Xc as recordLogOnlyParameterValue, Xl as importableOutputs, Xn as retiredNameGenerationsLeaving, Xo as malformedOutputsWarning, Xr as supersededHeldByOtherTypeWarning, Xs as renderStatefulReason, Xt as loadJournaledOrphans, Xu as resolveAutoAssetStorage, Ya as explicitRoleArnOrThrow, Yc as printingCorpusOf, Yi as wouldReturnToSdkProvider, Yl as importableOutputKeys, Yn as retiredNameGenerationsAfter, Yo as malformedOutputsRefusalMessage, Yr as supersededAfterRollback, Ys as isStatefulRecreateTargetSync, Yt as journaledOrphanLines, Yu as resolveApp, Za as sendableAssumeRoleCommand, Zc as recordLogOnlyValue, Zi as TemplateNoEchoReresolver, Zl as isReadableBag, Zn as withNameGenerationReached, Zo as malformedRenderedContainersWarning, Zr as supersededHolderOf, Zt as makeForeignHolderScan, Zu as resolveCaptureObservedState, _d as StageLoadError, _i as ATOMIC_FINAL_SNAPSHOT_TYPES, _n as removeProtectionTypeList, _o as isStalePlaceholderArnAttribute, _r as DEFAULT_RESOURCE_TIMEOUT_MS, _s as refuseMalformedResourceEntriesForImport, _t as readRecordedConditionVerdicts, _u as getBootstrapMarkerKey, a as isProtectionValueActive, aa as CloudControlProvider, ad as CFN_TEMPLATE_BODY_LIMIT, ai as createReadOnlyAttributeHealerFactory, al as withPhysicalNameCopies, an as readRefactorMarkerOnce, ao as regionLessSecretName, ar as secretBearing, at as deferredServiceTokenWarning, au as AssetPublisher, bd as parseFailureDebugDetail, bi as ccRoutedFinalSnapshotError, bl as carriesSecretMask, bn as withUnprovenUnsettled, br as constructPathOf$1, bs as refuseMalformedResourcePropertiesForDestroy, bt as withResourceDeadline, bu as readBootstrapMarkerBody, cd as findLargeInlineResources, ci as maskEventTextWithBoundBags, cl as dynamicReferenceTokens, cn as refuseRefactorMarker, co as parameterTypeMayLoseSecretIdentity, cr as carriedExportAliasExposure, cs as refuseMalformedOrphans, ct as childTemplateLoader, cu as WorkGraph, da as deleteIndeterminateGuards, dd as decodeListingKey, di as secretNamePrintingBag, dl as spelledKeysOf, dn as hasPendingMovesOut, do as carriesDynamicReference, dr as isWholeDynamicReferenceValue, ds as refuseMalformedOutputs, dt as listNestedTemplateRows, du as loadPublishableAssetManifest, ed as resolveStateBucketWithDefaultAndSource, ei as noEchoAttributeNamesOf, el as createSecretMasker, eo as callerEnvCredentials, er as reachableDivergentParameters, es as malformedResourcesWarning, eu as shouldRetainResource, fa as deleteLeftInPlace, fc as prefetchCreateOnlyPropertyPaths, fd as expectedOwnerParam, fi as secretNamePrintingBags, fl as identityKeyFor, fn as pendingMovesOutOf, fo as carriesFetchableDynamicReference, fr as noEchoParameterValueSeed, fs as refuseMalformedOutputsForDestroy, ft as renderNestedTemplateTreeDefect, fu as rewriteTemplateAssetReferences, gd as AssemblyReader, gi as storedSecretNameNeedles, gl as physicalNameCopiesOf, gn as replayRollback, go as cfnRefValueFromPhysicalId, gr as bindingSkippedOutputs, gs as refuseMalformedResourceEntriesForDestroy, gt as parentSuppliedValues, gu as ensureAssetStorage, ha as isWaitAbandonedError, hc as withRetry, hd as derivePartitionAndUrlSuffix, hi as stateSecretNameNeedles, hn as replayFailedOperations, ho as AWS_NO_VALUE, hr as isExportAliasCollision, hs as refuseMalformedResourceEntriesForDeploy, ht as conditionInputsFrom, hu as assertAssetBucketRegion, i as PROTECTION_PROPERTY_BY_TYPE, ia as customResourceResponseExpirationWarning, id as ssmResolvedValueType, ii as withAttemptedItemsMasked, il as scrubResourceRecord, in as readRefactorMarker, io as producerRegionsFromState, ir as exportAliasCollisionScrubWarning, is as refuseDivergentRecordRegionForDestroy, it as inheritedProvenanceForChildDiff, iu as timePhase, ja as IntrinsicFunctionResolver, jc as noEchoCoordinatesOf, jd as resolveAssemblyPath, ji as DeploymentEventsReader, jl as isLockInfoExpired, jn as recordUnderIdIsNotOwn, jo as deployRefusesOrphanRowsReason, jr as parseMappingFile, js as repairMalformedResourceEntriesForReadOnly, jt as recordRetainedForReadoption, ju as formatDockerLoginError, ka as withUnsettledProperties, kc as maskWholeValue, kd as displayAssemblyPath, ki as withCreateTokenLedger, kl as isSingleDynamicReferenceToken, kn as planRollback, ko as UNREADABLE_RESOURCES_MAP_ROW, kr as looselyEqual, ks as repairMalformedOrphansForReadOnly, kt as resolvePendingCloudControlRequests, ku as dockerSpawnEnvWithSensitive, la as RollbackInlinePolicyWriters, ld as uploadCfnTemplate, li as namingSecretsWithRecordedNoEcho, ll as isUncertifiedBaselineMaskPosition, ln as sameMove, lo as getAccountInfo, lr as exportNameNoEchoParameters, ls as refuseMalformedOrphansForDestroy, lt as findNestedTemplateTreeDefect, lu as buildAssetRedirectMap, mc as describeTypeWithThrottleRetry, md as canonicalizeRegion, mi as secretNamedRecordNeedles, ml as recordNestedStackParameterExpressions, mn as refusePendingMovesOut, mo as keepsSecretReferenceToken, mr as collectPublishedOutputNames, ms as refuseMalformedResourceEntries, mt as conditionFingerprint, mu as BOOTSTRAP_MARKER_PREFIX, n as recordedProtectionEvidence, na as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, nd as stateBucketExistenceConfirmed, ni as noEchoExactEchoLeavesOf, nl as maskSecretsInError, no as classifyRecordedSecretRegion, nr as WITHHELD_NAME_DISPLAY, ns as malformedStateRefusalMessage, nt as computeImplicitDeleteEdges, nu as PhaseClock, o as perType, oa as slowCcOperationTimeoutMs, od as CFN_TEMPLATE_URL_LIMIT, oi as completedReplayEntries, on as refactorMarkerMovesOf, oo as coerceParameterTypedValue, or as secretBearingStateKeyWarning, os as refuseMalformedOrphanRecords, ot as findServiceTokenRefusals, ou as isSensitiveAttributeName, pa as deleteSkipReason, pc as templateResourceTypes, pd as PARTITION_TABLE, pl as inheritNestedStackParameterAssociations, pn as pendingMovesRefusalMessage, po as isNamelessDynamicReferenceError, pr as collectDeclaredOutputNames, ps as refuseMalformedResourceAttributesForOrphan, pt as templateIdentity, pu as AssetModeResolver, qa as assertFlagRoleArn, qc as literalSplitDelimitersOf, qi as ccBrokenReason, ql as hasReasonlessBaselineRefusal, qn as nameScopeOf, qo as malformedOrphansRefusalMessage, qr as isSupersededResourceRecord, qs as MULTI_REGION_RECREATE_BLOCKED_TYPES, qt as dropFailedHint, qu as getLegacyStateBucketName, r as recordedProtectionNote, ra as applyCustomResourceResponseExpiration, rd as warnDeprecatedNoPrefixCliFlag, ri as noEchoParameterNamesOf, rl as maskSecretsInText, ro as classifyReplaySecretRegion, rr as displayTextOrWithheld, rs as previewableOrphanRecords, rt as crossStackOutputProvenanceSource, ru as renderPhaseTimings, s as readProtection, sd as MIGRATE_TMP_PREFIX, si as journaledOrphanPrintingBag, sl as DYNAMIC_REFERENCE_TOKEN_SCAN, sn as refactorMarkerRefusalMessage, so as isUnboundTemplateParameter, sr as secretSafeKeyDisplay, ss as refuseMalformedOrphanRecordsForDestroy, st as serviceTokenBlockingReason, su as stringifyValue, t as DeployEngine, ta as withPrintingSecrets, td as resolveUseCdkBootstrapAssets, ti as noEchoComparisonForTemplate, tl as errorCauseChain, to as envCredentialsAreAssumedRole, tr as resourcesNamingDeclaredParameter, ts as malformedScrubResourceEntriesRefusalMessage, tt as IMPLICIT_DELETE_DEPENDENCIES, tu as stackInstanceIdCarriedFrom, ua as UNSPECIFIED_SKIP_REASON, ud as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, ui as orphanRecordsPrintingBag, ul as pathCrossesDottedKey, un as updateRefactorMarker, uo as isImpossibleEmptyStoredAttribute, ur as exportNameSecretExposure, us as refuseMalformedOrphansForOrphan, ut as isAbsoluteAssetPath, uu as createAssetRedirectResolver, vd as processStackMessages, vi as PRE_DELETE_SNAPSHOT_TYPES, vl as recordPhysicalNameCopy, vn as recordAfterRollbackUpdate, vo as lacksRecordedTableArn, vr as DEFAULT_RESOURCE_WARN_AFTER_MS, vs as refuseMalformedResourceEntriesForImportSave, vu as isCrossRegionRedirect, wa as INTRINSIC_KEYS, wc as TemplateParser, wd as hasPlainPrototype, wi as refusesFinalSnapshot, wl as recordNoEchoAttributeValues, wn as undeclaredEmptyObservedKeys, wo as declaresNoEcho, wr as hintSidesOf, ws as refuseMalformedResourcesForDeploy, wt as mergeNoChangeOutputs, wu as buildDockerImage, xd as utf8ByteLength, xi as createPreDeleteFinalSnapshot, xl as provenPublicValue, xn as calculateResourceDrift, xo as withSharedDrainBudget, xr as findDestructiveChanges, xs as refuseMalformedResourcePropertiesForDrift, xt as diffSecurity, xu as validateAssetBucketName, yd as describeJsonParseFailure, yi as buildFinalSnapshotIdentifier, yl as splitGetAttStringForm, yn as settleUnsettledPrevious, yo as refStateLookupFromResource, yr as maskingRetryLogger, ys as refuseMalformedResourceEntriesForOrphan, yu as parseBootstrapMarker, za as resolveDynamicReferences, zc as liveMatchesUnresolvedTokenFrame, zl as isNotImplemented, zo as malformedExportNamesWarning, zr as cyan, zs as findHandledUnwrittenCreateOnly, zu as runDockerForeground } from "./deploy-engine-CVNzK__j.js";
|
|
6
|
+
import { t as getCdkdVersion } from "./version-BqCEt5Wu.js";
|
|
7
7
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
8
8
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutBucketVersioningCommand, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
9
9
|
import { GetRoleCommand, GetUserCommand } from "@aws-sdk/client-iam";
|
|
@@ -181,8 +181,8 @@ function ensureWarnAfter(opts) {
|
|
|
181
181
|
if (!opts.resourceWarnAfter.perTypeMs) opts.resourceWarnAfter.perTypeMs = {};
|
|
182
182
|
return opts.resourceWarnAfter;
|
|
183
183
|
}
|
|
184
|
-
const noWaitOption = new Option("--no-wait", "Skip waiting for async resources to stabilize (RDS, ElastiCache, NAT Gateway, EC2 Instance, ELBv2 LoadBalancer, Lambda MicroVM Image)");
|
|
185
|
-
const fullWaitOption = new Option("--full-wait", "Also wait for stabilizations cdkd skips by default, matching CloudFormation (
|
|
184
|
+
const noWaitOption = new Option("--no-wait", "Skip waiting for async resources to stabilize (RDS, ElastiCache, NAT Gateway, EC2 Instance, ELBv2 LoadBalancer, Lambda MicroVM Image, ECS Service steady state)");
|
|
185
|
+
const fullWaitOption = new Option("--full-wait", "Also wait for stabilizations cdkd skips by default, matching CloudFormation (CloudFront Distribution Deployed)");
|
|
186
186
|
function validateWaitFlags(opts) {
|
|
187
187
|
if (opts.wait === false && opts.fullWait === true) throw new Error("--no-wait and --full-wait cannot be combined: --no-wait skips stabilization waits, --full-wait adds them. Pick one.");
|
|
188
188
|
}
|
|
@@ -2710,7 +2710,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
2710
2710
|
//#region src/provisioning/register-providers.ts
|
|
2711
2711
|
let providerClasses;
|
|
2712
2712
|
function loadProviderClasses() {
|
|
2713
|
-
providerClasses ??= import("./provider-classes-
|
|
2713
|
+
providerClasses ??= import("./provider-classes-Dz0pYmlJ.js");
|
|
2714
2714
|
return providerClasses;
|
|
2715
2715
|
}
|
|
2716
2716
|
function registerAllProviders(registry, classes) {
|
|
@@ -3557,7 +3557,7 @@ Force-quit: stack locks may not be released. If the next run reports a lock, run
|
|
|
3557
3557
|
const syncValidation = validateRecreateTargets({
|
|
3558
3558
|
template: stackInfo.template,
|
|
3559
3559
|
state: stateForRecreateCheck?.state ?? {
|
|
3560
|
-
version:
|
|
3560
|
+
version: 15,
|
|
3561
3561
|
stackName: stackInfo.stackName,
|
|
3562
3562
|
region: stackRegion,
|
|
3563
3563
|
resources: {},
|
|
@@ -3592,7 +3592,7 @@ Force-quit: stack locks may not be released. If the next run reports a lock, run
|
|
|
3592
3592
|
const replacedReaders = await findReplacedReadersOfRecreateTargets({
|
|
3593
3593
|
template: stackInfo.template,
|
|
3594
3594
|
state: stateForRecreateCheck?.state ?? {
|
|
3595
|
-
version:
|
|
3595
|
+
version: 15,
|
|
3596
3596
|
stackName: stackInfo.stackName,
|
|
3597
3597
|
region: stackRegion,
|
|
3598
3598
|
resources: {},
|
|
@@ -4899,8 +4899,14 @@ function findUnwrittenCreateOnlyRefusals(changes, stateResources) {
|
|
|
4899
4899
|
const keys = unwrittenCreateOnlyReplacement(change.resourceType, record.properties ?? {}, desired, /* @__PURE__ */ new Set(), acceptedCreateOnlyDropsOf(record), propertyChanges.filter((pc) => pc.requiresReplacement).map((pc) => pc.path));
|
|
4900
4900
|
if (keys.length === 0) continue;
|
|
4901
4901
|
const routeDriving = findActionableSilentDrops(change.resourceType, desired, /* @__PURE__ */ new Set(), record.properties ?? {}).map(({ property }) => property);
|
|
4902
|
-
const
|
|
4902
|
+
const nowWritten = findHandledUnwrittenCreateOnly(change.resourceType, record.properties ?? {}, acceptedCreateOnlyDropsOf(record)).filter((property) => keys.includes(property));
|
|
4903
|
+
const keepKeys = [.../* @__PURE__ */ new Set([...keys, ...routeDriving])].filter((property) => !nowWritten.includes(property)).sort((a, b) => a.localeCompare(b));
|
|
4904
|
+
const keep = keepKeys.map((property) => displayIdent(`${change.resourceType}:${property}`)).join(",");
|
|
4903
4905
|
const one = keys.length === 1;
|
|
4906
|
+
if (nowWritten.length > 0) {
|
|
4907
|
+
reasons.push(`${displayIdent(logicalId)} (${displayIdent(change.resourceType)}): this previews a replacement that would apply create-only ${keys.map((k) => displayIdent(k)).join(", ")}, which the state record holds although the SDK provider that built the resource did not write ${one ? "it" : "them"}, so AWS does not. This cdkd version's SDK provider writes ${nowWritten.map((k) => displayIdent(k)).join(", ")}, so a deploy refuses it (CREATE_ONLY_DROP_NEEDS_REPLACEMENT) unless --recreate-via-cc-api or --replace opts in, whatever --prefer-sdk-route names; a deploy with ${nowWritten.map((k) => displayIdent(k)).join(", ")} removed from the template` + (keepKeys.length > 0 ? ` and --prefer-sdk-route ${keep}` : "") + ` changes nothing.`);
|
|
4908
|
+
continue;
|
|
4909
|
+
}
|
|
4904
4910
|
reasons.push(`${displayIdent(logicalId)} (${displayIdent(change.resourceType)}): this previews a replacement that would apply create-only ${keys.map((k) => displayIdent(k)).join(", ")}, which the state record holds although the SDK provider never wrote ${one ? "it" : "them"}, so AWS does not. A deploy without --prefer-sdk-route refuses it (CREATE_ONLY_DROP_NEEDS_REPLACEMENT) unless --recreate-via-cc-api or --replace opts in; a deploy passing --prefer-sdk-route ${keep} changes nothing.`);
|
|
4905
4911
|
}
|
|
4906
4912
|
return reasons;
|
|
@@ -5001,7 +5007,7 @@ async function loadStateOrEmpty(stackName, region, stateBackend, refusalRecovery
|
|
|
5001
5007
|
region,
|
|
5002
5008
|
resources: {},
|
|
5003
5009
|
outputs: {},
|
|
5004
|
-
version:
|
|
5010
|
+
version: 15,
|
|
5005
5011
|
lastModified: Date.now()
|
|
5006
5012
|
},
|
|
5007
5013
|
unreadable: [],
|
|
@@ -9030,7 +9036,11 @@ function applyScrubNoEcho(scrubbed, record, plan) {
|
|
|
9030
9036
|
next.attributes = masked;
|
|
9031
9037
|
next.noEchoAttributeNames = [...attributeNames];
|
|
9032
9038
|
}
|
|
9033
|
-
|
|
9039
|
+
const needles = leaves.flatMap((coordinate) => {
|
|
9040
|
+
const value = valueAtCoordinate(record.properties, coordinate);
|
|
9041
|
+
return typeof value === "string" && value !== "" ? [value] : [];
|
|
9042
|
+
});
|
|
9043
|
+
return withAttemptedItemsMasked(next, needles);
|
|
9034
9044
|
}
|
|
9035
9045
|
function withoutFnIf(value) {
|
|
9036
9046
|
if (Array.isArray(value)) return value.map(withoutFnIf);
|
|
@@ -11126,6 +11136,7 @@ async function runRevert(reports, regionScope, stateBackend, stateConfig, awsCli
|
|
|
11126
11136
|
resourceType: outcome.resourceType,
|
|
11127
11137
|
recordedProperties: stateResource.properties ?? {},
|
|
11128
11138
|
names: unsettledPropertiesOf(stateResource),
|
|
11139
|
+
attemptedItems: unsettledItemsOf(stateResource),
|
|
11129
11140
|
previous: outcome.awsProperties,
|
|
11130
11141
|
desired: newProperties
|
|
11131
11142
|
});
|
|
@@ -11147,7 +11158,8 @@ async function runRevert(reports, regionScope, stateBackend, stateConfig, awsCli
|
|
|
11147
11158
|
resourceType: outcome.resourceType,
|
|
11148
11159
|
recordedProperties: stateResource.properties ?? {},
|
|
11149
11160
|
names: unsettledNames,
|
|
11150
|
-
desired: newProperties
|
|
11161
|
+
desired: newProperties,
|
|
11162
|
+
attemptedItems: unsettledItemsOf(stateResource)
|
|
11151
11163
|
}, (message) => logger.warn(maskSecretsInText(message, secrets)));
|
|
11152
11164
|
if (unsettledPropertiesOf(settled).size < unsettledNames.size) settledByRevert.set(outcome.logicalId, settled);
|
|
11153
11165
|
}
|
|
@@ -11201,7 +11213,10 @@ async function runRevert(reports, regionScope, stateBackend, stateConfig, awsCli
|
|
|
11201
11213
|
for (const [logicalId, settled] of settledByRevert) {
|
|
11202
11214
|
const existing = resources[logicalId];
|
|
11203
11215
|
if (!existing) continue;
|
|
11204
|
-
resources[logicalId] =
|
|
11216
|
+
resources[logicalId] = {
|
|
11217
|
+
...withUnsettledProperties(withoutUnsettledProperties(existing), unsettledPropertiesOf(settled)),
|
|
11218
|
+
...unsettledItemsField(settled, unsettledPropertiesOf(settled))
|
|
11219
|
+
};
|
|
11205
11220
|
settledCount++;
|
|
11206
11221
|
}
|
|
11207
11222
|
let recordedCount = 0;
|
|
@@ -11438,7 +11453,10 @@ async function settleUnsettled(record, logicalId, providerOf) {
|
|
|
11438
11453
|
}
|
|
11439
11454
|
const keep = [...names].filter((name) => kept.has(name));
|
|
11440
11455
|
if (keep.length === names.size) return record;
|
|
11441
|
-
return
|
|
11456
|
+
return {
|
|
11457
|
+
...withUnsettledProperties(withoutUnsettledProperties(record), keep),
|
|
11458
|
+
...unsettledItemsField(record, keep)
|
|
11459
|
+
};
|
|
11442
11460
|
}
|
|
11443
11461
|
function unsettledRowsOf(report) {
|
|
11444
11462
|
const rows = [];
|
|
@@ -15047,7 +15065,7 @@ const COMPOSITE_ID_SPLITTERS = {
|
|
|
15047
15065
|
"AWS::AppSync::ApiKey": (physicalId, properties) => {
|
|
15048
15066
|
const trimmed = physicalId.trim();
|
|
15049
15067
|
if (!trimmed) throw new Error("empty physical id for AWS::AppSync::ApiKey (expected 'apiId|apiKeyId', the key ARN, or a bare apiKeyId)");
|
|
15050
|
-
const arnMatch = /^arn:[^:]+:appsync:[^:]*:[^:]*:apis\/([^/|]+)\/
|
|
15068
|
+
const arnMatch = /^arn:[^:]+:appsync:[^:]*:[^:]*:apis\/([^/|]+)\/apikeys?\/([^/|]+)$/.exec(trimmed);
|
|
15051
15069
|
if (arnMatch) {
|
|
15052
15070
|
const [, apiId, apiKeyId] = arnMatch;
|
|
15053
15071
|
return {
|
|
@@ -15058,7 +15076,7 @@ const COMPOSITE_ID_SPLITTERS = {
|
|
|
15058
15076
|
propertiesOverlay: { ApiId: apiId }
|
|
15059
15077
|
};
|
|
15060
15078
|
}
|
|
15061
|
-
if (trimmed.startsWith("arn:")) throw new Error(`${showRecordValue(physicalId)} looks like an ARN but is not an AppSync API key ARN (expected arn:<partition>:appsync:<region>:<account>:apis/<apiId>/
|
|
15079
|
+
if (trimmed.startsWith("arn:")) throw new Error(`${showRecordValue(physicalId)} looks like an ARN but is not an AppSync API key ARN (expected arn:<partition>:appsync:<region>:<account>:apis/<apiId>/apikeys/<apiKeyId>)`);
|
|
15062
15080
|
const parts = trimmed.split("|");
|
|
15063
15081
|
if (parts.length > 2) throw new Error(`expected 'apiId|apiKeyId', the key ARN, or a bare apiKeyId, got ${parts.length} parts: ${showRecordValue(physicalId)}`);
|
|
15064
15082
|
if (parts.length === 2) {
|
|
@@ -20011,7 +20029,7 @@ async function rollbackCommand(stackArg, options) {
|
|
|
20011
20029
|
...carriedState,
|
|
20012
20030
|
...stackInstanceIdCarriedFrom(baseState),
|
|
20013
20031
|
...supersededAfterRollback(baseState, supersededHost),
|
|
20014
|
-
version:
|
|
20032
|
+
version: 15,
|
|
20015
20033
|
region,
|
|
20016
20034
|
resources: { ...stateResources },
|
|
20017
20035
|
...orphansAfterRollback(baseState, mintedOrphans),
|
|
@@ -23579,7 +23597,7 @@ function buildStackState(stackName, region, rows, templateParser, template, exis
|
|
|
23579
23597
|
}
|
|
23580
23598
|
if (namesParameter?.failedClosed !== void 0) getLogger().debug(`The template's parameter dependence could not be judged (${namesParameter.failedClosed}): every prior observed-baseline refusal recorded without a reason is carried as an unverifiable-parameter refusal.`);
|
|
23581
23599
|
return {
|
|
23582
|
-
version:
|
|
23600
|
+
version: 15,
|
|
23583
23601
|
stackName,
|
|
23584
23602
|
region,
|
|
23585
23603
|
resources,
|
|
@@ -31585,4 +31603,4 @@ function collectVerbFlags(program) {
|
|
|
31585
31603
|
|
|
31586
31604
|
//#endregion
|
|
31587
31605
|
export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, canonicalizeIpProtocolValue as o, holdsUnprovenSecretPrincipalToken as r, resolvedResourceTimeoutMs as s, canonicalizeIpv4Cidr as t };
|
|
31588
|
-
//# sourceMappingURL=program-
|
|
31606
|
+
//# sourceMappingURL=program-Nk_95KKk.js.map
|