@pulumi/ec 0.3.0 → 0.3.1-alpha.1646930327
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/config/index.js +5 -1
- package/config/index.js.map +1 -1
- package/deployment.d.ts +136 -0
- package/deployment.js +136 -0
- package/deployment.js.map +1 -1
- package/deploymentElasticsearchKeystore.d.ts +59 -0
- package/deploymentElasticsearchKeystore.js +59 -0
- package/deploymentElasticsearchKeystore.js.map +1 -1
- package/deploymentTrafficFilterAssociation.d.ts +22 -0
- package/deploymentTrafficFilterAssociation.js +22 -0
- package/deploymentTrafficFilterAssociation.js.map +1 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
package/config/index.js
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
7
11
|
}) : (function(o, m, k, k2) {
|
|
8
12
|
if (k2 === undefined) k2 = k;
|
|
9
13
|
o[k2] = m[k];
|
package/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/deployment.d.ts
CHANGED
|
@@ -1,6 +1,142 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
* ### Basic
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as ec from "@pulumi/ec";
|
|
10
|
+
*
|
|
11
|
+
* const latest = ec.getStack({
|
|
12
|
+
* versionRegex: "latest",
|
|
13
|
+
* region: "us-east-1",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleMinimal = new ec.Deployment("exampleMinimal", {
|
|
16
|
+
* region: "us-east-1",
|
|
17
|
+
* version: latest.then(latest => latest.version),
|
|
18
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
19
|
+
* elasticsearch: {},
|
|
20
|
+
* kibana: {},
|
|
21
|
+
* integrationsServer: {},
|
|
22
|
+
* enterpriseSearch: {},
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
* ### Tiered deployment with Autoscaling enabled
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as ec from "@pulumi/ec";
|
|
30
|
+
*
|
|
31
|
+
* const latest = ec.getStack({
|
|
32
|
+
* versionRegex: "latest",
|
|
33
|
+
* region: "us-east-1",
|
|
34
|
+
* });
|
|
35
|
+
* const exampleMinimal = new ec.Deployment("exampleMinimal", {
|
|
36
|
+
* region: "us-east-1",
|
|
37
|
+
* version: latest.then(latest => latest.version),
|
|
38
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
39
|
+
* elasticsearch: {
|
|
40
|
+
* autoscale: "true",
|
|
41
|
+
* topologies: [
|
|
42
|
+
* {
|
|
43
|
+
* id: "cold",
|
|
44
|
+
* size: "8g",
|
|
45
|
+
* },
|
|
46
|
+
* {
|
|
47
|
+
* id: "hot_content",
|
|
48
|
+
* size: "8g",
|
|
49
|
+
* autoscaling: {},
|
|
50
|
+
* },
|
|
51
|
+
* {
|
|
52
|
+
* id: "warm",
|
|
53
|
+
* size: "16g",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* kibana: {},
|
|
58
|
+
* integrationsServer: {},
|
|
59
|
+
* enterpriseSearch: {},
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
* ### With observability settings
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as ec from "@pulumi/ec";
|
|
67
|
+
*
|
|
68
|
+
* const latest = ec.getStack({
|
|
69
|
+
* versionRegex: "latest",
|
|
70
|
+
* region: "us-east-1",
|
|
71
|
+
* });
|
|
72
|
+
* const exampleObservability = new ec.Deployment("exampleObservability", {
|
|
73
|
+
* region: "us-east-1",
|
|
74
|
+
* version: latest.then(latest => latest.version),
|
|
75
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
76
|
+
* elasticsearch: {},
|
|
77
|
+
* kibana: {},
|
|
78
|
+
* observability: {
|
|
79
|
+
* deploymentId: ec_deployment.example_minimal.id,
|
|
80
|
+
* },
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
83
|
+
* ### With Cross Cluster Search settings
|
|
84
|
+
*
|
|
85
|
+
* ```typescript
|
|
86
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
87
|
+
* import * as ec from "@pulumi/ec";
|
|
88
|
+
*
|
|
89
|
+
* const latest = ec.getStack({
|
|
90
|
+
* versionRegex: "latest",
|
|
91
|
+
* region: "us-east-1",
|
|
92
|
+
* });
|
|
93
|
+
* const sourceDeployment = new ec.Deployment("sourceDeployment", {
|
|
94
|
+
* region: "us-east-1",
|
|
95
|
+
* version: latest.then(latest => latest.version),
|
|
96
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
97
|
+
* elasticsearch: {
|
|
98
|
+
* topologies: [{
|
|
99
|
+
* id: "hot_content",
|
|
100
|
+
* size: "1g",
|
|
101
|
+
* }],
|
|
102
|
+
* },
|
|
103
|
+
* });
|
|
104
|
+
* const ccs = new ec.Deployment("ccs", {
|
|
105
|
+
* region: "us-east-1",
|
|
106
|
+
* version: latest.then(latest => latest.version),
|
|
107
|
+
* deploymentTemplateId: "aws-cross-cluster-search-v2",
|
|
108
|
+
* elasticsearch: {
|
|
109
|
+
* remoteClusters: [{
|
|
110
|
+
* deploymentId: sourceDeployment.id,
|
|
111
|
+
* alias: sourceDeployment.name,
|
|
112
|
+
* refId: sourceDeployment.elasticsearch.apply(elasticsearch => elasticsearch.refId),
|
|
113
|
+
* }],
|
|
114
|
+
* },
|
|
115
|
+
* kibana: {},
|
|
116
|
+
* });
|
|
117
|
+
* ```
|
|
118
|
+
* ### With tags
|
|
119
|
+
*
|
|
120
|
+
* ```typescript
|
|
121
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
122
|
+
* import * as ec from "@pulumi/ec";
|
|
123
|
+
*
|
|
124
|
+
* const latest = ec.getStack({
|
|
125
|
+
* versionRegex: "latest",
|
|
126
|
+
* region: "us-east-1",
|
|
127
|
+
* });
|
|
128
|
+
* const withTags = new ec.Deployment("withTags", {
|
|
129
|
+
* region: "us-east-1",
|
|
130
|
+
* version: latest.then(latest => latest.version),
|
|
131
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
132
|
+
* elasticsearch: {},
|
|
133
|
+
* tags: {
|
|
134
|
+
* owner: "elastic cloud",
|
|
135
|
+
* component: "search",
|
|
136
|
+
* },
|
|
137
|
+
* });
|
|
138
|
+
* ```
|
|
139
|
+
*
|
|
4
140
|
* ## Import
|
|
5
141
|
*
|
|
6
142
|
* ~> **Note on legacy (pre-slider) deployments** Importing deployments created prior to the addition of sliders in ECE or ESS, without being migrated to use sliders, is not supported. ~> **Note on pre 6.6.0 deployments** Importing deployments with a version lower than `6.6.0` is not supported. ~> **Note on deployments with topology user settings** Only deployments with global user settings (config) are supported. Make sure to migrate to global settings before importing. Deployments can be imported using the `id`, for example
|
package/deployment.js
CHANGED
|
@@ -6,6 +6,142 @@ exports.Deployment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Basic
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as ec from "@pulumi/ec";
|
|
15
|
+
*
|
|
16
|
+
* const latest = ec.getStack({
|
|
17
|
+
* versionRegex: "latest",
|
|
18
|
+
* region: "us-east-1",
|
|
19
|
+
* });
|
|
20
|
+
* const exampleMinimal = new ec.Deployment("exampleMinimal", {
|
|
21
|
+
* region: "us-east-1",
|
|
22
|
+
* version: latest.then(latest => latest.version),
|
|
23
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
24
|
+
* elasticsearch: {},
|
|
25
|
+
* kibana: {},
|
|
26
|
+
* integrationsServer: {},
|
|
27
|
+
* enterpriseSearch: {},
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
* ### Tiered deployment with Autoscaling enabled
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as ec from "@pulumi/ec";
|
|
35
|
+
*
|
|
36
|
+
* const latest = ec.getStack({
|
|
37
|
+
* versionRegex: "latest",
|
|
38
|
+
* region: "us-east-1",
|
|
39
|
+
* });
|
|
40
|
+
* const exampleMinimal = new ec.Deployment("exampleMinimal", {
|
|
41
|
+
* region: "us-east-1",
|
|
42
|
+
* version: latest.then(latest => latest.version),
|
|
43
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
44
|
+
* elasticsearch: {
|
|
45
|
+
* autoscale: "true",
|
|
46
|
+
* topologies: [
|
|
47
|
+
* {
|
|
48
|
+
* id: "cold",
|
|
49
|
+
* size: "8g",
|
|
50
|
+
* },
|
|
51
|
+
* {
|
|
52
|
+
* id: "hot_content",
|
|
53
|
+
* size: "8g",
|
|
54
|
+
* autoscaling: {},
|
|
55
|
+
* },
|
|
56
|
+
* {
|
|
57
|
+
* id: "warm",
|
|
58
|
+
* size: "16g",
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* kibana: {},
|
|
63
|
+
* integrationsServer: {},
|
|
64
|
+
* enterpriseSearch: {},
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
* ### With observability settings
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as ec from "@pulumi/ec";
|
|
72
|
+
*
|
|
73
|
+
* const latest = ec.getStack({
|
|
74
|
+
* versionRegex: "latest",
|
|
75
|
+
* region: "us-east-1",
|
|
76
|
+
* });
|
|
77
|
+
* const exampleObservability = new ec.Deployment("exampleObservability", {
|
|
78
|
+
* region: "us-east-1",
|
|
79
|
+
* version: latest.then(latest => latest.version),
|
|
80
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
81
|
+
* elasticsearch: {},
|
|
82
|
+
* kibana: {},
|
|
83
|
+
* observability: {
|
|
84
|
+
* deploymentId: ec_deployment.example_minimal.id,
|
|
85
|
+
* },
|
|
86
|
+
* });
|
|
87
|
+
* ```
|
|
88
|
+
* ### With Cross Cluster Search settings
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as ec from "@pulumi/ec";
|
|
93
|
+
*
|
|
94
|
+
* const latest = ec.getStack({
|
|
95
|
+
* versionRegex: "latest",
|
|
96
|
+
* region: "us-east-1",
|
|
97
|
+
* });
|
|
98
|
+
* const sourceDeployment = new ec.Deployment("sourceDeployment", {
|
|
99
|
+
* region: "us-east-1",
|
|
100
|
+
* version: latest.then(latest => latest.version),
|
|
101
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
102
|
+
* elasticsearch: {
|
|
103
|
+
* topologies: [{
|
|
104
|
+
* id: "hot_content",
|
|
105
|
+
* size: "1g",
|
|
106
|
+
* }],
|
|
107
|
+
* },
|
|
108
|
+
* });
|
|
109
|
+
* const ccs = new ec.Deployment("ccs", {
|
|
110
|
+
* region: "us-east-1",
|
|
111
|
+
* version: latest.then(latest => latest.version),
|
|
112
|
+
* deploymentTemplateId: "aws-cross-cluster-search-v2",
|
|
113
|
+
* elasticsearch: {
|
|
114
|
+
* remoteClusters: [{
|
|
115
|
+
* deploymentId: sourceDeployment.id,
|
|
116
|
+
* alias: sourceDeployment.name,
|
|
117
|
+
* refId: sourceDeployment.elasticsearch.apply(elasticsearch => elasticsearch.refId),
|
|
118
|
+
* }],
|
|
119
|
+
* },
|
|
120
|
+
* kibana: {},
|
|
121
|
+
* });
|
|
122
|
+
* ```
|
|
123
|
+
* ### With tags
|
|
124
|
+
*
|
|
125
|
+
* ```typescript
|
|
126
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
127
|
+
* import * as ec from "@pulumi/ec";
|
|
128
|
+
*
|
|
129
|
+
* const latest = ec.getStack({
|
|
130
|
+
* versionRegex: "latest",
|
|
131
|
+
* region: "us-east-1",
|
|
132
|
+
* });
|
|
133
|
+
* const withTags = new ec.Deployment("withTags", {
|
|
134
|
+
* region: "us-east-1",
|
|
135
|
+
* version: latest.then(latest => latest.version),
|
|
136
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
137
|
+
* elasticsearch: {},
|
|
138
|
+
* tags: {
|
|
139
|
+
* owner: "elastic cloud",
|
|
140
|
+
* component: "search",
|
|
141
|
+
* },
|
|
142
|
+
* });
|
|
143
|
+
* ```
|
|
144
|
+
*
|
|
9
145
|
* ## Import
|
|
10
146
|
*
|
|
11
147
|
* ~> **Note on legacy (pre-slider) deployments** Importing deployments created prior to the addition of sliders in ECE or ESS, without being migrated to use sliders, is not supported. ~> **Note on pre 6.6.0 deployments** Importing deployments with a version lower than `6.6.0` is not supported. ~> **Note on deployments with topology user settings** Only deployments with global user settings (config) are supported. Make sure to migrate to global settings before importing. Deployments can be imported using the `id`, for example
|
package/deployment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../deployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../deployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgJG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA8IjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK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I,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IArMD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAuMC;AAzLG,gBAAgB;AACO,uBAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -1,5 +1,64 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* These examples show how to use the resource at a basic level, and can be copied. This resource becomes really useful when combined with other data providers, like vault or similar.
|
|
6
|
+
* ### Adding a new keystore setting to your deployment
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as ec from "@pulumi/ec";
|
|
11
|
+
*
|
|
12
|
+
* const latest = ec.getStack({
|
|
13
|
+
* versionRegex: "latest",
|
|
14
|
+
* region: "us-east-1",
|
|
15
|
+
* });
|
|
16
|
+
* // Create an Elastic Cloud deployment
|
|
17
|
+
* const exampleKeystore = new ec.Deployment("exampleKeystore", {
|
|
18
|
+
* region: "us-east-1",
|
|
19
|
+
* version: latest.then(latest => latest.version),
|
|
20
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
21
|
+
* elasticsearch: {},
|
|
22
|
+
* });
|
|
23
|
+
* // Create the keystore secret entry
|
|
24
|
+
* const secureUrl = new ec.DeploymentElasticsearchKeystore("secureUrl", {
|
|
25
|
+
* deploymentId: exampleKeystore.id,
|
|
26
|
+
* settingName: "xpack.notification.slack.account.hello.secure_url",
|
|
27
|
+
* value: "http://my-secure-url.com",
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
* ### Adding credentials to use GCS as a snapshot repository
|
|
31
|
+
*
|
|
32
|
+
* For up-to-date documentation on the `settingName`, refer to the [ESS documentation](https://www.elastic.co/guide/en/cloud/current/ec-gcs-snapshotting.html#ec-gcs-service-account-key).
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as ec from "@pulumi/ec";
|
|
37
|
+
* import * from "fs";
|
|
38
|
+
*
|
|
39
|
+
* const latest = ec.getStack({
|
|
40
|
+
* versionRegex: "latest",
|
|
41
|
+
* region: "us-east-1",
|
|
42
|
+
* });
|
|
43
|
+
* // Create an Elastic Cloud deployment
|
|
44
|
+
* const exampleKeystore = new ec.Deployment("exampleKeystore", {
|
|
45
|
+
* region: "us-east-1",
|
|
46
|
+
* version: latest.then(latest => latest.version),
|
|
47
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
48
|
+
* elasticsearch: {},
|
|
49
|
+
* });
|
|
50
|
+
* // Create the keystore secret entry
|
|
51
|
+
* const gcsCredential = new ec.DeploymentElasticsearchKeystore("gcsCredential", {
|
|
52
|
+
* deploymentId: exampleKeystore.id,
|
|
53
|
+
* settingName: "gcs.client.default.credentials_file",
|
|
54
|
+
* value: fs.readFileSync("service-account-key.json"),
|
|
55
|
+
* asFile: true,
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
* ## Attributes reference
|
|
59
|
+
*
|
|
60
|
+
* There are no additional attributes exported by this resource other than the referenced arguments.
|
|
61
|
+
*
|
|
3
62
|
* ## Import
|
|
4
63
|
*
|
|
5
64
|
* This resource cannot be imported.
|
|
@@ -6,6 +6,65 @@ exports.DeploymentElasticsearchKeystore = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* These examples show how to use the resource at a basic level, and can be copied. This resource becomes really useful when combined with other data providers, like vault or similar.
|
|
12
|
+
* ### Adding a new keystore setting to your deployment
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as ec from "@pulumi/ec";
|
|
17
|
+
*
|
|
18
|
+
* const latest = ec.getStack({
|
|
19
|
+
* versionRegex: "latest",
|
|
20
|
+
* region: "us-east-1",
|
|
21
|
+
* });
|
|
22
|
+
* // Create an Elastic Cloud deployment
|
|
23
|
+
* const exampleKeystore = new ec.Deployment("exampleKeystore", {
|
|
24
|
+
* region: "us-east-1",
|
|
25
|
+
* version: latest.then(latest => latest.version),
|
|
26
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
27
|
+
* elasticsearch: {},
|
|
28
|
+
* });
|
|
29
|
+
* // Create the keystore secret entry
|
|
30
|
+
* const secureUrl = new ec.DeploymentElasticsearchKeystore("secureUrl", {
|
|
31
|
+
* deploymentId: exampleKeystore.id,
|
|
32
|
+
* settingName: "xpack.notification.slack.account.hello.secure_url",
|
|
33
|
+
* value: "http://my-secure-url.com",
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
* ### Adding credentials to use GCS as a snapshot repository
|
|
37
|
+
*
|
|
38
|
+
* For up-to-date documentation on the `settingName`, refer to the [ESS documentation](https://www.elastic.co/guide/en/cloud/current/ec-gcs-snapshotting.html#ec-gcs-service-account-key).
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as ec from "@pulumi/ec";
|
|
43
|
+
* import * from "fs";
|
|
44
|
+
*
|
|
45
|
+
* const latest = ec.getStack({
|
|
46
|
+
* versionRegex: "latest",
|
|
47
|
+
* region: "us-east-1",
|
|
48
|
+
* });
|
|
49
|
+
* // Create an Elastic Cloud deployment
|
|
50
|
+
* const exampleKeystore = new ec.Deployment("exampleKeystore", {
|
|
51
|
+
* region: "us-east-1",
|
|
52
|
+
* version: latest.then(latest => latest.version),
|
|
53
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
54
|
+
* elasticsearch: {},
|
|
55
|
+
* });
|
|
56
|
+
* // Create the keystore secret entry
|
|
57
|
+
* const gcsCredential = new ec.DeploymentElasticsearchKeystore("gcsCredential", {
|
|
58
|
+
* deploymentId: exampleKeystore.id,
|
|
59
|
+
* settingName: "gcs.client.default.credentials_file",
|
|
60
|
+
* value: fs.readFileSync("service-account-key.json"),
|
|
61
|
+
* asFile: true,
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
* ## Attributes reference
|
|
65
|
+
*
|
|
66
|
+
* There are no additional attributes exported by this resource other than the referenced arguments.
|
|
67
|
+
*
|
|
9
68
|
* ## Import
|
|
10
69
|
*
|
|
11
70
|
* This resource cannot be imported.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentElasticsearchKeystore.js","sourceRoot":"","sources":["../deploymentElasticsearchKeystore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deploymentElasticsearchKeystore.js","sourceRoot":"","sources":["../deploymentElasticsearchKeystore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IAqDtE,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+D,CAAC;YAC9E,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;aAAM;YACH,MAAM,IAAI,GAAG,WAA8D,CAAC;YAC5E,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAA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,IAAG,CAAC;IACtF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;;AA1BL,0EAiFC;AAnEG,gBAAgB;AACO,4CAAY,GAAG,0EAA0E,CAAC"}
|
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as ec from "@pulumi/ec";
|
|
8
|
+
*
|
|
9
|
+
* const exampleDeployment = ec.getDeployment({
|
|
10
|
+
* id: "320b7b540dfc967a7a649c18e2fce4ed",
|
|
11
|
+
* });
|
|
12
|
+
* const exampleDeploymentTrafficFilter = new ec.DeploymentTrafficFilter("exampleDeploymentTrafficFilter", {
|
|
13
|
+
* region: "us-east-1",
|
|
14
|
+
* type: "ip",
|
|
15
|
+
* rules: [{
|
|
16
|
+
* source: "0.0.0.0/0",
|
|
17
|
+
* }],
|
|
18
|
+
* });
|
|
19
|
+
* const exampleDeploymentTrafficFilterAssociation = new ec.DeploymentTrafficFilterAssociation("exampleDeploymentTrafficFilterAssociation", {
|
|
20
|
+
* trafficFilterId: exampleDeploymentTrafficFilter.id,
|
|
21
|
+
* deploymentId: ec_deployment.example.id,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
3
25
|
* ## Import
|
|
4
26
|
*
|
|
5
27
|
* Import is not supported on this resource.
|
|
@@ -6,6 +6,28 @@ exports.DeploymentTrafficFilterAssociation = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as ec from "@pulumi/ec";
|
|
14
|
+
*
|
|
15
|
+
* const exampleDeployment = ec.getDeployment({
|
|
16
|
+
* id: "320b7b540dfc967a7a649c18e2fce4ed",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleDeploymentTrafficFilter = new ec.DeploymentTrafficFilter("exampleDeploymentTrafficFilter", {
|
|
19
|
+
* region: "us-east-1",
|
|
20
|
+
* type: "ip",
|
|
21
|
+
* rules: [{
|
|
22
|
+
* source: "0.0.0.0/0",
|
|
23
|
+
* }],
|
|
24
|
+
* });
|
|
25
|
+
* const exampleDeploymentTrafficFilterAssociation = new ec.DeploymentTrafficFilterAssociation("exampleDeploymentTrafficFilterAssociation", {
|
|
26
|
+
* trafficFilterId: exampleDeploymentTrafficFilter.id,
|
|
27
|
+
* deploymentId: ec_deployment.example.id,
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
9
31
|
* ## Import
|
|
10
32
|
*
|
|
11
33
|
* Import is not supported on this resource.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentTrafficFilterAssociation.js","sourceRoot":"","sources":["../deploymentTrafficFilterAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deploymentTrafficFilterAssociation.js","sourceRoot":"","sources":["../deploymentTrafficFilterAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IA6CzE,YAAY,IAAY,EAAE,WAA8F,EAAE,I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AAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kCAAkC,CAAC,YAAY,CAAC;IACnF,CAAC;;AA1BL,gFAkEC;AApDG,gBAAgB;AACO,+CAAY,GAAG,gFAAgF,CAAC"}
|
package/index.js
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
7
11
|
}) : (function(o, m, k, k2) {
|
|
8
12
|
if (k2 === undefined) k2 = k;
|
|
9
13
|
o[k2] = m[k];
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,+CAA6B;AAC7B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AE,OAAO,CAAC,CAAA;AAC7F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,IAAI,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,IAAI,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,IAAI,EAAE,0CAA0C,EAAE,OAAO,CAAC,CAAA;AAEhG,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,IAAI,EAAE;IACzC,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,qBAAqB,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/ec",
|
|
3
|
-
"version": "v0.3.
|
|
3
|
+
"version": "v0.3.1-alpha.1646930327+9b908cdb",
|
|
4
4
|
"description": "A Pulumi package for creating and managing ElasticCloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "tsc",
|
|
18
|
-
"install": "node scripts/install-pulumi-plugin.js resource ec v0.3.
|
|
18
|
+
"install": "node scripts/install-pulumi-plugin.js resource ec v0.3.1-alpha.1646930327+9b908cdb"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/ec",
|
|
3
|
-
"version": "v0.3.
|
|
3
|
+
"version": "v0.3.1-alpha.1646930327+9b908cdb",
|
|
4
4
|
"description": "A Pulumi package for creating and managing ElasticCloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "tsc",
|
|
18
|
-
"install": "node scripts/install-pulumi-plugin.js resource ec v0.3.
|
|
18
|
+
"install": "node scripts/install-pulumi-plugin.js resource ec v0.3.1-alpha.1646930327+9b908cdb"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@pulumi/pulumi": "^3.0.0"
|