@go-to-k/cdkd 0.230.29 → 0.230.30
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 +232 -12
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-pdCBIFCK.js → deploy-engine-ByCHAN3p.js} +41 -6
- package/dist/deploy-engine-ByCHAN3p.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -3
- package/dist/deploy-engine-pdCBIFCK.js.map +0 -1
|
@@ -7807,7 +7807,6 @@ const NON_PROVISIONABLE_TYPES = new Set([
|
|
|
7807
7807
|
"AWS::CloudFormation::WaitConditionHandle",
|
|
7808
7808
|
"AWS::CloudFront::StreamingDistribution",
|
|
7809
7809
|
"AWS::CloudWatch::AnomalyDetector",
|
|
7810
|
-
"AWS::CloudWatch::InsightRule",
|
|
7811
7810
|
"AWS::CodeBuild::ReportGroup",
|
|
7812
7811
|
"AWS::CodeBuild::SourceCredential",
|
|
7813
7812
|
"AWS::CodeCommit::Repository",
|
|
@@ -7815,7 +7814,6 @@ const NON_PROVISIONABLE_TYPES = new Set([
|
|
|
7815
7814
|
"AWS::Config::ConfigurationRecorder",
|
|
7816
7815
|
"AWS::Config::DeliveryChannel",
|
|
7817
7816
|
"AWS::Config::OrganizationConfigRule",
|
|
7818
|
-
"AWS::Config::RemediationConfiguration",
|
|
7819
7817
|
"AWS::DAX::Cluster",
|
|
7820
7818
|
"AWS::DAX::ParameterGroup",
|
|
7821
7819
|
"AWS::DAX::SubnetGroup",
|
|
@@ -7848,7 +7846,6 @@ const NON_PROVISIONABLE_TYPES = new Set([
|
|
|
7848
7846
|
"AWS::FSx::Volume",
|
|
7849
7847
|
"AWS::Glue::Classifier",
|
|
7850
7848
|
"AWS::Glue::CustomEntityType",
|
|
7851
|
-
"AWS::Glue::DataCatalogEncryptionSettings",
|
|
7852
7849
|
"AWS::Glue::DataQualityRuleset",
|
|
7853
7850
|
"AWS::Glue::DevEndpoint",
|
|
7854
7851
|
"AWS::Glue::MLTransform",
|
|
@@ -7870,7 +7867,6 @@ const NON_PROVISIONABLE_TYPES = new Set([
|
|
|
7870
7867
|
"AWS::Greengrass::ResourceDefinitionVersion",
|
|
7871
7868
|
"AWS::Greengrass::SubscriptionDefinition",
|
|
7872
7869
|
"AWS::Greengrass::SubscriptionDefinitionVersion",
|
|
7873
|
-
"AWS::GuardDuty::ThreatEntitySet",
|
|
7874
7870
|
"AWS::IAM::AccessKey",
|
|
7875
7871
|
"AWS::IoT::PolicyPrincipalAttachment",
|
|
7876
7872
|
"AWS::IoT::ThingPrincipalAttachment",
|
|
@@ -7930,6 +7926,7 @@ const NON_PROVISIONABLE_TYPES = new Set([
|
|
|
7930
7926
|
"AWS::Route53::RecordSetGroup",
|
|
7931
7927
|
"AWS::SageMaker::CodeRepository",
|
|
7932
7928
|
"AWS::SageMaker::EndpointConfig",
|
|
7929
|
+
"AWS::SageMaker::ModelCardExportJob",
|
|
7933
7930
|
"AWS::SageMaker::NotebookInstance",
|
|
7934
7931
|
"AWS::SageMaker::NotebookInstanceLifecycleConfig",
|
|
7935
7932
|
"AWS::SageMaker::Workteam",
|
|
@@ -11075,6 +11072,22 @@ const PROPERTY_COVERAGE_BY_TYPE = new Map([
|
|
|
11075
11072
|
]),
|
|
11076
11073
|
silentDrop: /* @__PURE__ */ new Map()
|
|
11077
11074
|
}],
|
|
11075
|
+
["AWS::Scheduler::Schedule", {
|
|
11076
|
+
handled: new Set([
|
|
11077
|
+
"Description",
|
|
11078
|
+
"EndDate",
|
|
11079
|
+
"FlexibleTimeWindow",
|
|
11080
|
+
"GroupName",
|
|
11081
|
+
"KmsKeyArn",
|
|
11082
|
+
"Name",
|
|
11083
|
+
"ScheduleExpression",
|
|
11084
|
+
"ScheduleExpressionTimezone",
|
|
11085
|
+
"StartDate",
|
|
11086
|
+
"State",
|
|
11087
|
+
"Target"
|
|
11088
|
+
]),
|
|
11089
|
+
silentDrop: /* @__PURE__ */ new Map()
|
|
11090
|
+
}],
|
|
11078
11091
|
["AWS::SecretsManager::Secret", {
|
|
11079
11092
|
handled: new Set([
|
|
11080
11093
|
"Description",
|
|
@@ -11328,6 +11341,28 @@ function findActionableSilentDrops(resourceType, templateProperties, allowedKeys
|
|
|
11328
11341
|
* Tier 1 types whose SDK Provider declares `handledProperties` and where
|
|
11329
11342
|
* Cloud Control is guaranteed to be a viable alternative.
|
|
11330
11343
|
*/
|
|
11344
|
+
/**
|
|
11345
|
+
* Types exempt from the sticky `provisionedBy: 'cc-api'` routing rule.
|
|
11346
|
+
*
|
|
11347
|
+
* The sticky rule exists to avoid physical-ID churn when an SDK provider is
|
|
11348
|
+
* backfilled for a type Cloud Control was already managing fine. These types
|
|
11349
|
+
* are different: their CLOUD CONTROL ROUTING IS BROKEN, so keeping existing
|
|
11350
|
+
* state pinned to cc-api would keep the bug alive for every pre-existing
|
|
11351
|
+
* resource. Only add a type here when BOTH hold:
|
|
11352
|
+
*
|
|
11353
|
+
* 1. the CC handler cannot correctly manage the resource (not a perf choice),
|
|
11354
|
+
* 2. the SDK provider uses the SAME physicalId the CC path stored, so the
|
|
11355
|
+
* re-route is churn-free and the record flips to `provisionedBy: 'sdk'`
|
|
11356
|
+
* transparently on its next state write.
|
|
11357
|
+
*
|
|
11358
|
+
* - AWS::Scheduler::Schedule (issue #961): a schedule in a custom
|
|
11359
|
+
* ScheduleGroup is unaddressable via CC (the handlers resolve the bare-Name
|
|
11360
|
+
* identifier against the DEFAULT group) — CC UPDATE fails NotFound and CC
|
|
11361
|
+
* DELETE silently no-ops, orphaning a live schedule. Both paths stored the
|
|
11362
|
+
* bare schedule name as physicalId, and the state properties carry
|
|
11363
|
+
* GroupName, so the SDK provider addresses existing records correctly.
|
|
11364
|
+
*/
|
|
11365
|
+
const STICKY_CC_MIGRATION_EXEMPT = new Set(["AWS::Scheduler::Schedule"]);
|
|
11331
11366
|
var ProviderRegistry = class {
|
|
11332
11367
|
logger = getLogger().child("ProviderRegistry");
|
|
11333
11368
|
providers = /* @__PURE__ */ new Map();
|
|
@@ -11422,7 +11457,7 @@ var ProviderRegistry = class {
|
|
|
11422
11457
|
provisionedBy: "sdk"
|
|
11423
11458
|
};
|
|
11424
11459
|
}
|
|
11425
|
-
if (provisionedBy === "cc-api") {
|
|
11460
|
+
if (provisionedBy === "cc-api" && !STICKY_CC_MIGRATION_EXEMPT.has(resourceType)) {
|
|
11426
11461
|
this.logger.debug(`Routing ${resourceType} via Cloud Control (state-recorded provisionedBy=cc-api)`);
|
|
11427
11462
|
return {
|
|
11428
11463
|
provider: this.cloudControlProvider,
|
|
@@ -14365,4 +14400,4 @@ var DeployEngine = class {
|
|
|
14365
14400
|
|
|
14366
14401
|
//#endregion
|
|
14367
14402
|
export { resolveStateBucketWithDefaultAndSource as $, TemplateParser as A, getDockerCmd as B, findActionableSilentDrops as C, applyRoleArnIfSet as D, cfnRefValueFromPhysicalId as E, AssetPublisher as F, Synthesizer as G, runDockerStreaming as H, stringifyValue as I, getLegacyStateBucketName as J, synthesisStatusMessage as K, WorkGraph as L, S3StateBackend as M, rebuildClientForBucketRegion as N, DiffCalculator as O, shouldRetainResource as P, resolveStateBucketWithDefault as Q, buildDockerImage as R, ProviderRegistry as S, IntrinsicFunctionResolver as T, AssetManifestLoader as U, runDockerForeground as V, getDockerImageBySourceHash as W, resolveCaptureObservedState as X, resolveApp as Y, resolveSkipPrefix as Z, green as _, withRetry as a, uploadCfnTemplate as at, IAMRoleProvider as b, computeImplicitDeleteEdges as c, resolveBucketRegion as ct, isStatefulRecreateTargetSync as d, warnDeprecatedNoPrefixCliFlag as et, renderStatefulReason as f, gray as g, cyan as h, withResourceDeadline as i, findLargeInlineResources as it, LockManager as j, DagBuilder as k, extractDeploymentEventError as l, bold as m, DEFAULT_RESOURCE_WARN_AFTER_MS as n, CFN_TEMPLATE_URL_LIMIT as nt, isRetryableTransientError as o, AssemblyReader as ot, formatResourceLine as p, getDefaultStateBucketName as q, DeployEngine as r, MIGRATE_TMP_PREFIX as rt, IMPLICIT_DELETE_DEPENDENCIES as s, clearBucketRegionCache as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, CFN_TEMPLATE_BODY_LIMIT as tt, MULTI_REGION_RECREATE_BLOCKED_TYPES as u, red as v, CloudControlProvider as w, collectInlinePolicyNamesManagedBySiblings as x, yellow as y, formatDockerLoginError as z };
|
|
14368
|
-
//# sourceMappingURL=deploy-engine-
|
|
14403
|
+
//# sourceMappingURL=deploy-engine-ByCHAN3p.js.map
|