@go-to-k/cdkd 0.221.13 → 0.221.15
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 +81 -20
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-By_Cayj0.js → deploy-engine-DsPQH0fw.js} +19 -1
- package/dist/deploy-engine-DsPQH0fw.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -1
- package/dist/deploy-engine-By_Cayj0.js.map +0 -1
|
@@ -27,6 +27,7 @@ import graphlib from "graphlib";
|
|
|
27
27
|
import { DescribeDBClustersCommand, DescribeDBInstancesCommand, RDSClient } from "@aws-sdk/client-rds";
|
|
28
28
|
import { DescribeReplicationGroupsCommand, ElastiCacheClient } from "@aws-sdk/client-elasticache";
|
|
29
29
|
import { DescribeClustersCommand, RedshiftClient } from "@aws-sdk/client-redshift";
|
|
30
|
+
import { DescribeDomainCommand, OpenSearchClient } from "@aws-sdk/client-opensearch";
|
|
30
31
|
import { getSignedUrl } from "@aws-sdk/s3-request-presigner";
|
|
31
32
|
|
|
32
33
|
//#region src/utils/aws-region-resolver.ts
|
|
@@ -7586,6 +7587,23 @@ var CloudControlProvider = class {
|
|
|
7586
7587
|
this.logger.debug(`Failed to enrich Redshift Cluster ${physicalId}: ${error instanceof Error ? error.message : String(error)}`);
|
|
7587
7588
|
}
|
|
7588
7589
|
break;
|
|
7590
|
+
case "AWS::OpenSearchService::Domain":
|
|
7591
|
+
try {
|
|
7592
|
+
const domain = (await new OpenSearchClient({}).send(new DescribeDomainCommand({ DomainName: physicalId }))).DomainStatus;
|
|
7593
|
+
if (domain) {
|
|
7594
|
+
const endpoint = domain.Endpoint ?? domain.Endpoints?.["vpc"];
|
|
7595
|
+
if (endpoint) enriched["DomainEndpoint"] = endpoint;
|
|
7596
|
+
if (domain.ARN) {
|
|
7597
|
+
enriched["Arn"] = domain.ARN;
|
|
7598
|
+
enriched["DomainArn"] = domain.ARN;
|
|
7599
|
+
}
|
|
7600
|
+
if (domain.DomainId) enriched["Id"] = domain.DomainId;
|
|
7601
|
+
this.logger.debug(`Enriched OpenSearch Domain ${physicalId} with DomainEndpoint/Arn from DescribeDomain`);
|
|
7602
|
+
}
|
|
7603
|
+
} catch (error) {
|
|
7604
|
+
this.logger.debug(`Failed to enrich OpenSearch Domain ${physicalId}: ${error instanceof Error ? error.message : String(error)}`);
|
|
7605
|
+
}
|
|
7606
|
+
break;
|
|
7589
7607
|
default: break;
|
|
7590
7608
|
}
|
|
7591
7609
|
return enriched;
|
|
@@ -13176,4 +13194,4 @@ var DeployEngine = class {
|
|
|
13176
13194
|
|
|
13177
13195
|
//#endregion
|
|
13178
13196
|
export { AssemblyReader as $, shouldRetainResource as A, getDefaultStateBucketName as B, applyRoleArnIfSet as C, LockManager as D, TemplateParser as E, formatDockerLoginError as F, resolveStateBucketWithDefault as G, resolveApp as H, getDockerCmd as I, CFN_TEMPLATE_BODY_LIMIT as J, resolveStateBucketWithDefaultAndSource as K, runDockerForeground as L, stringifyValue as M, WorkGraph as N, S3StateBackend as O, buildDockerImage as P, uploadCfnTemplate as Q, runDockerStreaming as R, IntrinsicFunctionResolver as S, DagBuilder as T, resolveCaptureObservedState as U, getLegacyStateBucketName as V, resolveSkipPrefix as W, MIGRATE_TMP_PREFIX as X, CFN_TEMPLATE_URL_LIMIT as Y, findLargeInlineResources as Z, IAMRoleProvider as _, withRetry as a, findActionableSilentDrops as b, computeImplicitDeleteEdges as c, bold as d, clearBucketRegionCache as et, cyan as f, yellow as g, red as h, withResourceDeadline as i, AssetPublisher as j, rebuildClientForBucketRegion as k, extractDeploymentEventError as l, green as m, DEFAULT_RESOURCE_WARN_AFTER_MS as n, isRetryableTransientError as o, gray as p, warnDeprecatedNoPrefixCliFlag as q, DeployEngine as r, IMPLICIT_DELETE_DEPENDENCIES as s, DEFAULT_RESOURCE_TIMEOUT_MS as t, resolveBucketRegion as tt, formatResourceLine as u, collectInlinePolicyNamesManagedBySiblings as v, DiffCalculator as w, CloudControlProvider as x, ProviderRegistry as y, Synthesizer as z };
|
|
13179
|
-
//# sourceMappingURL=deploy-engine-
|
|
13197
|
+
//# sourceMappingURL=deploy-engine-DsPQH0fw.js.map
|