@go-to-k/cdkd 0.238.0 → 0.238.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/cli.js +109 -7
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-CX6s1TcX.js → deploy-engine-iPBf_Lk2.js} +23 -5
- package/dist/deploy-engine-iPBf_Lk2.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-CX6s1TcX.js.map +0 -1
|
@@ -6131,6 +6131,7 @@ const createOnlyPropertiesCache = /* @__PURE__ */ new Map();
|
|
|
6131
6131
|
* (a transient throttle must not poison the deploy's replacement detection).
|
|
6132
6132
|
*/
|
|
6133
6133
|
function getCreateOnlyPropertyPaths(resourceType) {
|
|
6134
|
+
if (isCustomResourceType(resourceType)) return Promise.resolve([]);
|
|
6134
6135
|
const cached = createOnlyPropertiesCache.get(resourceType);
|
|
6135
6136
|
if (cached) return cached;
|
|
6136
6137
|
const entry = fetchCreateOnlyPropertyPaths(resourceType).catch((error) => {
|
|
@@ -6143,6 +6144,15 @@ function getCreateOnlyPropertyPaths(resourceType) {
|
|
|
6143
6144
|
return entry;
|
|
6144
6145
|
}
|
|
6145
6146
|
/**
|
|
6147
|
+
* True for the two custom-resource type shapes CloudFormation accepts:
|
|
6148
|
+
* `AWS::CloudFormation::CustomResource` and anything under the `Custom::`
|
|
6149
|
+
* prefix. Neither has a registry schema, so schema-driven lookups
|
|
6150
|
+
* (DescribeType) must be skipped for them.
|
|
6151
|
+
*/
|
|
6152
|
+
function isCustomResourceType(resourceType) {
|
|
6153
|
+
return resourceType === "AWS::CloudFormation::CustomResource" || resourceType.startsWith("Custom::");
|
|
6154
|
+
}
|
|
6155
|
+
/**
|
|
6146
6156
|
* Decide whether a change to top-level property `topLevelKey` requires
|
|
6147
6157
|
* replacement per the schema's createOnly paths.
|
|
6148
6158
|
*
|
|
@@ -7889,7 +7899,9 @@ var IntrinsicFunctionResolver = class {
|
|
|
7889
7899
|
this.logger.debug(`Resolved Ref to pseudo parameter: ${logicalId} -> ${valueStr}`);
|
|
7890
7900
|
return pseudoValue;
|
|
7891
7901
|
}
|
|
7892
|
-
|
|
7902
|
+
const notFoundMsg = `Ref ${logicalId} not found (not a resource, parameter, or pseudo parameter)`;
|
|
7903
|
+
if (context.bestEffort) this.logger.debug(notFoundMsg);
|
|
7904
|
+
else this.logger.warn(notFoundMsg);
|
|
7893
7905
|
throw new Error(`Ref ${logicalId} not found`);
|
|
7894
7906
|
}
|
|
7895
7907
|
/**
|
|
@@ -9241,13 +9253,15 @@ const NON_PROVISIONABLE_TYPES = new Set([
|
|
|
9241
9253
|
"AWS::AppStream::Fleet",
|
|
9242
9254
|
"AWS::AppSync::ApiCache",
|
|
9243
9255
|
"AWS::AutoScalingPlans::ScalingPlan",
|
|
9256
|
+
"AWS::Bedrock::ModelInvocationJob",
|
|
9244
9257
|
"AWS::BedrockAgentCore::Browser",
|
|
9258
|
+
"AWS::BedrockAgentCore::CodeInterpreter",
|
|
9259
|
+
"AWS::BedrockAgentCore::TokenVault",
|
|
9245
9260
|
"AWS::Budgets::Budget",
|
|
9246
9261
|
"AWS::Cloud9::EnvironmentEC2",
|
|
9247
9262
|
"AWS::CloudFormation::CustomResource",
|
|
9248
9263
|
"AWS::CloudFormation::Macro",
|
|
9249
9264
|
"AWS::CloudFormation::WaitCondition",
|
|
9250
|
-
"AWS::CloudFormation::WaitConditionHandle",
|
|
9251
9265
|
"AWS::CloudFront::StreamingDistribution",
|
|
9252
9266
|
"AWS::CloudWatch::AnomalyDetector",
|
|
9253
9267
|
"AWS::CodeBuild::ReportGroup",
|
|
@@ -9370,12 +9384,11 @@ const NON_PROVISIONABLE_TYPES = new Set([
|
|
|
9370
9384
|
"AWS::SageMaker::CodeRepository",
|
|
9371
9385
|
"AWS::SageMaker::EndpointConfig",
|
|
9372
9386
|
"AWS::SageMaker::ModelCardExportJob",
|
|
9387
|
+
"AWS::SageMaker::MonitoringScheduleAlert",
|
|
9373
9388
|
"AWS::SageMaker::NotebookInstance",
|
|
9374
9389
|
"AWS::SageMaker::NotebookInstanceLifecycleConfig",
|
|
9375
9390
|
"AWS::SageMaker::Workteam",
|
|
9376
9391
|
"AWS::SDB::Domain",
|
|
9377
|
-
"AWS::ServiceCatalog::AcceptedPortfolioShare",
|
|
9378
|
-
"AWS::ServiceCatalog::CloudFormationProduct",
|
|
9379
9392
|
"AWS::ServiceDiscovery::HttpNamespace",
|
|
9380
9393
|
"AWS::ServiceDiscovery::Instance",
|
|
9381
9394
|
"AWS::ServiceDiscovery::PublicDnsNamespace",
|
|
@@ -11162,6 +11175,10 @@ const PROPERTY_COVERAGE_BY_TYPE = new Map([
|
|
|
11162
11175
|
["TimeoutInMinutes", "CFn-only stack-create deadline — cdkd uses per-resource --resource-timeout instead (issue #459 design §9)"]
|
|
11163
11176
|
])
|
|
11164
11177
|
}],
|
|
11178
|
+
["AWS::CloudFormation::WaitConditionHandle", {
|
|
11179
|
+
handled: /* @__PURE__ */ new Set(),
|
|
11180
|
+
silentDrop: /* @__PURE__ */ new Map()
|
|
11181
|
+
}],
|
|
11165
11182
|
["AWS::CloudFront::CloudFrontOriginAccessIdentity", {
|
|
11166
11183
|
handled: new Set(["CloudFrontOriginAccessIdentityConfig"]),
|
|
11167
11184
|
silentDrop: /* @__PURE__ */ new Map()
|
|
@@ -14891,6 +14908,7 @@ var DeployEngine = class {
|
|
|
14891
14908
|
parameters: parameterValues,
|
|
14892
14909
|
conditions
|
|
14893
14910
|
}, stackName);
|
|
14911
|
+
diffResolverContext.bestEffort = true;
|
|
14894
14912
|
const diffResolveFn = (value) => this.resolver.resolve(value, diffResolverContext);
|
|
14895
14913
|
const changes = await this.diffCalculator.calculateDiff(currentState, effectiveTemplate, diffResolveFn);
|
|
14896
14914
|
if (!this.diffCalculator.hasChanges(changes)) {
|
|
@@ -15951,4 +15969,4 @@ var DeployEngine = class {
|
|
|
15951
15969
|
|
|
15952
15970
|
//#endregion
|
|
15953
15971
|
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 };
|
|
15954
|
-
//# sourceMappingURL=deploy-engine-
|
|
15972
|
+
//# sourceMappingURL=deploy-engine-iPBf_Lk2.js.map
|