@cdkd/cli 0.334.3 → 0.336.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/ambient-client-defaults-B9bnuob2.js +960 -0
- package/dist/ambient-client-defaults-B9bnuob2.js.map +1 -0
- package/dist/{asg-provider-Gu-qQLG9.js → asg-provider-Kmj1OMXP.js} +4 -3
- package/dist/asg-provider-Kmj1OMXP.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/{db-instance-modify-retry-AJiRFAXa.js → db-instance-modify-retry-CQLlNArd.js} +10 -9
- package/dist/{db-instance-modify-retry-AJiRFAXa.js.map → db-instance-modify-retry-CQLlNArd.js.map} +1 -1
- package/dist/{deploy-engine-BktCSZdi.js → deploy-engine-C1sQP24T.js} +2145 -1955
- package/dist/deploy-engine-C1sQP24T.js.map +1 -0
- package/dist/ecr-uri-EPT8p1G0.js +93 -0
- package/dist/ecr-uri-EPT8p1G0.js.map +1 -0
- package/dist/{iam-role-provider-BJ5XgxFH.js → iam-role-provider-DF2RT3QW.js} +4 -3
- package/dist/iam-role-provider-DF2RT3QW.js.map +1 -0
- package/dist/index.d.ts +34 -42
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/{neptune-provider-6SGPWYUE.js → neptune-provider-DYvMIjKO.js} +5 -4
- package/dist/neptune-provider-DYvMIjKO.js.map +1 -0
- package/dist/{program-Dm0zFrcG.js → program-B8rxD6E3.js} +22 -94
- package/dist/program-B8rxD6E3.js.map +1 -0
- package/dist/{provider-classes-BDPm7luc.js → provider-classes-BxlB3pLK.js} +10 -9
- package/dist/provider-classes-BxlB3pLK.js.map +1 -0
- package/dist/{rds-provider--9aIoAY-.js → rds-provider-DuzqwKfc.js} +320 -32
- package/dist/rds-provider-DuzqwKfc.js.map +1 -0
- package/dist/read-replica-BHKXELki.js +226 -0
- package/dist/read-replica-BHKXELki.js.map +1 -0
- package/dist/{update-removal-73OUGFVU.js → update-removal-Dh6W86TO.js} +148 -1098
- package/dist/update-removal-Dh6W86TO.js.map +1 -0
- package/dist/{version-CO5muce9.js → version-hOdgRlOf.js} +2 -2
- package/dist/{version-CO5muce9.js.map → version-hOdgRlOf.js.map} +1 -1
- package/package.json +1 -1
- package/dist/asg-provider-Gu-qQLG9.js.map +0 -1
- package/dist/deploy-engine-BktCSZdi.js.map +0 -1
- package/dist/iam-role-provider-BJ5XgxFH.js.map +0 -1
- package/dist/neptune-provider-6SGPWYUE.js.map +0 -1
- package/dist/program-Dm0zFrcG.js.map +0 -1
- package/dist/provider-classes-BDPm7luc.js.map +0 -1
- package/dist/rds-provider--9aIoAY-.js.map +0 -1
- package/dist/update-removal-73OUGFVU.js.map +0 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { a as runWithStackAwsClients, i as resetAwsClients, l as s3ClientDefaults, o as setAwsClients, s as resolveS3ClientDefaults, t as AwsClients, u as setS3ClientDefaultsDebugLog } from "./aws-clients-ez_oXu6x.js";
|
|
2
2
|
import { $ as safeMsg, B as SAFE_MSG_ALTERED_CHAR, C as PATTERN_B_RESOURCE_TYPES, F as isNameGeneration, G as cutMarker, H as STACK_REF_MAX_CODE_POINTS, J as displaySafe, K as displayAwsMessage, L as withSkipPrefix, Q as plainIdentOr, R as withStackScope, S as PATTERN_B_NAME_PROPERTIES, T as generateResourceName, U as UNRENDERABLE, V as SECRET_REF_MAX_CODE_POINTS, W as asIsMessage, X as isPasteableIdent, Y as displayStackName, _ as explicitNamePropertyFor, a as safeStringify, c as isStdoutReservedForPayload, d as runStackBuffered, et as stringifyJsonPayload, l as reserveStdoutForPayload, m as getLiveRenderer, n as describeAwsFailure, nt as truncateCodePoints, q as displayIdent, s as getLogger, tt as terminalSafe, w as derivesPatternBName, x as PATTERN_B_NAME_OPTIONS } from "./aws-failure-text-CoS1huLy.js";
|
|
3
|
-
import {
|
|
3
|
+
import { B as isMarkedNonRetryable, D as escapeRegExp, G as CrossAccountSecretRefusalError, H as markNonRetryable, I as isRetryableTransientError, J as MalformedProducerRecordRefusalError, K as DynamicReferenceRegionAmbiguousError, L as isTransientServerError, N as isAmbiguousOutcomeError, O as stripControlChars, Q as DeployCancelledError, R as retryClassificationText, St as setPasteableVerbFlags, V as isThrottlingError, Y as AccountIdUnavailableError, Z as CdkdError, _ as StackTerminationProtectionError, _t as quotedOrDescribed, a as normalizeAwsError, at as SynthesisError, bt as withheldTargetClause, c as withErrorHandling, dt as commandHole, et as LocalInvokeBuildError$1, g as StackHasActiveImportsError, gt as plainOrDescribed, h as ResourceUpdateNotSupportedError, i as credentialFingerprint, it as StateError, k as stripForDisplay, l as LocalStartServiceError, lt as SHELL_ACTIVE_WHY, m as PartialFailureError, mt as pasteableCommand, n as ambientCredentialConfig, nt as ProvisioningError, o as formatError, p as NestedStackChildDirectDestroyError, pt as isInertUnquoted, q as IntrinsicResolutionRefusalError, r as clientDefaultsFor, rt as ResourceTimeoutError, st as TIMEOUT_FLAG_RESOURCE_TYPE, t as ambientClientDefaults, vt as shellBoundedDisplay, xt as setPasteableRunFlags, yt as shellQuote } from "./ambient-client-defaults-B9bnuob2.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-BLXFsfMa.js";
|
|
5
|
-
import { $a as classifyRecordedSecretRegion, $l as importableOutputKeys, $n as demoteSupersededOrphans, $r as gray, $s as malformedOutputsWarning, $t as deleteJournaledOrphans, $u as runDockerForeground, A as recordedProtectionEvidence, Ad as AssemblyReader, Ai as extractDeploymentEventError, Al as recordPhysicalNameCopy, An as isPairableType, Ao as unsettledItemsField, Ar as secretBearing, As as refuseMalformedResourceEntriesForImport, Au as isCrossRegionRedirect, Ba as resolveDynamicReferences, Bc as maskAtCoordinates, Bd as ownValue, Bl as wholeStringLeavesOf, Bn as calculateResourceDrift, Bo as renderStatefulReason, Br as isExportAliasCollision, Bs as refuseMalformedResourcePropertiesForOrphan, Bt as readRefactorMarkerOnce, Bu as describeDockerExecFailure, C as pendingMovesOutOf, Ca as deleteLeftInPlace, Cc as findHandledUnwrittenCreateOnly, Cd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Ci as orphanRecordsPrintingBag, Cl as spelledKeysOf, Cn as findDestructiveChanges, Co as carriesFetchableDynamicReference, Cr as computeParameterTaint, Cs as malformedLocalResourcesWarning, Cu as createAssetRedirectResolver, D as findServiceTokenRefusals, Dc as NO_CC_HANDLERS_REASON, Dd as canonicalizeRegion, Di as secretNamedRecordNeedles, Dn as movedToHint, Do as withSharedDrainBudget, Dr as WITHHELD_NAME_DISPLAY, Ds as refuseMalformedResourceEntries, Du as ensureAssetStorage, E as deferredServiceTokenWarning, Ed as PARTITION_TABLE, El as inheritNestedStackParameterAssociations, En as hintSidesOf, Eo as keepsSecretReferenceToken, Er as resourcesNamingDeclaredParameter, Es as refuseMalformedResourceAttributesForOrphan, Eu as AssetModeResolver, F as readProtection, Fa as DiffCalculator, Fd as utf8ByteLength, Fi as isFinalSnapshotError, Fl as recordMaskOnlyValue, Fn as replayFailedOperations, Fo as findReplacedReadersOfRecreateTargets, Fr as exportNameSecretExposure, Fs as malformedDriftResourcePropertiesWarning, Ft as IMPLICIT_DELETE_DEPENDENCIES, Fu as validateContainerRepoName, Ga as assertSendableRoleArn, Gc as noEchoLeavesOf, Gd as resolveAssemblyPath, Gl as S3StateBackend, Gn as updatePartialReason, Gs as malformedOrphansWarning, Gt as updateRefactorMarker, Gu as dockerSpawnEnvWithSensitive, Ha as refuseUnreadableCdkCrossAccountRefs, Hc as maskWholeValue, Hd as describeFileReadFailure, Hi as secretSegmentsOfState, Hl as isSingleDynamicReferenceToken, Hn as equalModuloMask, Hr as DEFAULT_RESOURCE_TIMEOUT_MS, Hs as UNREADABLE_ORPHANS_CONTAINER_ROW, Ht as refactorMarkerRefusalMessage, Hu as redactedCause, Ia as IntrinsicFunctionResolver, Ic as DagBuilder, Id as defineOwnKey, Ii as refusesFinalSnapshot, Il as recordMaskOnlyValuesIn, In as replayRollback, Io as shownType, Ir as isWholeDynamicReferenceValue, Is as malformedResourcePropertiesWarning, It as computeImplicitDeleteEdges, Iu as BOOTSTRAP_MARKER_PREFIX, Ja as sendableAssumeRoleCommand, Jc as readbackPathFor, Jl as describeRegionValueKind, Js as repairMalformedOrphansForReadOnly, Jt as formatResourceLine, Ju as warnFinchArgvExposure, Ka as explicitRoleArnOrThrow, Kc as noEchoOutputsComparison, Kd as injectAwsRegion, Kl as splitImportedOps, Ko as coerceCfnBoolean, Ks as refuseMalformedOrphans, Ku as finchSecretArgvRefusal, La as isAlwaysLiveAttribute, Lc as TemplateParser, Ld as hasOwnKey, Li as unsupportedFinalSnapshotError, Ll as recordNoEchoAttributeValues, Ln as recordAfterRollbackUpdate, Lo as MULTI_REGION_RECREATE_BLOCKED_TYPES, Lr as noEchoParameterValueSeed, Ls as refuseMalformedResourcePropertiesForDestroy, Lt as keptForRetainedRecord, Lu as buildDockerImage, M as PROTECTION_PROPERTY_BY_TYPE, Md as processStackMessages, Mi as PRE_DELETE_SNAPSHOT_TYPES, Ml as splitGetAttStringForm, Mn as mappingPairs, Mo as unsettledPropertiesOf, Mr as secretSafeKeyDisplay, Ms as refuseMalformedResourceEntriesForOrphan, Mu as parseBootstrapMarker, N as isProtectionValueActive, Nd as describeJsonParseFailure, Ni as ccRoutedFinalSnapshotError, Nl as carriesSecretMask, Nn as parseMappingFile, No as withUnsettledProperties, Nr as carriedExportAliasExposure, Ns as repairMalformedResourceEntriesForReadOnly, Nu as readBootstrapMarkerBody, O as serviceTokenBlockingReason, Oc as hasNoCloudControlHandlers, Od as derivePartitionAndUrlSuffix, Oi as stateSecretNameNeedles, Ol as physicalNameCopiesOf, On as rollbackOrphanIds, Oo as INTRINSIC_KEYS, Or as displayTextOrWithheld, Os as refuseMalformedResourceEntriesForDeploy, Ou as buildDenyExternalAccessPolicy, P as perType, Pa as isWaitAbandonedError, Pd as parseFailureDebugDetail, Pi as effectiveDeletionPolicy, Pl as provenPublicValue, Pn as proposeRenames, Po as withoutUnsettledProperties, Pr as exportNameNoEchoParameters, Ps as unreadableResourceEntries, Pt as withResourceDeadline, Pu as validateAssetBucketName, Qa as envCredentialsAreAssumedRole, Qc as liveMatchesUnresolvedTokenFrame, Ql as hasUnverifiableParameterRefusal, Qn as seedsDeleteFirstGuard, Qr as cyan, Qs as malformedOutputsRefusalMessage, Qt as resolvePendingCloudControlRequests, Qu as getDockerCmd, Ra as poisonRenderedSpellingsCollidingIn, Rc as canonicalCoordinates, Rd as hasPlainPrototype, Ri as createPreDeleteFinalSnapshot, Rl as recordNoEchoParameterFreshValue, Rn as settleUnsettledPrevious, Ro as isStatefulRecreateTargetForReplace, Rr as collectDeclaredOutputNames, Rs as refuseMalformedResourcePropertiesForDrift, Rt as recordRetainedForReadoption, Ru as resolveDockerContextDirectory, S as hasPendingMovesOut, Sa as deleteIndeterminateGuards, Sc as findActionableSdkUnwired, Sd as uploadCfnTemplate, Si as namingSecretsWithRecordedNoEcho, Sl as isUncertifiedBaselineMaskPosition, Sn as constructPathOf$1, So as isImpossibleEmptyStoredAttribute, Sr as inheritProducerRegions, Ss as malformedLocalResourceEntriesWarning, Su as buildAssetRedirectMap, T as refusePendingMovesOut, Tc as unwrittenCreateOnlyReplacement, Td as expectedOwnerParam, Ti as secretNamePrintingBags, Tl as identityKeyFor, Tn as findRefactorHints, To as carriesDynamicReference, Tr as reachableDivergentParameters, Ts as malformedScrubResourceEntriesRefusalMessage, Tu as rewriteTemplateAssetReferences, Ua as applyRoleArnIfSet, Uc as maskedLeafCoordinatesOf, Ud as displayAssemblyPath, Ui as withSecretPhysicalIdsMaskedInState, Ul as LockManager, Un as undeclaredEmptyObservedKeys, Ur as DEFAULT_RESOURCE_WARN_AFTER_MS, Us as hasReadableOrphans, Ut as refuseRefactorMarker, Uu as redactedDockerCause, Va as producerLookupOver, Vc as maskReadbackAtCoordinates, Vd as absoluteAssemblyPathEscape, Vl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Vn as equalModuloMarkedMask, Vr as bindingSkippedOutputs, Vs as repairMalformedResourcePropertiesForReadOnly, Vt as refactorMarkerMovesOf, Vu as describeDockerFailure, Wa as assertFlagRoleArn, Wc as noEchoCoordinatesOf, Wd as renderAssemblyPathEscape, Wl as isLockInfoExpired, Wn as updatePartialMessage, Wr as maskingRetryLogger, Ws as malformedOrphansRefusalMessage, Wt as sameMove, Wu as redactDockerArgvValues, Xa as applyCallerIdentityCredentials, Xc as recordedNoEchoValuesOf, Xl as hasReadableExportSet, Xs as malformedExportSourceWarning, Xt as planOrphanAdoption, Xu as isMalformedEnvKey, Ya as AWS_CREDENTIAL_ENV_KEYS, Yc as readsNoEchoSource, Yd as resolveBucketRegion, Yl as exportNamesCarriedFrom, Yn as withCreateTokenLedger, Yr as withStackRecords, Ys as malformedExportNamesWarning, Yt as makeSiblingClaimReader, Yu as isDockerClientEnvKey, Za as callerEnvCredentials, Zc as valueAtCoordinate, Zl as hasReasonlessBaselineRefusal, Zn as planRollback, Zr as bold, Zs as malformedLocalOutputsWarning, Zt as pendingRequestCount, Zu as formatDockerLoginError, _ as findNestedTemplateTreeDefect, _c as STATE_RESOURCES_MALFORMED, _d as ssmResolvedValueType, _i as withAttemptedItemsMasked, _l as scrubResourceRecord, _n as collectNestedChildUnaddressed, _o as keepHeldTokenProvenance, _r as retiredAfterRollback, _s as refuseMalformedOrphansForOrphan, _u as withStackInstanceIdWithheld, aa as wouldReturnToSdkProvider, ac as refuseDivergentRecordRegionForDestroy, ad as getDefaultStateBucketName, ai as holdsSupersededResources, al as hasMaskableValues, an as sameJournaledOrphans, ar as replacementNeverSwapped, as as withRetry, au as stackInstanceIdCarriedFrom, b as renderNestedTemplateTreeDefect, ba as RollbackInlinePolicyWriters, bc as hasReadableOutputs, bd as MIGRATE_TMP_PREFIX, bi as journaledOrphanPrintingBag, bl as DYNAMIC_REFERENCE_TOKEN_SCAN, bn as DeploymentEventsReader, bo as recordedReferenceRegions, br as withNameGenerationReached, bs as unreadableOrphanRecords, bu as stringifyValue, c as mergeNoChangeOutputs, ca as customResourceResponseExpirationWarning, cc as malformedStateRefusalMessage, cd as resolveApp, ci as supersededAfterRollback, cl as printingCorpusOf, cn as displacedOpClause, co as coerceParameterTypedValue, cs as declaresNoEcho, cu as timePhase, d as makeCanonicalizePropertiesFn, da as isCustomResourceType$1, dc as refuseMalformedResourcesForExport, dd as resolveSkipPrefix, di as supersededResourcesOf, dl as shareLogOnlyValues, do as AWS_NO_VALUE, ds as malformedOrphanRecordsRefusalMessage, du as CrossPrefixScanCache, ed as runDockerStreaming, ei as green, el as redactForState, en as dropFailedCommands, eo as classifyReplaySecretRegion, er as isJournaledOrphan, eu as importableOutputs, f as conditionFingerprint, fc as refuseMalformedState, fd as resolveStateBucketWithDefault, fi as withoutSuperseded, fl as unionOfSecretBags, fn as nestedChildStackName$1, fo as cfnRefValueFromPhysicalId, fr as removeProtectionTypeList, fs as malformedOrphanRecordsWarning, fu as applyCrossPrefixScan, g as childTemplateLoader, gc as withheldAccountClause, gd as warnDeprecatedNoPrefixCliFlag, gi as noEchoParameterNamesOf, gl as maskSecretsInText, gn as withNestedRevertRun, gr as nameScopeOf, gs as refuseMalformedOrphanRecordsForDestroy, gu as stackInstanceIdOf, h as readRecordedConditionVerdicts, ha as CloudControlProvider, hc as accountArgs, hd as stateBucketExistenceConfirmed, hi as noEchoExactEchoLeavesOf, hl as maskSecretsInError, hn as revertedNestedRowIds, ho as refStateLookupFromResource, hr as nameGenerationHighWaterOf, hs as refuseMalformedOrphanRecords, hu as isNotImplemented, ia as isCustomResource, ic as STATE_REGION_DIVERGED, id as synthesisStatusMessage, ii as deleteSupersededEntry, il as createUnionSecretMasker, in as loadJournaledOrphans, ir as recordUnderIdIsNotOwn, is as describeTypeWithThrottleRetry, iu as shouldRetainResource, j as recordedProtectionNote, jd as StageLoadError, ji as ATOMIC_FINAL_SNAPSHOT_TYPES, jl as recordNestedStackParameterExpressions, jn as looselyEqual, jo as unsettledItemsOf, jr as secretBearingStateKeyWarning, js as refuseMalformedResourceEntriesForImportSave, ju as getBootstrapMarkerKey, k as diffSecurity, kd as refuseFailedLookups, ki as storedSecretNameNeedles, kn as withMovedTo, kr as exportAliasCollisionScrubWarning, ks as refuseMalformedResourceEntriesForDestroy, ku as assertAssetBucketRegion, l as crossStackOutputProvenanceSource, la as TemplateNoEchoReresolver, lc as refuseMalformedResourcesForDeploy, ld as resolveAutoAssetStorage, li as supersededHeldByOtherTypeWarning, ll as recordLogOnlyParameterValue, ln as displacedPhysicalIdShown, lo as isUnboundTemplateParameter, ls as deployRefusesOrphanRowsReason, lu as rebuildClientForBucketRegion, m as parentSuppliedValues, mc as JSON_LISTING_HOLE_VALUE, md as resolveUseCdkBootstrapAssets, mi as noEchoComparisonForTemplate, ml as errorCauseChain, mo as lacksRecordedTableArn, mr as nameGenerationCarriedFrom, ms as previewableOrphanRecords, mu as isAccessDenied, na as ProviderRegistry, nc as refuseMalformedOutputsForDestroy, nd as getDockerImageBySourceHash, ni as yellow, nn as isHandledOrphan, no as regionLessSecretName, nr as planFailedOps, ns as prefetchCreateOnlyPropertyPaths, nu as orphansAfterRollback, o as isSecretBearingReferenceString, oa as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, oc as malformedRenderedContainersWarning, od as getLegacyStateBucketName, oi as isSupersededResourceRecord, ol as literalSplitDelimitersOf, on as makeForeignHolderScan, or as resolveReplacementOldType, os as parameterInputsFor, ou as PhaseClock, p as conditionInputsFrom, pa as withPrintingSecrets, pc as repairMalformedResourcesForReadOnly, pd as resolveStateBucketWithDefaultAndSource, pi as noEchoAttributeNamesOf, pl as createSecretMasker, pn as recordDisplacedSkips, po as isStalePlaceholderArnAttribute, pr as orphanNeedsIdentity, ps as malformedOrphanRowsKeptWarning, pu as crossPrefixDeniedWarning, qa as isIamRoleArn, qd as injectedAwsRegionValue, ql as acceptedCreateOnlyDropsOf, qn as ledgerForStack, qr as destroyStackRecordsView, qs as refuseMalformedOrphansForDestroy, qu as partitionSensitiveEnv, ra as ccBrokenReason, rc as repairMalformedOutputsForReadOnly, rd as Synthesizer, ri as addSuperseded, rl as carryLogOnlyValues, rn as journaledOrphanLines, rr as recheckFailedPlan, rs as templateResourceTypes, ru as orphansCarriedFrom, s as keptWholeReasonText, sa as applyCustomResourceResponseExpiration, sc as malformedResourcesWarning, sd as loadCdkJson, si as removeSuperseded, sl as logOnlyValueCount, sn as NESTED_PENDING_PARENT_REASON, sr as findNestedStackTypeChanges, su as renderPhaseTimings, t as DeployEngine, ta as CC_BROKEN_REASON, tc as refuseMalformedOutputs, td as AssetManifestLoader, ti as red, tn as dropFailedHint, to as producerRegionsFromState, tr as isReplacementOrphan, tu as isReadableBag, u as inheritedProvenanceForChildDiff, ua as readsNoEchoDeleteValues, uc as refuseMalformedResourcesForDestroy, ud as resolveCaptureObservedState, ui as supersededHolderOf, ul as recordLogOnlyValue, un as dropSettledNestedJournals, uo as parameterTypeMayLoseSecretIdentity, us as isReadableOrphanRecord, uu as CrossPrefixReadError, v as isAbsoluteAssetPath, va as setResolvedResourceTimeouts, vc as UNREADABLE_RESOURCES_MAP_ROW, vd as CFN_TEMPLATE_BODY_LIMIT, vi as createReadOnlyAttributeHealerFactory, vl as withPhysicalNameCopies, vn as getCurrentNestedStackContext, vr as retiredNameGenerationsAfter, vs as repairMalformedOrphanRecordsForReadOnly, vu as AssetPublisher, w as pendingMovesRefusalMessage, wa as deleteSkipReason, wd as decodeListingKey, wi as secretNamePrintingBag, wl as pathCrossesDottedKey, wn as formatDestructiveChange, wo as isNamelessDynamicReferenceError, wr as namesAnyDeclaredParameter, ws as malformedResourceEntriesWarning, wu as loadPublishableAssetManifest, x as templateIdentity, xa as UNSPECIFIED_SKIP_REASON, xc as hasReadableResources, xd as findLargeInlineResources, xi as maskEventTextWithBoundBags, xl as dynamicReferenceTokens, xn as DeploymentEventsStore, xo as getAccountInfo, xs as isReadableResourceEntry, xu as WorkGraph, y as listNestedTemplateRows, ya as slowCcOperationTimeoutMs, yc as displayLogicalId, yd as CFN_TEMPLATE_URL_LIMIT, yi as completedReplayEntries, yn as withNestedStackContext, yo as recordedOutputReferenceRegions, yr as retiredNameGenerationsLeaving, ys as unpreviewableOrphanRecords, yu as isSensitiveAttributeName, zc as isMarkedCoordinate, zd as nullPrototypeRecord, zi as buildFinalSnapshotIdentifier, zl as recordProvenPublicExpression, zn as withUnprovenUnsettled, zo as isStatefulRecreateTargetSync, zr as collectPublishedOutputNames, zs as refuseMalformedResourcePropertiesForExport, zt as readRefactorMarker, zu as describeDockerCapturedOutput } from "./deploy-engine-BktCSZdi.js";
|
|
6
|
-
import { t as
|
|
5
|
+
import { $a as envCredentialsAreAssumedRole, $c as liveMatchesUnresolvedTokenFrame, $l as importableOutputs, $n as demoteSupersededOrphans, $r as isSupersededResourceRecord, $s as malformedOutputsRefusalMessage, $t as displacedPhysicalIdShown, $u as getDockerCmd, A as recordedProtectionEvidence, Ad as refuseFailedLookups, Ai as extractDeploymentEventError, An as isPairableType, Ar as secretBearing, As as refuseMalformedResourceEntriesForDestroy, Au as assertAssetBucketRegion, Bc as isMarkedCoordinate, Bd as nullPrototypeRecord, Bi as isFinalSnapshotError, Bl as recordProvenPublicExpression, Bn as calculateResourceDrift, Bo as isStatefulRecreateTargetSync, Br as isExportAliasCollision, Bs as refuseMalformedResourcePropertiesForExport, Bt as readRefactorMarkerOnce, Bu as describeDockerCapturedOutput, C as pendingMovesOutOf, Ca as deleteIndeterminateGuards, Cc as findActionableSdkUnwired, Cd as uploadCfnTemplate, Ci as orphanRecordsPrintingBag, Cl as isUncertifiedBaselineMaskPosition, Cn as findDestructiveChanges, Co as isImpossibleEmptyStoredAttribute, Cr as computeParameterTaint, Cs as malformedLocalResourceEntriesWarning, Cu as buildAssetRedirectMap, D as findServiceTokenRefusals, Dd as PARTITION_TABLE, Di as secretNamedRecordNeedles, Dl as inheritNestedStackParameterAssociations, Dn as movedToHint, Do as keepsSecretReferenceToken, Dr as WITHHELD_NAME_DISPLAY, Ds as refuseMalformedResourceAttributesForOrphan, Du as AssetModeResolver, E as deferredServiceTokenWarning, Ec as unwrittenCreateOnlyReplacement, Ed as expectedOwnerParam, El as identityKeyFor, En as hintSidesOf, Eo as carriesDynamicReference, Er as resourcesNamingDeclaredParameter, Es as malformedScrubResourceEntriesRefusalMessage, Eu as rewriteTemplateAssetReferences, F as readProtection, Fa as isWaitAbandonedError, Fd as parseFailureDebugDetail, Fi as ATOMIC_FINAL_SNAPSHOT_TYPES, Fl as provenPublicValue, Fn as replayFailedOperations, Fo as withoutUnsettledProperties, Fr as exportNameSecretExposure, Fs as unreadableResourceEntries, Ft as IMPLICIT_DELETE_DEPENDENCIES, Fu as validateAssetBucketName, Ga as assertFlagRoleArn, Gc as noEchoCoordinatesOf, Gd as renderAssemblyPathEscape, Gl as isLockInfoExpired, Gn as updatePartialReason, Gs as malformedOrphansRefusalMessage, Gt as updateRefactorMarker, Gu as redactDockerArgvValues, Ha as producerLookupOver, Hc as maskReadbackAtCoordinates, Hd as absoluteAssemblyPathEscape, Hi as unsupportedFinalSnapshotError, Hl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Hn as equalModuloMask, Hr as DEFAULT_RESOURCE_TIMEOUT_MS, Hs as repairMalformedResourcePropertiesForReadOnly, Ht as refactorMarkerRefusalMessage, Hu as describeDockerFailure, Ia as DiffCalculator, Id as utf8ByteLength, Ii as PRE_DELETE_SNAPSHOT_TYPES, Il as recordMaskOnlyValue, In as replayRollback, Io as findReplacedReadersOfRecreateTargets, Ir as isWholeDynamicReferenceValue, Is as malformedDriftResourcePropertiesWarning, It as computeImplicitDeleteEdges, Iu as validateContainerRepoName, Ja as isIamRoleArn, Jd as injectedAwsRegionValue, Jl as acceptedCreateOnlyDropsOf, Jr as withStackRecords, Js as refuseMalformedOrphansForDestroy, Jt as formatResourceLine, Ju as partitionSensitiveEnv, Ka as assertSendableRoleArn, Kc as noEchoLeavesOf, Kd as resolveAssemblyPath, Kl as S3StateBackend, Kr as destroyStackRecordsView, Ks as malformedOrphansWarning, Ku as dockerSpawnEnvWithSensitive, La as IntrinsicFunctionResolver, Lc as DagBuilder, Ld as defineOwnKey, Li as ccRoutedFinalSnapshotError, Ll as recordMaskOnlyValuesIn, Ln as recordAfterRollbackUpdate, Lo as shownType, Lr as noEchoParameterValueSeed, Ls as malformedResourcePropertiesWarning, Lt as keptForRetainedRecord, Lu as BOOTSTRAP_MARKER_PREFIX, M as PROTECTION_PROPERTY_BY_TYPE, Md as StageLoadError, Ml as recordNestedStackParameterExpressions, Mn as mappingPairs, Mo as unsettledItemsOf, Mr as secretSafeKeyDisplay, Ms as refuseMalformedResourceEntriesForImportSave, Mu as getBootstrapMarkerKey, N as isProtectionValueActive, Nd as processStackMessages, Ni as secretSegmentsOfState, Nl as splitGetAttStringForm, Nn as parseMappingFile, No as unsettledPropertiesOf, Nr as carriedExportAliasExposure, Ns as refuseMalformedResourceEntriesForOrphan, Nu as parseBootstrapMarker, O as serviceTokenBlockingReason, Oc as NO_CC_HANDLERS_REASON, Od as canonicalizeRegion, Oi as stateSecretNameNeedles, On as rollbackOrphanIds, Oo as withSharedDrainBudget, Or as displayTextOrWithheld, Os as refuseMalformedResourceEntries, Ou as ensureAssetStorage, P as perType, Pd as describeJsonParseFailure, Pi as withSecretPhysicalIdsMaskedInState, Pl as carriesSecretMask, Pn as proposeRenames, Po as withUnsettledProperties, Pr as exportNameNoEchoParameters, Ps as repairMalformedResourceEntriesForReadOnly, Pt as withResourceDeadline, Pu as readBootstrapMarkerBody, Qa as callerEnvCredentials, Qc as valueAtCoordinate, Ql as importableOutputKeys, Qn as seedsDeleteFirstGuard, Qr as holdsSupersededResources, Qs as malformedLocalOutputsWarning, Qt as displacedOpClause, Qu as formatDockerLoginError, Ra as isAlwaysLiveAttribute, Rc as TemplateParser, Rd as hasOwnKey, Ri as ccRoutedInstanceTakesNoSnapshot, Rl as recordNoEchoAttributeValues, Rn as settleUnsettledPrevious, Ro as MULTI_REGION_RECREATE_BLOCKED_TYPES, Rr as collectDeclaredOutputNames, Rs as refuseMalformedResourcePropertiesForDestroy, Rt as recordRetainedForReadoption, Ru as buildDockerImage, S as hasPendingMovesOut, Sa as UNSPECIFIED_SKIP_REASON, Sc as hasReadableResources, Sd as findLargeInlineResources, Si as namingSecretsWithRecordedNoEcho, Sl as dynamicReferenceTokens, Sn as constructPathOf$1, So as getAccountInfo, Sr as inheritProducerRegions, Ss as isReadableResourceEntry, Su as WorkGraph, T as refusePendingMovesOut, Ta as deleteSkipReason, Td as decodeListingKey, Ti as secretNamePrintingBags, Tl as pathCrossesDottedKey, Tn as findRefactorHints, To as isNamelessDynamicReferenceError, Tr as reachableDivergentParameters, Ts as malformedResourceEntriesWarning, Tu as loadPublishableAssetManifest, Ua as refuseUnreadableCdkCrossAccountRefs, Uc as maskWholeValue, Ud as describeFileReadFailure, Ui as createPreDeleteFinalSnapshot, Ul as isSingleDynamicReferenceToken, Un as undeclaredEmptyObservedKeys, Ur as DEFAULT_RESOURCE_WARN_AFTER_MS, Us as UNREADABLE_ORPHANS_CONTAINER_ROW, Ut as refuseRefactorMarker, Uu as redactedCause, Va as resolveDynamicReferences, Vc as maskAtCoordinates, Vd as ownValue, Vi as refusesFinalSnapshot, Vl as wholeStringLeavesOf, Vn as equalModuloMarkedMask, Vo as renderStatefulReason, Vr as bindingSkippedOutputs, Vs as refuseMalformedResourcePropertiesForOrphan, Vt as refactorMarkerMovesOf, Vu as describeDockerExecFailure, Wa as applyRoleArnIfSet, Wc as maskedLeafCoordinatesOf, Wd as displayAssemblyPath, Wi as buildFinalSnapshotIdentifier, Wl as LockManager, Wn as updatePartialMessage, Wr as maskingRetryLogger, Ws as hasReadableOrphans, Wt as sameMove, Wu as redactedDockerCause, Xa as AWS_CREDENTIAL_ENV_KEYS, Xc as readsNoEchoSource, Xd as resolveBucketRegion, Xl as exportNamesCarriedFrom, Xr as addSuperseded, Xs as malformedExportNamesWarning, Xt as resolvePendingCloudControlRequests, Xu as isDockerClientEnvKey, Ya as sendableAssumeRoleCommand, Yc as readbackPathFor, Yl as describeRegionValueKind, Yn as withCreateTokenLedger, Ys as repairMalformedOrphansForReadOnly, Yt as pendingRequestCount, Yu as warnFinchArgvExposure, Za as applyCallerIdentityCredentials, Zc as recordedNoEchoValuesOf, Zl as hasReadableExportSet, Zn as planRollback, Zr as deleteSupersededEntry, Zs as malformedExportSourceWarning, Zt as NESTED_PENDING_PARENT_REASON, Zu as isMalformedEnvKey, _ as findNestedTemplateTreeDefect, _c as withheldAccountClause, _d as warnDeprecatedNoPrefixCliFlag, _i as withAttemptedItemsMasked, _l as maskSecretsInText, _n as makeForeignHolderScan, _r as retiredAfterRollback, _s as refuseMalformedOrphanRecordsForDestroy, _u as stackInstanceIdOf, aa as isCustomResource, ac as STATE_REGION_DIVERGED, ad as synthesisStatusMessage, ai as withoutSuperseded, al as createUnionSecretMasker, an as revertedNestedRowIds, ar as replacementNeverSwapped, as as describeTypeWithThrottleRetry, au as hasReasonlessBaselineRefusal, b as renderNestedTemplateTreeDefect, ba as slowCcOperationTimeoutMs, bc as displayLogicalId, bd as CFN_TEMPLATE_URL_LIMIT, bi as journaledOrphanPrintingBag, bn as DeploymentEventsReader, bo as recordedOutputReferenceRegions, br as withNameGenerationReached, bs as unpreviewableOrphanRecords, bu as isSensitiveAttributeName, c as mergeNoChangeOutputs, ca as applyCustomResourceResponseExpiration, cc as malformedResourcesWarning, cd as loadCdkJson, ci as cyan, cl as logOnlyValueCount, cn as getCurrentNestedStackContext, cu as renderPhaseTimings, d as makeCanonicalizePropertiesFn, da as readsNoEchoDeleteValues, dc as refuseMalformedResourcesForDestroy, dd as resolveCaptureObservedState, di as red, dl as recordLogOnlyValue, dn as dropFailedCommands, do as parameterTypeMayLoseSecretIdentity, ds as isReadableOrphanRecord, du as CrossPrefixReadError, ec as malformedOutputsWarning, ed as runDockerForeground, ei as removeSuperseded, en as dropSettledNestedJournals, eo as classifyRecordedSecretRegion, er as isJournaledOrphan, eu as isReadableBag, f as conditionFingerprint, fa as isCustomResourceType$1, fc as refuseMalformedResourcesForExport, fd as resolveSkipPrefix, fi as yellow, fl as shareLogOnlyValues, fn as dropFailedHint, fo as AWS_NO_VALUE, fr as removeProtectionTypeList, fs as malformedOrphanRecordsRefusalMessage, fu as CrossPrefixScanCache, g as childTemplateLoader, ga as CloudControlProvider, gc as accountArgs, gd as stateBucketExistenceConfirmed, gi as noEchoParameterNamesOf, gl as maskSecretsInError, gn as sameJournaledOrphans, go as refStateLookupFromResource, gr as nameScopeOf, gs as refuseMalformedOrphanRecords, gu as isNotImplemented, h as readRecordedConditionVerdicts, hc as JSON_LISTING_HOLE_VALUE, hd as resolveUseCdkBootstrapAssets, hi as noEchoExactEchoLeavesOf, hl as errorCauseChain, hn as loadJournaledOrphans, ho as lacksRecordedTableArn, hr as nameGenerationHighWaterOf, hs as previewableOrphanRecords, hu as isAccessDenied, ia as ccBrokenReason, ic as repairMalformedOutputsForReadOnly, id as Synthesizer, ii as supersededResourcesOf, il as carryLogOnlyValues, ir as recordUnderIdIsNotOwn, is as templateResourceTypes, iu as stackInstanceIdCarriedFrom, j as recordedProtectionNote, jd as AssemblyReader, jl as recordPhysicalNameCopy, jn as looselyEqual, jo as unsettledItemsField, jr as secretBearingStateKeyWarning, js as refuseMalformedResourceEntriesForImport, ju as isCrossRegionRedirect, k as diffSecurity, kc as hasNoCloudControlHandlers, kd as derivePartitionAndUrlSuffix, ki as storedSecretNameNeedles, kl as physicalNameCopiesOf, kn as withMovedTo, ko as INTRINSIC_KEYS, kr as exportAliasCollisionScrubWarning, ks as refuseMalformedResourceEntriesForDeploy, ku as buildDenyExternalAccessPolicy, l as crossStackOutputProvenanceSource, la as customResourceResponseExpirationWarning, lc as malformedStateRefusalMessage, ld as resolveApp, li as gray, ll as printingCorpusOf, ln as withNestedStackContext, lo as coerceParameterTypedValue, ls as declaresNoEcho, lu as timePhase, m as parentSuppliedValues, ma as withPrintingSecrets, mc as repairMalformedResourcesForReadOnly, md as resolveStateBucketWithDefaultAndSource, mi as noEchoComparisonForTemplate, ml as createSecretMasker, mn as journaledOrphanLines, mo as isStalePlaceholderArnAttribute, mr as nameGenerationCarriedFrom, ms as malformedOrphanRowsKeptWarning, mu as crossPrefixDeniedWarning, na as CC_BROKEN_REASON, nc as refuseMalformedOutputs, nd as AssetManifestLoader, ni as supersededHeldByOtherTypeWarning, nn as nestedChildStackName$1, no as producerRegionsFromState, nr as planFailedOps, nu as orphansCarriedFrom, o as isSecretBearingReferenceString, oa as wouldReturnToSdkProvider, oc as refuseDivergentRecordRegionForDestroy, od as getDefaultStateBucketName, ol as hasMaskableValues, on as withNestedRevertRun, or as resolveReplacementOldType, os as withRetry, ou as hasUnverifiableParameterRefusal, p as conditionInputsFrom, pc as refuseMalformedState, pd as resolveStateBucketWithDefault, pi as noEchoAttributeNamesOf, pl as unionOfSecretBags, pn as isHandledOrphan, po as cfnRefValueFromPhysicalId, pr as orphanNeedsIdentity, ps as malformedOrphanRecordsWarning, pu as applyCrossPrefixScan, qa as explicitRoleArnOrThrow, qc as noEchoOutputsComparison, qd as injectAwsRegion, ql as splitImportedOps, qn as ledgerForStack, qo as coerceCfnBoolean, qs as refuseMalformedOrphans, qu as finchSecretArgvRefusal, ra as ProviderRegistry, rc as refuseMalformedOutputsForDestroy, rd as getDockerImageBySourceHash, ri as supersededHolderOf, rn as recordDisplacedSkips, ro as regionLessSecretName, rr as recheckFailedPlan, rs as prefetchCreateOnlyPropertyPaths, ru as shouldRetainResource, s as keptWholeReasonText, sa as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, sc as malformedRenderedContainersWarning, sd as getLegacyStateBucketName, si as bold, sl as literalSplitDelimitersOf, sn as collectNestedChildUnaddressed, sr as findNestedStackTypeChanges, ss as parameterInputsFor, su as PhaseClock, t as DeployEngine, td as runDockerStreaming, ti as supersededAfterRollback, tl as redactForState, to as classifyReplaySecretRegion, tr as isReplacementOrphan, tu as orphansAfterRollback, u as inheritedProvenanceForChildDiff, ua as TemplateNoEchoReresolver, uc as refuseMalformedResourcesForDeploy, ud as resolveAutoAssetStorage, ui as green, ul as recordLogOnlyParameterValue, un as deleteJournaledOrphans, uo as isUnboundTemplateParameter, us as deployRefusesOrphanRowsReason, uu as rebuildClientForBucketRegion, v as isAbsoluteAssetPath, vc as STATE_RESOURCES_MALFORMED, vd as ssmResolvedValueType, vi as createReadOnlyAttributeHealerFactory, vl as scrubResourceRecord, vn as makeSiblingClaimReader, vo as keepHeldTokenProvenance, vr as retiredNameGenerationsAfter, vs as refuseMalformedOrphansForOrphan, vu as withStackInstanceIdWithheld, w as pendingMovesRefusalMessage, wa as deleteLeftInPlace, wc as findHandledUnwrittenCreateOnly, wd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, wi as secretNamePrintingBag, wl as spelledKeysOf, wn as formatDestructiveChange, wo as carriesFetchableDynamicReference, wr as namesAnyDeclaredParameter, ws as malformedLocalResourcesWarning, wu as createAssetRedirectResolver, x as templateIdentity, xa as RollbackInlinePolicyWriters, xc as hasReadableOutputs, xd as MIGRATE_TMP_PREFIX, xi as maskEventTextWithBoundBags, xl as DYNAMIC_REFERENCE_TOKEN_SCAN, xn as DeploymentEventsStore, xo as recordedReferenceRegions, xs as unreadableOrphanRecords, xu as stringifyValue, y as listNestedTemplateRows, ya as setResolvedResourceTimeouts, yc as UNREADABLE_RESOURCES_MAP_ROW, yd as CFN_TEMPLATE_BODY_LIMIT, yi as completedReplayEntries, yl as withPhysicalNameCopies, yn as planOrphanAdoption, yr as retiredNameGenerationsLeaving, ys as repairMalformedOrphanRecordsForReadOnly, yu as AssetPublisher, za as poisonRenderedSpellingsCollidingIn, zc as canonicalCoordinates, zd as hasPlainPrototype, zi as effectiveDeletionPolicy, zl as recordNoEchoParameterFreshValue, zn as withUnprovenUnsettled, zo as isStatefulRecreateTargetForReplace, zr as collectPublishedOutputNames, zs as refuseMalformedResourcePropertiesForDrift, zt as readRefactorMarker, zu as resolveDockerContextDirectory } from "./deploy-engine-C1sQP24T.js";
|
|
6
|
+
import { $t as forceQuitRecoveryClause, Dt as logicalIdShown, H as assertRegionMatch, M as VALUE_NOT_SHOWN, Qt as buildLockContentionMessage, U as isMarkedNotGone, V as RESOURCE_NOT_FOUND, Xt as UNREPRODUCIBLE_LOCK_CLAUSE, Zt as buildForceUnlockCommand, an as CUSTOM_RESOURCE_RESPONSE_PREFIX, bt as interruptWatchListenerCount, dn as setPasteableAwsProfile, en as formatLockExpiry, fn as withPasteableAwsProfile, kt as resourceTypeShown, ln as producerCoordinateKey, m as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, mt as isAwsCliLiteral, nn as formatLockOwner, on as DEFAULT_STATE_PREFIX, p as IAM_PRINCIPAL_NAME, sn as injectiveKey, st as runDeleteAttempt, tn as formatLockOperation, un as producerRecordKey, vt as beginCommandInterruptScope, xt as isInterruptedWaitError, y as readRecordedPrincipals, yt as endCommandInterruptScope, z as remedyLogicalId } from "./update-removal-Dh6W86TO.js";
|
|
7
|
+
import { t as getCdkdVersion } from "./version-hOdgRlOf.js";
|
|
7
8
|
import { t as cdkdCacheHome } from "./cli.js";
|
|
9
|
+
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-EPT8p1G0.js";
|
|
8
10
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
9
11
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutBucketVersioningCommand, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
10
12
|
import { GetRoleCommand, GetUserCommand } from "@aws-sdk/client-iam";
|
|
@@ -273,7 +275,7 @@ function guardStackRegionOptions(cmd) {
|
|
|
273
275
|
for (const sub of cmd.commands) guardStackRegionOptions(sub);
|
|
274
276
|
}
|
|
275
277
|
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)");
|
|
276
|
-
const fullWaitOption = new Option("--full-wait", "Also wait for stabilizations cdkd skips by default, matching CloudFormation (CloudFront Distribution Deployed)");
|
|
278
|
+
const fullWaitOption = new Option("--full-wait", "Also wait for stabilizations cdkd skips by default, matching CloudFormation (CloudFront Distribution Deployed, RDS Multi-AZ DB cluster storage optimization; raise --resource-timeout AWS::RDS::DBCluster for a long one)");
|
|
277
279
|
function validateWaitFlags(opts) {
|
|
278
280
|
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.");
|
|
279
281
|
}
|
|
@@ -1852,7 +1854,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
1852
1854
|
// src/provisioning/register-providers.ts
|
|
1853
1855
|
let providerClasses;
|
|
1854
1856
|
function loadProviderClasses() {
|
|
1855
|
-
providerClasses ??= import("./provider-classes-
|
|
1857
|
+
providerClasses ??= import("./provider-classes-BxlB3pLK.js");
|
|
1856
1858
|
return providerClasses;
|
|
1857
1859
|
}
|
|
1858
1860
|
function registerAllProviders(registry, classes) {
|
|
@@ -12909,8 +12911,16 @@ async function deleteStackResource({ lock, state, ctx, stackName, logger, result
|
|
|
12909
12911
|
const policy = effectiveDeletionPolicy(resource.resourceType, resource.deletionPolicy, resource.properties);
|
|
12910
12912
|
if (policy === "Snapshot" && ctx.skipFinalSnapshot !== true) {
|
|
12911
12913
|
if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resource.resourceType) && resource.provisionedBy !== "cc-api") finalSnapshotIdentifier = buildFinalSnapshotIdentifier(resource.physicalId, resource.resourceType);
|
|
12912
|
-
else if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resource.resourceType))
|
|
12913
|
-
|
|
12914
|
+
else if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resource.resourceType)) {
|
|
12915
|
+
if (!await ccRoutedInstanceTakesNoSnapshot({
|
|
12916
|
+
resourceType: resource.resourceType,
|
|
12917
|
+
logicalId,
|
|
12918
|
+
physicalId: resource.physicalId,
|
|
12919
|
+
region: stackRegion,
|
|
12920
|
+
logger,
|
|
12921
|
+
mask: createUnionSecretMasker([printingBagOf(logicalId)])
|
|
12922
|
+
})) throw ccRoutedFinalSnapshotError(logicalId, resource.resourceType, "--skip-final-snapshot");
|
|
12923
|
+
} else if (PRE_DELETE_SNAPSHOT_TYPES.has(resource.resourceType)) await createPreDeleteFinalSnapshot(resource.resourceType, resource.physicalId, logicalId, destroyAwsClients ?? ctx.baseAwsClients, maskedSnapshotLogger(logger, createUnionSecretMasker([printingBagOf(logicalId)])));
|
|
12914
12924
|
else throw unsupportedFinalSnapshotError(logicalId, resource.resourceType, "--skip-final-snapshot");
|
|
12915
12925
|
}
|
|
12916
12926
|
const provider = destroyProviderRegistry.getProviderFor({
|
|
@@ -20540,7 +20550,10 @@ const NESTED_NAME_DESCRIBED_NOTE = "(The nested stack's name is not a plain iden
|
|
|
20540
20550
|
const STACK_REGION_DESCRIBED_NOTE = " (The stack name or region is not a plain identifier, so it is described, not named; list the records as stored with 'cdkd state list --long'.)";
|
|
20541
20551
|
function snapshotNote(resourceType, effectiveProvisionedBy, skipFinalSnapshot) {
|
|
20542
20552
|
if (skipFinalSnapshot) return "DeletionPolicy Snapshot — NO final snapshot (--skip-final-snapshot)";
|
|
20543
|
-
if (refusesFinalSnapshot(resourceType, effectiveProvisionedBy))
|
|
20553
|
+
if (refusesFinalSnapshot(resourceType, effectiveProvisionedBy)) {
|
|
20554
|
+
if (resourceType === "AWS::RDS::DBInstance") return "DeletionPolicy Snapshot — cdkd cannot snapshot this resource; the rollback will REFUSE it unless AWS reports a read replica or cluster member, deleted without one as in CloudFormation (re-run with --skip-final-snapshot to delete without one)";
|
|
20555
|
+
return "DeletionPolicy Snapshot — cdkd cannot snapshot this resource; the rollback will REFUSE it (re-run with --skip-final-snapshot to delete without one)";
|
|
20556
|
+
}
|
|
20544
20557
|
return "DeletionPolicy Snapshot — final snapshot, then delete";
|
|
20545
20558
|
}
|
|
20546
20559
|
function safe(value) {
|
|
@@ -21400,91 +21413,6 @@ function createEventsPruneCommand() {
|
|
|
21400
21413
|
})).option("--older-than <duration>", "Delete runs older than this duration (e.g. 24h, 90m)").option("--all", "Delete every recorded run and the index, and purge every earlier version under the stack's deployments/ prefix on a versioned state bucket", false).action(withErrorHandling((stack, _options, command) => eventsPruneCommand(stack, command.optsWithGlobals())));
|
|
21401
21414
|
}
|
|
21402
21415
|
|
|
21403
|
-
// src/utils/ecr-uri.ts
|
|
21404
|
-
const COMMERCIAL_AND_GOVCLOUD = ["aws", "aws-us-gov"];
|
|
21405
|
-
const ECR_REGISTRY_HOST_FORMS = [
|
|
21406
|
-
{ labels: "dkr.ecr" },
|
|
21407
|
-
{
|
|
21408
|
-
labels: "dkr.ecr-fips",
|
|
21409
|
-
partitions: COMMERCIAL_AND_GOVCLOUD
|
|
21410
|
-
},
|
|
21411
|
-
{
|
|
21412
|
-
labels: "dkr-ecr",
|
|
21413
|
-
fixedUrlSuffix: "on.aws",
|
|
21414
|
-
partitions: COMMERCIAL_AND_GOVCLOUD
|
|
21415
|
-
},
|
|
21416
|
-
{
|
|
21417
|
-
labels: "dkr-ecr-fips",
|
|
21418
|
-
fixedUrlSuffix: "on.aws",
|
|
21419
|
-
partitions: COMMERCIAL_AND_GOVCLOUD
|
|
21420
|
-
}
|
|
21421
|
-
];
|
|
21422
|
-
const ECR_HOST_FORMS_LONGEST_FIRST = [...ECR_REGISTRY_HOST_FORMS].sort((a, b) => b.labels.length - a.labels.length);
|
|
21423
|
-
const ECR_HOST_FORM_BY_LABELS = new Map(ECR_REGISTRY_HOST_FORMS.map((form) => [form.labels, form]));
|
|
21424
|
-
function ecrRegistryHostPattern(segments) {
|
|
21425
|
-
const forms = ECR_HOST_FORMS_LONGEST_FIRST.map((form) => {
|
|
21426
|
-
const suffix = form.fixedUrlSuffix === void 0 ? segments.partitionUrlSuffix : escapeRegExp(form.fixedUrlSuffix);
|
|
21427
|
-
return `${escapeRegExp(form.labels)}\\.${segments.region}\\.${suffix}`;
|
|
21428
|
-
});
|
|
21429
|
-
return `${segments.accountId}\\.(?:${forms.join("|")})`;
|
|
21430
|
-
}
|
|
21431
|
-
const ECR_HOST_LABELS_RUN = new RegExp(`\\.(?:${ECR_HOST_FORMS_LONGEST_FIRST.map((form) => escapeRegExp(form.labels)).join("|")})\\.`, "i");
|
|
21432
|
-
function hasEcrRegistryHostLabels(host) {
|
|
21433
|
-
return ECR_HOST_LABELS_RUN.test(host);
|
|
21434
|
-
}
|
|
21435
|
-
const ECR_URI_HOST_REGEX = new RegExp(`^(\\d{12})\\.(${ECR_HOST_FORMS_LONGEST_FIRST.map((form) => escapeRegExp(form.labels)).join("|")})\\.([^.]+)\\.([^/]+)/`, "i");
|
|
21436
|
-
const CANONICAL_REGION_SEGMENT = /^[A-Za-z0-9][A-Za-z0-9-]*$/;
|
|
21437
|
-
const CANONICAL_URL_SUFFIX = /^[A-Za-z0-9][A-Za-z0-9.-]*$/;
|
|
21438
|
-
const GENERIC_REGION_SHAPE = /^[a-z]+(?:-[a-z0-9]+)+-\d+$/;
|
|
21439
|
-
const AWS_REGION_ID = new RegExp("^(?:" + [
|
|
21440
|
-
"(?:us|eu|ap|sa|ca|me|af|il|mx)-[a-z0-9]+-\\d+",
|
|
21441
|
-
"cn-[a-z0-9]+-\\d+",
|
|
21442
|
-
"us-gov-[a-z0-9]+-\\d+",
|
|
21443
|
-
"us-iso-[a-z0-9]+-\\d+",
|
|
21444
|
-
"us-isob-[a-z0-9]+-\\d+",
|
|
21445
|
-
"eu-isoe-[a-z0-9]+-\\d+",
|
|
21446
|
-
"us-isof-[a-z0-9]+-\\d+",
|
|
21447
|
-
"eusc-[a-z]+-[a-z0-9]+-\\d+"
|
|
21448
|
-
].join("|") + ")$");
|
|
21449
|
-
function matchEcrRegistryHost(imageUri) {
|
|
21450
|
-
const m = ECR_URI_HOST_REGEX.exec(imageUri);
|
|
21451
|
-
if (!m) return void 0;
|
|
21452
|
-
if (!CANONICAL_REGION_SEGMENT.test(m[3])) return void 0;
|
|
21453
|
-
if (!CANONICAL_URL_SUFFIX.test(m[4])) return void 0;
|
|
21454
|
-
const form = ECR_HOST_FORM_BY_LABELS.get(m[2].toLowerCase());
|
|
21455
|
-
if (!form) return void 0;
|
|
21456
|
-
const region = m[3].toLowerCase();
|
|
21457
|
-
if (!AWS_REGION_ID.test(region)) {
|
|
21458
|
-
if (!GENERIC_REGION_SHAPE.test(region)) return void 0;
|
|
21459
|
-
return {
|
|
21460
|
-
accountId: m[1],
|
|
21461
|
-
region,
|
|
21462
|
-
suffix: m[4].toLowerCase(),
|
|
21463
|
-
expectedSuffix: void 0
|
|
21464
|
-
};
|
|
21465
|
-
}
|
|
21466
|
-
const partition = derivePartitionAndUrlSuffix(region);
|
|
21467
|
-
return {
|
|
21468
|
-
accountId: m[1],
|
|
21469
|
-
region,
|
|
21470
|
-
suffix: m[4].toLowerCase(),
|
|
21471
|
-
expectedSuffix: form.partitions && !form.partitions.includes(partition.partition) ? void 0 : (form.fixedUrlSuffix ?? partition.urlSuffix).toLowerCase()
|
|
21472
|
-
};
|
|
21473
|
-
}
|
|
21474
|
-
function parseEcrRegistryHost(imageUri) {
|
|
21475
|
-
const m = matchEcrRegistryHost(imageUri);
|
|
21476
|
-
if (!m) return void 0;
|
|
21477
|
-
if (m.expectedSuffix === void 0 || m.suffix !== m.expectedSuffix) return void 0;
|
|
21478
|
-
return {
|
|
21479
|
-
accountId: m.accountId,
|
|
21480
|
-
region: m.region
|
|
21481
|
-
};
|
|
21482
|
-
}
|
|
21483
|
-
function looksLikeEcrHostWithForeignSuffix(imageUri) {
|
|
21484
|
-
const m = matchEcrRegistryHost(imageUri);
|
|
21485
|
-
return m !== void 0 && m.suffix !== m.expectedSuffix;
|
|
21486
|
-
}
|
|
21487
|
-
|
|
21488
21416
|
// src/cli/commands/gc/asset-references.ts
|
|
21489
21417
|
const KEY_TERMINATORS = "[^\\s\"'?]";
|
|
21490
21418
|
const GC_EXTRA_URL_SUFFIXES = [];
|
|
@@ -32949,4 +32877,4 @@ function collectVerbFlags(program) {
|
|
|
32949
32877
|
}
|
|
32950
32878
|
|
|
32951
32879
|
export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, canonicalizeIpProtocolValue as o, holdsUnprovenSecretPrincipalToken as r, canonicalizeIpv4Cidr as t };
|
|
32952
|
-
//# sourceMappingURL=program-
|
|
32880
|
+
//# sourceMappingURL=program-B8rxD6E3.js.map
|