@go-to-k/cdkd 0.238.3 → 0.238.4

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.
@@ -15780,12 +15780,20 @@ var DeployEngine = class {
15780
15780
  * Uses TemplateParser.extractDependencies() to capture Ref, Fn::GetAtt,
15781
15781
  * and DependsOn dependencies. This ensures the state contains complete
15782
15782
  * dependency information for correct deletion ordering (not just DependsOn).
15783
+ *
15784
+ * Template Parameter names are filtered out (issue #1032): a `Ref` to a
15785
+ * CFn Parameter is not a provisioning-order edge, and the destroy-side
15786
+ * graph build (which reconstructs a pseudo-template from state with no
15787
+ * `Parameters` section) would warn `depends on <Param>, but <Param> not
15788
+ * found in template` for every parameter-referencing resource.
15783
15789
  */
15784
15790
  extractAllDependencies(template, logicalId) {
15785
15791
  const resource = template?.Resources?.[logicalId];
15786
15792
  if (!resource) return void 0;
15787
- const deps = new TemplateParser().extractDependencies(resource);
15788
- return deps.size > 0 ? [...deps] : void 0;
15793
+ const parser = new TemplateParser();
15794
+ const parameterNames = new Set(Object.keys(template?.Parameters ?? {}));
15795
+ const deps = [...parser.extractDependencies(resource)].filter((dep) => !parameterNames.has(dep));
15796
+ return deps.length > 0 ? deps : void 0;
15789
15797
  }
15790
15798
  /**
15791
15799
  * Read `DeletionPolicy` / `UpdateReplacePolicy` from the synth template
@@ -15975,4 +15983,4 @@ var DeployEngine = class {
15975
15983
 
15976
15984
  //#endregion
15977
15985
  export { getDockerCmd as $, DiffCalculator as A, buildAssetRedirectMap as B, findActionableSilentDrops as C, resolveBucketRegion as Ct, refStateLookupFromResource as D, cfnRefValueFromPhysicalId as E, rebuildClientForBucketRegion as F, BOOTSTRAP_MARKER_PREFIX as G, loadPublishableAssetManifest as H, shouldRetainResource as I, parseBootstrapMarker as J, ensureAssetStorage as K, AssetPublisher as L, TemplateParser as M, LockManager as N, WAFv2WebACLProvider as O, S3StateBackend as P, formatDockerLoginError as Q, stringifyValue as R, ProviderRegistry as S, clearBucketRegionCache as St, IntrinsicFunctionResolver as T, rewriteTemplateAssetReferences as U, createAssetRedirectResolver as V, AssetModeResolver as W, validateContainerRepoName as X, validateAssetBucketName as Y, buildDockerImage as Z, green as _, CFN_TEMPLATE_URL_LIMIT as _t, withRetry as a, synthesisStatusMessage as at, IAMRoleProvider as b, uploadCfnTemplate as bt, computeImplicitDeleteEdges as c, resolveApp as ct, isStatefulRecreateTargetSync as d, resolveSkipPrefix as dt, runDockerForeground as et, renderStatefulReason as f, resolveStateBucketWithDefault as ft, gray as g, CFN_TEMPLATE_BODY_LIMIT as gt, cyan as h, warnDeprecatedNoPrefixCliFlag as ht, withResourceDeadline as i, Synthesizer as it, DagBuilder as j, applyRoleArnIfSet as k, extractDeploymentEventError as l, resolveAutoAssetStorage as lt, bold as m, resolveUseCdkBootstrapAssets as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, AssetManifestLoader as nt, isRetryableTransientError as o, getDefaultStateBucketName as ot, formatResourceLine as p, resolveStateBucketWithDefaultAndSource as pt, getBootstrapMarkerKey as q, DeployEngine as r, getDockerImageBySourceHash as rt, IMPLICIT_DELETE_DEPENDENCIES as s, getLegacyStateBucketName as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, runDockerStreaming as tt, MULTI_REGION_RECREATE_BLOCKED_TYPES as u, resolveCaptureObservedState as ut, red as v, MIGRATE_TMP_PREFIX as vt, CloudControlProvider as w, collectInlinePolicyNamesManagedBySiblings as x, AssemblyReader as xt, yellow as y, findLargeInlineResources as yt, WorkGraph as z };
15978
- //# sourceMappingURL=deploy-engine-MEo926OW.js.map
15986
+ //# sourceMappingURL=deploy-engine-CQuZCVUP.js.map