@go-to-k/cdkd 0.291.0 → 0.291.2
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-CZ5keDoC.js → asg-provider-DPGr3o8N.js} +2 -2
- package/dist/{asg-provider-CZ5keDoC.js.map → asg-provider-DPGr3o8N.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-9CxYEFh_.js → deploy-engine-C1w5fjW1.js} +41 -15
- package/dist/deploy-engine-C1w5fjW1.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{program-Cs7N6T4j.js → program-DnmYd7BO.js} +144 -52
- package/dist/{program-Cs7N6T4j.js.map → program-DnmYd7BO.js.map} +1 -1
- package/dist/{version-kDWCn_Jq.js → version-5OUR3VB2.js} +2 -2
- package/dist/{version-kDWCn_Jq.js.map → version-5OUR3VB2.js.map} +1 -1
- package/package.json +3 -3
- package/dist/deploy-engine-9CxYEFh_.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ba as normalizeAwsError, Cr as LockManager, Da as LockError, Ia as StateError, La as SynthesisError, Ra as formatError, Ti as Synthesizer, Wr as AssetPublisher, _a as AssetError, ar as TemplateParser, ct as IAMRoleProvider, da as clearBucketRegionCache, dt as ProviderRegistry, ea as AssemblyReader, fa as resolveBucketRegion, ga as setAwsClients, ha as resetAwsClients, ir as DagBuilder, ja as ProvisioningError, ma as getAwsClients, mn as DiffCalculator, pa as AwsClients, r as DeployEngine, va as CdkdError, wr as S3StateBackend, xa as DependencyError, xt as CloudControlProvider, ya as ConfigError, za as isCdkdError } from "./deploy-engine-
|
|
1
|
+
import { Ba as normalizeAwsError, Cr as LockManager, Da as LockError, Ia as StateError, La as SynthesisError, Ra as formatError, Ti as Synthesizer, Wr as AssetPublisher, _a as AssetError, ar as TemplateParser, ct as IAMRoleProvider, da as clearBucketRegionCache, dt as ProviderRegistry, ea as AssemblyReader, fa as resolveBucketRegion, ga as setAwsClients, ha as resetAwsClients, ir as DagBuilder, ja as ProvisioningError, ma as getAwsClients, mn as DiffCalculator, pa as AwsClients, r as DeployEngine, va as CdkdError, wr as S3StateBackend, xa as DependencyError, xt as CloudControlProvider, ya as ConfigError, za as isCdkdError } from "./deploy-engine-C1w5fjW1.js";
|
|
2
2
|
import { a as setLogger, n as getLogger, t as ConsoleLogger } from "./logger-GASr9bAF.js";
|
|
3
3
|
|
|
4
4
|
export { AssemblyReader, AssetError, AssetPublisher, AwsClients, CdkdError, CloudControlProvider, ConfigError, ConsoleLogger, DagBuilder, DependencyError, DeployEngine, DiffCalculator, IAMRoleProvider, LockError, LockManager, ProviderRegistry, ProvisioningError, S3StateBackend, StateError, SynthesisError, Synthesizer, TemplateParser, clearBucketRegionCache, formatError, getAwsClients, getLogger, isCdkdError, normalizeAwsError, resetAwsClients, resolveBucketRegion, setAwsClients, setLogger };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as yellow, $i as derivePartitionAndUrlSuffix, $n as safeStackName, $r as assertAssetBucketRegion, $t as requireConfigObject, A as createPreDeleteFinalSnapshot, Aa as PartialFailureError, Ai as resolveAutoAssetStorage, An as malformedOutputsRefusalMessage, Ar as formatLockExpiry, At as carriesDynamicReference, B as isStatefulRecreateTargetSync, Ba as normalizeAwsError, Bi as CFN_TEMPLATE_URL_LIMIT, Bn as refuseMalformedOrphansForDestroy, Br as isReadableBag, Bt as isSettledInstanceState, C as namesAnyDeclaredParameter, Ca as DynamicReferenceRegionAmbiguousError, Ci as AssetManifestLoader, Cn as isReadableResourceEntry, Cr as LockManager, Ct as slowCcOperationTimeoutMs, D as PRE_DELETE_SNAPSHOT_TYPES, Di as getDefaultStateBucketName, Dn as malformedOrphanRecordsWarning, Dr as buildForceUnlockCommand, Dt as disableInstanceApiTermination, E as ATOMIC_FINAL_SNAPSHOT_TYPES, Ea as LocalStartServiceError, Ei as synthesisStatusMessage, En as malformedLocalOutputsWarning, Er as UNREPRODUCIBLE_LOCK_CLAUSE, Et as deleteSkipReason, F as extractDeploymentEventError, Fa as StackTerminationProtectionError, Fi as resolveUseCdkBootstrapAssets, Fn as malformedResourcesWarning, Fr as hasReadableExportSet, Ft as isImpossibleEmptyStoredAttribute, G as toCfnInteger, Ga as isTransientServerError, Gi as injectiveKey, Gn as refuseMalformedResourcesForDestroy, Gr as stringifyValue, Gt as coerceCfnBoolean, H as WARM_THROUGHPUT_MEMBERS, Ha as isMarkedNonRetryable, Hi as findLargeInlineResources, Hn as refuseMalformedOutputsForDestroy, Hr as orphansCarriedFrom, Ht as normalizeAwsTagsToCfn, I as makeSiblingClaimReader, Ii as stateBucketExistenceConfirmed, In as malformedStateRefusalMessage, Ir as hasReasonlessBaselineRefusal, It as isNamelessDynamicReferenceError, J as bold, Ja as retryClassificationText, Ji as producerRecordKey, Jn as repairMalformedOutputsForReadOnly, Jr as createAssetRedirectResolver, Jt as configIntegerRefusal, K as toFiniteNumber, Ka as markNonRetryable, Ki as injectiveKeyPrefix, Kn as refuseMalformedState, Kr as WorkGraph, Kt as coerceCfnInteger, L as planOrphanAdoption, La as SynthesisError, Li as warnDeprecatedNoPrefixCliFlag, Ln as refuseDivergentRecordRegionForDestroy, Lr as hasUnverifiableParameterRefusal, Lt as isUnboundTemplateParameter, M as refusesFinalSnapshot, Ma as ResourceTimeoutError, Mi as resolveSkipPrefix, Mn as malformedRenderedContainersWarning, Mr as CUSTOM_RESOURCE_RESPONSE_PREFIX, Mt as cfnRefValueFromPhysicalId, N as unsupportedFinalSnapshotError, Na as ResourceUpdateNotSupportedError, Ni as resolveStateBucketWithDefault, Nn as malformedResourceEntriesWarning, Nr as DEFAULT_STATE_PREFIX, Nt as coerceParameterTypedValue, O as buildFinalSnapshotIdentifier, Oa as MalformedProducerRecordRefusalError, Oi as getLegacyStateBucketName, On as malformedOrphansRefusalMessage, Or as buildLockContentionMessage, Ot as isTerminationProtectionPropagationError, P as makeCanonicalizePropertiesFn, Pa as StackHasActiveImportsError, Pi as resolveStateBucketWithDefaultAndSource, Pn as malformedResourcePropertiesWarning, Pr as exportNamesCarriedFrom, Pt as getAccountInfo, Q as red, Qi as canonicalizeRegion, Qn as safeRegion, Qr as BOOTSTRAP_MARKER_PREFIX, Qt as requireConfigArray, R as MULTI_REGION_RECREATE_BLOCKED_TYPES, Ri as ssmResolvedValueType, Rn as refuseMalformedNestedChildOutputs, Rr as importableOutputKeys, Rt as parameterTypeMayLoseSecretIdentity, S as computeParameterTaint, Sa as DeployCancelledError, Si as stripControlChars, Sn as hasReadableResources, Sr as scrubResourceRecord, St as isWaitAbandonedError, T as resourcesNamingDeclaredParameter, Ta as LocalInvokeBuildError$1, Ti as Synthesizer, Tn as malformedExportSourceWarning, Tr as rebuildClientForBucketRegion, Tt as deleteIndeterminateGuards, U as coerceWarmThroughput$1, Ua as isRetryableTransientError, Ui as uploadCfnTemplate, Un as refuseMalformedResourceEntries, Ur as shouldRetainResource, Ut as resolveExplicitPhysicalId, V as renderStatefulReason, Va as withErrorHandling, Vi as MIGRATE_TMP_PREFIX, Vn as refuseMalformedOutputs, Vr as orphansAfterRollback, Vt as WAFv2WebACLProvider, W as isWarmThroughputDecrease, Wa as isThrottlingError, Wi as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Wn as refuseMalformedResourcePropertiesForOrphan, Wr as AssetPublisher, Wt as assertRegionMatch, X as gray, Xa as safeStringify, Xi as expectedOwnerParam, Xn as repairMalformedResourcePropertiesForReadOnly, Xr as rewriteTemplateAssetReferences, Xt as readConfigString, Y as cyan, Ya as describeAwsFailure, Yi as decodeListingKey, Yn as repairMalformedResourceEntriesForReadOnly, Yr as loadPublishableAssetManifest, Yt as configStringRefusal, Z as green, Zi as PARTITION_TABLE, Zn as repairMalformedResourcesForReadOnly, Zr as AssetModeResolver, Zt as replayWarn, _ as bagHoldsSecretExpression, _i as partitionSensitiveEnv, _n as UNREADABLE_ORPHANS_CONTAINER_ROW, _r as maskSecretsInError, _t as endCommandInterruptScope, a as DeploymentEventsStore, aa as hasPlainPrototype, ai as validateAssetBucketName, an as s3BucketDomainName, ar as TemplateParser, at as secretBearingStateKeyWarning, b as mergeNoChangeOutputs, ba as CrossAccountSecretRefusalError, bi as runDockerStreaming, bn as hasReadableOrphans, br as recoverMaskedOutput, bt as startInterruptWatch, c as replayFailedOperations, ca as absoluteAssemblyPathEscape, ci as buildDockerImage, cn as s3BucketWebsiteUrl, cr as STATE_SOURCED_READBACK_RULES, ct as IAMRoleProvider, d as updatePartialMessage, di as describeDockerCapturedOutput, dn as applyCallerIdentityCredentials, dr as createSecretMasker, dt as ProviderRegistry, ea as AssemblyReader, ei as ensureAssetStorage, en as requireConfigString, er as findActionableSilentDrops, et as collectDeclaredOutputNames, f as updatePartialReason, fa as resolveBucketRegion, fi as describeDockerExecFailure, fn as callerEnvCredentials, fr as dynamicReferenceTokens, ft as wouldReturnToSdkProvider, g as computeImplicitDeleteEdges, ga as setAwsClients, gi as getDockerCmd, gn as STATE_RESOURCES_MALFORMED, gr as markSameGenerationBag, gt as beginCommandInterruptScope, h as IMPLICIT_DELETE_DEPENDENCIES, ha as resetAwsClients, hi as formatDockerLoginError, hn as INTRINSIC_KEYS, hr as isSingleDynamicReferenceToken, ht as maskerOrIdentity, i as DeploymentEventsReader, ia as hasOwnKey, ii as readBootstrapMarkerBody, in as s3BucketArn, ir as DagBuilder, it as secretBearing, j as isFinalSnapshotError, ja as ProvisioningError, ji as resolveCaptureObservedState, jn as malformedOutputsWarning, jr as shellQuote, jt as carriesFetchableDynamicReference, k as ccRoutedFinalSnapshotError, ka as NestedStackChildDirectDestroyError, ki as resolveApp, kn as malformedOrphansWarning, kr as forceQuitRecoveryClause, kt as IntrinsicFunctionResolver, l as replayRollback, la as renderAssemblyPathEscape, li as resolveDockerContextDirectory, ln as applyRoleArnIfSet, lr as TEMPLATE_SOURCED_RULES, lt as collectInlinePolicyNamesManagedBySiblings, m as maskingRetryLogger, ma as getAwsClients, mi as dockerSpawnEnvWithSensitive, mn as DiffCalculator, mr as identityKeyFor, mt as maskDeep, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as processStackMessages, ni as isCrossRegionRedirect, nn as producerRegionsFromState, nr as describeTypeWithThrottleRetry, nt as exportAliasCollisionScrubWarning, o as planFailedOps, oa as nullPrototypeRecord, oi as validateContainerRepoName, on as s3BucketDualStackDomainName, or as STATE_SOURCED_BASELINE_RULES, ot as secretSafeKeyDisplay, p as withResourceDeadline, pa as AwsClients, pi as describeDockerFailure, pn as envCredentialsAreAssumedRole, pr as errorCauseChain, pt as createMaskedRetryLogger, q as formatResourceLine, qa as markRedactedCause, qi as producerCoordinateKey, qn as repairMalformedOrphansForReadOnly, qr as buildAssetRedirectMap, qt as configBooleanRefusal, r as DeployEngine, ra as defineOwnKey, ri as parseBootstrapMarker, rn as withSharedDrainBudget, rr as withRetry, rt as isExportAliasCollision, s as planRollback, sa as ownValue, si as buildDenyExternalAccessPolicy, sn as s3BucketRegionalDomainName, sr as STATE_SOURCED_CROSS_GENERATION_RULES, st as getCurrentResourceSecrets, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as failedStageNote, ti as getBootstrapMarkerKey, tn as classifyReplaySecretRegion, tr as findSilentDropProperties, tt as collectPublishedOutputNames, u as resolveReplacementOldType, ua as resolveAssemblyPath, ui as warnManifestExecutable, un as AWS_CREDENTIAL_ENV_KEYS, ur as carriesSecretMask, ut as clearOnUpdateRemoval, v as isSecretBearingReferenceString, va as CdkdError, vi as redactDockerArgvValues, vn as UNREADABLE_RESOURCES_MAP_ROW, vr as maskSecretsInText, vt as interruptWatchListenerCount, w as reachableDivergentParameters, wa as IntrinsicResolutionRefusalError, wi as getDockerImageBySourceHash, wn as malformedExportNamesWarning, wr as S3StateBackend, wt as UNSPECIFIED_SKIP_REASON, x as bindingSkippedOutputs, xi as escapeRegExp, xn as hasReadableOutputs, xr as redactSecretsForState, xt as CloudControlProvider, y as keptWholeReasonText, yi as runDockerForeground, yn as displayLogicalId, yr as recordMaskOnlyValue, yt as isInterruptedWaitError, z as isStatefulRecreateTargetForReplace, zi as CFN_TEMPLATE_BODY_LIMIT, zn as refuseMalformedOrphans, zr as importableOutputs, zt as refStateLookupFromResource } from "./deploy-engine-
|
|
1
|
+
import { $ as yellow, $i as derivePartitionAndUrlSuffix, $n as safeStackName, $r as assertAssetBucketRegion, $t as requireConfigObject, A as createPreDeleteFinalSnapshot, Aa as PartialFailureError, Ai as resolveAutoAssetStorage, An as malformedOutputsRefusalMessage, Ar as formatLockExpiry, At as carriesDynamicReference, B as isStatefulRecreateTargetSync, Ba as normalizeAwsError, Bi as CFN_TEMPLATE_URL_LIMIT, Bn as refuseMalformedOrphansForDestroy, Br as isReadableBag, Bt as isSettledInstanceState, C as namesAnyDeclaredParameter, Ca as DynamicReferenceRegionAmbiguousError, Ci as AssetManifestLoader, Cn as isReadableResourceEntry, Cr as LockManager, Ct as slowCcOperationTimeoutMs, D as PRE_DELETE_SNAPSHOT_TYPES, Di as getDefaultStateBucketName, Dn as malformedOrphanRecordsWarning, Dr as buildForceUnlockCommand, Dt as disableInstanceApiTermination, E as ATOMIC_FINAL_SNAPSHOT_TYPES, Ea as LocalStartServiceError, Ei as synthesisStatusMessage, En as malformedLocalOutputsWarning, Er as UNREPRODUCIBLE_LOCK_CLAUSE, Et as deleteSkipReason, F as extractDeploymentEventError, Fa as StackTerminationProtectionError, Fi as resolveUseCdkBootstrapAssets, Fn as malformedResourcesWarning, Fr as hasReadableExportSet, Ft as isImpossibleEmptyStoredAttribute, G as toCfnInteger, Ga as isTransientServerError, Gi as injectiveKey, Gn as refuseMalformedResourcesForDestroy, Gr as stringifyValue, Gt as coerceCfnBoolean, H as WARM_THROUGHPUT_MEMBERS, Ha as isMarkedNonRetryable, Hi as findLargeInlineResources, Hn as refuseMalformedOutputsForDestroy, Hr as orphansCarriedFrom, Ht as normalizeAwsTagsToCfn, I as makeSiblingClaimReader, Ii as stateBucketExistenceConfirmed, In as malformedStateRefusalMessage, Ir as hasReasonlessBaselineRefusal, It as isNamelessDynamicReferenceError, J as bold, Ja as retryClassificationText, Ji as producerRecordKey, Jn as repairMalformedOutputsForReadOnly, Jr as createAssetRedirectResolver, Jt as configIntegerRefusal, K as toFiniteNumber, Ka as markNonRetryable, Ki as injectiveKeyPrefix, Kn as refuseMalformedState, Kr as WorkGraph, Kt as coerceCfnInteger, L as planOrphanAdoption, La as SynthesisError, Li as warnDeprecatedNoPrefixCliFlag, Ln as refuseDivergentRecordRegionForDestroy, Lr as hasUnverifiableParameterRefusal, Lt as isUnboundTemplateParameter, M as refusesFinalSnapshot, Ma as ResourceTimeoutError, Mi as resolveSkipPrefix, Mn as malformedRenderedContainersWarning, Mr as CUSTOM_RESOURCE_RESPONSE_PREFIX, Mt as cfnRefValueFromPhysicalId, N as unsupportedFinalSnapshotError, Na as ResourceUpdateNotSupportedError, Ni as resolveStateBucketWithDefault, Nn as malformedResourceEntriesWarning, Nr as DEFAULT_STATE_PREFIX, Nt as coerceParameterTypedValue, O as buildFinalSnapshotIdentifier, Oa as MalformedProducerRecordRefusalError, Oi as getLegacyStateBucketName, On as malformedOrphansRefusalMessage, Or as buildLockContentionMessage, Ot as isTerminationProtectionPropagationError, P as makeCanonicalizePropertiesFn, Pa as StackHasActiveImportsError, Pi as resolveStateBucketWithDefaultAndSource, Pn as malformedResourcePropertiesWarning, Pr as exportNamesCarriedFrom, Pt as getAccountInfo, Q as red, Qi as canonicalizeRegion, Qn as safeRegion, Qr as BOOTSTRAP_MARKER_PREFIX, Qt as requireConfigArray, R as MULTI_REGION_RECREATE_BLOCKED_TYPES, Ri as ssmResolvedValueType, Rn as refuseMalformedNestedChildOutputs, Rr as importableOutputKeys, Rt as parameterTypeMayLoseSecretIdentity, S as computeParameterTaint, Sa as DeployCancelledError, Si as stripControlChars, Sn as hasReadableResources, Sr as scrubResourceRecord, St as isWaitAbandonedError, T as resourcesNamingDeclaredParameter, Ta as LocalInvokeBuildError$1, Ti as Synthesizer, Tn as malformedExportSourceWarning, Tr as rebuildClientForBucketRegion, Tt as deleteIndeterminateGuards, U as coerceWarmThroughput$1, Ua as isRetryableTransientError, Ui as uploadCfnTemplate, Un as refuseMalformedResourceEntries, Ur as shouldRetainResource, Ut as resolveExplicitPhysicalId, V as renderStatefulReason, Va as withErrorHandling, Vi as MIGRATE_TMP_PREFIX, Vn as refuseMalformedOutputs, Vr as orphansAfterRollback, Vt as WAFv2WebACLProvider, W as isWarmThroughputDecrease, Wa as isThrottlingError, Wi as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, Wn as refuseMalformedResourcePropertiesForOrphan, Wr as AssetPublisher, Wt as assertRegionMatch, X as gray, Xa as safeStringify, Xi as expectedOwnerParam, Xn as repairMalformedResourcePropertiesForReadOnly, Xr as rewriteTemplateAssetReferences, Xt as readConfigString, Y as cyan, Ya as describeAwsFailure, Yi as decodeListingKey, Yn as repairMalformedResourceEntriesForReadOnly, Yr as loadPublishableAssetManifest, Yt as configStringRefusal, Z as green, Zi as PARTITION_TABLE, Zn as repairMalformedResourcesForReadOnly, Zr as AssetModeResolver, Zt as replayWarn, _ as bagHoldsSecretExpression, _i as partitionSensitiveEnv, _n as UNREADABLE_ORPHANS_CONTAINER_ROW, _r as maskSecretsInError, _t as endCommandInterruptScope, a as DeploymentEventsStore, aa as hasPlainPrototype, ai as validateAssetBucketName, an as s3BucketDomainName, ar as TemplateParser, at as secretBearingStateKeyWarning, b as mergeNoChangeOutputs, ba as CrossAccountSecretRefusalError, bi as runDockerStreaming, bn as hasReadableOrphans, br as recoverMaskedOutput, bt as startInterruptWatch, c as replayFailedOperations, ca as absoluteAssemblyPathEscape, ci as buildDockerImage, cn as s3BucketWebsiteUrl, cr as STATE_SOURCED_READBACK_RULES, ct as IAMRoleProvider, d as updatePartialMessage, di as describeDockerCapturedOutput, dn as applyCallerIdentityCredentials, dr as createSecretMasker, dt as ProviderRegistry, ea as AssemblyReader, ei as ensureAssetStorage, en as requireConfigString, er as findActionableSilentDrops, et as collectDeclaredOutputNames, f as updatePartialReason, fa as resolveBucketRegion, fi as describeDockerExecFailure, fn as callerEnvCredentials, fr as dynamicReferenceTokens, ft as wouldReturnToSdkProvider, g as computeImplicitDeleteEdges, ga as setAwsClients, gi as getDockerCmd, gn as STATE_RESOURCES_MALFORMED, gr as markSameGenerationBag, gt as beginCommandInterruptScope, h as IMPLICIT_DELETE_DEPENDENCIES, ha as resetAwsClients, hi as formatDockerLoginError, hn as INTRINSIC_KEYS, hr as isSingleDynamicReferenceToken, ht as maskerOrIdentity, i as DeploymentEventsReader, ia as hasOwnKey, ii as readBootstrapMarkerBody, in as s3BucketArn, ir as DagBuilder, it as secretBearing, j as isFinalSnapshotError, ja as ProvisioningError, ji as resolveCaptureObservedState, jn as malformedOutputsWarning, jr as shellQuote, jt as carriesFetchableDynamicReference, k as ccRoutedFinalSnapshotError, ka as NestedStackChildDirectDestroyError, ki as resolveApp, kn as malformedOrphansWarning, kr as forceQuitRecoveryClause, kt as IntrinsicFunctionResolver, l as replayRollback, la as renderAssemblyPathEscape, li as resolveDockerContextDirectory, ln as applyRoleArnIfSet, lr as TEMPLATE_SOURCED_RULES, lt as collectInlinePolicyNamesManagedBySiblings, m as maskingRetryLogger, ma as getAwsClients, mi as dockerSpawnEnvWithSensitive, mn as DiffCalculator, mr as identityKeyFor, mt as maskDeep, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as processStackMessages, ni as isCrossRegionRedirect, nn as producerRegionsFromState, nr as describeTypeWithThrottleRetry, nt as exportAliasCollisionScrubWarning, o as planFailedOps, oa as nullPrototypeRecord, oi as validateContainerRepoName, on as s3BucketDualStackDomainName, or as STATE_SOURCED_BASELINE_RULES, ot as secretSafeKeyDisplay, p as withResourceDeadline, pa as AwsClients, pi as describeDockerFailure, pn as envCredentialsAreAssumedRole, pr as errorCauseChain, pt as createMaskedRetryLogger, q as formatResourceLine, qa as markRedactedCause, qi as producerCoordinateKey, qn as repairMalformedOrphansForReadOnly, qr as buildAssetRedirectMap, qt as configBooleanRefusal, r as DeployEngine, ra as defineOwnKey, ri as parseBootstrapMarker, rn as withSharedDrainBudget, rr as withRetry, rt as isExportAliasCollision, s as planRollback, sa as ownValue, si as buildDenyExternalAccessPolicy, sn as s3BucketRegionalDomainName, sr as STATE_SOURCED_CROSS_GENERATION_RULES, st as getCurrentResourceSecrets, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as failedStageNote, ti as getBootstrapMarkerKey, tn as classifyReplaySecretRegion, tr as findSilentDropProperties, tt as collectPublishedOutputNames, u as resolveReplacementOldType, ua as resolveAssemblyPath, ui as warnManifestExecutable, un as AWS_CREDENTIAL_ENV_KEYS, ur as carriesSecretMask, ut as clearOnUpdateRemoval, v as isSecretBearingReferenceString, va as CdkdError, vi as redactDockerArgvValues, vn as UNREADABLE_RESOURCES_MAP_ROW, vr as maskSecretsInText, vt as interruptWatchListenerCount, w as reachableDivergentParameters, wa as IntrinsicResolutionRefusalError, wi as getDockerImageBySourceHash, wn as malformedExportNamesWarning, wr as S3StateBackend, wt as UNSPECIFIED_SKIP_REASON, x as bindingSkippedOutputs, xi as escapeRegExp, xn as hasReadableOutputs, xr as redactSecretsForState, xt as CloudControlProvider, y as keptWholeReasonText, yi as runDockerForeground, yn as displayLogicalId, yr as recordMaskOnlyValue, yt as isInterruptedWaitError, z as isStatefulRecreateTargetForReplace, zi as CFN_TEMPLATE_BODY_LIMIT, zn as refuseMalformedOrphans, zr as importableOutputs, zt as refStateLookupFromResource } from "./deploy-engine-C1w5fjW1.js";
|
|
2
2
|
import { C as displayAwsMessage, D as truncateCodePoints, E as isPasteableIdent, S as UNRENDERABLE, T as displaySafe, _ as withSkipPrefix, b as SECRET_REF_MAX_CODE_POINTS, c as PATTERN_B_NAME_OPTIONS, f as explicitNamePropertyFor, h as getCurrentStackName, i as reserveStdoutForPayload, l as PATTERN_B_NAME_PROPERTIES, m as generateResourceNameWithFallback, n as getLogger, o as runStackBuffered, p as generateResourceName, s as getLiveRenderer, u as PATTERN_B_RESOURCE_TYPES, v as withStackName, w as displayIdent, x as STACK_REF_MAX_CODE_POINTS } from "./logger-GASr9bAF.js";
|
|
3
3
|
import { n as awsClientDefaults } from "./aws-client-defaults-BoIxyCir.js";
|
|
4
|
-
import { t as getCdkdVersion } from "./version-
|
|
5
|
-
import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-
|
|
4
|
+
import { t as getCdkdVersion } from "./version-5OUR3VB2.js";
|
|
5
|
+
import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-DPGr3o8N.js";
|
|
6
6
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
7
7
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
8
8
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -88774,8 +88774,53 @@ function extractImageLambdaProperties(args) {
|
|
|
88774
88774
|
* `tests/unit/local/local-asset-code-path-containment.test.ts`.
|
|
88775
88775
|
*
|
|
88776
88776
|
* Exported for unit testing and for `local-start-api.ts`'s copy of the caller.
|
|
88777
|
-
|
|
88778
|
-
|
|
88777
|
+
*
|
|
88778
|
+
* **Takes EVERY value in a bag** (issue
|
|
88779
|
+
* [#3549](https://github.com/go-to-k/cdkd/issues/3549)), the shape
|
|
88780
|
+
* [#3544](https://github.com/go-to-k/cdkd/issues/3544) gave the Docker twin
|
|
88781
|
+
* and for a sharper version of the same reason. Positionals left FOUR `string`
|
|
88782
|
+
* parameters in a row, of which two pairs were transposable and neither
|
|
88783
|
+
* typechecked its way out:
|
|
88784
|
+
*
|
|
88785
|
+
* - `(manifestDir, assetPath)` — the assembly-derived base a relative value
|
|
88786
|
+
* resolves FROM, and the attacker-chosen `aws:asset:path`. Swapping them
|
|
88787
|
+
* changes which directory is resolved and which is contained, for a value
|
|
88788
|
+
* that is then BIND-MOUNTED into a running container. That is the Docker
|
|
88789
|
+
* twin's hazard with a worse sink.
|
|
88790
|
+
* - `(assetOutdir, logicalId)` — the containment bound and a string that only
|
|
88791
|
+
* ever reaches a message. A swap made the bound `path.resolve('<logicalId>')`
|
|
88792
|
+
* under the cwd, disjoint from the base, so every path was refused. Caught
|
|
88793
|
+
* by tests rather than by the compiler, which is the wrong layer for it.
|
|
88794
|
+
*
|
|
88795
|
+
* Required-ness caught a DROP and never a TRANSPOSITION, and the DROP it
|
|
88796
|
+
* caught was real: a call passing the outdir as the fourth argument and
|
|
88797
|
+
* stopping there used to COMPILE while binding the outdir to `logicalId` and
|
|
88798
|
+
* defaulting the bound to `manifestDir`, silently reinstating
|
|
88799
|
+
* [#3493](https://github.com/go-to-k/cdkd/issues/3493)'s B1 and naming the
|
|
88800
|
+
* Lambda `/path/to/cdk.out` in the refusal.
|
|
88801
|
+
*
|
|
88802
|
+
* **What the bag does NOT do, because the first draft of this paragraph
|
|
88803
|
+
* claimed it did**: it does not make a transposition inexpressible, only
|
|
88804
|
+
* UNORDERABLE. `{ manifestDir: assetOutdir, assetOutdir: manifestDir }` still
|
|
88805
|
+
* compiles, and it is still the defect. Measured: that spelling passes every
|
|
88806
|
+
* source-level check and reds three cases in
|
|
88807
|
+
* `local-asset-code-path-containment.test.ts`, which drives both call sites
|
|
88808
|
+
* against a STAGE manifest where the two directories differ. The compiler now
|
|
88809
|
+
* rejects the silent POSITIONAL swap; that suite is what catches the named
|
|
88810
|
+
* one. Do not write a source scan that claims to cover this — one was written
|
|
88811
|
+
* here and passed the real defect.
|
|
88812
|
+
*
|
|
88813
|
+
* Two conventions this comment has learned the hard way and keeps:
|
|
88814
|
+
*
|
|
88815
|
+
* - **No count of how often it has been wrong.** Such a tally ticks on the
|
|
88816
|
+
* very revision that fixes it, so it is stale the moment it is written —
|
|
88817
|
+
* which is how the previous one went stale.
|
|
88818
|
+
* - **Do not cite the Docker twin's PARAMETER LIST.** Two revisions did, and
|
|
88819
|
+
* both were left describing a signature that had moved. Citing its SHAPE
|
|
88820
|
+
* (an options bag, as above) is stable; citing its arguments is not.
|
|
88821
|
+
*/
|
|
88822
|
+
function resolveAssetCodeDirectory(opts) {
|
|
88823
|
+
const { manifestDir, assetPath, wrapError, assetOutdir, logicalId } = opts;
|
|
88779
88824
|
if (isAbsolute(assetPath)) {
|
|
88780
88825
|
const absolute = resolve(assetPath);
|
|
88781
88826
|
const escape = absoluteAssemblyPathEscape(assetOutdir, absolute);
|
|
@@ -88841,7 +88886,13 @@ function resolveAssetCodePath$1(stack, logicalId, resource) {
|
|
|
88841
88886
|
const assetPath = resource.Metadata?.["aws:asset:path"];
|
|
88842
88887
|
if (typeof assetPath !== "string" || assetPath.length === 0) throw new LocalInvokeResolutionError(`Lambda '${displaySafe(logicalId)}' has no Metadata['aws:asset:path']. cdkd local invoke needs this hint to find the local asset directory. Re-synthesize the app (without \`--output <stale-dir>\`) and retry.`);
|
|
88843
88888
|
const { manifestDir, assetOutdir } = assetPathDirs(stack);
|
|
88844
|
-
const abs = resolveAssetCodeDirectory(
|
|
88889
|
+
const abs = resolveAssetCodeDirectory({
|
|
88890
|
+
manifestDir,
|
|
88891
|
+
assetPath,
|
|
88892
|
+
wrapError: (message) => new LocalInvokeResolutionError(message),
|
|
88893
|
+
assetOutdir,
|
|
88894
|
+
logicalId
|
|
88895
|
+
});
|
|
88845
88896
|
if (!existsSync(abs) || !statSync(abs).isDirectory()) throw new LocalInvokeResolutionError(`Lambda '${displaySafe(logicalId)}' asset directory '${displaySafe(abs)}' does not exist or is not a directory. Re-synthesize the app and retry.`);
|
|
88846
88897
|
return abs;
|
|
88847
88898
|
}
|
|
@@ -88946,33 +88997,37 @@ const LAYER_ARN_PATTERN = new RegExp(`^arn:([a-z][a-z0-9-]*):lambda:([a-z]{2,}(?
|
|
|
88946
88997
|
* is what the repo already does everywhere else it needs a partition, so the
|
|
88947
88998
|
* list is not spelled a fourth time and cannot go stale here independently.
|
|
88948
88999
|
*
|
|
88949
|
-
* **
|
|
88950
|
-
*
|
|
88951
|
-
*
|
|
88952
|
-
*
|
|
88953
|
-
*
|
|
88954
|
-
*
|
|
88955
|
-
*
|
|
88956
|
-
*
|
|
88957
|
-
*
|
|
88958
|
-
*
|
|
88959
|
-
*
|
|
88960
|
-
*
|
|
88961
|
-
*
|
|
88962
|
-
*
|
|
88963
|
-
*
|
|
88964
|
-
*
|
|
88965
|
-
*
|
|
88966
|
-
*
|
|
88967
|
-
*
|
|
88968
|
-
*
|
|
89000
|
+
* **The download behind it is no longer commercial-only.** This paragraph used
|
|
89001
|
+
* to say the opposite, citing a cdk-local build that rebuilt the ARN with a
|
|
89002
|
+
* hardcoded `aws` — go-to-k/cdk-local#575, which CLOSED on 2026-08-27 and
|
|
89003
|
+
* shipped in cdk-local 0.147.13 three minutes later. The text was wrong from
|
|
89004
|
+
* that moment, for USERS TOO and not only about upstream: cdkd declares
|
|
89005
|
+
* `cdk-local` as a plain runtime dependency with no `bundledDependencies`, so
|
|
89006
|
+
* a consumer resolves the RANGE rather than this repo's lockfile, and the
|
|
89007
|
+
* range then in effect (`^0.147.7`) already admitted 0.147.13. What lagged was
|
|
89008
|
+
* this repo's own pinned tree — `pnpm-lock.yaml` stayed on 0.147.7 until the
|
|
89009
|
+
* 0.148.4 bump on 2026-09-12 — so cdkd's CI ran the broken engine for sixteen
|
|
89010
|
+
* more days than anyone installing cdkd did. The claim survived all of it
|
|
89011
|
+
* because it cited a content-hashed bundle chunk and a line number, which
|
|
89012
|
+
* nobody could check (go-to-k/cdkd#3551). Measured on cdk-local 0.149.1:
|
|
89013
|
+
* `fetchLayerContentUrl` strips only the `:<version>` suffix from the ARN the
|
|
89014
|
+
* caller supplied and hands the remainder to `GetLayerVersionCommand` as
|
|
89015
|
+
* `LayerName`, so whatever partition the ARN names is preserved. Its own
|
|
89016
|
+
* refusal message spells the expected shape `arn:<partition>:lambda:...`.
|
|
89017
|
+
*
|
|
89018
|
+
* So the parse fix and the download now agree, and a layer ARN in any of the
|
|
89019
|
+
* eight partitions resolves as far as AWS itself allows. Re-check with
|
|
89020
|
+
* `grep -n 'function fetchLayerContentUrl' node_modules/cdk-local/dist/local-studio-*.js`
|
|
89021
|
+
* rather than by trusting this paragraph.
|
|
88969
89022
|
*
|
|
88970
89023
|
* Deriving also makes the pair SELF-CONSISTENT, which the alternation could
|
|
88971
89024
|
* not: `arn:aws-cn:lambda:us-east-1:...` used to parse, pairing China's
|
|
88972
89025
|
* partition with a commercial region. It is now REFUSED — a deliberate
|
|
88973
|
-
* behaviour break, asked for by issue #2143's own direction.
|
|
88974
|
-
*
|
|
88975
|
-
*
|
|
89026
|
+
* behaviour break, asked for by issue #2143's own direction. The refusal stands
|
|
89027
|
+
* on its own terms rather than on the rebuild it used to lean on: a
|
|
89028
|
+
* region-partition pair that cannot both be true names a region that does not
|
|
89029
|
+
* exist in that partition, so the fetch could not have succeeded whatever the
|
|
89030
|
+
* downstream does with the ARN.
|
|
88976
89031
|
*
|
|
88977
89032
|
* The fallback direction is worth stating, since `derivePartitionAndUrlSuffix`
|
|
88978
89033
|
* answers `aws` for a region it does not recognise. A brand-new COMMERCIAL
|
|
@@ -92919,7 +92974,13 @@ function resolveAssetCodePath(stack, logicalId, resource) {
|
|
|
92919
92974
|
const assetPath = resource.Metadata?.["aws:asset:path"];
|
|
92920
92975
|
if (typeof assetPath !== "string" || assetPath.length === 0) throw new Error(`Lambda '${displaySafe(logicalId)}' has no Metadata['aws:asset:path']. cdkd local start-api needs this hint to find the local asset directory. Re-synthesize the app and retry.`);
|
|
92921
92976
|
const { manifestDir, assetOutdir } = assetPathDirs(stack);
|
|
92922
|
-
return resolveAssetCodeDirectory(
|
|
92977
|
+
return resolveAssetCodeDirectory({
|
|
92978
|
+
manifestDir,
|
|
92979
|
+
assetPath,
|
|
92980
|
+
wrapError: (message) => new Error(message),
|
|
92981
|
+
assetOutdir,
|
|
92982
|
+
logicalId
|
|
92983
|
+
});
|
|
92923
92984
|
}
|
|
92924
92985
|
/**
|
|
92925
92986
|
* Print the discovered route table to stdout. Format mirrors the spec
|
|
@@ -95106,7 +95167,10 @@ async function loadAgentCoreAssetContext(args) {
|
|
|
95106
95167
|
if (!manifest) return void 0;
|
|
95107
95168
|
const asset = assetLoader.getFileAssets(manifest).get(resolved.codeArtifact.codeAssetHash);
|
|
95108
95169
|
if (!asset) return void 0;
|
|
95109
|
-
const sourceDir = assetLoader.getAssetSourcePath(manifestDir, asset,
|
|
95170
|
+
const sourceDir = assetLoader.getAssetSourcePath(manifestDir, asset, {
|
|
95171
|
+
assetOutdir,
|
|
95172
|
+
sink: "copy that directory into the running container's workspace"
|
|
95173
|
+
});
|
|
95110
95174
|
return {
|
|
95111
95175
|
...oldAssetHash !== void 0 && { oldAssetHash },
|
|
95112
95176
|
newAssetHash: resolved.codeArtifact.codeAssetHash,
|
|
@@ -95121,7 +95185,13 @@ async function loadAgentCoreAssetContext(args) {
|
|
|
95121
95185
|
if (!dockerImageEntry) return void 0;
|
|
95122
95186
|
const newDockerImage = dockerImageEntry.asset;
|
|
95123
95187
|
if (!newDockerImage.source.directory) return void 0;
|
|
95124
|
-
const newAssetSourceDir = resolveDockerContextDirectory(
|
|
95188
|
+
const newAssetSourceDir = resolveDockerContextDirectory({
|
|
95189
|
+
manifestDir,
|
|
95190
|
+
directory: newDockerImage.source.directory,
|
|
95191
|
+
wrapError: (message) => new Error(message),
|
|
95192
|
+
assetOutdir,
|
|
95193
|
+
sink: "copy that directory into the running container's workspace"
|
|
95194
|
+
});
|
|
95125
95195
|
return {
|
|
95126
95196
|
...oldAssetHash !== void 0 && { oldAssetHash },
|
|
95127
95197
|
newAssetHash: dockerImageEntry.hash,
|
|
@@ -95781,7 +95851,10 @@ async function resolveAgentCoreCodeImage(resolved, code, options, architecture,
|
|
|
95781
95851
|
const fileAssets = manifest ? loader.getFileAssets(manifest) : void 0;
|
|
95782
95852
|
const asset = fileAssets ? fileAssets.get(code.codeAssetHash) ?? findFileAssetByObjectKey(fileAssets, code.codeAssetHash) : void 0;
|
|
95783
95853
|
if (!asset) throw new CdkdError(`AgentCore Runtime '${resolved.logicalId}' code bundle (asset ${code.codeAssetHash}) was not found in the cdk.out asset manifest. ${getEmbedConfig().cliName} invoke-agentcore runs a local from-source build of a fromCodeAsset bundle — re-synthesize the app so the asset is staged in cdk.out and retry. (A fromS3 bundle is downloaded from S3 instead; this runtime has no literal Code.S3.Bucket.)`, "LOCAL_INVOKE_AGENTCORE_CODE_ASSET_NOT_FOUND");
|
|
95784
|
-
const sourceDir = loader.getAssetSourcePath(cdkOutDir, asset,
|
|
95854
|
+
const sourceDir = loader.getAssetSourcePath(cdkOutDir, asset, {
|
|
95855
|
+
assetOutdir: assemblyDir,
|
|
95856
|
+
sink: "read that directory and build a local image from it"
|
|
95857
|
+
});
|
|
95785
95858
|
if (!existsSync(sourceDir) || !statSync(sourceDir).isDirectory()) throw new CdkdError(`AgentCore Runtime '${displaySafe(resolved.logicalId)}' code bundle source '${displaySafe(sourceDir)}' does not exist or is not a directory. Re-synthesize the app and retry.`, "LOCAL_INVOKE_AGENTCORE_CODE_SOURCE_MISSING");
|
|
95786
95859
|
return buildAgentCoreCodeImage({
|
|
95787
95860
|
sourceDir,
|
|
@@ -96467,20 +96540,28 @@ function collectLambdaTargetLogicalIds(frontDoor) {
|
|
|
96467
96540
|
* `cdkd local start-cloudfront` REFUSES cdkd's state flags outright
|
|
96468
96541
|
* ([#2528](https://github.com/go-to-k/cdkd/issues/2528)) because NO consumer on
|
|
96469
96542
|
* that command's path reads a host-registered state source. `start-alb` is
|
|
96470
|
-
* partial, not total, so the same remedy would delete a working capability
|
|
96471
|
-
*
|
|
96472
|
-
*
|
|
96473
|
-
*
|
|
96474
|
-
*
|
|
96543
|
+
* partial, not total, so the same remedy would delete a working capability.
|
|
96544
|
+
*
|
|
96545
|
+
* Measured against the bundled engine, and cited by VERSION AND SYMBOL NAME rather
|
|
96546
|
+
* than by file and line: the chunk name is content-hashed and the offsets move
|
|
96547
|
+
* on any upstream edit, so a citation naming them is born stale at the next
|
|
96548
|
+
* release (go-to-k/cdkd#3551 — these lines named `cdk-local@0.147.7` and a
|
|
96549
|
+
* chunk that no longer exists). Re-check with
|
|
96550
|
+
* `grep -n 'function bootOneTarget' node_modules/cdk-local/dist/local-studio-*.js`
|
|
96551
|
+
* (and the same for each symbol named below).
|
|
96552
|
+
* Last verified: **cdk-local 0.149.1**. What splits the two target kinds:
|
|
96553
|
+
*
|
|
96554
|
+
* - **ECS service targets DO honor `--from-state`.** `bootOneTarget` and
|
|
96555
|
+
* `rollOneTarget` hand `createLocalStateProvider` the FULL options bag,
|
|
96475
96556
|
* so cdkd's `fromState` factory is selected and the task containers'
|
|
96476
96557
|
* images / env / secrets / volumes resolve against S3 state.
|
|
96477
|
-
* - **Lambda target groups do NOT.** `resolveAlbLambdaTargetEnv`
|
|
96558
|
+
* - **Lambda target groups do NOT.** `resolveAlbLambdaTargetEnv`
|
|
96478
96559
|
* rebuilds the bag it hands the shared `resolveLambdaContainerEnv` as a
|
|
96479
96560
|
* SIX-KEY allow-list — `fromCfnStack` / `assumeRole` / `region` / `profile` /
|
|
96480
|
-
* `stackRegion` / `envVars`
|
|
96561
|
+
* `stackRegion` / `envVars` — dropping `fromState` /
|
|
96481
96562
|
* `stateBucket` / `statePrefix`. It forwards `extraStateProviders` faithfully,
|
|
96482
96563
|
* but the dispatcher activates an extra provider only when `options[key]` is
|
|
96483
|
-
* truthy
|
|
96564
|
+
* truthy, and the key it looks for is exactly the one the bag no
|
|
96484
96565
|
* longer carries. So cdkd's factory is registered and never selected, and the
|
|
96485
96566
|
* Lambda boots with its intrinsics dropped — one WARN per variable, none of
|
|
96486
96567
|
* which says the flag was the problem.
|
|
@@ -96594,18 +96675,29 @@ function createLocalStartAlbCommand() {
|
|
|
96594
96675
|
*
|
|
96595
96676
|
* The `extraStateProviders` seam cdk-local's factory accepts (go-to-k/cdk-local#426)
|
|
96596
96677
|
* is wired in below, and cdkd's S3-backed `--from-state` factory reaches it — but
|
|
96597
|
-
* NOTHING in this command's code path consults it. Verified against the
|
|
96598
|
-
*
|
|
96599
|
-
*
|
|
96600
|
-
*
|
|
96601
|
-
*
|
|
96678
|
+
* NOTHING in this command's code path consults it. Verified against the
|
|
96679
|
+
* installed bundle — cited by VERSION AND SYMBOL NAME, never by file and line: the
|
|
96680
|
+
* chunk name is content-hashed and the offsets move on any upstream edit, so a
|
|
96681
|
+
* citation naming them is born stale at the next release
|
|
96682
|
+
* (go-to-k/cdkd#3551 — these lines named `cdk-local@0.147.7` and a chunk that
|
|
96683
|
+
* no longer exists). Re-check with
|
|
96684
|
+
* `grep -n 'function resolveDeployedS3Origins' node_modules/cdk-local/dist/local-studio-*.js`
|
|
96685
|
+
* (and the same for each symbol named below).
|
|
96686
|
+
* Last verified: **cdk-local 0.149.1**. All three consumers miss, for two
|
|
96687
|
+
* independent reasons:
|
|
96688
|
+
*
|
|
96689
|
+
* 1. `resolveDeployedS3Origins` and `attachKvsModules`
|
|
96602
96690
|
* both gate on `isCfnFlagPresent(options)` — i.e. `--from-cfn-stack`
|
|
96603
|
-
* specifically
|
|
96604
|
-
*
|
|
96605
|
-
*
|
|
96606
|
-
*
|
|
96691
|
+
* specifically. With `--from-state` alone they return BEFORE a provider
|
|
96692
|
+
* is constructed, so cdkd's registered factory is never consulted.
|
|
96693
|
+
* `start-api` has no such gate: it calls `createLocalStateProvider`
|
|
96694
|
+
* unconditionally and skips only on a falsy result, which is why the same
|
|
96695
|
+
* flags work there. (An earlier revision called that an "any state source
|
|
96696
|
+
* is active" PREDICATE — there is no such symbol; the difference is a
|
|
96697
|
+
* gate versus no gate.)
|
|
96698
|
+
* 2. `bootLambdaUrlOrigins` and `bootLambdaEdgeFunctions`
|
|
96607
96699
|
* call `resolveLambdaContainerEnv` WITHOUT its fourth `extraStateProviders`
|
|
96608
|
-
* parameter, and the `envOptions` bag they hand it
|
|
96700
|
+
* parameter, and the `envOptions` bag they hand it is an
|
|
96609
96701
|
* allow-list of five keys that drops cdkd's state fields anyway.
|
|
96610
96702
|
*
|
|
96611
96703
|
* So the flags parse and do nothing, on exactly the command where a user is
|
|
@@ -97672,4 +97764,4 @@ function buildProgram() {
|
|
|
97672
97764
|
|
|
97673
97765
|
//#endregion
|
|
97674
97766
|
export { buildProgram };
|
|
97675
|
-
//# sourceMappingURL=program-
|
|
97767
|
+
//# sourceMappingURL=program-DnmYd7BO.js.map
|