@go-to-k/cdkd 0.315.0 → 0.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{asg-provider-DpNkEibf.js → asg-provider-DOLuhiky.js} +6 -7
- package/dist/{asg-provider-DpNkEibf.js.map → asg-provider-DOLuhiky.js.map} +1 -1
- package/dist/{aws-client-defaults-BX9Y_fKp.js → aws-client-defaults-BLXFsfMa.js} +6 -11
- package/dist/aws-client-defaults-BLXFsfMa.js.map +1 -0
- package/dist/{aws-clients-Bu9EMILF.js → aws-clients-CGZAQ1gS.js} +5 -8
- package/dist/aws-clients-CGZAQ1gS.js.map +1 -0
- package/dist/{aws-failure-text-agWtoyga.js → aws-failure-text-DiHodi76.js} +8 -15
- package/dist/aws-failure-text-DiHodi76.js.map +1 -0
- package/dist/cli.js +6 -10
- package/dist/cli.js.map +1 -1
- package/dist/{created-resource-sink-QECX8C-Z.js → created-resource-sink-B9OCHRr_.js} +35 -66
- package/dist/created-resource-sink-B9OCHRr_.js.map +1 -0
- package/dist/{db-instance-modify-retry-B1NRKBSQ.js → db-instance-modify-retry-DQTozL4b.js} +4 -5
- package/dist/{db-instance-modify-retry-B1NRKBSQ.js.map → db-instance-modify-retry-DQTozL4b.js.map} +1 -1
- package/dist/{deploy-engine--bCIMkkk.js → deploy-engine-NYjdxQWe.js} +408 -625
- package/dist/deploy-engine-NYjdxQWe.js.map +1 -0
- package/dist/{iam-role-provider-s5--ZmBZ.js → iam-role-provider-Ddo7WwEs.js} +7 -9
- package/dist/iam-role-provider-Ddo7WwEs.js.map +1 -0
- package/dist/index.d.ts +0 -102
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{neptune-provider-BNxotnbp.js → neptune-provider-CuZbMn9R.js} +8 -9
- package/dist/{neptune-provider-BNxotnbp.js.map → neptune-provider-CuZbMn9R.js.map} +1 -1
- package/dist/{program-CMtAmRyw.js → program-DSq5150i.js} +118 -228
- package/dist/program-DSq5150i.js.map +1 -0
- package/dist/{provider-classes-B8kkAZqJ.js → provider-classes-ushrO6ri.js} +102 -192
- package/dist/provider-classes-ushrO6ri.js.map +1 -0
- package/dist/{rds-provider-Cm3dsmFW.js → rds-provider-VigGKsxO.js} +35 -18
- package/dist/rds-provider-VigGKsxO.js.map +1 -0
- package/dist/{version-Caty7J3x.js → version-9_dvIw-h.js} +3 -4
- package/dist/{version-Caty7J3x.js.map → version-9_dvIw-h.js.map} +1 -1
- package/package.json +8 -8
- package/dist/aws-client-defaults-BX9Y_fKp.js.map +0 -1
- package/dist/aws-clients-Bu9EMILF.js.map +0 -1
- package/dist/aws-failure-text-agWtoyga.js.map +0 -1
- package/dist/created-resource-sink-QECX8C-Z.js.map +0 -1
- package/dist/deploy-engine--bCIMkkk.js.map +0 -1
- package/dist/iam-role-provider-s5--ZmBZ.js.map +0 -1
- package/dist/program-CMtAmRyw.js.map +0 -1
- package/dist/provider-classes-B8kkAZqJ.js.map +0 -1
- package/dist/rds-provider-Cm3dsmFW.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as runWithStackAwsClients, i as resetAwsClients, o as setAwsClients, t as AwsClients } from "./aws-clients-
|
|
2
|
-
import { $ as safeMsg, B as SAFE_MSG_ALTERED_CHAR, G as cutMarker, H as STACK_REF_MAX_CODE_POINTS, I as withSkipPrefix, J as displaySafe, K as displayAwsMessage, L as withStackScope, Q as plainIdentOr, S as explicitNamePropertyFor, U as UNRENDERABLE, V as SECRET_REF_MAX_CODE_POINTS, W as asIsMessage, X as isPasteableIdent, Y as displayStackName, _ as PATTERN_B_RESOURCE_TYPES, a as safeStringify, c as isStdoutReservedForPayload, d as runStackBuffered, et as stringifyJsonPayload, g as PATTERN_B_NAME_PROPERTIES, h as PATTERN_B_NAME_OPTIONS, j as isNameGeneration, l as reserveStdoutForPayload, m as getLiveRenderer, n as describeAwsFailure, nt as truncateCodePoints, q as displayIdent, s as getLogger, tt as terminalSafe, w as generateResourceName, x as derivesPatternBName } from "./aws-failure-text-
|
|
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-
|
|
4
|
-
import { a as setAssumedRoleCredentials, d as formatAuthority, i as getPreAssumeEnvCredentials, n as awsClientDefaults, r as getAssumedRoleCredentials, u as runInStackAwsScope } from "./aws-client-defaults-
|
|
5
|
-
import { $a as assertSendableRoleArn, $c as logOnlyValueCount, $i as isCustomResource, $l as hasUnverifiableParameterRefusal, $n as retiredAfterRollback, $o as malformedOrphansWarning, $r as removeSuperseded, $s as isStatefulRecreateTargetForReplace, $t as isHandledOrphan, $u as loadCdkJson, Ac as canonicalCoordinates, Ad as nullPrototypeRecord, Ai as unsupportedFinalSnapshotError, Al as recordNoEchoParameterFreshValue, An as demoteSupersededOrphans, Ao as JSON_LISTING_HOLE_VALUE, Ar as movedToHint, As as refuseMalformedResourcesForDestroy, At as makeCanonicalizePropertiesFn, Au as resolveDockerContextDirectory, Bc as readbackPathFor, Bd as resolveBucketRegion, Bl as CrossPrefixScanCache, Bn as orphanNeedsIdentity, Bo as hasReadableResources, Bs as unreadableOrphanRecords, Bt as dropSettledNestedJournals, Bu as partitionSensitiveEnv, Cd as processStackMessages, Ci as PRE_DELETE_SNAPSHOT_TYPES, Cl as recordPhysicalNameCopy, Cn as recordAfterRollbackUpdate, Co as lacksRecordedTableArn, Cr as DEFAULT_RESOURCE_WARN_AFTER_MS, Cs as refuseMalformedResourceEntriesForImportSave, Cu as isCrossRegionRedirect, Dd as defineOwnKey, Di as effectiveDeletionPolicy, Dl as recordMaskOnlyValue, Dn as equalModuloMarkedMask, Do as parameterInputsFor, Dr as formatDestructiveChange, Ds as refuseMalformedResourcePropertiesForExport, Dt as isSecretBearingReferenceString, Du as validateContainerRepoName, Ed as utf8ByteLength, Ei as createPreDeleteFinalSnapshot, El as provenPublicValue, En as calculateResourceDrift, Eo as withSharedDrainBudget, Er as findDestructiveChanges, Es as refuseMalformedResourcePropertiesForDrift, Et as diffSecurity, Eu as validateAssetBucketName, Fa as withoutUnsettledProperties, Fc as maskedLeafCoordinatesOf, Fd as renderAssemblyPathEscape, Fl as LockManager, Fn as recheckFailedPlan, Fo as accountArgs, Fr as mappingPairs, Fs as repairMalformedOutputsForReadOnly, Ft as keptForRetainedRecord, Fu as finchSecretArgvRefusal, Ga as producerLookupOver, Gl as stackInstanceIdOf, Go as malformedExportSourceWarning, Gr as gray, Gt as revertedNestedRowIds, Gu as runDockerStreaming, Hc as recordedNoEchoValuesOf, Hl as crossPrefixDeniedWarning, Ho as isReadableResourceEntry, Hs as withheldAccountClause, Ht as nestedChildStackName$1, Hu as redactedCause, Ia as IntrinsicFunctionResolver, Ic as noEchoCoordinatesOf, Id as resolveAssemblyPath, Ii as DeploymentEventsReader, Il as isLockInfoExpired, In as recordUnderIdIsNotOwn, Io as deployRefusesOrphanRowsReason, Ir as parseMappingFile, Is as repairMalformedResourceEntriesForReadOnly, It as recordRetainedForReadoption, Iu as formatDockerLoginError, Jl as acceptedCreateOnlyDropsOf, Jn as updatePartialMessage, Jo as malformedLocalResourcesWarning, Jr as yellow, Js as NO_CC_HANDLERS_REASON, Jt as getCurrentNestedStackContext, Ju as getDockerImageBySourceHash, Ka as refuseUnreadableCdkCrossAccountRefs, Kc as redactForState, Kl as withStackInstanceIdWithheld, Ko as malformedLocalOutputsWarning, Kr as green, Ks as unwrittenCreateOnlyReplacement, Kt as withNestedRevertRun, Ku as warnFinchArgvExposure, La as poisonRenderedSpellingsCollidingIn, Lc as noEchoLeavesOf, Ld as injectAwsRegion, Li as DeploymentEventsStore, Ll as S3StateBackend, Ln as replacementNeverSwapped, Lo as displayLogicalId, Lr as proposeRenames, Ls as repairMalformedResourcePropertiesForReadOnly, Lt as NESTED_PENDING_PARENT_REASON, Lu as getDockerCmd, Ma as unsettledItemsOf, Mc as maskAtCoordinates, Md as absoluteAssemblyPathEscape, Mi as ledgerForStack, Ml as wholeStringLeavesOf, Mn as isReplacementOrphan, Mo as STATE_RESOURCES_MALFORMED, Mr as withMovedTo, Ms as refuseMalformedState, Mt as planOrphanAdoption, Mu as describeDockerExecFailure, Na as unsettledPropertiesOf, Nc as maskReadbackAtCoordinates, Nd as describeFileReadFailure, Nl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Nn as planFailedOps, No as UNREADABLE_ORPHANS_CONTAINER_ROW, Nr as isPairableType, Ns as repairMalformedOrphanRecordsForReadOnly, Nt as pendingRequestCount, Nu as describeDockerFailure, Oa as DiffCalculator, Oc as DagBuilder, Od as hasOwnKey, Oi as isFinalSnapshotError, Ol as recordMaskOnlyValuesIn, On as equalModuloMask, Or as findRefactorHints, Os as refuseMalformedResourcePropertiesForOrphan, Ot as keptWholeReasonText, Ou as buildDenyExternalAccessPolicy, Pa as withUnsettledProperties, Pc as maskWholeValue, Pd as displayAssemblyPath, Pi as withCreateTokenLedger, Pl as isSingleDynamicReferenceToken, Pn as planRollback, Po as UNREADABLE_RESOURCES_MAP_ROW, Pr as looselyEqual, Ps as repairMalformedOrphansForReadOnly, Pt as resolvePendingCloudControlRequests, Pu as dockerSpawnEnvWithSensitive, 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, Rc as noEchoOutputsComparison, Rd as injectedAwsRegionValue, Ri as extractDeploymentEventError, Rl as rebuildClientForBucketRegion, Rn as resolveReplacementOldType, Ro as hasReadableOrphans, Rs as repairMalformedResourcesForReadOnly, Rt as displacedOpClause, Ru as isDockerClientEnvKey, Sd as StageLoadError, Si as ATOMIC_FINAL_SNAPSHOT_TYPES, Sn as removeProtectionTypeList, So as isStalePlaceholderArnAttribute, Sr as DEFAULT_RESOURCE_TIMEOUT_MS, Ss as refuseMalformedResourceEntriesForImport, St as readRecordedConditionVerdicts, Su as getBootstrapMarkerKey, Td as parseFailureDebugDetail, Ti as ccRoutedFinalSnapshotError, Tl as carriesSecretMask, Tn as withUnprovenUnsettled, Tr as constructPathOf$1, Ts as refuseMalformedResourcePropertiesForDestroy, Tt as withResourceDeadline, Tu as readBootstrapMarkerBody, Uc as valueAtCoordinate, Ul as isAccessDenied, Un as inheritProducerRegions, Uo as malformedDriftResourcePropertiesWarning, Ur as bold, Us as findActionableSilentDrops, Ut as recordDisplacedSkips, Uu as redactedDockerCause, Vc as readsNoEchoSource, Vl as applyCrossPrefixScan, Vn as findNestedStackTypeChanges, Vo as isReadableOrphanRecord, Vr as withStackRecords, Vs as unreadableResourceEntries, Vu as redactDockerArgvValues, Wa as resolveDynamicReferences, Wc as liveMatchesUnresolvedTokenFrame, Wl as isNotImplemented, Wo as malformedExportNamesWarning, Wr as cyan, Ws as findHandledUnwrittenCreateOnly, Wu as runDockerForeground, Xa as recordedReferenceRegions, Xc as createUnionSecretMasker, Xi as CC_BROKEN_REASON, Xl as exportNamesCarriedFrom, Xn as nameGenerationCarriedFrom, Xo as malformedOrphanRecordsWarning, Xr as deleteSupersededEntry, Xs as findReplacedReadersOfRecreateTargets, Xt as deleteJournaledOrphans, Xu as synthesisStatusMessage, Ya as recordedOutputReferenceRegions, Yc as carryLogOnlyValues, Yl as describeRegionValueKind, Yn as updatePartialReason, Yo as malformedOrphanRecordsRefusalMessage, Yr as addSuperseded, Ys as hasNoCloudControlHandlers, Yt as withNestedStackContext, Yu as Synthesizer, Za as applyRoleArnIfSet, Zc as hasMaskableValues, Zi as ProviderRegistry, Zl as hasReadableExportSet, Zn as nameGenerationHighWaterOf, Zo as malformedOrphanRowsKeptWarning, Zr as holdsSupersededResources, Zs as shownType, Zt as dropFailedCommands, Zu as getDefaultStateBucketName, _a as deleteLeftInPlace, _c as prefetchCreateOnlyPropertyPaths, _d as expectedOwnerParam, _i as secretNamePrintingBags, _l as identityKeyFor, _n as pendingMovesOutOf, _o as carriesFetchableDynamicReference, _r as noEchoParameterValueSeed, _s as refuseMalformedOutputsForDestroy, _t as renderNestedTemplateTreeDefect, _u as rewriteTemplateAssetReferences, a as isProtectionValueActive, ad as resolveStateBucketWithDefaultAndSource, ai as noEchoAttributeNamesOf, al as createSecretMasker, ao as callerEnvCredentials, ar as reachableDivergentParameters, as as malformedResourcesWarning, au as shouldRetainResource, ba as isWaitAbandonedError, bc as withRetry, bd as derivePartitionAndUrlSuffix, bi as stateSecretNameNeedles, bn as replayFailedOperations, bo as AWS_NO_VALUE, br as isExportAliasCollision, bs as refuseMalformedResourceEntriesForDeploy, bt as conditionInputsFrom, bu as assertAssetBucketRegion, ca as applyCustomResourceResponseExpiration, cd as warnDeprecatedNoPrefixCliFlag, ci as noEchoParameterNamesOf, cl as maskSecretsInText, co as classifyReplaySecretRegion, cr as displayTextOrWithheld, cs as previewableOrphanRecords, ct as crossStackOutputProvenanceSource, cu as renderPhaseTimings, da as slowCcOperationTimeoutMs, dd as CFN_TEMPLATE_URL_LIMIT, di as completedReplayEntries, dn as refactorMarkerMovesOf, do as coerceParameterTypedValue, dr as secretBearingStateKeyWarning, ds as refuseMalformedOrphanRecords, dt as findServiceTokenRefusals, du as isSensitiveAttributeName, ea as wouldReturnToSdkProvider, ec as isStatefulRecreateTargetSync, ed as resolveApp, ei as supersededAfterRollback, el as printingCorpusOf, en as journaledOrphanLines, eo as explicitRoleArnOrThrow, er as retiredNameGenerationsAfter, es as malformedOutputsRefusalMessage, eu as importableOutputKeys, fd as MIGRATE_TMP_PREFIX, fi as journaledOrphanPrintingBag, fl as DYNAMIC_REFERENCE_TOKEN_SCAN, fn as refactorMarkerRefusalMessage, fo as isUnboundTemplateParameter, fr as secretSafeKeyDisplay, fs as refuseMalformedOrphanRecordsForDestroy, ft as serviceTokenBlockingReason, fu as stringifyValue, ga as deleteIndeterminateGuards, gd as decodeListingKey, gi as secretNamePrintingBag, gl as spelledKeysOf, gn as hasPendingMovesOut, go as carriesDynamicReference, gr as isWholeDynamicReferenceValue, gs as refuseMalformedOutputs, gt as listNestedTemplateRows, gu as loadPublishableAssetManifest, ha as UNSPECIFIED_SKIP_REASON, hd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, hi as orphanRecordsPrintingBag, hl as pathCrossesDottedKey, hn as updateRefactorMarker, ho as isImpossibleEmptyStoredAttribute, hr as exportNameSecretExposure, hs as refuseMalformedOrphansForOrphan, ht as isAbsoluteAssetPath, hu as createAssetRedirectResolver, i as PROTECTION_PROPERTY_BY_TYPE, ia as isCustomResourceType$1, id as resolveStateBucketWithDefault, ii as withoutSuperseded, il as unionOfSecretBags, in as formatResourceLine, io as applyCallerIdentityCredentials, ir as namesAnyDeclaredParameter, is as malformedResourcePropertiesWarning, iu as orphansCarriedFrom, ja as unsettledItemsField, jc as isMarkedCoordinate, jd as ownValue, jl as recordProvenPublicExpression, jn as isJournaledOrphan, jo as STATE_REGION_DIVERGED, jr as rollbackOrphanIds, js as refuseMalformedResourcesForExport, jt as makeSiblingClaimReader, ju as describeDockerCapturedOutput, ka as INTRINSIC_KEYS, kc as TemplateParser, kd as hasPlainPrototype, ki as refusesFinalSnapshot, kl as recordNoEchoAttributeValues, kn as undeclaredEmptyObservedKeys, ko as declaresNoEcho, kr as hintSidesOf, ks as refuseMalformedResourcesForDeploy, kt as mergeNoChangeOutputs, ku as buildDockerImage, la as customResourceResponseExpirationWarning, ld as ssmResolvedValueType, li as withAttemptedItemsMasked, ll as scrubResourceRecord, ln as readRefactorMarker, lo as producerRegionsFromState, lr as exportAliasCollisionScrubWarning, ls as refuseDivergentRecordRegionForDestroy, lt as inheritedProvenanceForChildDiff, lu as timePhase, ma as RollbackInlinePolicyWriters, md as uploadCfnTemplate, mi as namingSecretsWithRecordedNoEcho, ml as isUncertifiedBaselineMaskPosition, mn as sameMove, mo as getAccountInfo, mr as exportNameNoEchoParameters, ms as refuseMalformedOrphansForDestroy, mt as findNestedTemplateTreeDefect, mu as buildAssetRedirectMap, n as recordedProtectionEvidence, na as TemplateNoEchoReresolver, nd as resolveCaptureObservedState, ni as supersededHolderOf, nl as recordLogOnlyValue, nn as makeForeignHolderScan, no as sendableAssumeRoleCommand, nr as withNameGenerationReached, ns as malformedRenderedContainersWarning, nu as isReadableBag, o as perType, oa as withPrintingSecrets, od as resolveUseCdkBootstrapAssets, oi as noEchoComparisonForTemplate, ol as errorCauseChain, oo as envCredentialsAreAssumedRole, or as resourcesNamingDeclaredParameter, os as malformedScrubResourceEntriesRefusalMessage, ot as IMPLICIT_DELETE_DEPENDENCIES, ou as stackInstanceIdCarriedFrom, pd as findLargeInlineResources, pi as maskEventTextWithBoundBags, pl as dynamicReferenceTokens, pn as refuseRefactorMarker, po as parameterTypeMayLoseSecretIdentity, pr as carriedExportAliasExposure, ps as refuseMalformedOrphans, pt as childTemplateLoader, pu as WorkGraph, qa as keepHeldTokenProvenance, ql as splitImportedOps, qo as malformedLocalResourceEntriesWarning, qr as red, qt as collectNestedChildUnaddressed, qu as AssetManifestLoader, r as recordedProtectionNote, ra as readsNoEchoDeleteValues, rd as resolveSkipPrefix, ri as supersededResourcesOf, rl as shareLogOnlyValues, rn as sameJournaledOrphans, ro as AWS_CREDENTIAL_ENV_KEYS, rr as computeParameterTaint, rs as malformedResourceEntriesWarning, ru as orphansAfterRollback, s as readProtection, sa as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, sd as stateBucketExistenceConfirmed, si as noEchoExactEchoLeavesOf, sl as maskSecretsInError, so as classifyRecordedSecretRegion, sr as WITHHELD_NAME_DISPLAY, ss as malformedStateRefusalMessage, st as computeImplicitDeleteEdges, su as PhaseClock, t as DeployEngine, tc as renderStatefulReason, td as resolveAutoAssetStorage, ti as supersededHeldByOtherTypeWarning, tl as recordLogOnlyParameterValue, tn as loadJournaledOrphans, to as isIamRoleArn, tr as retiredNameGenerationsLeaving, ts as malformedOutputsWarning, tu as importableOutputs, ua as CloudControlProvider, ud as CFN_TEMPLATE_BODY_LIMIT, ui as createReadOnlyAttributeHealerFactory, ul as withPhysicalNameCopies, un as readRefactorMarkerOnce, uo as regionLessSecretName, ur as secretBearing, ut as deferredServiceTokenWarning, uu as AssetPublisher, va as deleteSkipReason, vc as templateResourceTypes, vd as PARTITION_TABLE, vl as inheritNestedStackParameterAssociations, vn as pendingMovesRefusalMessage, vo as isNamelessDynamicReferenceError, vr as collectDeclaredOutputNames, vs as refuseMalformedResourceAttributesForOrphan, vt as templateIdentity, vu as AssetModeResolver, wd as describeJsonParseFailure, wi as buildFinalSnapshotIdentifier, wl as splitGetAttStringForm, wn as settleUnsettledPrevious, wo as refStateLookupFromResource, wr as maskingRetryLogger, ws as refuseMalformedResourceEntriesForOrphan, wu as parseBootstrapMarker, xd as AssemblyReader, xi as storedSecretNameNeedles, xl as physicalNameCopiesOf, xn as replayRollback, xo as cfnRefValueFromPhysicalId, xr as bindingSkippedOutputs, xs as refuseMalformedResourceEntriesForDestroy, xt as parentSuppliedValues, xu as ensureAssetStorage, yc as describeTypeWithThrottleRetry, yd as canonicalizeRegion, yi as secretNamedRecordNeedles, yl as recordNestedStackParameterExpressions, yn as refusePendingMovesOut, yo as keepsSecretReferenceToken, yr as collectPublishedOutputNames, ys as refuseMalformedResourceEntries, yt as conditionFingerprint, yu as BOOTSTRAP_MARKER_PREFIX, zl as CrossPrefixReadError, zn as seedsDeleteFirstGuard, zo as hasReadableOutputs, zr as destroyStackRecordsView, zs as unpreviewableOrphanRecords, zt as displacedPhysicalIdShown, zu as isMalformedEnvKey } from "./deploy-engine--bCIMkkk.js";
|
|
6
|
-
import { t as getCdkdVersion } from "./version-
|
|
1
|
+
import { a as runWithStackAwsClients, i as resetAwsClients, o as setAwsClients, t as AwsClients } from "./aws-clients-CGZAQ1gS.js";
|
|
2
|
+
import { $ as safeMsg, B as SAFE_MSG_ALTERED_CHAR, G as cutMarker, H as STACK_REF_MAX_CODE_POINTS, I as withSkipPrefix, J as displaySafe, K as displayAwsMessage, L as withStackScope, Q as plainIdentOr, S as explicitNamePropertyFor, U as UNRENDERABLE, V as SECRET_REF_MAX_CODE_POINTS, W as asIsMessage, X as isPasteableIdent, Y as displayStackName, _ as PATTERN_B_RESOURCE_TYPES, a as safeStringify, c as isStdoutReservedForPayload, d as runStackBuffered, et as stringifyJsonPayload, g as PATTERN_B_NAME_PROPERTIES, h as PATTERN_B_NAME_OPTIONS, j as isNameGeneration, l as reserveStdoutForPayload, m as getLiveRenderer, n as describeAwsFailure, nt as truncateCodePoints, q as displayIdent, s as getLogger, tt as terminalSafe, w as generateResourceName, x as derivesPatternBName } from "./aws-failure-text-DiHodi76.js";
|
|
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-B9OCHRr_.js";
|
|
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 assertSendableRoleArn, $c as logOnlyValueCount, $i as isCustomResource, $l as hasUnverifiableParameterRefusal, $n as retiredAfterRollback, $o as malformedOrphansWarning, $r as removeSuperseded, $s as isStatefulRecreateTargetForReplace, $t as isHandledOrphan, $u as loadCdkJson, Ac as canonicalCoordinates, Ad as nullPrototypeRecord, Ai as unsupportedFinalSnapshotError, Al as recordNoEchoParameterFreshValue, An as demoteSupersededOrphans, Ao as JSON_LISTING_HOLE_VALUE, Ar as movedToHint, As as refuseMalformedResourcesForDestroy, At as makeCanonicalizePropertiesFn, Au as resolveDockerContextDirectory, Bc as readbackPathFor, Bd as resolveBucketRegion, Bl as CrossPrefixScanCache, Bn as orphanNeedsIdentity, Bo as hasReadableResources, Bs as unreadableOrphanRecords, Bt as dropSettledNestedJournals, Bu as partitionSensitiveEnv, Cd as processStackMessages, Ci as PRE_DELETE_SNAPSHOT_TYPES, Cl as recordPhysicalNameCopy, Cn as recordAfterRollbackUpdate, Co as lacksRecordedTableArn, Cr as DEFAULT_RESOURCE_WARN_AFTER_MS, Cs as refuseMalformedResourceEntriesForImportSave, Cu as isCrossRegionRedirect, Dd as defineOwnKey, Di as effectiveDeletionPolicy, Dl as recordMaskOnlyValue, Dn as equalModuloMarkedMask, Do as parameterInputsFor, Dr as formatDestructiveChange, Ds as refuseMalformedResourcePropertiesForExport, Dt as isSecretBearingReferenceString, Du as validateContainerRepoName, Ed as utf8ByteLength, Ei as createPreDeleteFinalSnapshot, El as provenPublicValue, En as calculateResourceDrift, Eo as withSharedDrainBudget, Er as findDestructiveChanges, Es as refuseMalformedResourcePropertiesForDrift, Et as diffSecurity, Eu as validateAssetBucketName, Fa as withoutUnsettledProperties, Fc as maskedLeafCoordinatesOf, Fd as renderAssemblyPathEscape, Fl as LockManager, Fn as recheckFailedPlan, Fo as accountArgs, Fr as mappingPairs, Fs as repairMalformedOutputsForReadOnly, Ft as keptForRetainedRecord, Fu as finchSecretArgvRefusal, Ga as producerLookupOver, Gl as stackInstanceIdOf, Go as malformedExportSourceWarning, Gr as gray, Gt as revertedNestedRowIds, Gu as runDockerStreaming, Hc as recordedNoEchoValuesOf, Hl as crossPrefixDeniedWarning, Ho as isReadableResourceEntry, Hs as withheldAccountClause, Ht as nestedChildStackName$1, Hu as redactedCause, Ia as IntrinsicFunctionResolver, Ic as noEchoCoordinatesOf, Id as resolveAssemblyPath, Ii as DeploymentEventsReader, Il as isLockInfoExpired, In as recordUnderIdIsNotOwn, Io as deployRefusesOrphanRowsReason, Ir as parseMappingFile, Is as repairMalformedResourceEntriesForReadOnly, It as recordRetainedForReadoption, Iu as formatDockerLoginError, Jl as acceptedCreateOnlyDropsOf, Jn as updatePartialMessage, Jo as malformedLocalResourcesWarning, Jr as yellow, Js as NO_CC_HANDLERS_REASON, Jt as getCurrentNestedStackContext, Ju as getDockerImageBySourceHash, Ka as refuseUnreadableCdkCrossAccountRefs, Kc as redactForState, Kl as withStackInstanceIdWithheld, Ko as malformedLocalOutputsWarning, Kr as green, Ks as unwrittenCreateOnlyReplacement, Kt as withNestedRevertRun, Ku as warnFinchArgvExposure, La as poisonRenderedSpellingsCollidingIn, Lc as noEchoLeavesOf, Ld as injectAwsRegion, Li as DeploymentEventsStore, Ll as S3StateBackend, Ln as replacementNeverSwapped, Lo as displayLogicalId, Lr as proposeRenames, Ls as repairMalformedResourcePropertiesForReadOnly, Lt as NESTED_PENDING_PARENT_REASON, Lu as getDockerCmd, Ma as unsettledItemsOf, Mc as maskAtCoordinates, Md as absoluteAssemblyPathEscape, Mi as ledgerForStack, Ml as wholeStringLeavesOf, Mn as isReplacementOrphan, Mo as STATE_RESOURCES_MALFORMED, Mr as withMovedTo, Ms as refuseMalformedState, Mt as planOrphanAdoption, Mu as describeDockerExecFailure, Na as unsettledPropertiesOf, Nc as maskReadbackAtCoordinates, Nd as describeFileReadFailure, Nl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Nn as planFailedOps, No as UNREADABLE_ORPHANS_CONTAINER_ROW, Nr as isPairableType, Ns as repairMalformedOrphanRecordsForReadOnly, Nt as pendingRequestCount, Nu as describeDockerFailure, Oa as DiffCalculator, Oc as DagBuilder, Od as hasOwnKey, Oi as isFinalSnapshotError, Ol as recordMaskOnlyValuesIn, On as equalModuloMask, Or as findRefactorHints, Os as refuseMalformedResourcePropertiesForOrphan, Ot as keptWholeReasonText, Ou as buildDenyExternalAccessPolicy, Pa as withUnsettledProperties, Pc as maskWholeValue, Pd as displayAssemblyPath, Pi as withCreateTokenLedger, Pl as isSingleDynamicReferenceToken, Pn as planRollback, Po as UNREADABLE_RESOURCES_MAP_ROW, Pr as looselyEqual, Ps as repairMalformedOrphansForReadOnly, Pt as resolvePendingCloudControlRequests, Pu as dockerSpawnEnvWithSensitive, 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, Rc as noEchoOutputsComparison, Rd as injectedAwsRegionValue, Ri as extractDeploymentEventError, Rl as rebuildClientForBucketRegion, Rn as resolveReplacementOldType, Ro as hasReadableOrphans, Rs as repairMalformedResourcesForReadOnly, Rt as displacedOpClause, Ru as isDockerClientEnvKey, Sd as StageLoadError, Si as ATOMIC_FINAL_SNAPSHOT_TYPES, Sn as removeProtectionTypeList, So as isStalePlaceholderArnAttribute, Sr as DEFAULT_RESOURCE_TIMEOUT_MS, Ss as refuseMalformedResourceEntriesForImport, St as readRecordedConditionVerdicts, Su as getBootstrapMarkerKey, Td as parseFailureDebugDetail, Ti as ccRoutedFinalSnapshotError, Tl as carriesSecretMask, Tn as withUnprovenUnsettled, Tr as constructPathOf$1, Ts as refuseMalformedResourcePropertiesForDestroy, Tt as withResourceDeadline, Tu as readBootstrapMarkerBody, Uc as valueAtCoordinate, Ul as isAccessDenied, Un as inheritProducerRegions, Uo as malformedDriftResourcePropertiesWarning, Ur as bold, Us as findActionableSilentDrops, Ut as recordDisplacedSkips, Uu as redactedDockerCause, Vc as readsNoEchoSource, Vl as applyCrossPrefixScan, Vn as findNestedStackTypeChanges, Vo as isReadableOrphanRecord, Vr as withStackRecords, Vs as unreadableResourceEntries, Vu as redactDockerArgvValues, Wa as resolveDynamicReferences, Wc as liveMatchesUnresolvedTokenFrame, Wl as isNotImplemented, Wo as malformedExportNamesWarning, Wr as cyan, Ws as findHandledUnwrittenCreateOnly, Wu as runDockerForeground, Xa as recordedReferenceRegions, Xc as createUnionSecretMasker, Xi as CC_BROKEN_REASON, Xl as exportNamesCarriedFrom, Xn as nameGenerationCarriedFrom, Xo as malformedOrphanRecordsWarning, Xr as deleteSupersededEntry, Xs as findReplacedReadersOfRecreateTargets, Xt as deleteJournaledOrphans, Xu as synthesisStatusMessage, Ya as recordedOutputReferenceRegions, Yc as carryLogOnlyValues, Yl as describeRegionValueKind, Yn as updatePartialReason, Yo as malformedOrphanRecordsRefusalMessage, Yr as addSuperseded, Ys as hasNoCloudControlHandlers, Yt as withNestedStackContext, Yu as Synthesizer, Za as applyRoleArnIfSet, Zc as hasMaskableValues, Zi as ProviderRegistry, Zl as hasReadableExportSet, Zn as nameGenerationHighWaterOf, Zo as malformedOrphanRowsKeptWarning, Zr as holdsSupersededResources, Zs as shownType, Zt as dropFailedCommands, Zu as getDefaultStateBucketName, _a as deleteLeftInPlace, _c as prefetchCreateOnlyPropertyPaths, _d as expectedOwnerParam, _i as secretNamePrintingBags, _l as identityKeyFor, _n as pendingMovesOutOf, _o as carriesFetchableDynamicReference, _r as noEchoParameterValueSeed, _s as refuseMalformedOutputsForDestroy, _t as renderNestedTemplateTreeDefect, _u as rewriteTemplateAssetReferences, a as isProtectionValueActive, ad as resolveStateBucketWithDefaultAndSource, ai as noEchoAttributeNamesOf, al as createSecretMasker, ao as callerEnvCredentials, ar as reachableDivergentParameters, as as malformedResourcesWarning, au as shouldRetainResource, ba as isWaitAbandonedError, bc as withRetry, bd as derivePartitionAndUrlSuffix, bi as stateSecretNameNeedles, bn as replayFailedOperations, bo as AWS_NO_VALUE, br as isExportAliasCollision, bs as refuseMalformedResourceEntriesForDeploy, bt as conditionInputsFrom, bu as assertAssetBucketRegion, ca as applyCustomResourceResponseExpiration, cd as warnDeprecatedNoPrefixCliFlag, ci as noEchoParameterNamesOf, cl as maskSecretsInText, co as classifyReplaySecretRegion, cr as displayTextOrWithheld, cs as previewableOrphanRecords, ct as crossStackOutputProvenanceSource, cu as renderPhaseTimings, da as slowCcOperationTimeoutMs, dd as CFN_TEMPLATE_URL_LIMIT, di as completedReplayEntries, dn as refactorMarkerMovesOf, do as coerceParameterTypedValue, dr as secretBearingStateKeyWarning, ds as refuseMalformedOrphanRecords, dt as findServiceTokenRefusals, du as isSensitiveAttributeName, ea as wouldReturnToSdkProvider, ec as isStatefulRecreateTargetSync, ed as resolveApp, ei as supersededAfterRollback, el as printingCorpusOf, en as journaledOrphanLines, eo as explicitRoleArnOrThrow, er as retiredNameGenerationsAfter, es as malformedOutputsRefusalMessage, eu as importableOutputKeys, fd as MIGRATE_TMP_PREFIX, fi as journaledOrphanPrintingBag, fl as DYNAMIC_REFERENCE_TOKEN_SCAN, fn as refactorMarkerRefusalMessage, fo as isUnboundTemplateParameter, fr as secretSafeKeyDisplay, fs as refuseMalformedOrphanRecordsForDestroy, ft as serviceTokenBlockingReason, fu as stringifyValue, ga as deleteIndeterminateGuards, gd as decodeListingKey, gi as secretNamePrintingBag, gl as spelledKeysOf, gn as hasPendingMovesOut, go as carriesDynamicReference, gr as isWholeDynamicReferenceValue, gs as refuseMalformedOutputs, gt as listNestedTemplateRows, gu as loadPublishableAssetManifest, ha as UNSPECIFIED_SKIP_REASON, hd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, hi as orphanRecordsPrintingBag, hl as pathCrossesDottedKey, hn as updateRefactorMarker, ho as isImpossibleEmptyStoredAttribute, hr as exportNameSecretExposure, hs as refuseMalformedOrphansForOrphan, ht as isAbsoluteAssetPath, hu as createAssetRedirectResolver, i as PROTECTION_PROPERTY_BY_TYPE, ia as isCustomResourceType$1, id as resolveStateBucketWithDefault, ii as withoutSuperseded, il as unionOfSecretBags, in as formatResourceLine, io as applyCallerIdentityCredentials, ir as namesAnyDeclaredParameter, is as malformedResourcePropertiesWarning, iu as orphansCarriedFrom, ja as unsettledItemsField, jc as isMarkedCoordinate, jd as ownValue, jl as recordProvenPublicExpression, jn as isJournaledOrphan, jo as STATE_REGION_DIVERGED, jr as rollbackOrphanIds, js as refuseMalformedResourcesForExport, jt as makeSiblingClaimReader, ju as describeDockerCapturedOutput, ka as INTRINSIC_KEYS, kc as TemplateParser, kd as hasPlainPrototype, ki as refusesFinalSnapshot, kl as recordNoEchoAttributeValues, kn as undeclaredEmptyObservedKeys, ko as declaresNoEcho, kr as hintSidesOf, ks as refuseMalformedResourcesForDeploy, kt as mergeNoChangeOutputs, ku as buildDockerImage, la as customResourceResponseExpirationWarning, ld as ssmResolvedValueType, li as withAttemptedItemsMasked, ll as scrubResourceRecord, ln as readRefactorMarker, lo as producerRegionsFromState, lr as exportAliasCollisionScrubWarning, ls as refuseDivergentRecordRegionForDestroy, lt as inheritedProvenanceForChildDiff, lu as timePhase, ma as RollbackInlinePolicyWriters, md as uploadCfnTemplate, mi as namingSecretsWithRecordedNoEcho, ml as isUncertifiedBaselineMaskPosition, mn as sameMove, mo as getAccountInfo, mr as exportNameNoEchoParameters, ms as refuseMalformedOrphansForDestroy, mt as findNestedTemplateTreeDefect, mu as buildAssetRedirectMap, n as recordedProtectionEvidence, na as TemplateNoEchoReresolver, nd as resolveCaptureObservedState, ni as supersededHolderOf, nl as recordLogOnlyValue, nn as makeForeignHolderScan, no as sendableAssumeRoleCommand, nr as withNameGenerationReached, ns as malformedRenderedContainersWarning, nu as isReadableBag, o as perType, oa as withPrintingSecrets, od as resolveUseCdkBootstrapAssets, oi as noEchoComparisonForTemplate, ol as errorCauseChain, oo as envCredentialsAreAssumedRole, or as resourcesNamingDeclaredParameter, os as malformedScrubResourceEntriesRefusalMessage, ot as IMPLICIT_DELETE_DEPENDENCIES, ou as stackInstanceIdCarriedFrom, pd as findLargeInlineResources, pi as maskEventTextWithBoundBags, pl as dynamicReferenceTokens, pn as refuseRefactorMarker, po as parameterTypeMayLoseSecretIdentity, pr as carriedExportAliasExposure, ps as refuseMalformedOrphans, pt as childTemplateLoader, pu as WorkGraph, qa as keepHeldTokenProvenance, ql as splitImportedOps, qo as malformedLocalResourceEntriesWarning, qr as red, qt as collectNestedChildUnaddressed, qu as AssetManifestLoader, r as recordedProtectionNote, ra as readsNoEchoDeleteValues, rd as resolveSkipPrefix, ri as supersededResourcesOf, rl as shareLogOnlyValues, rn as sameJournaledOrphans, ro as AWS_CREDENTIAL_ENV_KEYS, rr as computeParameterTaint, rs as malformedResourceEntriesWarning, ru as orphansAfterRollback, s as readProtection, sa as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, sd as stateBucketExistenceConfirmed, si as noEchoExactEchoLeavesOf, sl as maskSecretsInError, so as classifyRecordedSecretRegion, sr as WITHHELD_NAME_DISPLAY, ss as malformedStateRefusalMessage, st as computeImplicitDeleteEdges, su as PhaseClock, t as DeployEngine, tc as renderStatefulReason, td as resolveAutoAssetStorage, ti as supersededHeldByOtherTypeWarning, tl as recordLogOnlyParameterValue, tn as loadJournaledOrphans, to as isIamRoleArn, tr as retiredNameGenerationsLeaving, ts as malformedOutputsWarning, tu as importableOutputs, ua as CloudControlProvider, ud as CFN_TEMPLATE_BODY_LIMIT, ui as createReadOnlyAttributeHealerFactory, ul as withPhysicalNameCopies, un as readRefactorMarkerOnce, uo as regionLessSecretName, ur as secretBearing, ut as deferredServiceTokenWarning, uu as AssetPublisher, va as deleteSkipReason, vc as templateResourceTypes, vd as PARTITION_TABLE, vl as inheritNestedStackParameterAssociations, vn as pendingMovesRefusalMessage, vo as isNamelessDynamicReferenceError, vr as collectDeclaredOutputNames, vs as refuseMalformedResourceAttributesForOrphan, vt as templateIdentity, vu as AssetModeResolver, wd as describeJsonParseFailure, wi as buildFinalSnapshotIdentifier, wl as splitGetAttStringForm, wn as settleUnsettledPrevious, wo as refStateLookupFromResource, wr as maskingRetryLogger, ws as refuseMalformedResourceEntriesForOrphan, wu as parseBootstrapMarker, xd as AssemblyReader, xi as storedSecretNameNeedles, xl as physicalNameCopiesOf, xn as replayRollback, xo as cfnRefValueFromPhysicalId, xr as bindingSkippedOutputs, xs as refuseMalformedResourceEntriesForDestroy, xt as parentSuppliedValues, xu as ensureAssetStorage, yc as describeTypeWithThrottleRetry, yd as canonicalizeRegion, yi as secretNamedRecordNeedles, yl as recordNestedStackParameterExpressions, yn as refusePendingMovesOut, yo as keepsSecretReferenceToken, yr as collectPublishedOutputNames, ys as refuseMalformedResourceEntries, yt as conditionFingerprint, yu as BOOTSTRAP_MARKER_PREFIX, zl as CrossPrefixReadError, zn as seedsDeleteFirstGuard, zo as hasReadableOutputs, zr as destroyStackRecordsView, zs as unpreviewableOrphanRecords, zt as displacedPhysicalIdShown, zu as isMalformedEnvKey } from "./deploy-engine-NYjdxQWe.js";
|
|
6
|
+
import { t as getCdkdVersion } from "./version-9_dvIw-h.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";
|
|
@@ -34,7 +34,7 @@ import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
|
34
34
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
35
35
|
import { WebSocketServer } from "ws";
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
// src/cli/commands/state-file-keys.ts
|
|
38
38
|
const STATE_FILE_SUFFIX = "/state.json";
|
|
39
39
|
const LEGACY_SEGMENTS_UNDER_PREFIX = 1;
|
|
40
40
|
const LOCK_FILE_SUFFIX = "/lock.json";
|
|
@@ -68,8 +68,7 @@ function describeStateKey(key, suffix = STATE_FILE_SUFFIX, knownPrefix) {
|
|
|
68
68
|
}
|
|
69
69
|
const STATE_KEY_MAX_CODE_POINTS = STACK_REF_MAX_CODE_POINTS + 64;
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
//#region src/cli/options.ts
|
|
71
|
+
// src/cli/options.ts
|
|
73
72
|
function parseContextOptions(contextArgs) {
|
|
74
73
|
const context = nullPrototypeRecord();
|
|
75
74
|
if (contextArgs) for (const arg of contextArgs) {
|
|
@@ -322,8 +321,7 @@ const destroyOptions = [
|
|
|
322
321
|
];
|
|
323
322
|
const skipFinalSnapshotOption = new Option("--skip-final-snapshot", "Delete resources whose DeletionPolicy (or, on replacements, UpdateReplacePolicy) is 'Snapshot' — including an RDS DB cluster or standalone DB instance with no DeletionPolicy, whose CloudFormation default is 'Snapshot' — WITHOUT creating the final snapshot the policy promises (DATA LOSS — explicit opt-out of CloudFormation parity). By default cdkd creates the final snapshot for every CloudFormation-supported type (RDS DBInstance / DBCluster, Neptune / DocDB clusters, ElastiCache CacheCluster / ReplicationGroup, Redshift Cluster, EC2 Volume) and refuses the delete when it cannot — e.g. a resource managed via the Cloud Control API route, whose delete has no final-snapshot parameter. On 'cdkd rollback' the flag governs the rolled-back CREATE's DeletionPolicy; a reverse-replacement delete of the NEW resource keeps its own bounded UpdateReplacePolicy behavior and is unaffected.").default(false);
|
|
324
323
|
|
|
325
|
-
|
|
326
|
-
//#region src/cli/region-options.ts
|
|
324
|
+
// src/cli/region-options.ts
|
|
327
325
|
function foldRegionOption(options) {
|
|
328
326
|
if (options.region !== void 0) options.region = canonicalizeRegion(options.region);
|
|
329
327
|
for (const key of ["AWS_REGION", "AWS_DEFAULT_REGION"]) {
|
|
@@ -548,8 +546,7 @@ function regionShown(region) {
|
|
|
548
546
|
return displayIdent(region) === region ? plainOrDescribed(region, "region") : "a region that is not a plain identifier";
|
|
549
547
|
}
|
|
550
548
|
|
|
551
|
-
|
|
552
|
-
//#region src/cli/commands/bootstrap-destroy.ts
|
|
549
|
+
// src/cli/commands/bootstrap-destroy.ts
|
|
553
550
|
async function promptBootstrapDestroyConfirm(input) {
|
|
554
551
|
const logger = getLogger();
|
|
555
552
|
logger.warn("");
|
|
@@ -854,8 +851,7 @@ async function bootstrapDestroyCommand(options) {
|
|
|
854
851
|
}
|
|
855
852
|
}
|
|
856
853
|
|
|
857
|
-
|
|
858
|
-
//#region src/cli/commands/bootstrap.ts
|
|
854
|
+
// src/cli/commands/bootstrap.ts
|
|
859
855
|
async function bootstrapCommand(options) {
|
|
860
856
|
const logger = getLogger();
|
|
861
857
|
if (options.verbose) logger.setLevel("debug");
|
|
@@ -1066,8 +1062,7 @@ function createBootstrapCommand() {
|
|
|
1066
1062
|
return cmd;
|
|
1067
1063
|
}
|
|
1068
1064
|
|
|
1069
|
-
|
|
1070
|
-
//#region src/utils/glob-match.ts
|
|
1065
|
+
// src/utils/glob-match.ts
|
|
1071
1066
|
function globMatches(pattern, subject) {
|
|
1072
1067
|
const segments = pattern.split("*");
|
|
1073
1068
|
if (segments.length === 1) return pattern === subject;
|
|
@@ -1099,8 +1094,7 @@ function pathGlobMatches(pattern, subject) {
|
|
|
1099
1094
|
return can[0];
|
|
1100
1095
|
}
|
|
1101
1096
|
|
|
1102
|
-
|
|
1103
|
-
//#region src/cli/cdk-path.ts
|
|
1097
|
+
// src/cli/cdk-path.ts
|
|
1104
1098
|
function readCdkPath(resource) {
|
|
1105
1099
|
const meta = resource.Metadata;
|
|
1106
1100
|
if (!meta) return "";
|
|
@@ -1153,8 +1147,7 @@ function stackForPathFormTarget(parsed, target, stacks) {
|
|
|
1153
1147
|
return stackForConstructPath(parsed.pathOrId, stacks);
|
|
1154
1148
|
}
|
|
1155
1149
|
|
|
1156
|
-
|
|
1157
|
-
//#region src/cli/stack-matcher.ts
|
|
1150
|
+
// src/cli/stack-matcher.ts
|
|
1158
1151
|
function matchStacks(stacks, patterns, options = {}) {
|
|
1159
1152
|
if (patterns.length === 0) return [];
|
|
1160
1153
|
const selected = /* @__PURE__ */ new Set();
|
|
@@ -1311,8 +1304,7 @@ function renderAllNoTopLevelStacks(inStages) {
|
|
|
1311
1304
|
return `--all selects top-level stacks only, and this app has none: every stack is inside a CDK Stage (${inStages.map(describeStack).join(", ")}). ` + renderStagePatternAdvice(inStages);
|
|
1312
1305
|
}
|
|
1313
1306
|
|
|
1314
|
-
|
|
1315
|
-
//#region src/utils/yaml.ts
|
|
1307
|
+
// src/utils/yaml.ts
|
|
1316
1308
|
const EMIT_OPTIONS = {
|
|
1317
1309
|
schema: "core",
|
|
1318
1310
|
lineWidth: 0,
|
|
@@ -1377,8 +1369,7 @@ function toYaml(obj) {
|
|
|
1377
1369
|
return doc.toString(EMIT_OPTIONS);
|
|
1378
1370
|
}
|
|
1379
1371
|
|
|
1380
|
-
|
|
1381
|
-
//#region src/cli/commands/synth.ts
|
|
1372
|
+
// src/cli/commands/synth.ts
|
|
1382
1373
|
function countDeployableResources(template) {
|
|
1383
1374
|
return Object.values(template.Resources ?? {}).filter((r) => r.Type !== "AWS::CDK::Metadata").length;
|
|
1384
1375
|
}
|
|
@@ -1461,8 +1452,7 @@ function createSynthCommand() {
|
|
|
1461
1452
|
return cmd;
|
|
1462
1453
|
}
|
|
1463
1454
|
|
|
1464
|
-
|
|
1465
|
-
//#region src/cli/commands/list.ts
|
|
1455
|
+
// src/cli/commands/list.ts
|
|
1466
1456
|
function sortByDependency(stacks) {
|
|
1467
1457
|
const visited = /* @__PURE__ */ new Set();
|
|
1468
1458
|
const result = [];
|
|
@@ -1556,8 +1546,7 @@ function createListCommand() {
|
|
|
1556
1546
|
return cmd;
|
|
1557
1547
|
}
|
|
1558
1548
|
|
|
1559
|
-
|
|
1560
|
-
//#region src/utils/interrupt-signals.ts
|
|
1549
|
+
// src/utils/interrupt-signals.ts
|
|
1561
1550
|
const postCleanupListeners = /* @__PURE__ */ new WeakSet();
|
|
1562
1551
|
function prependPostCleanupSigintListener(listener) {
|
|
1563
1552
|
postCleanupListeners.add(listener);
|
|
@@ -1628,8 +1617,7 @@ function watchCommandInterrupt(opts) {
|
|
|
1628
1617
|
};
|
|
1629
1618
|
}
|
|
1630
1619
|
|
|
1631
|
-
|
|
1632
|
-
//#region src/deployment/recreate-targets/validate.ts
|
|
1620
|
+
// src/deployment/recreate-targets/validate.ts
|
|
1633
1621
|
const EMPTY_ALLOW_SET$1 = /* @__PURE__ */ new Set();
|
|
1634
1622
|
const NESTED_STACK_RESOURCE_TYPE$1 = "AWS::CloudFormation::Stack";
|
|
1635
1623
|
function validateRecreateTargets(input) {
|
|
@@ -1742,8 +1730,7 @@ function validateRecreateTargets(input) {
|
|
|
1742
1730
|
};
|
|
1743
1731
|
}
|
|
1744
1732
|
|
|
1745
|
-
|
|
1746
|
-
//#region src/deployment/recreate-targets/render.ts
|
|
1733
|
+
// src/deployment/recreate-targets/render.ts
|
|
1747
1734
|
function renderRecreateTargetsErrors(validation) {
|
|
1748
1735
|
const lines = [];
|
|
1749
1736
|
const FLAG_UMBRELLA = "--recreate-via-cc-api / --recreate-via-sdk-provider";
|
|
@@ -1841,8 +1828,7 @@ function foldRegion(region) {
|
|
|
1841
1828
|
return canonicalizeRegion(region?.trim());
|
|
1842
1829
|
}
|
|
1843
1830
|
|
|
1844
|
-
|
|
1845
|
-
//#region src/deployment/recreate-targets/probe.ts
|
|
1831
|
+
// src/deployment/recreate-targets/probe.ts
|
|
1846
1832
|
async function probeStatefulRecreateTargetsAsync(targets, clients, logger = getLogger().child("recreate-targets")) {
|
|
1847
1833
|
const promoted = [];
|
|
1848
1834
|
const probeRetryOptions = {
|
|
@@ -1962,8 +1948,7 @@ async function probeAndRevalidateStateful(input) {
|
|
|
1962
1948
|
};
|
|
1963
1949
|
}
|
|
1964
1950
|
|
|
1965
|
-
|
|
1966
|
-
//#region src/cli/commands/confirm-prompt.ts
|
|
1951
|
+
// src/cli/commands/confirm-prompt.ts
|
|
1967
1952
|
let promptQueue = Promise.resolve();
|
|
1968
1953
|
function serializePrompt(ask) {
|
|
1969
1954
|
const asked = promptQueue.then(ask);
|
|
@@ -1997,8 +1982,7 @@ async function confirmOrRefuse(prompt, options) {
|
|
|
1997
1982
|
}
|
|
1998
1983
|
}
|
|
1999
1984
|
|
|
2000
|
-
|
|
2001
|
-
//#region src/cli/commands/recreate-downstream-consumers.ts
|
|
1985
|
+
// src/cli/commands/recreate-downstream-consumers.ts
|
|
2002
1986
|
function producerNameIsUnresolved(sourceStack) {
|
|
2003
1987
|
return sourceStack.includes("{{resolve:") || sourceStack.includes("***");
|
|
2004
1988
|
}
|
|
@@ -2068,8 +2052,7 @@ function renderDownstreamConsumers(producerStack, consumers) {
|
|
|
2068
2052
|
return lines.join("\n");
|
|
2069
2053
|
}
|
|
2070
2054
|
|
|
2071
|
-
|
|
2072
|
-
//#region src/cli/commands/recreate-confirm-prompt.ts
|
|
2055
|
+
// src/cli/commands/recreate-confirm-prompt.ts
|
|
2073
2056
|
async function promptRecreateConfirm(input) {
|
|
2074
2057
|
if (input.targets.length === 0) return true;
|
|
2075
2058
|
const logger = getLogger();
|
|
@@ -2126,8 +2109,7 @@ async function promptRecreateConfirm(input) {
|
|
|
2126
2109
|
});
|
|
2127
2110
|
}
|
|
2128
2111
|
|
|
2129
|
-
|
|
2130
|
-
//#region src/cli/commands/pin-cc-api-reachability.ts
|
|
2112
|
+
// src/cli/commands/pin-cc-api-reachability.ts
|
|
2131
2113
|
function analyzePinCcApiReachability(pinnedLogicalIds, stacks) {
|
|
2132
2114
|
const idSets = stacks.map((s) => ({
|
|
2133
2115
|
stackName: s.stackName,
|
|
@@ -2152,8 +2134,7 @@ function analyzePinCcApiReachability(pinnedLogicalIds, stacks) {
|
|
|
2152
2134
|
};
|
|
2153
2135
|
}
|
|
2154
2136
|
|
|
2155
|
-
|
|
2156
|
-
//#region src/cli/commands/nested-template-preflight.ts
|
|
2137
|
+
// src/cli/commands/nested-template-preflight.ts
|
|
2157
2138
|
function refuseMalformedNestedTemplateTrees(stacks) {
|
|
2158
2139
|
for (const stack of stacks) {
|
|
2159
2140
|
if (!stack.nestedTemplates) continue;
|
|
@@ -2163,8 +2144,7 @@ function refuseMalformedNestedTemplateTrees(stacks) {
|
|
|
2163
2144
|
}
|
|
2164
2145
|
}
|
|
2165
2146
|
|
|
2166
|
-
|
|
2167
|
-
//#region src/cli/commands/require-approval.ts
|
|
2147
|
+
// src/cli/commands/require-approval.ts
|
|
2168
2148
|
const REQUIRE_APPROVAL_VALUES = [
|
|
2169
2149
|
"never",
|
|
2170
2150
|
"any-change",
|
|
@@ -2208,8 +2188,7 @@ function renderApprovalRequest(request) {
|
|
|
2208
2188
|
return `${lines.join("\n")}\n`;
|
|
2209
2189
|
}
|
|
2210
2190
|
|
|
2211
|
-
|
|
2212
|
-
//#region src/cli/commands/deployment-events-run.ts
|
|
2191
|
+
// src/cli/commands/deployment-events-run.ts
|
|
2213
2192
|
function startRunRecorder(args) {
|
|
2214
2193
|
if (args.dryRun) return void 0;
|
|
2215
2194
|
const recorder = new DeploymentEventsStore(args.backend, {
|
|
@@ -2246,8 +2225,7 @@ function recordRunFailed(recorder, stackName, error) {
|
|
|
2246
2225
|
});
|
|
2247
2226
|
}
|
|
2248
2227
|
|
|
2249
|
-
|
|
2250
|
-
//#region src/state/export-index-store.ts
|
|
2228
|
+
// src/state/export-index-store.ts
|
|
2251
2229
|
const EXPORT_INDEX_VERSION = 1;
|
|
2252
2230
|
function mapsEqual(a, b) {
|
|
2253
2231
|
if (a.size !== b.size) return false;
|
|
@@ -2607,8 +2585,7 @@ var ExportIndexStore = class {
|
|
|
2607
2585
|
}
|
|
2608
2586
|
};
|
|
2609
2587
|
|
|
2610
|
-
|
|
2611
|
-
//#region src/analyzer/cross-stack-deps.ts
|
|
2588
|
+
// src/analyzer/cross-stack-deps.ts
|
|
2612
2589
|
function inferCrossStackStackDeps(stacks, opts) {
|
|
2613
2590
|
const result = /* @__PURE__ */ new Map();
|
|
2614
2591
|
for (const [consumer, producers] of inferCrossStackDepsByStack(stacks, opts)) {
|
|
@@ -2706,11 +2683,10 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
2706
2683
|
for (const value of Object.values(obj)) collectCrossStackRefs(value, onRef, below);
|
|
2707
2684
|
}
|
|
2708
2685
|
|
|
2709
|
-
|
|
2710
|
-
//#region src/provisioning/register-providers.ts
|
|
2686
|
+
// src/provisioning/register-providers.ts
|
|
2711
2687
|
let providerClasses;
|
|
2712
2688
|
function loadProviderClasses() {
|
|
2713
|
-
providerClasses ??= import("./provider-classes-
|
|
2689
|
+
providerClasses ??= import("./provider-classes-ushrO6ri.js");
|
|
2714
2690
|
return providerClasses;
|
|
2715
2691
|
}
|
|
2716
2692
|
function registerAllProviders(registry, classes) {
|
|
@@ -2872,8 +2848,7 @@ function registerAllProviders(registry, classes) {
|
|
|
2872
2848
|
registry.register("AWS::CloudFormation::WaitConditionHandle", new WaitConditionHandleProvider());
|
|
2873
2849
|
}
|
|
2874
2850
|
|
|
2875
|
-
|
|
2876
|
-
//#region src/provisioning/resource-timeout-registry.ts
|
|
2851
|
+
// src/provisioning/resource-timeout-registry.ts
|
|
2877
2852
|
let resolved;
|
|
2878
2853
|
function setResolvedResourceTimeouts(opt) {
|
|
2879
2854
|
resolved = opt;
|
|
@@ -2883,8 +2858,7 @@ function resolvedResourceTimeoutMs(resourceType) {
|
|
|
2883
2858
|
return resolved.perTypeMs?.[resourceType] ?? resolved.globalMs;
|
|
2884
2859
|
}
|
|
2885
2860
|
|
|
2886
|
-
|
|
2887
|
-
//#region src/cli/commands/prefix-migration-check.ts
|
|
2861
|
+
// src/cli/commands/prefix-migration-check.ts
|
|
2888
2862
|
function findPendingPrefixRenames(stackName, state) {
|
|
2889
2863
|
if (!state) return [];
|
|
2890
2864
|
const patternB = new Set(PATTERN_B_RESOURCE_TYPES);
|
|
@@ -2959,8 +2933,7 @@ function createPrefixMigrationGate(opts) {
|
|
|
2959
2933
|
};
|
|
2960
2934
|
}
|
|
2961
2935
|
|
|
2962
|
-
|
|
2963
|
-
//#region src/cli/commands/registry-release.ts
|
|
2936
|
+
// src/cli/commands/registry-release.ts
|
|
2964
2937
|
async function releaseRegistryMarkerQuietly(backend, stackName, region, logger, known) {
|
|
2965
2938
|
if (stackName.includes("~")) return;
|
|
2966
2939
|
try {
|
|
@@ -2971,8 +2944,7 @@ async function releaseRegistryMarkerQuietly(backend, stackName, region, logger,
|
|
|
2971
2944
|
}
|
|
2972
2945
|
}
|
|
2973
2946
|
|
|
2974
|
-
|
|
2975
|
-
//#region src/cli/commands/cross-prefix-gate.ts
|
|
2947
|
+
// src/cli/commands/cross-prefix-gate.ts
|
|
2976
2948
|
function deployStackRegion(stack, baseRegion) {
|
|
2977
2949
|
return stack.region || baseRegion;
|
|
2978
2950
|
}
|
|
@@ -3069,8 +3041,7 @@ function composeStateLoadedGates(crossPrefix, migration) {
|
|
|
3069
3041
|
};
|
|
3070
3042
|
}
|
|
3071
3043
|
|
|
3072
|
-
|
|
3073
|
-
//#region src/state/stack-registry.ts
|
|
3044
|
+
// src/state/stack-registry.ts
|
|
3074
3045
|
function unwrapReadError(error) {
|
|
3075
3046
|
return error instanceof CrossPrefixReadError ? error.cause : error;
|
|
3076
3047
|
}
|
|
@@ -3215,8 +3186,7 @@ var CrossPrefixGuard = class {
|
|
|
3215
3186
|
}
|
|
3216
3187
|
};
|
|
3217
3188
|
|
|
3218
|
-
|
|
3219
|
-
//#region src/cli/commands/deploy.ts
|
|
3189
|
+
// src/cli/commands/deploy.ts
|
|
3220
3190
|
async function deployCommand(stacks, options) {
|
|
3221
3191
|
const runClock = new PhaseClock("run", { fromProcessStart: true });
|
|
3222
3192
|
runClock.lap("node startup + module load");
|
|
@@ -3795,8 +3765,7 @@ function splitUpdatePartial(result) {
|
|
|
3795
3765
|
};
|
|
3796
3766
|
}
|
|
3797
3767
|
|
|
3798
|
-
|
|
3799
|
-
//#region src/analyzer/outputs-diff.ts
|
|
3768
|
+
// src/analyzer/outputs-diff.ts
|
|
3800
3769
|
function secretSpanInStoredKey(key, exportName) {
|
|
3801
3770
|
const tokens = dynamicReferenceTokens(exportName);
|
|
3802
3771
|
const first = tokens[0];
|
|
@@ -4201,8 +4170,7 @@ function computeOutputsDiff(current, desired, exportNames, secretSourceKeys = /*
|
|
|
4201
4170
|
return changes;
|
|
4202
4171
|
}
|
|
4203
4172
|
|
|
4204
|
-
|
|
4205
|
-
//#region src/cli/cfn-stack-states.ts
|
|
4173
|
+
// src/cli/cfn-stack-states.ts
|
|
4206
4174
|
const STABLE_TERMINAL_STATUSES = /* @__PURE__ */ new Set([
|
|
4207
4175
|
"CREATE_COMPLETE",
|
|
4208
4176
|
"UPDATE_COMPLETE",
|
|
@@ -4211,8 +4179,7 @@ const STABLE_TERMINAL_STATUSES = /* @__PURE__ */ new Set([
|
|
|
4211
4179
|
"IMPORT_ROLLBACK_COMPLETE"
|
|
4212
4180
|
]);
|
|
4213
4181
|
|
|
4214
|
-
|
|
4215
|
-
//#region src/cli/yaml-cfn.ts
|
|
4182
|
+
// src/cli/yaml-cfn.ts
|
|
4216
4183
|
const FN_TAGS = [
|
|
4217
4184
|
"GetAtt",
|
|
4218
4185
|
"Sub",
|
|
@@ -4423,8 +4390,7 @@ function parseCfnTemplateWithFormat(text) {
|
|
|
4423
4390
|
};
|
|
4424
4391
|
}
|
|
4425
4392
|
|
|
4426
|
-
|
|
4427
|
-
//#region src/cli/commands/retire-cfn-stack.ts
|
|
4393
|
+
// src/cli/commands/retire-cfn-stack.ts
|
|
4428
4394
|
const NESTED_STACK_RESOURCE_TYPE = "AWS::CloudFormation::Stack";
|
|
4429
4395
|
const TEMPLATE_BODY_LIMIT = CFN_TEMPLATE_BODY_LIMIT;
|
|
4430
4396
|
const TEMPLATE_URL_LIMIT = CFN_TEMPLATE_URL_LIMIT;
|
|
@@ -4826,8 +4792,7 @@ function isStackNotFoundError(err) {
|
|
|
4826
4792
|
return name === "ValidationError" && /does not exist/i.test(message);
|
|
4827
4793
|
}
|
|
4828
4794
|
|
|
4829
|
-
|
|
4830
|
-
//#region src/cli/commands/diff-recursive.ts
|
|
4795
|
+
// src/cli/commands/diff-recursive.ts
|
|
4831
4796
|
const SDK_MIGRATION_TOKEN = "returning to SDK provider";
|
|
4832
4797
|
const logger = getLogger().child("DiffRecursive");
|
|
4833
4798
|
function collectRefTargets(value, refs) {
|
|
@@ -6278,8 +6243,7 @@ function renderDiffTree(node, isRoot, logFn) {
|
|
|
6278
6243
|
for (const child of node.children) renderDiffTree(child, false, logFn);
|
|
6279
6244
|
}
|
|
6280
6245
|
|
|
6281
|
-
|
|
6282
|
-
//#region src/cli/commands/diff.ts
|
|
6246
|
+
// src/cli/commands/diff.ts
|
|
6283
6247
|
function treeNodes(node) {
|
|
6284
6248
|
return [node, ...node.children.flatMap(treeNodes)];
|
|
6285
6249
|
}
|
|
@@ -6592,8 +6556,7 @@ function createDiffCommand() {
|
|
|
6592
6556
|
return cmd;
|
|
6593
6557
|
}
|
|
6594
6558
|
|
|
6595
|
-
|
|
6596
|
-
//#region src/cli/commands/scrub.ts
|
|
6559
|
+
// src/cli/commands/scrub.ts
|
|
6597
6560
|
var ScrubNeededError = class ScrubNeededError extends CdkdError {
|
|
6598
6561
|
silent = true;
|
|
6599
6562
|
constructor() {
|
|
@@ -9104,8 +9067,7 @@ function copiesOfParentRow(bag) {
|
|
|
9104
9067
|
return copies === void 0 || copies.size === 0 ? {} : { inheritedPhysicalNameCopies: copies };
|
|
9105
9068
|
}
|
|
9106
9069
|
|
|
9107
|
-
|
|
9108
|
-
//#region src/analyzer/drift-principal-normalize.ts
|
|
9070
|
+
// src/analyzer/drift-principal-normalize.ts
|
|
9109
9071
|
const PRINCIPAL_UNIQUE_ID_RE = /^A(?:ROA|IDA)[A-Z0-9]{6,}$/;
|
|
9110
9072
|
const IAM_PRINCIPAL_ARN_RE = /^arn:[a-z0-9-]+:iam::\d{12}:(role|user)\/(.+)$/;
|
|
9111
9073
|
function parseIamPrincipalArn(arn) {
|
|
@@ -9209,8 +9171,7 @@ async function canonicalizePrincipalUniqueIds(baseline, aws, resolve) {
|
|
|
9209
9171
|
};
|
|
9210
9172
|
}
|
|
9211
9173
|
|
|
9212
|
-
|
|
9213
|
-
//#region src/utils/ip-protocol.ts
|
|
9174
|
+
// src/utils/ip-protocol.ts
|
|
9214
9175
|
const PROTOCOL_NUMBER_TO_NAME = /* @__PURE__ */ new Map([
|
|
9215
9176
|
["1", "icmp"],
|
|
9216
9177
|
["6", "tcp"],
|
|
@@ -9230,8 +9191,7 @@ function canonicalizeIpProtocolValue(value) {
|
|
|
9230
9191
|
return text;
|
|
9231
9192
|
}
|
|
9232
9193
|
|
|
9233
|
-
|
|
9234
|
-
//#region src/analyzer/drift-protocol-normalize.ts
|
|
9194
|
+
// src/analyzer/drift-protocol-normalize.ts
|
|
9235
9195
|
const IP_PROTOCOL_PATHS = /* @__PURE__ */ new Map([
|
|
9236
9196
|
["AWS::EC2::SecurityGroupIngress", ["IpProtocol"]],
|
|
9237
9197
|
["AWS::EC2::SecurityGroupEgress", ["IpProtocol"]],
|
|
@@ -9291,8 +9251,7 @@ function canonicalizeIpProtocols(baseline, aws, resourceType) {
|
|
|
9291
9251
|
};
|
|
9292
9252
|
}
|
|
9293
9253
|
|
|
9294
|
-
|
|
9295
|
-
//#region src/analyzer/drift-cc-api-deny-list.ts
|
|
9254
|
+
// src/analyzer/drift-cc-api-deny-list.ts
|
|
9296
9255
|
const CC_API_FALLBACK_DENY_LIST = {
|
|
9297
9256
|
"AWS::ApiGateway::RestApi": "Body / BodyS3Location are write-only inputs not returned by CC API GetResource; cdkd state preserves them",
|
|
9298
9257
|
"AWS::CloudFormation::Stack": "cdkd deploys nested stacks itself: no CloudFormation stack exists, and the physicalId is a cdkd-local placeholder ARN",
|
|
@@ -9302,8 +9261,7 @@ const CC_API_FALLBACK_DENY_LIST = {
|
|
|
9302
9261
|
"AWS::EC2::LaunchTemplate": "CC API returns version-bumped LaunchTemplateData with synthetic LatestVersionNumber that diverges from the CFn input shape"
|
|
9303
9262
|
};
|
|
9304
9263
|
|
|
9305
|
-
|
|
9306
|
-
//#region src/analyzer/cc-api-strip.ts
|
|
9264
|
+
// src/analyzer/cc-api-strip.ts
|
|
9307
9265
|
const ALWAYS_STRIPPED_FIELDS = /* @__PURE__ */ new Set([
|
|
9308
9266
|
"CreationDate",
|
|
9309
9267
|
"CreationTime",
|
|
@@ -9346,16 +9304,14 @@ function stripWalk(value) {
|
|
|
9346
9304
|
return value;
|
|
9347
9305
|
}
|
|
9348
9306
|
|
|
9349
|
-
|
|
9350
|
-
//#region src/cli/commands/refused-baseline-remedy.ts
|
|
9307
|
+
// src/cli/commands/refused-baseline-remedy.ts
|
|
9351
9308
|
const ACCEPT_REFUSED_REMEDY = "Once the deployed template no longer reads a parameter at this resource, cdkd state refresh-observed '<stack>' --accept-refused '<logicalId>' --template '<file>' records a baseline on your assertion that AWS holds no secret the template does not spell as a dynamic reference.";
|
|
9352
9309
|
function refusedBaselineRemedy(record) {
|
|
9353
9310
|
if (hasUnverifiableParameterRefusal(record)) return "Deploying a change does NOT clear this refusal: the resource reads a template parameter whose deployed value cdkd could not prove, so only a deploy that replaces the resource, or a re-import while a CloudFormation stack can prove that value, restores a baseline. " + ACCEPT_REFUSED_REMEDY;
|
|
9354
9311
|
if (hasReasonlessBaselineRefusal(record)) return "This refusal was recorded without a reason this cdkd recognizes: a deploy that actually CHANGES this resource restores a baseline unless the resource reads a template parameter, and then only a deploy that replaces the resource, or a re-import while a CloudFormation stack can prove the parameter's deployed value, does. " + ACCEPT_REFUSED_REMEDY;
|
|
9355
9312
|
}
|
|
9356
9313
|
|
|
9357
|
-
|
|
9358
|
-
//#region src/cli/commands/drift.ts
|
|
9314
|
+
// src/cli/commands/drift.ts
|
|
9359
9315
|
const PRE_V10_BASELINE_WARNING_FLOOR = 10;
|
|
9360
9316
|
function matchOutcome(outcome, handlers) {
|
|
9361
9317
|
return handlers[outcome.kind](outcome);
|
|
@@ -11781,8 +11737,7 @@ function declaredEmptyProperties(properties) {
|
|
|
11781
11737
|
return out;
|
|
11782
11738
|
}
|
|
11783
11739
|
|
|
11784
|
-
|
|
11785
|
-
//#region src/cli/commands/stack-lock-guard.ts
|
|
11740
|
+
// src/cli/commands/stack-lock-guard.ts
|
|
11786
11741
|
async function acquireStackLock(opts) {
|
|
11787
11742
|
const { lockManager, stackName, region, recovery } = opts;
|
|
11788
11743
|
let interrupted = false;
|
|
@@ -11863,8 +11818,7 @@ async function acquireStackLock(opts) {
|
|
|
11863
11818
|
};
|
|
11864
11819
|
}
|
|
11865
11820
|
|
|
11866
|
-
|
|
11867
|
-
//#region src/provisioning/secret-principal-resolution.ts
|
|
11821
|
+
// src/provisioning/secret-principal-resolution.ts
|
|
11868
11822
|
const TRANSIENT_RESOLUTION_MESSAGE = "Resolving a secret-derived IAM principal list was throttled or hit a server error";
|
|
11869
11823
|
function resolvableVerdict(verdict) {
|
|
11870
11824
|
return verdict.kind === "local" || verdict.kind === "recorded-region";
|
|
@@ -11976,8 +11930,7 @@ function resolvablePrincipalLists(resource) {
|
|
|
11976
11930
|
return keys.map((key) => props[key]).filter((value) => isResolvableSecretPrincipalList(value));
|
|
11977
11931
|
}
|
|
11978
11932
|
|
|
11979
|
-
|
|
11980
|
-
//#region src/cli/commands/destroy-runner.ts
|
|
11933
|
+
// src/cli/commands/destroy-runner.ts
|
|
11981
11934
|
const NOECHO_PRINTING_BIND_CAP_MS = 1e4;
|
|
11982
11935
|
async function purgeStateHistoryIfOptedIn(ctx, stackName, region) {
|
|
11983
11936
|
if (ctx.purgeStateHistory === true) await ctx.stateBackend.purgeDeletedStateHistory(stackName, region);
|
|
@@ -12917,8 +12870,7 @@ function refuseNewPendingRequests(read, stackName, region) {
|
|
|
12917
12870
|
throw new Error(`The rollback journal of stack ${displayStackName(stackName)} (${displaySafe(region, { asciiOnly: true })}) now records a Cloud Control CREATE a failed deploy stopped waiting for — another cdkd process wrote to it. Nothing was deleted; re-run the destroy, which checks how that CREATE ended first.`);
|
|
12918
12871
|
}
|
|
12919
12872
|
|
|
12920
|
-
|
|
12921
|
-
//#region src/cli/commands/destroy-skip-message.ts
|
|
12873
|
+
// src/cli/commands/destroy-skip-message.ts
|
|
12922
12874
|
function skippedDestroyMessage(totalSkipped, totalOrphanSkips, rerunCommand) {
|
|
12923
12875
|
const recordSkips = totalSkipped - totalOrphanSkips;
|
|
12924
12876
|
const orphanSentence = `${totalOrphanSkips} resource(s) a failed deploy created were left in AWS, and no state records them any more. The warning naming each says what to do with it.`;
|
|
@@ -12926,8 +12878,7 @@ function skippedDestroyMessage(totalSkipped, totalOrphanSkips, rerunCommand) {
|
|
|
12926
12878
|
return `Destroy skipped ${recordSkips} entr${recordSkips === 1 ? "y" : "ies"} whose delete cdkd did not confirm, so the underlying resources may still exist in AWS. A skipped nested stack counts as ONE entry and may cover several of its own resources — the per-stack summaries above give the exact breakdown. State preserved (the records are kept). The per-resource 'skipped (...)' lines and their warnings name each cause and whether repairing the record in state.json helps: where it does, repair it and re-run '${rerunCommand}'; otherwise (for example a custom-resource Delete handler that reported FAILED), delete the resources by hand and drop the records with 'cdkd state orphan <stack> --stack-region <region>'.` + (totalOrphanSkips > 0 ? ` Separately, ${orphanSentence}` : "");
|
|
12927
12879
|
}
|
|
12928
12880
|
|
|
12929
|
-
|
|
12930
|
-
//#region src/cli/commands/destroy.ts
|
|
12881
|
+
// src/cli/commands/destroy.ts
|
|
12931
12882
|
function orderConsumersBeforeProducers(stackNames, consumerToProducers) {
|
|
12932
12883
|
const pendingConsumers = /* @__PURE__ */ new Map();
|
|
12933
12884
|
for (const name of stackNames) pendingConsumers.set(name, /* @__PURE__ */ new Set());
|
|
@@ -13433,8 +13384,7 @@ function createDestroyCommand() {
|
|
|
13433
13384
|
return cmd;
|
|
13434
13385
|
}
|
|
13435
13386
|
|
|
13436
|
-
|
|
13437
|
-
//#region src/cli/commands/rollback-drop-failed.ts
|
|
13387
|
+
// src/cli/commands/rollback-drop-failed.ts
|
|
13438
13388
|
function refuseDropFailedConflicts(options) {
|
|
13439
13389
|
const conflicting = [
|
|
13440
13390
|
...(options.orphan ?? []).length > 0 ? ["--orphan"] : [],
|
|
@@ -13568,8 +13518,7 @@ async function dropFailedJournalEntry(args) {
|
|
|
13568
13518
|
}
|
|
13569
13519
|
}
|
|
13570
13520
|
|
|
13571
|
-
|
|
13572
|
-
//#region src/cli/interactive-select.ts
|
|
13521
|
+
// src/cli/interactive-select.ts
|
|
13573
13522
|
const ARM_DELAY_MS = 50;
|
|
13574
13523
|
const FILTER_CHAR = /^[\p{L}\p{N}\p{P}\p{S} ]$/u;
|
|
13575
13524
|
function isInteractiveTerminal(streams) {
|
|
@@ -13669,8 +13618,7 @@ function selectFromList(title, items, streams) {
|
|
|
13669
13618
|
});
|
|
13670
13619
|
}
|
|
13671
13620
|
|
|
13672
|
-
|
|
13673
|
-
//#region src/cli/commands/state-browse.ts
|
|
13621
|
+
// src/cli/commands/state-browse.ts
|
|
13674
13622
|
const VIEW_ITEMS = [
|
|
13675
13623
|
{
|
|
13676
13624
|
label: "Resources (logical id, type, physical id)",
|
|
@@ -13722,8 +13670,7 @@ async function runStateBrowse(deps) {
|
|
|
13722
13670
|
}
|
|
13723
13671
|
}
|
|
13724
13672
|
|
|
13725
|
-
|
|
13726
|
-
//#region src/deployment/public-ssm-proof.ts
|
|
13673
|
+
// src/deployment/public-ssm-proof.ts
|
|
13727
13674
|
var PublicSsmProver = class {
|
|
13728
13675
|
resolver;
|
|
13729
13676
|
verdicts = /* @__PURE__ */ new Map();
|
|
@@ -13791,8 +13738,7 @@ function mixedLeafSsmTokens(source) {
|
|
|
13791
13738
|
return tokens;
|
|
13792
13739
|
}
|
|
13793
13740
|
|
|
13794
|
-
|
|
13795
|
-
//#region src/analyzer/orphan-rewriter.ts
|
|
13741
|
+
// src/analyzer/orphan-rewriter.ts
|
|
13796
13742
|
const UNREADABLE_ORPHAN_RECORD_REASON = "the orphaned resource's state record is not a readable resource record (not an object, no resource type, or no physical id), so nothing in it can be substituted";
|
|
13797
13743
|
function isResolvableOrphanRecord(entry) {
|
|
13798
13744
|
if (!isReadableResourceEntry(entry)) return false;
|
|
@@ -14198,8 +14144,7 @@ async function rewriteSubTemplate(template, ownerLogicalId, pathPrefix, orphanSe
|
|
|
14198
14144
|
};
|
|
14199
14145
|
}
|
|
14200
14146
|
|
|
14201
|
-
|
|
14202
|
-
//#region src/cli/commands/orphan.ts
|
|
14147
|
+
// src/cli/commands/orphan.ts
|
|
14203
14148
|
function displaySafeList(values) {
|
|
14204
14149
|
return values.map((value) => displaySafe(value)).join(", ");
|
|
14205
14150
|
}
|
|
@@ -14447,8 +14392,7 @@ function createOrphanCommand() {
|
|
|
14447
14392
|
return cmd;
|
|
14448
14393
|
}
|
|
14449
14394
|
|
|
14450
|
-
|
|
14451
|
-
//#region src/cli/commands/state-migrate.ts
|
|
14395
|
+
// src/cli/commands/state-migrate.ts
|
|
14452
14396
|
async function stateMigrateCommand(options) {
|
|
14453
14397
|
const logger = getLogger();
|
|
14454
14398
|
if (options.verbose) logger.setLevel("debug");
|
|
@@ -14721,8 +14665,7 @@ function createStateMigrateCommand() {
|
|
|
14721
14665
|
return cmd;
|
|
14722
14666
|
}
|
|
14723
14667
|
|
|
14724
|
-
|
|
14725
|
-
//#region src/cli/commands/state-list-tree.ts
|
|
14668
|
+
// src/cli/commands/state-list-tree.ts
|
|
14726
14669
|
const MAX_STACK_TREE_DEPTH = 100;
|
|
14727
14670
|
function buildStackTree(entries) {
|
|
14728
14671
|
const refKey = (stackName, region) => producerRecordKey(stackName, region ?? "");
|
|
@@ -14817,8 +14760,7 @@ function stackTreeToJson(roots) {
|
|
|
14817
14760
|
}));
|
|
14818
14761
|
}
|
|
14819
14762
|
|
|
14820
|
-
|
|
14821
|
-
//#region src/utils/ipv4-cidr.ts
|
|
14763
|
+
// src/utils/ipv4-cidr.ts
|
|
14822
14764
|
function canonicalizeIpv4Cidr(value) {
|
|
14823
14765
|
const match = /^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\/(\d{1,2})$/.exec(value);
|
|
14824
14766
|
if (!match) return void 0;
|
|
@@ -14839,8 +14781,7 @@ function canonicalizeIpv4Cidr(value) {
|
|
|
14839
14781
|
].join(".")}/${prefixLength}`;
|
|
14840
14782
|
}
|
|
14841
14783
|
|
|
14842
|
-
|
|
14843
|
-
//#region src/cli/commands/export.ts
|
|
14784
|
+
// src/cli/commands/export.ts
|
|
14844
14785
|
const NEVER_IMPORTABLE_TYPES = /* @__PURE__ */ new Set(["AWS::CDK::Metadata"]);
|
|
14845
14786
|
const CHILD_LOCK_RETRY_MAX_ATTEMPTS = 6;
|
|
14846
14787
|
const CHILD_LOCK_RETRY_DELAY_MS = 5e3;
|
|
@@ -17825,8 +17766,7 @@ function spacedAccountClause(recovery, where) {
|
|
|
17825
17766
|
return clause === "" ? "" : ` ${clause}`;
|
|
17826
17767
|
}
|
|
17827
17768
|
|
|
17828
|
-
|
|
17829
|
-
//#region src/cli/commands/state-refresh-observed.ts
|
|
17769
|
+
// src/cli/commands/state-refresh-observed.ts
|
|
17830
17770
|
function collectAcceptRefused(value, previous) {
|
|
17831
17771
|
if (value === "") throw new InvalidArgumentError("--accept-refused takes one logical id.");
|
|
17832
17772
|
return [...previous ?? [], value];
|
|
@@ -18069,8 +18009,7 @@ async function confirmAcceptRefused(assertion) {
|
|
|
18069
18009
|
return confirmOrRefuse(`${assertion}\nAccept it?`, { refusal: "The cdkd state refresh-observed --accept-refused confirmation prompt cannot run in a non-interactive environment. Pass -y / --yes to make the assertion, or run the command from a real terminal." });
|
|
18070
18010
|
}
|
|
18071
18011
|
|
|
18072
|
-
|
|
18073
|
-
//#region src/cli/commands/state.ts
|
|
18012
|
+
// src/cli/commands/state.ts
|
|
18074
18013
|
const STATE_READ_FAILED_REASON = "state record could not be read; run `cdkd state show` for the error";
|
|
18075
18014
|
const LOCK_READ_FAILED_REASON = "lock could not be read; run `cdkd state show` for the error";
|
|
18076
18015
|
const LEGACY_LOCK_READ_FAILED_REASON = "lock could not be read";
|
|
@@ -19707,8 +19646,7 @@ function createStateCommand() {
|
|
|
19707
19646
|
return cmd;
|
|
19708
19647
|
}
|
|
19709
19648
|
|
|
19710
|
-
|
|
19711
|
-
//#region src/cli/commands/rollback.ts
|
|
19649
|
+
// src/cli/commands/rollback.ts
|
|
19712
19650
|
function rerunRollback(stackName) {
|
|
19713
19651
|
const rerun = pasteableCommand("cdkd rollback", [{
|
|
19714
19652
|
value: stackName,
|
|
@@ -20335,8 +20273,7 @@ function createRollbackCommand() {
|
|
|
20335
20273
|
return cmd;
|
|
20336
20274
|
}
|
|
20337
20275
|
|
|
20338
|
-
|
|
20339
|
-
//#region src/cli/commands/events.ts
|
|
20276
|
+
// src/cli/commands/events.ts
|
|
20340
20277
|
const safeId = (value) => displaySafe(value, { asciiOnly: true });
|
|
20341
20278
|
const RUN_LIST_TOKEN = /^[!-~]{1,64}$/;
|
|
20342
20279
|
const runListToken = (value, fallback) => {
|
|
@@ -20579,8 +20516,7 @@ function createEventsPruneCommand() {
|
|
|
20579
20516
|
})).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())));
|
|
20580
20517
|
}
|
|
20581
20518
|
|
|
20582
|
-
|
|
20583
|
-
//#region src/utils/ecr-uri.ts
|
|
20519
|
+
// src/utils/ecr-uri.ts
|
|
20584
20520
|
const COMMERCIAL_AND_GOVCLOUD = ["aws", "aws-us-gov"];
|
|
20585
20521
|
const ECR_REGISTRY_HOST_FORMS = [
|
|
20586
20522
|
{ labels: "dkr.ecr" },
|
|
@@ -20665,8 +20601,7 @@ function looksLikeEcrHostWithForeignSuffix(imageUri) {
|
|
|
20665
20601
|
return m !== void 0 && m.suffix !== m.expectedSuffix;
|
|
20666
20602
|
}
|
|
20667
20603
|
|
|
20668
|
-
|
|
20669
|
-
//#region src/cli/commands/gc.ts
|
|
20604
|
+
// src/cli/commands/gc.ts
|
|
20670
20605
|
const DEFAULT_OLDER_THAN_MS = 2592e6;
|
|
20671
20606
|
const S3_DELETE_BATCH_SIZE = 1e3;
|
|
20672
20607
|
const ECR_DELETE_BATCH_SIZE = 100;
|
|
@@ -21124,8 +21059,7 @@ function keyPrefixHoleSentence(prefix) {
|
|
|
21124
21059
|
return `The state prefix of the key above ${reason === "option-shaped" ? `begins with a '-'` : reason === "altered" ? "does not render exactly" : reason === "too-long" ? "is too long to print" : prefix !== void 0 && prefix.includes("/") ? `has a '/'-separated part that is not a plain identifier` : "is not a plain identifier"}, so the command below prints '<prefix>' in its place: replace it whole, quotes included, with that prefix shell-quoted -- the part of the key before '/<stack>/<region>/state.json' ('/<stack>/state.json' for a legacy key), since 'cdkd gc' takes no --state-prefix.`;
|
|
21125
21060
|
}
|
|
21126
21061
|
|
|
21127
|
-
|
|
21128
|
-
//#region src/state/logical-id-rename.ts
|
|
21062
|
+
// src/state/logical-id-rename.ts
|
|
21129
21063
|
function applyLogicalIdRenames(state, renames, template) {
|
|
21130
21064
|
const byFrom = /* @__PURE__ */ new Map();
|
|
21131
21065
|
const targets = /* @__PURE__ */ new Set();
|
|
@@ -21329,8 +21263,7 @@ function withoutDependencies(record, drop) {
|
|
|
21329
21263
|
};
|
|
21330
21264
|
}
|
|
21331
21265
|
|
|
21332
|
-
|
|
21333
|
-
//#region src/utils/deferred-interrupts.ts
|
|
21266
|
+
// src/utils/deferred-interrupts.ts
|
|
21334
21267
|
async function withDeferredInterrupts(fn, onDeferred) {
|
|
21335
21268
|
let held;
|
|
21336
21269
|
const hold = (signal) => {
|
|
@@ -21352,8 +21285,7 @@ async function withDeferredInterrupts(fn, onDeferred) {
|
|
|
21352
21285
|
return result;
|
|
21353
21286
|
}
|
|
21354
21287
|
|
|
21355
|
-
|
|
21356
|
-
//#region src/cli/commands/refactor-move.ts
|
|
21288
|
+
// src/cli/commands/refactor-move.ts
|
|
21357
21289
|
const rowKey = (stack, region, logicalId) => JSON.stringify([
|
|
21358
21290
|
stack,
|
|
21359
21291
|
region,
|
|
@@ -21864,8 +21796,7 @@ async function finishInterruptedMoves(input) {
|
|
|
21864
21796
|
};
|
|
21865
21797
|
}
|
|
21866
21798
|
|
|
21867
|
-
|
|
21868
|
-
//#region src/cli/commands/refactor.ts
|
|
21799
|
+
// src/cli/commands/refactor.ts
|
|
21869
21800
|
function changedPaths(change) {
|
|
21870
21801
|
if (change === void 0) return ["(not in the diff)"];
|
|
21871
21802
|
const paths = (change.propertyChanges ?? []).map((p) => p.path);
|
|
@@ -22472,8 +22403,7 @@ function createRefactorCommand() {
|
|
|
22472
22403
|
return cmd;
|
|
22473
22404
|
}
|
|
22474
22405
|
|
|
22475
|
-
|
|
22476
|
-
//#region src/cli/commands/publish-assets.ts
|
|
22406
|
+
// src/cli/commands/publish-assets.ts
|
|
22477
22407
|
async function publishAssetsCommand(stacks, options) {
|
|
22478
22408
|
const logger = getLogger();
|
|
22479
22409
|
if (options.verbose) logger.setLevel("debug");
|
|
@@ -22673,8 +22603,7 @@ function createPublishAssetsCommand() {
|
|
|
22673
22603
|
return cmd;
|
|
22674
22604
|
}
|
|
22675
22605
|
|
|
22676
|
-
|
|
22677
|
-
//#region src/cli/commands/force-unlock.ts
|
|
22606
|
+
// src/cli/commands/force-unlock.ts
|
|
22678
22607
|
async function forceUnlockCommand(stackArgs, options) {
|
|
22679
22608
|
const logger = getLogger();
|
|
22680
22609
|
if (options.verbose) logger.setLevel("debug");
|
|
@@ -22761,8 +22690,7 @@ function createForceUnlockCommand() {
|
|
|
22761
22690
|
return cmd;
|
|
22762
22691
|
}
|
|
22763
22692
|
|
|
22764
|
-
|
|
22765
|
-
//#region src/cli/commands/import-deployed-parameters.ts
|
|
22693
|
+
// src/cli/commands/import-deployed-parameters.ts
|
|
22766
22694
|
var DeployedParameters = class DeployedParameters {
|
|
22767
22695
|
#entries;
|
|
22768
22696
|
constructor(entries) {
|
|
@@ -22837,8 +22765,7 @@ function divergentParameterNames(template, bound, deployed) {
|
|
|
22837
22765
|
return divergent;
|
|
22838
22766
|
}
|
|
22839
22767
|
|
|
22840
|
-
|
|
22841
|
-
//#region src/cli/commands/import.ts
|
|
22768
|
+
// src/cli/commands/import.ts
|
|
22842
22769
|
var ObservedBaselineRefusals = class extends Set {
|
|
22843
22770
|
unverifiableParameter = /* @__PURE__ */ new Set();
|
|
22844
22771
|
hadDeployedParameterSource = false;
|
|
@@ -24169,8 +24096,7 @@ function importedNameGenerationFields(prior, row, retired) {
|
|
|
24169
24096
|
}
|
|
24170
24097
|
}
|
|
24171
24098
|
|
|
24172
|
-
|
|
24173
|
-
//#region src/utils/local-aws-failure.ts
|
|
24099
|
+
// src/utils/local-aws-failure.ts
|
|
24174
24100
|
function describeLocalAwsFailureForWarn(err, operation) {
|
|
24175
24101
|
if (err instanceof CdkdError) return withoutTrailingPeriod(displaySafe(err.message));
|
|
24176
24102
|
const rendered = describeAwsFailureForWarn(err, operation);
|
|
@@ -24189,8 +24115,7 @@ function hasSdkMetadata(error) {
|
|
|
24189
24115
|
return error.$metadata !== void 0;
|
|
24190
24116
|
}
|
|
24191
24117
|
|
|
24192
|
-
|
|
24193
|
-
//#region src/local/local-role-arn.ts
|
|
24118
|
+
// src/local/local-role-arn.ts
|
|
24194
24119
|
async function applyRoleArnForLocal(opts) {
|
|
24195
24120
|
await applyRoleArnIfSet(opts);
|
|
24196
24121
|
const role = getAssumedRoleCredentials();
|
|
@@ -24202,8 +24127,7 @@ async function applyRoleArnForLocal(opts) {
|
|
|
24202
24127
|
});
|
|
24203
24128
|
}
|
|
24204
24129
|
|
|
24205
|
-
|
|
24206
|
-
//#region src/cli/commands/local-state-loader.ts
|
|
24130
|
+
// src/cli/commands/local-state-loader.ts
|
|
24207
24131
|
async function loadStateForStack(stackName, synthRegion, opts) {
|
|
24208
24132
|
const logger = getLogger();
|
|
24209
24133
|
const prefix = opts.logPrefix ?? "--from-state";
|
|
@@ -24463,8 +24387,7 @@ function describeStateBucketAccessFailure(err) {
|
|
|
24463
24387
|
return describeLocalAwsFailureForWarn(cause, operation);
|
|
24464
24388
|
}
|
|
24465
24389
|
|
|
24466
|
-
|
|
24467
|
-
//#region src/local/s3-local-state-provider.ts
|
|
24390
|
+
// src/local/s3-local-state-provider.ts
|
|
24468
24391
|
var S3LocalStateProvider = class {
|
|
24469
24392
|
label = "--from-state";
|
|
24470
24393
|
opts;
|
|
@@ -24526,8 +24449,7 @@ var S3LocalStateProvider = class {
|
|
|
24526
24449
|
}
|
|
24527
24450
|
};
|
|
24528
24451
|
|
|
24529
|
-
|
|
24530
|
-
//#region src/cli/commands/local-state-source.ts
|
|
24452
|
+
// src/cli/commands/local-state-source.ts
|
|
24531
24453
|
const fromStateFactory = (options) => {
|
|
24532
24454
|
const opts = options;
|
|
24533
24455
|
const clientRegion = canonicalizeRegion(opts.region) || void 0;
|
|
@@ -24547,14 +24469,12 @@ function createLocalStateProvider$1(options, cdkdStackName, synthRegion) {
|
|
|
24547
24469
|
return createLocalStateProvider(options, cdkdStackName, synthRegion, cdkdExtraStateProviders);
|
|
24548
24470
|
}
|
|
24549
24471
|
|
|
24550
|
-
|
|
24551
|
-
//#region src/local/intrinsic-image.ts
|
|
24472
|
+
// src/local/intrinsic-image.ts
|
|
24552
24473
|
function derivePseudoParametersFromRegion$1(region, accountId) {
|
|
24553
24474
|
return derivePseudoParametersFromRegion(canonicalizeRegion(region), accountId);
|
|
24554
24475
|
}
|
|
24555
24476
|
|
|
24556
|
-
|
|
24557
|
-
//#region src/local/lambda-resolver.ts
|
|
24477
|
+
// src/local/lambda-resolver.ts
|
|
24558
24478
|
var LocalInvokeResolutionError = class LocalInvokeResolutionError extends Error {
|
|
24559
24479
|
constructor(message) {
|
|
24560
24480
|
super(message);
|
|
@@ -24872,8 +24792,7 @@ function notFoundError$1(target, stack, resources) {
|
|
|
24872
24792
|
return new LocalInvokeResolutionError(msg.trimEnd());
|
|
24873
24793
|
}
|
|
24874
24794
|
|
|
24875
|
-
|
|
24876
|
-
//#region src/local/layer-tree-copy.ts
|
|
24795
|
+
// src/local/layer-tree-copy.ts
|
|
24877
24796
|
function copyLayerTreeLastWins(src, dest) {
|
|
24878
24797
|
mkdirSync(dest, { recursive: true });
|
|
24879
24798
|
copyDirLastWins(realpathSync.native(src), dest);
|
|
@@ -24910,8 +24829,7 @@ function removeUnless(to, kind) {
|
|
|
24910
24829
|
});
|
|
24911
24830
|
}
|
|
24912
24831
|
|
|
24913
|
-
|
|
24914
|
-
//#region src/local/ecs-task-resolver.ts
|
|
24832
|
+
// src/local/ecs-task-resolver.ts
|
|
24915
24833
|
function detectEcsImageResolutionNeeds(stack) {
|
|
24916
24834
|
const resources = stack.template.Resources ?? {};
|
|
24917
24835
|
let needsPseudoParameters = false;
|
|
@@ -25671,8 +25589,7 @@ async function applyCrossStackResolverToTask(task, context) {
|
|
|
25671
25589
|
}
|
|
25672
25590
|
}
|
|
25673
25591
|
|
|
25674
|
-
|
|
25675
|
-
//#region src/local/docker-runner.ts
|
|
25592
|
+
// src/local/docker-runner.ts
|
|
25676
25593
|
const execFileAsync$3 = promisify(execFile);
|
|
25677
25594
|
var DockerRunnerError = class DockerRunnerError extends Error {
|
|
25678
25595
|
constructor(message) {
|
|
@@ -25892,8 +25809,7 @@ const SENSITIVE_ENV_KEYS = /* @__PURE__ */ new Set([
|
|
|
25892
25809
|
"AWS_SESSION_TOKEN"
|
|
25893
25810
|
]);
|
|
25894
25811
|
|
|
25895
|
-
|
|
25896
|
-
//#region src/local/docker-image-builder.ts
|
|
25812
|
+
// src/local/docker-image-builder.ts
|
|
25897
25813
|
async function buildContainerImage$1(asset, cdkOutDir, options) {
|
|
25898
25814
|
try {
|
|
25899
25815
|
return await buildContainerImage(asset, cdkOutDir, options);
|
|
@@ -25903,8 +25819,7 @@ async function buildContainerImage$1(asset, cdkOutDir, options) {
|
|
|
25903
25819
|
}
|
|
25904
25820
|
}
|
|
25905
25821
|
|
|
25906
|
-
|
|
25907
|
-
//#region src/local/ecr-puller.ts
|
|
25822
|
+
// src/local/ecr-puller.ts
|
|
25908
25823
|
function canonicalizeImageUriHost(imageUri) {
|
|
25909
25824
|
const slash = imageUri.indexOf("/");
|
|
25910
25825
|
if (slash < 0) return imageUri;
|
|
@@ -26084,8 +25999,7 @@ async function verifyImageInLocalCache(imageUri) {
|
|
|
26084
25999
|
}
|
|
26085
26000
|
}
|
|
26086
26001
|
|
|
26087
|
-
|
|
26088
|
-
//#region src/local/rie-client.ts
|
|
26002
|
+
// src/local/rie-client.ts
|
|
26089
26003
|
const INVOKE_PATH = "/2015-03-31/functions/function/invocations";
|
|
26090
26004
|
async function waitForRieReady(host, port, timeoutMs = 5e3) {
|
|
26091
26005
|
const deadline = Date.now() + timeoutMs;
|
|
@@ -26175,8 +26089,7 @@ async function fetchWithStartupRetry(url, body, signal) {
|
|
|
26175
26089
|
throw lastError;
|
|
26176
26090
|
}
|
|
26177
26091
|
|
|
26178
|
-
|
|
26179
|
-
//#region src/utils/single-flight.ts
|
|
26092
|
+
// src/utils/single-flight.ts
|
|
26180
26093
|
function singleFlight(fn, onError) {
|
|
26181
26094
|
let promise;
|
|
26182
26095
|
return async () => {
|
|
@@ -26191,8 +26104,7 @@ function singleFlight(fn, onError) {
|
|
|
26191
26104
|
};
|
|
26192
26105
|
}
|
|
26193
26106
|
|
|
26194
|
-
|
|
26195
|
-
//#region src/cli/commands/local-profile-credentials-file.ts
|
|
26107
|
+
// src/cli/commands/local-profile-credentials-file.ts
|
|
26196
26108
|
const CONTAINER_AWS_CREDENTIALS_PATH = "/cdkd-aws/credentials";
|
|
26197
26109
|
async function writeProfileCredentialsFile(profileName, creds, opts) {
|
|
26198
26110
|
if (profileName === "") throw new Error("writeProfileCredentialsFile: profile name must not be empty.");
|
|
@@ -26238,8 +26150,7 @@ function strandedProfileCredentialsNotice(hostPath) {
|
|
|
26238
26150
|
return `The AWS credentials file mounted into the containers is NOT removed: delete ${displayIdent(hostPath)} once you tear them down.`;
|
|
26239
26151
|
}
|
|
26240
26152
|
|
|
26241
|
-
|
|
26242
|
-
//#region src/local/dynamic-reference.ts
|
|
26153
|
+
// src/local/dynamic-reference.ts
|
|
26243
26154
|
function createCallerDynamicReferenceResolver(profile) {
|
|
26244
26155
|
return new DynamicReferenceResolver({
|
|
26245
26156
|
secretsManagerClientFactory: (region) => new SecretsManagerClient({
|
|
@@ -26261,14 +26172,12 @@ function createCallerDynamicReferenceResolver(profile) {
|
|
|
26261
26172
|
});
|
|
26262
26173
|
}
|
|
26263
26174
|
|
|
26264
|
-
|
|
26265
|
-
//#region src/local/websocket-body.ts
|
|
26175
|
+
// src/local/websocket-body.ts
|
|
26266
26176
|
function bufferToBody$1(raw, isBinary) {
|
|
26267
26177
|
return bufferToBody(raw, isBinary);
|
|
26268
26178
|
}
|
|
26269
26179
|
|
|
26270
|
-
|
|
26271
|
-
//#region src/local/websocket-server.ts
|
|
26180
|
+
// src/local/websocket-server.ts
|
|
26272
26181
|
const DEFAULT_INVOKE_TIMEOUT_MS = 6e4;
|
|
26273
26182
|
function attachWebSocketServer(opts) {
|
|
26274
26183
|
const logger = getLogger().child("start-api/ws");
|
|
@@ -26586,8 +26495,7 @@ function safeDecode(s) {
|
|
|
26586
26495
|
}
|
|
26587
26496
|
}
|
|
26588
26497
|
|
|
26589
|
-
|
|
26590
|
-
//#region src/local/rest-v1-integrations.ts
|
|
26498
|
+
// src/local/rest-v1-integrations.ts
|
|
26591
26499
|
function classifyInternalHost(host) {
|
|
26592
26500
|
const h = host.replace(/^\[|\]$/g, "");
|
|
26593
26501
|
if (h === "169.254.169.254" || h === "[fd00:ec2::254]" || h === "fd00:ec2::254") return "AWS IMDS (169.254.169.254) — credentials exfiltration risk";
|
|
@@ -26612,8 +26520,7 @@ function warnSsrfRiskyUri(uri, routeLabel, warn) {
|
|
|
26612
26520
|
if (classification !== void 0) warn(`Integration URI for ${routeLabel} points at ${host} — ${classification}. cdkd does NOT block this; ensure the upstream is intentional.`);
|
|
26613
26521
|
}
|
|
26614
26522
|
|
|
26615
|
-
|
|
26616
|
-
//#region src/local/container-pool.ts
|
|
26523
|
+
// src/local/container-pool.ts
|
|
26617
26524
|
const DEFAULT_IDLE_MS = 6e4;
|
|
26618
26525
|
const IN_FLIGHT_START_TIMEOUT_MS = 2e4;
|
|
26619
26526
|
const MAX_PER_LAMBDA_CONCURRENCY = 4;
|
|
@@ -26949,8 +26856,7 @@ function clampConcurrency(input) {
|
|
|
26949
26856
|
return Math.min(MAX_PER_LAMBDA_CONCURRENCY, Math.max(MIN_PER_LAMBDA_CONCURRENCY, Math.trunc(input)));
|
|
26950
26857
|
}
|
|
26951
26858
|
|
|
26952
|
-
|
|
26953
|
-
//#region src/cli/commands/local-start-api.ts
|
|
26859
|
+
// src/cli/commands/local-start-api.ts
|
|
26954
26860
|
function formatServerListeningBanner(scheme, host, port, pathSuffix, label) {
|
|
26955
26861
|
return `Server listening on ${scheme}://${formatAuthority(host, port)}${pathSuffix} (${label})\n`;
|
|
26956
26862
|
}
|
|
@@ -28266,8 +28172,7 @@ function createLocalStartApiCommand() {
|
|
|
28266
28172
|
return startApi;
|
|
28267
28173
|
}
|
|
28268
28174
|
|
|
28269
|
-
|
|
28270
|
-
//#region src/local/ecs-network.ts
|
|
28175
|
+
// src/local/ecs-network.ts
|
|
28271
28176
|
const execFileAsync$2 = promisify(execFile);
|
|
28272
28177
|
const METADATA_ENDPOINT_IMAGE = "amazon/amazon-ecs-local-container-endpoints:latest-amd64";
|
|
28273
28178
|
const METADATA_ENDPOINT_IP = "169.254.170.2";
|
|
@@ -28389,8 +28294,7 @@ async function destroyNetworkOnly(networkName) {
|
|
|
28389
28294
|
}
|
|
28390
28295
|
}
|
|
28391
28296
|
|
|
28392
|
-
|
|
28393
|
-
//#region src/local/ecs-secrets-resolver.ts
|
|
28297
|
+
// src/local/ecs-secrets-resolver.ts
|
|
28394
28298
|
var EcsSecretsResolutionError = class EcsSecretsResolutionError extends Error {
|
|
28395
28299
|
constructor(message) {
|
|
28396
28300
|
super(message);
|
|
@@ -28487,8 +28391,7 @@ async function resolveSsm(entry, shape, client) {
|
|
|
28487
28391
|
}
|
|
28488
28392
|
}
|
|
28489
28393
|
|
|
28490
|
-
|
|
28491
|
-
//#region src/local/ecs-task-runner.ts
|
|
28394
|
+
// src/local/ecs-task-runner.ts
|
|
28492
28395
|
const execFileAsync$1 = promisify(execFile);
|
|
28493
28396
|
var EcsTaskRunnerError = class EcsTaskRunnerError extends Error {
|
|
28494
28397
|
constructor(message) {
|
|
@@ -29180,8 +29083,7 @@ function shellJoin(parts) {
|
|
|
29180
29083
|
}).join(" ");
|
|
29181
29084
|
}
|
|
29182
29085
|
|
|
29183
|
-
|
|
29184
|
-
//#region src/cli/commands/local-run-task.ts
|
|
29086
|
+
// src/cli/commands/local-run-task.ts
|
|
29185
29087
|
async function localRunTaskCommand(target, options) {
|
|
29186
29088
|
const logger = getLogger();
|
|
29187
29089
|
if (options.verbose) logger.setLevel("debug");
|
|
@@ -29565,8 +29467,7 @@ function createLocalRunTaskCommand() {
|
|
|
29565
29467
|
return cmd;
|
|
29566
29468
|
}
|
|
29567
29469
|
|
|
29568
|
-
|
|
29569
|
-
//#region src/cli/commands/local-host-synthesizer.ts
|
|
29470
|
+
// src/cli/commands/local-host-synthesizer.ts
|
|
29570
29471
|
function cdkdHostSynthesizer(readOptions) {
|
|
29571
29472
|
return { synthesize: async (opts) => {
|
|
29572
29473
|
const { stateBucket, verbose, roleArn } = readOptions();
|
|
@@ -29591,8 +29492,7 @@ function publishAssumedRoleFromEnv() {
|
|
|
29591
29492
|
});
|
|
29592
29493
|
}
|
|
29593
29494
|
|
|
29594
|
-
|
|
29595
|
-
//#region src/cli/commands/local-start-service.ts
|
|
29495
|
+
// src/cli/commands/local-start-service.ts
|
|
29596
29496
|
function serviceStrategy() {
|
|
29597
29497
|
return {
|
|
29598
29498
|
pickEntries: (stacks) => listTargets(stacks).ecsServices,
|
|
@@ -29615,8 +29515,7 @@ function createLocalStartServiceCommand() {
|
|
|
29615
29515
|
return adoptDeprecatedRegionFlag(addCommonEcsServiceOptions(cmd));
|
|
29616
29516
|
}
|
|
29617
29517
|
|
|
29618
|
-
|
|
29619
|
-
//#region src/local/invoke-agentcore-watch-loop.ts
|
|
29518
|
+
// src/local/invoke-agentcore-watch-loop.ts
|
|
29620
29519
|
const WATCH_INTERRUPTED_CODE = "LOCAL_INVOKE_AGENTCORE_WATCH_INTERRUPTED";
|
|
29621
29520
|
const execFileAsync = promisify(execFile);
|
|
29622
29521
|
async function runAgentCoreWatchLoop(args) {
|
|
@@ -29836,8 +29735,7 @@ async function deriveOldAssetHash(args) {
|
|
|
29836
29735
|
return getDockerImageBySourceHash(manifest, resolved.containerUri)?.hash;
|
|
29837
29736
|
}
|
|
29838
29737
|
|
|
29839
|
-
|
|
29840
|
-
//#region src/cli/commands/local-invoke-agentcore.ts
|
|
29738
|
+
// src/cli/commands/local-invoke-agentcore.ts
|
|
29841
29739
|
function parseTimeoutMs(raw) {
|
|
29842
29740
|
const parsed = Number(raw);
|
|
29843
29741
|
if (!Number.isInteger(parsed) || parsed <= 0) throw new CdkdError(`--timeout must be a positive integer number of milliseconds (got '${raw}').`, "LOCAL_INVOKE_AGENTCORE_TIMEOUT_INVALID");
|
|
@@ -30806,8 +30704,7 @@ function createLocalInvokeAgentCoreCommand() {
|
|
|
30806
30704
|
return cmd;
|
|
30807
30705
|
}
|
|
30808
30706
|
|
|
30809
|
-
|
|
30810
|
-
//#region src/cli/commands/local-start-agentcore.ts
|
|
30707
|
+
// src/cli/commands/local-start-agentcore.ts
|
|
30811
30708
|
function createLocalStartAgentCoreCommand$1() {
|
|
30812
30709
|
const cmd = createLocalStartAgentCoreCommand({
|
|
30813
30710
|
embedConfig: getEmbedConfig(),
|
|
@@ -30821,8 +30718,7 @@ function createLocalStartAgentCoreCommand$1() {
|
|
|
30821
30718
|
return adoptDeprecatedRegionFlag(cmd);
|
|
30822
30719
|
}
|
|
30823
30720
|
|
|
30824
|
-
|
|
30825
|
-
//#region src/cli/commands/local-start-alb.ts
|
|
30721
|
+
// src/cli/commands/local-start-alb.ts
|
|
30826
30722
|
function createLocalStartAlbCommand() {
|
|
30827
30723
|
const cmd = new Command("start-alb").description("Run an Application Load Balancer locally: name the ALB, and cdk-local boots the ECS service(s) behind its listeners and stands up a local front-door on each listener port that round-robins across the running replicas and routes its listener rules across the backing services — a stable host endpoint, like behind a real load balancer. The symmetric ALB counterpart of `start-api`. Each <target> accepts a CDK display path (MyStack/MyAlb) or stack-qualified logical ID; single-stack apps may omit the stack prefix. Supports HTTP and HTTPS listeners — by default a cloud-HTTPS listener is served over plain HTTP locally (with X-Forwarded-Proto: https preserved). Pass --tls (or --tls-cert / --tls-key) to terminate TLS locally with a self-signed or user-supplied cert. All six ALB rule-condition fields are honored (path-pattern / host-header / http-header / http-request-method / query-string / source-ip); forward (single and weighted), redirect, and fixed-response actions; and ECS or Lambda targets (a Lambda target group is invoked locally via the Lambda RIE). authenticate-cognito / authenticate-oidc actions enforce a local Bearer-JWT check (or AWSELBAuthSessionCookie pass-through) against the same JWKS / OIDC discovery URL the deployed ALB would; use --bearer-token '<jwt>' to inject a default token or --no-verify-auth to disable the guard. Omit <targets> in an interactive terminal to multi-select the load balancers from a list.").argument("[targets...]", "One or more CDK display paths or stack-qualified logical IDs of the AWS::ElasticLoadBalancingV2::LoadBalancer resources to run (omit to multi-select interactively in a TTY)").addOption(new Option("--from-state", "Read cdkd's S3 state for the target stack and substitute Ref / Fn::GetAtt / Fn::Sub / Fn::ImportValue / Fn::GetStackOutput intrinsics in container images, environment variables, secrets, role ARNs, and volumes of the ECS services behind the ALB, and in the environment variables of its Lambda target groups' functions. Mutually exclusive with --from-cfn-stack.").default(false)).addOption(new Option("--state-bucket <bucket>", "S3 bucket for --from-state. Falls back to CDKD_STATE_BUCKET env or cdk.json context.cdkd.stateBucket. Also receives the transient upload of a CloudFormation-macro template too large to expand inline.")).addOption(new Option("--state-prefix <prefix>", "S3 key prefix for --from-state state files.").default("cdkd")).action(withErrorHandling(async (targets, options) => {
|
|
30828
30724
|
await runEcsServiceEmulator(targets, options, albStrategy(options), cdkdExtraStateProviders, cdkdHostSynthesizer(() => options));
|
|
@@ -30831,8 +30727,7 @@ function createLocalStartAlbCommand() {
|
|
|
30831
30727
|
return adoptDeprecatedRegionFlag(addCommonEcsServiceOptions(cmd));
|
|
30832
30728
|
}
|
|
30833
30729
|
|
|
30834
|
-
|
|
30835
|
-
//#region src/cli/commands/local-start-cloudfront.ts
|
|
30730
|
+
// src/cli/commands/local-start-cloudfront.ts
|
|
30836
30731
|
function createLocalStartCloudFrontCommand$1() {
|
|
30837
30732
|
const cmd = createLocalStartCloudFrontCommand({
|
|
30838
30733
|
embedConfig: getEmbedConfig(),
|
|
@@ -30846,8 +30741,7 @@ function createLocalStartCloudFrontCommand$1() {
|
|
|
30846
30741
|
return adoptDeprecatedRegionFlag(cmd);
|
|
30847
30742
|
}
|
|
30848
30743
|
|
|
30849
|
-
|
|
30850
|
-
//#region src/cli/commands/local-start-web-function.ts
|
|
30744
|
+
// src/cli/commands/local-start-web-function.ts
|
|
30851
30745
|
function createLocalStartWebFunctionCommand$1() {
|
|
30852
30746
|
const cmd = createLocalStartWebFunctionCommand({
|
|
30853
30747
|
embedConfig: getEmbedConfig(),
|
|
@@ -30861,8 +30755,7 @@ function createLocalStartWebFunctionCommand$1() {
|
|
|
30861
30755
|
return adoptDeprecatedRegionFlag(cmd);
|
|
30862
30756
|
}
|
|
30863
30757
|
|
|
30864
|
-
|
|
30865
|
-
//#region src/cli/commands/local-start-microvm.ts
|
|
30758
|
+
// src/cli/commands/local-start-microvm.ts
|
|
30866
30759
|
function createLocalStartMicrovmCommand$1() {
|
|
30867
30760
|
const cmd = createLocalStartMicrovmCommand({
|
|
30868
30761
|
embedConfig: getEmbedConfig(),
|
|
@@ -30875,8 +30768,7 @@ function createLocalStartMicrovmCommand$1() {
|
|
|
30875
30768
|
return adoptDeprecatedRegionFlag(cmd);
|
|
30876
30769
|
}
|
|
30877
30770
|
|
|
30878
|
-
|
|
30879
|
-
//#region src/cli/commands/local-invoke.ts
|
|
30771
|
+
// src/cli/commands/local-invoke.ts
|
|
30880
30772
|
let hostLoggerForwarding = false;
|
|
30881
30773
|
function forwardToCdkdLogger(level, message, args) {
|
|
30882
30774
|
if (!hostLoggerForwarding) {
|
|
@@ -31570,8 +31462,7 @@ function createLocalCommand() {
|
|
|
31570
31462
|
return local;
|
|
31571
31463
|
}
|
|
31572
31464
|
|
|
31573
|
-
|
|
31574
|
-
//#region src/cli/program.ts
|
|
31465
|
+
// src/cli/program.ts
|
|
31575
31466
|
function buildProgram() {
|
|
31576
31467
|
const program = new Command();
|
|
31577
31468
|
program.name("cdkd").description("Drop-in CDK CLI for existing CDK apps - up to 15x faster deploys via direct AWS SDK calls instead of CloudFormation").version(getCdkdVersion());
|
|
@@ -31624,6 +31515,5 @@ function collectVerbFlags(program) {
|
|
|
31624
31515
|
return map;
|
|
31625
31516
|
}
|
|
31626
31517
|
|
|
31627
|
-
//#endregion
|
|
31628
31518
|
export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, canonicalizeIpProtocolValue as o, holdsUnprovenSecretPrincipalToken as r, resolvedResourceTimeoutMs as s, canonicalizeIpv4Cidr as t };
|
|
31629
|
-
//# sourceMappingURL=program-
|
|
31519
|
+
//# sourceMappingURL=program-DSq5150i.js.map
|