@go-to-k/cdkd 0.280.15 → 0.280.16
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-BRvHsDmu.js → asg-provider-4pPwAL_v.js} +2 -2
- package/dist/{asg-provider-BRvHsDmu.js.map → asg-provider-4pPwAL_v.js.map} +1 -1
- package/dist/cli.js +174 -35
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-CJPLgh5z.js → deploy-engine-1eZqhWKB.js} +42 -11
- package/dist/deploy-engine-1eZqhWKB.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-CJPLgh5z.js.map +0 -1
|
@@ -7358,6 +7358,34 @@ var DagBuilder = class {
|
|
|
7358
7358
|
* are in-place `UpdateTable` operations, matching CloudFormation's "No interruption"
|
|
7359
7359
|
* update behavior for this property.
|
|
7360
7360
|
*/
|
|
7361
|
+
/**
|
|
7362
|
+
* Conditional-replacement predicate for `AWS::Lambda::Function.DurableConfig`.
|
|
7363
|
+
*
|
|
7364
|
+
* Returns true only when the block's PRESENCE toggles — added to a function
|
|
7365
|
+
* that had none, or dropped from one that had it. A change with the block
|
|
7366
|
+
* present on both sides (e.g. `ExecutionTimeout` 3600 -> 7200) is an in-place
|
|
7367
|
+
* `UpdateFunctionConfiguration`.
|
|
7368
|
+
*
|
|
7369
|
+
* Both toggle directions were established by live probe (us-east-1,
|
|
7370
|
+
* 2026-08-11), and neither is expressible as an in-place update:
|
|
7371
|
+
*
|
|
7372
|
+
* - ADD: AWS rejects it outright — "You cannot add a durable configuration to
|
|
7373
|
+
* a function that was originally created with no durable configuration"
|
|
7374
|
+
* (`InvalidParameterValueException`). Classifying this in-place would make
|
|
7375
|
+
* the deploy fail rather than converge.
|
|
7376
|
+
* - REMOVE: `UpdateFunctionConfiguration` treats the omitted member as "no
|
|
7377
|
+
* change" and KEEPS the live config, and there is no reset payload (the
|
|
7378
|
+
* required `ExecutionTimeout` rejects an empty object). Classifying this
|
|
7379
|
+
* in-place would report success while the function keeps a durable config
|
|
7380
|
+
* the template no longer declares — the #1160 silent-drop class.
|
|
7381
|
+
*
|
|
7382
|
+
* A non-object on either side (an unresolved intrinsic) is compared on
|
|
7383
|
+
* presence alone, which is the conservative direction: it can over-report a
|
|
7384
|
+
* replacement, never silently skip a required one.
|
|
7385
|
+
*/
|
|
7386
|
+
function durableConfigPresenceToggled(oldValue, newValue) {
|
|
7387
|
+
return oldValue == null !== (newValue == null);
|
|
7388
|
+
}
|
|
7361
7389
|
function attributeTypeChangedForSharedAttribute(oldValue, newValue) {
|
|
7362
7390
|
const toTypeMap = (value) => {
|
|
7363
7391
|
const map = /* @__PURE__ */ new Map();
|
|
@@ -7471,7 +7499,7 @@ var ReplacementRulesRegistry = class {
|
|
|
7471
7499
|
])
|
|
7472
7500
|
});
|
|
7473
7501
|
this.rules.set("AWS::Lambda::Function", {
|
|
7474
|
-
replacementProperties: /* @__PURE__ */ new Set(["FunctionName"]),
|
|
7502
|
+
replacementProperties: /* @__PURE__ */ new Set(["FunctionName", "TenancyConfig"]),
|
|
7475
7503
|
updateableProperties: /* @__PURE__ */ new Set([
|
|
7476
7504
|
"Code",
|
|
7477
7505
|
"Handler",
|
|
@@ -7487,8 +7515,11 @@ var ReplacementRulesRegistry = class {
|
|
|
7487
7515
|
"TracingConfig",
|
|
7488
7516
|
"Layers",
|
|
7489
7517
|
"FileSystemConfigs",
|
|
7490
|
-
"Architectures"
|
|
7491
|
-
|
|
7518
|
+
"Architectures",
|
|
7519
|
+
"CodeSigningConfigArn",
|
|
7520
|
+
"RuntimeManagementConfig"
|
|
7521
|
+
]),
|
|
7522
|
+
conditionalReplacements: /* @__PURE__ */ new Map([["DurableConfig", durableConfigPresenceToggled]])
|
|
7492
7523
|
});
|
|
7493
7524
|
this.rules.set("AWS::Lambda::LayerVersion", { replacementProperties: /* @__PURE__ */ new Set([
|
|
7494
7525
|
"Content",
|
|
@@ -12796,7 +12827,7 @@ var CloudControlProvider = class {
|
|
|
12796
12827
|
if (context?.finalSnapshotIdentifier !== void 0) throw new ProvisioningError(`${logicalId} (${resourceType}) requires a final snapshot (DeletionPolicy: Snapshot), but the Cloud Control API delete route has no final-snapshot parameter. Re-run with --skip-final-snapshot after snapshotting manually, or retain the resource.`, resourceType, logicalId, physicalId);
|
|
12797
12828
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
12798
12829
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
12799
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
12830
|
+
const { ASGProvider } = await import("./asg-provider-4pPwAL_v.js").then((n) => n.n);
|
|
12800
12831
|
await new ASGProvider().delete(logicalId, physicalId, resourceType, _properties, context);
|
|
12801
12832
|
return;
|
|
12802
12833
|
}
|
|
@@ -15654,8 +15685,10 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
15654
15685
|
handled: /* @__PURE__ */ new Set([
|
|
15655
15686
|
"Architectures",
|
|
15656
15687
|
"Code",
|
|
15688
|
+
"CodeSigningConfigArn",
|
|
15657
15689
|
"DeadLetterConfig",
|
|
15658
15690
|
"Description",
|
|
15691
|
+
"DurableConfig",
|
|
15659
15692
|
"Environment",
|
|
15660
15693
|
"EphemeralStorage",
|
|
15661
15694
|
"FileSystemConfigs",
|
|
@@ -15671,20 +15704,18 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
15671
15704
|
"ReservedConcurrentExecutions",
|
|
15672
15705
|
"Role",
|
|
15673
15706
|
"Runtime",
|
|
15707
|
+
"RuntimeManagementConfig",
|
|
15674
15708
|
"SnapStart",
|
|
15675
15709
|
"Tags",
|
|
15710
|
+
"TenancyConfig",
|
|
15676
15711
|
"Timeout",
|
|
15677
15712
|
"TracingConfig",
|
|
15678
15713
|
"VpcConfig"
|
|
15679
15714
|
]),
|
|
15680
15715
|
silentDrop: /* @__PURE__ */ new Map([
|
|
15681
15716
|
["CapacityProviderConfig", "not yet implemented by cdkd"],
|
|
15682
|
-
["CodeSigningConfigArn", "not yet implemented by cdkd"],
|
|
15683
|
-
["DurableConfig", "not yet implemented by cdkd"],
|
|
15684
15717
|
["FunctionScalingConfig", "not yet implemented by cdkd"],
|
|
15685
|
-
["PublishToLatestPublished", "
|
|
15686
|
-
["RuntimeManagementConfig", "not yet implemented by cdkd"],
|
|
15687
|
-
["TenancyConfig", "not yet implemented by cdkd"]
|
|
15718
|
+
["PublishToLatestPublished", "CloudFormation-only version-publishing directive with no AWS SDK equivalent"]
|
|
15688
15719
|
])
|
|
15689
15720
|
}],
|
|
15690
15721
|
["AWS::Lambda::LayerVersion", {
|
|
@@ -19285,7 +19316,7 @@ const FLUSH_INTERVAL_MS = 2e3;
|
|
|
19285
19316
|
const FLUSH_EVENT_THRESHOLD = 50;
|
|
19286
19317
|
/** Build-time cdkd version, with a dev fallback for non-built contexts. */
|
|
19287
19318
|
function getCdkdVersion() {
|
|
19288
|
-
return "0.280.
|
|
19319
|
+
return "0.280.16";
|
|
19289
19320
|
}
|
|
19290
19321
|
/**
|
|
19291
19322
|
* Generate a time-sortable unique run id, e.g.
|
|
@@ -21397,4 +21428,4 @@ var DeployEngine = class {
|
|
|
21397
21428
|
|
|
21398
21429
|
//#endregion
|
|
21399
21430
|
export { requireConfigString as $, processStackMessages as $t, red as A, runDockerStreaming as At, isTerminationProtectionPropagationError as B, resolveSkipPrefix as Bt, isStatefulRecreateTargetSync as C, StateError as Cn, parseBootstrapMarker as Ct, cyan as D, normalizeAwsError as Dn, formatDockerLoginError as Dt, bold as E, isCdkdError as En, buildDockerImage as Et, ProviderRegistry as F, getDefaultStateBucketName as Ft, normalizeAwsTagsToCfn as G, warnDeprecatedNoPrefixCliFlag as Gt, cfnRefValueFromPhysicalId as H, resolveStateBucketWithDefaultAndSource as Ht, findActionableSilentDrops as I, getLegacyStateBucketName as It, configStringRefusal as J, MIGRATE_TMP_PREFIX as Jt, resolveExplicitPhysicalId as K, CFN_TEMPLATE_BODY_LIMIT as Kt, CloudControlProvider as L, resolveApp as Lt, IAMRoleProvider as M, getDockerImageBySourceHash as Mt, collectInlinePolicyNamesManagedBySiblings as N, Synthesizer as Nt, gray as O, withErrorHandling as On, getDockerCmd as Ot, clearOnUpdateRemoval as P, synthesisStatusMessage as Pt, requireConfigObject as Q, AssemblyReader as Qt, slowCcOperationTimeoutMs as R, resolveAutoAssetStorage as Rt, MULTI_REGION_RECREATE_BLOCKED_TYPES as S, StackTerminationProtectionError as Sn, getBootstrapMarkerKey as St, formatResourceLine as T, formatError as Tn, validateContainerRepoName as Tt, refStateLookupFromResource as U, resolveUseCdkBootstrapAssets as Ut, IntrinsicFunctionResolver as V, resolveStateBucketWithDefault as Vt, WAFv2WebACLProvider as W, stateBucketExistenceConfirmed as Wt, replayWarn as X, uploadCfnTemplate as Xt, readConfigString as Y, findLargeInlineResources as Yt, requireConfigArray as Z, expectedOwnerParam as Zt, createPreDeleteFinalSnapshot as _, PartialFailureError as _n, loadPublishableAssetManifest as _t, DeploymentEventsStore as a, setAwsClients as an, isThrottlingError as at, unsupportedFinalSnapshotError as b, ResourceUpdateNotSupportedError as bn, BOOTSTRAP_MARKER_PREFIX as bt, replayFailedOperations as c, ConfigError as cn, LockManager as ct, IMPLICIT_DELETE_DEPENDENCIES as d, LocalInvokeBuildError as dn, shouldRetainResource as dt, clearBucketRegionCache as en, applyRoleArnIfSet as et, computeImplicitDeleteEdges as f, LocalMigrateError as fn, AssetPublisher as ft, ccRoutedFinalSnapshotError as g, NestedStackChildDirectDestroyError as gn, createAssetRedirectResolver as gt, buildFinalSnapshotIdentifier as h, MissingCdkCliError as hn, buildAssetRedirectMap as ht, DeploymentEventsReader as i, resetAwsClients as in, isRetryableTransientError as it, yellow as j, AssetManifestLoader as jt, green as k, __exportAll as kn, runDockerForeground as kt, replayRollback as l, DependencyError as ln, S3StateBackend as lt, PRE_DELETE_SNAPSHOT_TYPES as m, LockError as mn, WorkGraph as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, AwsClients as nn, describeTypeWithThrottleRetry as nt, planFailedOps as o, AssetError as on, DagBuilder as ot, ATOMIC_FINAL_SNAPSHOT_TYPES as p, LocalStartServiceError as pn, stringifyValue as pt, assertRegionMatch as q, CFN_TEMPLATE_URL_LIMIT as qt, DeployEngine as r, getAwsClients as rn, withRetry as rt, planRollback as s, CdkdError as sn, TemplateParser as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, resolveBucketRegion as tn, DiffCalculator as tt, withResourceDeadline as u, DeployCancelledError as un, rebuildClientForBucketRegion as ut, isFinalSnapshotError as v, ProvisioningError as vn, rewriteTemplateAssetReferences as vt, renderStatefulReason as w, SynthesisError as wn, validateAssetBucketName as wt, extractDeploymentEventError as x, StackHasActiveImportsError as xn, ensureAssetStorage as xt, refusesFinalSnapshot as y, ResourceTimeoutError as yn, AssetModeResolver as yt, disableInstanceApiTermination as z, resolveCaptureObservedState as zt };
|
|
21400
|
-
//# sourceMappingURL=deploy-engine-
|
|
21431
|
+
//# sourceMappingURL=deploy-engine-1eZqhWKB.js.map
|