@pulumi/ec 0.10.8 → 0.10.10
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/vars.d.ts +3 -0
- package/config/vars.js.map +1 -1
- package/deployment.d.ts +24 -4
- package/deployment.js +12 -4
- package/deployment.js.map +1 -1
- package/deploymentElasticsearchKeystore.d.ts +12 -0
- package/deploymentElasticsearchKeystore.js +12 -0
- package/deploymentElasticsearchKeystore.js.map +1 -1
- package/deploymentExtension.d.ts +73 -0
- package/deploymentExtension.js +73 -0
- package/deploymentExtension.js.map +1 -1
- package/deploymentTrafficFilter.d.ts +5 -1
- package/deploymentTrafficFilter.js +5 -1
- package/deploymentTrafficFilter.js.map +1 -1
- package/deploymentTrafficFilterAssociation.d.ts +2 -0
- package/deploymentTrafficFilterAssociation.js +2 -0
- package/deploymentTrafficFilterAssociation.js.map +1 -1
- package/observabilityProject.d.ts +12 -0
- package/observabilityProject.js +2 -0
- package/observabilityProject.js.map +1 -1
- package/organization.d.ts +81 -0
- package/organization.js +81 -0
- package/organization.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +6 -0
- package/provider.js.map +1 -1
- package/snapshotRepository.d.ts +18 -0
- package/snapshotRepository.js +18 -0
- package/snapshotRepository.js.map +1 -1
- package/types/input.d.ts +27 -14
- package/types/output.d.ts +27 -14
package/config/vars.d.ts
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
* API Key to use for API authentication. The only valid authentication mechanism for the Elasticsearch Service.
|
|
3
3
|
*/
|
|
4
4
|
export declare const apikey: string | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Endpoint where the terraform provider will point to. Defaults to "https://api.elastic-cloud.com".
|
|
7
|
+
*/
|
|
5
8
|
export declare const endpoint: string | undefined;
|
|
6
9
|
/**
|
|
7
10
|
* Allow the provider to skip TLS validation on its outgoing HTTP calls.
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAMzC,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAMzC,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,UAAU,CAAC,CAAC;IACnD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,SAAS,CAAC,CAAC;IAClD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,oBAAoB,EAAE;IACjD,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,oBAAoB,CAAC,CAAC;IAC7D,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/deployment.d.ts
CHANGED
|
@@ -2,6 +2,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* Provides an Elastic Cloud deployment resource, which allows deployments to be created, updated, and deleted.
|
|
6
|
+
*
|
|
7
|
+
* > **Note on traffic filters** If you use `trafficFilter` on an `ec.Deployment`, Terraform will manage the full set of traffic rules for the deployment, and treat additional traffic filters as drift. For this reason, `trafficFilter` cannot be mixed with the `ec.DeploymentTrafficFilterAssociation` resource for a given deployment.
|
|
8
|
+
*
|
|
9
|
+
* > **Note on Elastic Stack versions** Using a version prior to `6.6.0` is not supported.
|
|
10
|
+
*
|
|
11
|
+
* > **Note on regions and deployment templates** Before you start, you might want to read about [Elastic Cloud deployments](https://www.elastic.co/guide/en/cloud/current/ec-create-deployment.html) and check the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions and deployment templates available in Elasticsearch Service (ESS).
|
|
12
|
+
*
|
|
5
13
|
* ## Example Usage
|
|
6
14
|
*
|
|
7
15
|
* ### Basic
|
|
@@ -24,13 +32,13 @@ import * as outputs from "./types/output";
|
|
|
24
32
|
*
|
|
25
33
|
* ## Import
|
|
26
34
|
*
|
|
27
|
-
*
|
|
35
|
+
* > **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearchUsername` or `elasticsearchPassword` attributes.
|
|
28
36
|
*
|
|
29
|
-
*
|
|
37
|
+
* > **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.
|
|
30
38
|
*
|
|
31
|
-
*
|
|
39
|
+
* > **Note on pre 6.6.0 deployments** Importing deployments with a version lower than `6.6.0` is not supported.
|
|
32
40
|
*
|
|
33
|
-
*
|
|
41
|
+
* > **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.
|
|
34
42
|
*
|
|
35
43
|
* Deployments can be imported using the `id`, for example:
|
|
36
44
|
*
|
|
@@ -71,6 +79,12 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
71
79
|
* Elasticsearch cluster definition
|
|
72
80
|
*/
|
|
73
81
|
readonly elasticsearch: pulumi.Output<outputs.DeploymentElasticsearch>;
|
|
82
|
+
/**
|
|
83
|
+
* Password for authenticating to the Elasticsearch resource.
|
|
84
|
+
*
|
|
85
|
+
* > **Note on deployment credentials** The <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes.
|
|
86
|
+
* > **Note on deployment credentials in state** The <code>elastic</code> user credentials are stored in the state file as plain text. Please follow the official Terraform recommendations regarding senstaive data in state.
|
|
87
|
+
*/
|
|
74
88
|
readonly elasticsearchPassword: pulumi.Output<string>;
|
|
75
89
|
/**
|
|
76
90
|
* Username for authenticating to the Elasticsearch resource.
|
|
@@ -161,6 +175,12 @@ export interface DeploymentState {
|
|
|
161
175
|
* Elasticsearch cluster definition
|
|
162
176
|
*/
|
|
163
177
|
elasticsearch?: pulumi.Input<inputs.DeploymentElasticsearch>;
|
|
178
|
+
/**
|
|
179
|
+
* Password for authenticating to the Elasticsearch resource.
|
|
180
|
+
*
|
|
181
|
+
* > **Note on deployment credentials** The <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes.
|
|
182
|
+
* > **Note on deployment credentials in state** The <code>elastic</code> user credentials are stored in the state file as plain text. Please follow the official Terraform recommendations regarding senstaive data in state.
|
|
183
|
+
*/
|
|
164
184
|
elasticsearchPassword?: pulumi.Input<string>;
|
|
165
185
|
/**
|
|
166
186
|
* Username for authenticating to the Elasticsearch resource.
|
package/deployment.js
CHANGED
|
@@ -6,6 +6,14 @@ exports.Deployment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides an Elastic Cloud deployment resource, which allows deployments to be created, updated, and deleted.
|
|
10
|
+
*
|
|
11
|
+
* > **Note on traffic filters** If you use `trafficFilter` on an `ec.Deployment`, Terraform will manage the full set of traffic rules for the deployment, and treat additional traffic filters as drift. For this reason, `trafficFilter` cannot be mixed with the `ec.DeploymentTrafficFilterAssociation` resource for a given deployment.
|
|
12
|
+
*
|
|
13
|
+
* > **Note on Elastic Stack versions** Using a version prior to `6.6.0` is not supported.
|
|
14
|
+
*
|
|
15
|
+
* > **Note on regions and deployment templates** Before you start, you might want to read about [Elastic Cloud deployments](https://www.elastic.co/guide/en/cloud/current/ec-create-deployment.html) and check the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions and deployment templates available in Elasticsearch Service (ESS).
|
|
16
|
+
*
|
|
9
17
|
* ## Example Usage
|
|
10
18
|
*
|
|
11
19
|
* ### Basic
|
|
@@ -28,13 +36,13 @@ const utilities = require("./utilities");
|
|
|
28
36
|
*
|
|
29
37
|
* ## Import
|
|
30
38
|
*
|
|
31
|
-
*
|
|
39
|
+
* > **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearchUsername` or `elasticsearchPassword` attributes.
|
|
32
40
|
*
|
|
33
|
-
*
|
|
41
|
+
* > **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.
|
|
34
42
|
*
|
|
35
|
-
*
|
|
43
|
+
* > **Note on pre 6.6.0 deployments** Importing deployments with a version lower than `6.6.0` is not supported.
|
|
36
44
|
*
|
|
37
|
-
*
|
|
45
|
+
* > **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.
|
|
38
46
|
*
|
|
39
47
|
* Deployments can be imported using the `id`, for example:
|
|
40
48
|
*
|
package/deployment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../deployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../deployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,U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BAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,gBAAgB,EAAE,uBAAuB,CAAC,EAAE,CAAC;QAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AApLL,gCAqLC;AAvKG,gBAAgB;AACO,uBAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Provides an Elastic Cloud Deployment Elasticsearch keystore resource, which allows you to create and update Elasticsearch keystore settings.
|
|
4
|
+
*
|
|
5
|
+
* Elasticsearch keystore settings can be created and updated through this resource, **each resource represents a single Elasticsearch Keystore setting**. After adding a key and its secret value to the keystore, you can use the key in place of the secret value when you configure sensitive settings.
|
|
6
|
+
*
|
|
7
|
+
* > **Note on Elastic keystore settings** This resource offers weaker consistency guarantees and will not detect and update keystore setting values that have been modified outside of the scope of Terraform, usually referred to as _drift_. For example, consider the following scenario:
|
|
8
|
+
* 1. A keystore setting is created using this resource.
|
|
9
|
+
* 2. The keystore setting's value is modified to a different value using the Elasticsearch Service API.
|
|
10
|
+
* 3. Running <code>pulumi up</code> fails to detect the changes and does not update the keystore setting to the value defined in the terraform configuration.
|
|
11
|
+
* To force the keystore setting to the value it is configured to hold, you may want to taint the resource and force its recreation.
|
|
12
|
+
*
|
|
13
|
+
* Before you create Elasticsearch keystore settings, check the [official Elasticsearch keystore documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/elasticsearch-keystore.html) and the [Elastic Cloud specific documentation](https://www.elastic.co/guide/en/cloud/current/ec-configuring-keystore.html).
|
|
14
|
+
*
|
|
3
15
|
* ## Example Usage
|
|
4
16
|
*
|
|
5
17
|
* ### Basic
|
|
@@ -6,6 +6,18 @@ exports.DeploymentElasticsearchKeystore = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides an Elastic Cloud Deployment Elasticsearch keystore resource, which allows you to create and update Elasticsearch keystore settings.
|
|
10
|
+
*
|
|
11
|
+
* Elasticsearch keystore settings can be created and updated through this resource, **each resource represents a single Elasticsearch Keystore setting**. After adding a key and its secret value to the keystore, you can use the key in place of the secret value when you configure sensitive settings.
|
|
12
|
+
*
|
|
13
|
+
* > **Note on Elastic keystore settings** This resource offers weaker consistency guarantees and will not detect and update keystore setting values that have been modified outside of the scope of Terraform, usually referred to as _drift_. For example, consider the following scenario:
|
|
14
|
+
* 1. A keystore setting is created using this resource.
|
|
15
|
+
* 2. The keystore setting's value is modified to a different value using the Elasticsearch Service API.
|
|
16
|
+
* 3. Running <code>pulumi up</code> fails to detect the changes and does not update the keystore setting to the value defined in the terraform configuration.
|
|
17
|
+
* To force the keystore setting to the value it is configured to hold, you may want to taint the resource and force its recreation.
|
|
18
|
+
*
|
|
19
|
+
* Before you create Elasticsearch keystore settings, check the [official Elasticsearch keystore documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/elasticsearch-keystore.html) and the [Elastic Cloud specific documentation](https://www.elastic.co/guide/en/cloud/current/ec-configuring-keystore.html).
|
|
20
|
+
*
|
|
9
21
|
* ## Example Usage
|
|
10
22
|
*
|
|
11
23
|
* ### Basic
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentElasticsearchKeystore.js","sourceRoot":"","sources":["../deploymentElasticsearchKeystore.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deploymentElasticsearchKeystore.js","sourceRoot":"","sources":["../deploymentElasticsearchKeystore.ts"],"names":[],"mappings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|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as ec from "@pulumi/ec";
|
|
16
|
+
* import * as std from "@pulumi/std";
|
|
17
|
+
*
|
|
18
|
+
* const filePath = "/path/to/plugin.zip";
|
|
19
|
+
* const exampleExtension = new ec.DeploymentExtension("example_extension", {
|
|
20
|
+
* name: "my_extension",
|
|
21
|
+
* description: "my extension",
|
|
22
|
+
* version: "*",
|
|
23
|
+
* extensionType: "bundle",
|
|
24
|
+
* filePath: filePath,
|
|
25
|
+
* fileHash: std.filebase64sha256({
|
|
26
|
+
* input: filePath,
|
|
27
|
+
* }).then(invoke => invoke.result),
|
|
28
|
+
* });
|
|
29
|
+
* const latest = ec.getStack({
|
|
30
|
+
* versionRegex: "latest",
|
|
31
|
+
* region: "us-east-1",
|
|
32
|
+
* });
|
|
33
|
+
* const withExtension = new ec.Deployment("with_extension", {
|
|
34
|
+
* name: "my_example_deployment",
|
|
35
|
+
* region: "us-east-1",
|
|
36
|
+
* version: latest.then(latest => latest.version),
|
|
37
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
38
|
+
* elasticsearch: {
|
|
39
|
+
* hot: {
|
|
40
|
+
* autoscaling: {},
|
|
41
|
+
* },
|
|
42
|
+
* extensions: [{
|
|
43
|
+
* name: exampleExtension.name,
|
|
44
|
+
* type: "bundle",
|
|
45
|
+
* version: latest.then(latest => latest.version),
|
|
46
|
+
* url: exampleExtension.url,
|
|
47
|
+
* }],
|
|
48
|
+
* },
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
13
52
|
* ### With download URL
|
|
14
53
|
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as ec from "@pulumi/ec";
|
|
57
|
+
*
|
|
58
|
+
* const exampleExtension = new ec.DeploymentExtension("example_extension", {
|
|
59
|
+
* name: "my_extension",
|
|
60
|
+
* description: "my extension",
|
|
61
|
+
* version: "*",
|
|
62
|
+
* extensionType: "bundle",
|
|
63
|
+
* downloadUrl: "https://example.net",
|
|
64
|
+
* });
|
|
65
|
+
* const latest = ec.getStack({
|
|
66
|
+
* versionRegex: "latest",
|
|
67
|
+
* region: "us-east-1",
|
|
68
|
+
* });
|
|
69
|
+
* const withExtension = new ec.Deployment("with_extension", {
|
|
70
|
+
* name: "my_example_deployment",
|
|
71
|
+
* region: "us-east-1",
|
|
72
|
+
* version: latest.then(latest => latest.version),
|
|
73
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
74
|
+
* elasticsearch: {
|
|
75
|
+
* hot: {
|
|
76
|
+
* autoscaling: {},
|
|
77
|
+
* },
|
|
78
|
+
* extensions: [{
|
|
79
|
+
* name: exampleExtension.name,
|
|
80
|
+
* type: "bundle",
|
|
81
|
+
* version: latest.then(latest => latest.version),
|
|
82
|
+
* url: exampleExtension.url,
|
|
83
|
+
* }],
|
|
84
|
+
* },
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
15
88
|
* ## Import
|
|
16
89
|
*
|
|
17
90
|
* Extensions can be imported using the `id`, for example:
|
package/deploymentExtension.js
CHANGED
|
@@ -16,8 +16,81 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* ### With extension file
|
|
18
18
|
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as ec from "@pulumi/ec";
|
|
22
|
+
* import * as std from "@pulumi/std";
|
|
23
|
+
*
|
|
24
|
+
* const filePath = "/path/to/plugin.zip";
|
|
25
|
+
* const exampleExtension = new ec.DeploymentExtension("example_extension", {
|
|
26
|
+
* name: "my_extension",
|
|
27
|
+
* description: "my extension",
|
|
28
|
+
* version: "*",
|
|
29
|
+
* extensionType: "bundle",
|
|
30
|
+
* filePath: filePath,
|
|
31
|
+
* fileHash: std.filebase64sha256({
|
|
32
|
+
* input: filePath,
|
|
33
|
+
* }).then(invoke => invoke.result),
|
|
34
|
+
* });
|
|
35
|
+
* const latest = ec.getStack({
|
|
36
|
+
* versionRegex: "latest",
|
|
37
|
+
* region: "us-east-1",
|
|
38
|
+
* });
|
|
39
|
+
* const withExtension = new ec.Deployment("with_extension", {
|
|
40
|
+
* name: "my_example_deployment",
|
|
41
|
+
* region: "us-east-1",
|
|
42
|
+
* version: latest.then(latest => latest.version),
|
|
43
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
44
|
+
* elasticsearch: {
|
|
45
|
+
* hot: {
|
|
46
|
+
* autoscaling: {},
|
|
47
|
+
* },
|
|
48
|
+
* extensions: [{
|
|
49
|
+
* name: exampleExtension.name,
|
|
50
|
+
* type: "bundle",
|
|
51
|
+
* version: latest.then(latest => latest.version),
|
|
52
|
+
* url: exampleExtension.url,
|
|
53
|
+
* }],
|
|
54
|
+
* },
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
19
58
|
* ### With download URL
|
|
20
59
|
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as ec from "@pulumi/ec";
|
|
63
|
+
*
|
|
64
|
+
* const exampleExtension = new ec.DeploymentExtension("example_extension", {
|
|
65
|
+
* name: "my_extension",
|
|
66
|
+
* description: "my extension",
|
|
67
|
+
* version: "*",
|
|
68
|
+
* extensionType: "bundle",
|
|
69
|
+
* downloadUrl: "https://example.net",
|
|
70
|
+
* });
|
|
71
|
+
* const latest = ec.getStack({
|
|
72
|
+
* versionRegex: "latest",
|
|
73
|
+
* region: "us-east-1",
|
|
74
|
+
* });
|
|
75
|
+
* const withExtension = new ec.Deployment("with_extension", {
|
|
76
|
+
* name: "my_example_deployment",
|
|
77
|
+
* region: "us-east-1",
|
|
78
|
+
* version: latest.then(latest => latest.version),
|
|
79
|
+
* deploymentTemplateId: "aws-io-optimized-v2",
|
|
80
|
+
* elasticsearch: {
|
|
81
|
+
* hot: {
|
|
82
|
+
* autoscaling: {},
|
|
83
|
+
* },
|
|
84
|
+
* extensions: [{
|
|
85
|
+
* name: exampleExtension.name,
|
|
86
|
+
* type: "bundle",
|
|
87
|
+
* version: latest.then(latest => latest.version),
|
|
88
|
+
* url: exampleExtension.url,
|
|
89
|
+
* }],
|
|
90
|
+
* },
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
21
94
|
* ## Import
|
|
22
95
|
*
|
|
23
96
|
* Extensions can be imported using the `id`, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentExtension.js","sourceRoot":"","sources":["../deploymentExtension.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deploymentExtension.js","sourceRoot":"","sources":["../deploymentExtension.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAA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AAE,WAAW,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAjHL,kDAkHC;AApGG,gBAAgB;AACO,gCAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -2,6 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* Provides an Elastic Cloud traffic filter resource, which allows traffic filter rules to be created, updated, and deleted. Traffic filter rules are used to limit inbound traffic to deployment resources.
|
|
6
|
+
*
|
|
7
|
+
* > **Note on traffic filters** If you use trafficFilter on an ec_deployment, Terraform will manage the full set of traffic rules for the deployment, and treat additional traffic filters as drift. For this reason, trafficFilter cannot be mixed with the ec.DeploymentTrafficFilterAssociation resource for a given deployment.
|
|
8
|
+
*
|
|
5
9
|
* ## Example Usage
|
|
6
10
|
*
|
|
7
11
|
* ### IP based traffic filter
|
|
@@ -74,7 +78,7 @@ import * as outputs from "./types/output";
|
|
|
74
78
|
* });
|
|
75
79
|
* ```
|
|
76
80
|
*
|
|
77
|
-
* ###GCP Private Service Connect traffic filter
|
|
81
|
+
* ### GCP Private Service Connect traffic filter
|
|
78
82
|
*
|
|
79
83
|
* ```typescript
|
|
80
84
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -6,6 +6,10 @@ exports.DeploymentTrafficFilter = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides an Elastic Cloud traffic filter resource, which allows traffic filter rules to be created, updated, and deleted. Traffic filter rules are used to limit inbound traffic to deployment resources.
|
|
10
|
+
*
|
|
11
|
+
* > **Note on traffic filters** If you use trafficFilter on an ec_deployment, Terraform will manage the full set of traffic rules for the deployment, and treat additional traffic filters as drift. For this reason, trafficFilter cannot be mixed with the ec.DeploymentTrafficFilterAssociation resource for a given deployment.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* ### IP based traffic filter
|
|
@@ -78,7 +82,7 @@ const utilities = require("./utilities");
|
|
|
78
82
|
* });
|
|
79
83
|
* ```
|
|
80
84
|
*
|
|
81
|
-
* ###GCP Private Service Connect traffic filter
|
|
85
|
+
* ### GCP Private Service Connect traffic filter
|
|
82
86
|
*
|
|
83
87
|
* ```typescript
|
|
84
88
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentTrafficFilter.js","sourceRoot":"","sources":["../deploymentTrafficFilter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deploymentTrafficFilter.js","sourceRoot":"","sources":["../deploymentTrafficFilter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iF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AK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAsD,CAAC;YACpE,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAzFL,0DA0FC;AA5EG,gBAAgB;AACO,oCAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Provides an Elastic Cloud traffic filter association resource, which allows traffic filter rules to be associated to an Elastic Cloud deployment outside of the control of Terraform. Associations can be created and deleted.
|
|
4
|
+
*
|
|
3
5
|
* ## Example Usage
|
|
4
6
|
*
|
|
5
7
|
* ```typescript
|
|
@@ -6,6 +6,8 @@ exports.DeploymentTrafficFilterAssociation = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides an Elastic Cloud traffic filter association resource, which allows traffic filter rules to be associated to an Elastic Cloud deployment outside of the control of Terraform. Associations can be created and deleted.
|
|
10
|
+
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
11
13
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentTrafficFilterAssociation.js","sourceRoot":"","sources":["../deploymentTrafficFilterAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deploymentTrafficFilterAssociation.js","sourceRoot":"","sources":["../deploymentTrafficFilterAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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;IAmBD,YAAY,IAAY,EAAE,WAA8F,EAAE,IAAmC;QACzJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkE,CAAC;YACjF,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;SAC9D;aAAM;YACH,MAAM,IAAI,GAAG,WAAiE,CAAC;YAC/E,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,eAAe,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;aAClE;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kCAAkC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvF,CAAC;;AAjEL,gFAkEC;AApDG,gBAAgB;AACO,+CAAY,GAAG,gFAAgF,CAAC"}
|
|
@@ -67,6 +67,10 @@ export declare class ObservabilityProject extends pulumi.CustomResource {
|
|
|
67
67
|
* Descriptive name for a project.
|
|
68
68
|
*/
|
|
69
69
|
readonly name: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* the tier of the observability project
|
|
72
|
+
*/
|
|
73
|
+
readonly productTier: pulumi.Output<string>;
|
|
70
74
|
/**
|
|
71
75
|
* Unique human-readable identifier for a region in Elastic Cloud.
|
|
72
76
|
*/
|
|
@@ -112,6 +116,10 @@ export interface ObservabilityProjectState {
|
|
|
112
116
|
* Descriptive name for a project.
|
|
113
117
|
*/
|
|
114
118
|
name?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* the tier of the observability project
|
|
121
|
+
*/
|
|
122
|
+
productTier?: pulumi.Input<string>;
|
|
115
123
|
/**
|
|
116
124
|
* Unique human-readable identifier for a region in Elastic Cloud.
|
|
117
125
|
*/
|
|
@@ -133,6 +141,10 @@ export interface ObservabilityProjectArgs {
|
|
|
133
141
|
* Descriptive name for a project.
|
|
134
142
|
*/
|
|
135
143
|
name?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* the tier of the observability project
|
|
146
|
+
*/
|
|
147
|
+
productTier?: pulumi.Input<string>;
|
|
136
148
|
/**
|
|
137
149
|
* Unique human-readable identifier for a region in Elastic Cloud.
|
|
138
150
|
*/
|
package/observabilityProject.js
CHANGED
|
@@ -65,6 +65,7 @@ class ObservabilityProject extends pulumi.CustomResource {
|
|
|
65
65
|
resourceInputs["endpoints"] = state?.endpoints;
|
|
66
66
|
resourceInputs["metadata"] = state?.metadata;
|
|
67
67
|
resourceInputs["name"] = state?.name;
|
|
68
|
+
resourceInputs["productTier"] = state?.productTier;
|
|
68
69
|
resourceInputs["regionId"] = state?.regionId;
|
|
69
70
|
resourceInputs["type"] = state?.type;
|
|
70
71
|
}
|
|
@@ -75,6 +76,7 @@ class ObservabilityProject extends pulumi.CustomResource {
|
|
|
75
76
|
}
|
|
76
77
|
resourceInputs["alias"] = args?.alias;
|
|
77
78
|
resourceInputs["name"] = args?.name;
|
|
79
|
+
resourceInputs["productTier"] = args?.productTier;
|
|
78
80
|
resourceInputs["regionId"] = args?.regionId;
|
|
79
81
|
resourceInputs["cloudId"] = undefined /*out*/;
|
|
80
82
|
resourceInputs["credentials"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observabilityProject.js","sourceRoot":"","sources":["../observabilityProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;
|
|
1
|
+
{"version":3,"file":"observabilityProject.js","sourceRoot":"","sources":["../observabilityProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAA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YAClD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAxGL,oDAyGC;AA3FG,gBAAgB;AACO,iCAAY,GAAG,oDAAoD,CAAC"}
|
package/organization.d.ts
CHANGED
|
@@ -1,6 +1,87 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages an Elastic Cloud organization membership.
|
|
6
|
+
*
|
|
7
|
+
* > **This resource can only be used with Elastic Cloud SaaS**
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Import
|
|
12
|
+
*
|
|
13
|
+
* To import an organization into terraform, first define your organization configuration in your terraform file. For example:
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as ec from "@pulumi/ec";
|
|
17
|
+
*
|
|
18
|
+
* const myorg = new ec.Organization("myorg", {});
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* Then import the organization using your organization-id (The organization id can be found on [the organization page](https://cloud.elastic.co/account/members))
|
|
22
|
+
*
|
|
23
|
+
* Now you can run `pulumi preview` to see if there are any diffs between your config and how your organization is currently configured.
|
|
24
|
+
*
|
|
25
|
+
* ### Basic
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as ec from "@pulumi/ec";
|
|
30
|
+
*
|
|
31
|
+
* const myOrg = new ec.Organization("my_org", {members: {
|
|
32
|
+
* "a.member@example.com": {
|
|
33
|
+
* organizationRole: "billing-admin",
|
|
34
|
+
* deploymentRoles: [
|
|
35
|
+
* {
|
|
36
|
+
* role: "editor",
|
|
37
|
+
* allDeployments: true,
|
|
38
|
+
* },
|
|
39
|
+
* {
|
|
40
|
+
* role: "editor",
|
|
41
|
+
* deploymentIds: ["ce03a623751b4fc98d48400fec58b9c0"],
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* projectElasticsearchRoles: [
|
|
45
|
+
* {
|
|
46
|
+
* role: "admin",
|
|
47
|
+
* allProjects: true,
|
|
48
|
+
* },
|
|
49
|
+
* {
|
|
50
|
+
* role: "admin",
|
|
51
|
+
* projectIds: ["c866244b611442d585e23a0cc8c9434c"],
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* projectObservabilityRoles: [],
|
|
55
|
+
* projectSecurityRoles: [],
|
|
56
|
+
* },
|
|
57
|
+
* }});
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* ### Use variables to give the same roles to multiple users
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as ec from "@pulumi/ec";
|
|
65
|
+
*
|
|
66
|
+
* const deploymentAdmin = {
|
|
67
|
+
* deploymentRoles: [{
|
|
68
|
+
* role: "admin",
|
|
69
|
+
* allDeployments: true,
|
|
70
|
+
* }],
|
|
71
|
+
* };
|
|
72
|
+
* const deploymentViewer = {
|
|
73
|
+
* deploymentRoles: [{
|
|
74
|
+
* role: "viewer",
|
|
75
|
+
* allDeployments: true,
|
|
76
|
+
* }],
|
|
77
|
+
* };
|
|
78
|
+
* const myOrg = new ec.Organization("my_org", {members: {
|
|
79
|
+
* "admin@example.com": deploymentAdmin,
|
|
80
|
+
* "viewer@example.com": deploymentViewer,
|
|
81
|
+
* "another.viewer@example.com": deploymentViewer,
|
|
82
|
+
* }});
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
4
85
|
export declare class Organization extends pulumi.CustomResource {
|
|
5
86
|
/**
|
|
6
87
|
* Get an existing Organization resource's state with the given name, ID, and optional extra
|
package/organization.js
CHANGED
|
@@ -5,6 +5,87 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.Organization = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an Elastic Cloud organization membership.
|
|
10
|
+
*
|
|
11
|
+
* > **This resource can only be used with Elastic Cloud SaaS**
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Import
|
|
16
|
+
*
|
|
17
|
+
* To import an organization into terraform, first define your organization configuration in your terraform file. For example:
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as ec from "@pulumi/ec";
|
|
21
|
+
*
|
|
22
|
+
* const myorg = new ec.Organization("myorg", {});
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* Then import the organization using your organization-id (The organization id can be found on [the organization page](https://cloud.elastic.co/account/members))
|
|
26
|
+
*
|
|
27
|
+
* Now you can run `pulumi preview` to see if there are any diffs between your config and how your organization is currently configured.
|
|
28
|
+
*
|
|
29
|
+
* ### Basic
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as ec from "@pulumi/ec";
|
|
34
|
+
*
|
|
35
|
+
* const myOrg = new ec.Organization("my_org", {members: {
|
|
36
|
+
* "a.member@example.com": {
|
|
37
|
+
* organizationRole: "billing-admin",
|
|
38
|
+
* deploymentRoles: [
|
|
39
|
+
* {
|
|
40
|
+
* role: "editor",
|
|
41
|
+
* allDeployments: true,
|
|
42
|
+
* },
|
|
43
|
+
* {
|
|
44
|
+
* role: "editor",
|
|
45
|
+
* deploymentIds: ["ce03a623751b4fc98d48400fec58b9c0"],
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* projectElasticsearchRoles: [
|
|
49
|
+
* {
|
|
50
|
+
* role: "admin",
|
|
51
|
+
* allProjects: true,
|
|
52
|
+
* },
|
|
53
|
+
* {
|
|
54
|
+
* role: "admin",
|
|
55
|
+
* projectIds: ["c866244b611442d585e23a0cc8c9434c"],
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* projectObservabilityRoles: [],
|
|
59
|
+
* projectSecurityRoles: [],
|
|
60
|
+
* },
|
|
61
|
+
* }});
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* ### Use variables to give the same roles to multiple users
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as ec from "@pulumi/ec";
|
|
69
|
+
*
|
|
70
|
+
* const deploymentAdmin = {
|
|
71
|
+
* deploymentRoles: [{
|
|
72
|
+
* role: "admin",
|
|
73
|
+
* allDeployments: true,
|
|
74
|
+
* }],
|
|
75
|
+
* };
|
|
76
|
+
* const deploymentViewer = {
|
|
77
|
+
* deploymentRoles: [{
|
|
78
|
+
* role: "viewer",
|
|
79
|
+
* allDeployments: true,
|
|
80
|
+
* }],
|
|
81
|
+
* };
|
|
82
|
+
* const myOrg = new ec.Organization("my_org", {members: {
|
|
83
|
+
* "admin@example.com": deploymentAdmin,
|
|
84
|
+
* "viewer@example.com": deploymentViewer,
|
|
85
|
+
* "another.viewer@example.com": deploymentViewer,
|
|
86
|
+
* }});
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
8
89
|
class Organization extends pulumi.CustomResource {
|
|
9
90
|
/**
|
|
10
91
|
* Get an existing Organization resource's state with the given name, ID, and optional extra
|
package/organization.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../organization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAeD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;SAC9C;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IA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C9C;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AArDL,oCAsDC;AAxCG,gBAAgB;AACO,yBAAY,GAAG,oCAAoC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/ec",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.10",
|
|
4
4
|
"description": "A Pulumi package for creating and managing ElasticCloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
"pulumi": {
|
|
28
28
|
"resource": true,
|
|
29
29
|
"name": "ec",
|
|
30
|
-
"version": "0.10.
|
|
30
|
+
"version": "0.10.10"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/provider.d.ts
CHANGED
|
@@ -15,6 +15,9 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
15
15
|
* API Key to use for API authentication. The only valid authentication mechanism for the Elasticsearch Service.
|
|
16
16
|
*/
|
|
17
17
|
readonly apikey: pulumi.Output<string | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Endpoint where the terraform provider will point to. Defaults to "https://api.elastic-cloud.com".
|
|
20
|
+
*/
|
|
18
21
|
readonly endpoint: pulumi.Output<string | undefined>;
|
|
19
22
|
/**
|
|
20
23
|
* Password to use for API authentication. Available only when targeting ECE Installations or Elasticsearch Service Private.
|
|
@@ -53,6 +56,9 @@ export interface ProviderArgs {
|
|
|
53
56
|
* API Key to use for API authentication. The only valid authentication mechanism for the Elasticsearch Service.
|
|
54
57
|
*/
|
|
55
58
|
apikey?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Endpoint where the terraform provider will point to. Defaults to "https://api.elastic-cloud.com".
|
|
61
|
+
*/
|
|
56
62
|
endpoint?: pulumi.Input<string>;
|
|
57
63
|
/**
|
|
58
64
|
* Allow the provider to skip TLS validation on its outgoing HTTP calls.
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IA2BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE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AAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,eAAe;QACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,qCAAqC,EAAE;YAC9D,UAAU,EAAE,IAAI;SACnB,EAAE,IAAI,CAAC,CAAC;IACb,CAAC;;AA1EL,4BA2EC;AA1EG,gBAAgB;AACO,qBAAY,GAAG,IAAI,CAAC"}
|
package/snapshotRepository.d.ts
CHANGED
|
@@ -2,10 +2,28 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* Manages Elastic Cloud Enterprise snapshot repositories.
|
|
6
|
+
*
|
|
7
|
+
* > **This resource can only be used with Elastic Cloud Enterprise** For Elastic Cloud SaaS please use the elasticstackElasticsearchSnapshotRepository resource from the Elastic Stack terraform provider.
|
|
8
|
+
*
|
|
5
9
|
* ## Example Usage
|
|
6
10
|
*
|
|
7
11
|
* ### S3 style
|
|
8
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as ec from "@pulumi/ec";
|
|
16
|
+
*
|
|
17
|
+
* const _this = new ec.SnapshotRepository("this", {
|
|
18
|
+
* name: "my-snapshot-repository",
|
|
19
|
+
* s3: {
|
|
20
|
+
* bucket: "my-bucket",
|
|
21
|
+
* accessKey: "my-access-key",
|
|
22
|
+
* secretKey: "my-secret-key",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
9
27
|
* ### Azure
|
|
10
28
|
*
|
|
11
29
|
* ```typescript
|
package/snapshotRepository.js
CHANGED
|
@@ -6,10 +6,28 @@ exports.SnapshotRepository = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Manages Elastic Cloud Enterprise snapshot repositories.
|
|
10
|
+
*
|
|
11
|
+
* > **This resource can only be used with Elastic Cloud Enterprise** For Elastic Cloud SaaS please use the elasticstackElasticsearchSnapshotRepository resource from the Elastic Stack terraform provider.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* ### S3 style
|
|
12
16
|
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as ec from "@pulumi/ec";
|
|
20
|
+
*
|
|
21
|
+
* const _this = new ec.SnapshotRepository("this", {
|
|
22
|
+
* name: "my-snapshot-repository",
|
|
23
|
+
* s3: {
|
|
24
|
+
* bucket: "my-bucket",
|
|
25
|
+
* accessKey: "my-access-key",
|
|
26
|
+
* secretKey: "my-secret-key",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
13
31
|
* ### Azure
|
|
14
32
|
*
|
|
15
33
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshotRepository.js","sourceRoot":"","sources":["../snapshotRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"snapshotRepository.js","sourceRoot":"","sources":["../snapshotRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAA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AAY,GAAG,gDAAgD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -123,6 +123,11 @@ export interface DeploymentElasticsearch {
|
|
|
123
123
|
* (ECE only) Snapshot configuration settings for an Elasticsearch cluster.
|
|
124
124
|
*/
|
|
125
125
|
snapshot?: pulumi.Input<inputs.DeploymentElasticsearchSnapshot>;
|
|
126
|
+
/**
|
|
127
|
+
* Restores data from a snapshot of another deployment.
|
|
128
|
+
*
|
|
129
|
+
* > **Note on behavior** The <code>snapshot_source</code> block will not be saved in the Terraform state due to its transient nature. This means that whenever the <code>snapshot_source</code> block is set, a snapshot will **always be restored**, unless removed before running <code>terraform apply</code>.
|
|
130
|
+
*/
|
|
126
131
|
snapshotSource?: pulumi.Input<inputs.DeploymentElasticsearchSnapshotSource>;
|
|
127
132
|
/**
|
|
128
133
|
* Configuration strategy type autodetect, grow_and_shrink, rolling_grow_and_shrink, rolling_all
|
|
@@ -201,7 +206,7 @@ export interface DeploymentElasticsearchColdAutoscaling {
|
|
|
201
206
|
*/
|
|
202
207
|
autoscale?: pulumi.Input<boolean>;
|
|
203
208
|
/**
|
|
204
|
-
* Maximum size
|
|
209
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
205
210
|
*/
|
|
206
211
|
maxSize?: pulumi.Input<string>;
|
|
207
212
|
/**
|
|
@@ -209,7 +214,7 @@ export interface DeploymentElasticsearchColdAutoscaling {
|
|
|
209
214
|
*/
|
|
210
215
|
maxSizeResource?: pulumi.Input<string>;
|
|
211
216
|
/**
|
|
212
|
-
* Minimum
|
|
217
|
+
* Minimum autoscaling size.
|
|
213
218
|
*/
|
|
214
219
|
minSize?: pulumi.Input<string>;
|
|
215
220
|
/**
|
|
@@ -307,7 +312,7 @@ export interface DeploymentElasticsearchCoordinatingAutoscaling {
|
|
|
307
312
|
*/
|
|
308
313
|
autoscale?: pulumi.Input<boolean>;
|
|
309
314
|
/**
|
|
310
|
-
* Maximum size
|
|
315
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
311
316
|
*/
|
|
312
317
|
maxSize?: pulumi.Input<string>;
|
|
313
318
|
/**
|
|
@@ -315,7 +320,7 @@ export interface DeploymentElasticsearchCoordinatingAutoscaling {
|
|
|
315
320
|
*/
|
|
316
321
|
maxSizeResource?: pulumi.Input<string>;
|
|
317
322
|
/**
|
|
318
|
-
* Minimum
|
|
323
|
+
* Minimum autoscaling size.
|
|
319
324
|
*/
|
|
320
325
|
minSize?: pulumi.Input<string>;
|
|
321
326
|
/**
|
|
@@ -405,7 +410,7 @@ export interface DeploymentElasticsearchFrozenAutoscaling {
|
|
|
405
410
|
*/
|
|
406
411
|
autoscale?: pulumi.Input<boolean>;
|
|
407
412
|
/**
|
|
408
|
-
* Maximum size
|
|
413
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
409
414
|
*/
|
|
410
415
|
maxSize?: pulumi.Input<string>;
|
|
411
416
|
/**
|
|
@@ -413,7 +418,7 @@ export interface DeploymentElasticsearchFrozenAutoscaling {
|
|
|
413
418
|
*/
|
|
414
419
|
maxSizeResource?: pulumi.Input<string>;
|
|
415
420
|
/**
|
|
416
|
-
* Minimum
|
|
421
|
+
* Minimum autoscaling size.
|
|
417
422
|
*/
|
|
418
423
|
minSize?: pulumi.Input<string>;
|
|
419
424
|
/**
|
|
@@ -485,7 +490,7 @@ export interface DeploymentElasticsearchHotAutoscaling {
|
|
|
485
490
|
*/
|
|
486
491
|
autoscale?: pulumi.Input<boolean>;
|
|
487
492
|
/**
|
|
488
|
-
* Maximum size
|
|
493
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
489
494
|
*/
|
|
490
495
|
maxSize?: pulumi.Input<string>;
|
|
491
496
|
/**
|
|
@@ -493,7 +498,7 @@ export interface DeploymentElasticsearchHotAutoscaling {
|
|
|
493
498
|
*/
|
|
494
499
|
maxSizeResource?: pulumi.Input<string>;
|
|
495
500
|
/**
|
|
496
|
-
* Minimum
|
|
501
|
+
* Minimum autoscaling size.
|
|
497
502
|
*/
|
|
498
503
|
minSize?: pulumi.Input<string>;
|
|
499
504
|
/**
|
|
@@ -575,7 +580,7 @@ export interface DeploymentElasticsearchMasterAutoscaling {
|
|
|
575
580
|
*/
|
|
576
581
|
autoscale?: pulumi.Input<boolean>;
|
|
577
582
|
/**
|
|
578
|
-
* Maximum size
|
|
583
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
579
584
|
*/
|
|
580
585
|
maxSize?: pulumi.Input<string>;
|
|
581
586
|
/**
|
|
@@ -583,7 +588,7 @@ export interface DeploymentElasticsearchMasterAutoscaling {
|
|
|
583
588
|
*/
|
|
584
589
|
maxSizeResource?: pulumi.Input<string>;
|
|
585
590
|
/**
|
|
586
|
-
* Minimum
|
|
591
|
+
* Minimum autoscaling size.
|
|
587
592
|
*/
|
|
588
593
|
minSize?: pulumi.Input<string>;
|
|
589
594
|
/**
|
|
@@ -655,7 +660,7 @@ export interface DeploymentElasticsearchMlAutoscaling {
|
|
|
655
660
|
*/
|
|
656
661
|
autoscale?: pulumi.Input<boolean>;
|
|
657
662
|
/**
|
|
658
|
-
* Maximum size
|
|
663
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
659
664
|
*/
|
|
660
665
|
maxSize?: pulumi.Input<string>;
|
|
661
666
|
/**
|
|
@@ -663,7 +668,7 @@ export interface DeploymentElasticsearchMlAutoscaling {
|
|
|
663
668
|
*/
|
|
664
669
|
maxSizeResource?: pulumi.Input<string>;
|
|
665
670
|
/**
|
|
666
|
-
* Minimum
|
|
671
|
+
* Minimum autoscaling size.
|
|
667
672
|
*/
|
|
668
673
|
minSize?: pulumi.Input<string>;
|
|
669
674
|
/**
|
|
@@ -813,7 +818,7 @@ export interface DeploymentElasticsearchWarmAutoscaling {
|
|
|
813
818
|
*/
|
|
814
819
|
autoscale?: pulumi.Input<boolean>;
|
|
815
820
|
/**
|
|
816
|
-
* Maximum size
|
|
821
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
817
822
|
*/
|
|
818
823
|
maxSize?: pulumi.Input<string>;
|
|
819
824
|
/**
|
|
@@ -821,7 +826,7 @@ export interface DeploymentElasticsearchWarmAutoscaling {
|
|
|
821
826
|
*/
|
|
822
827
|
maxSizeResource?: pulumi.Input<string>;
|
|
823
828
|
/**
|
|
824
|
-
* Minimum
|
|
829
|
+
* Minimum autoscaling size.
|
|
825
830
|
*/
|
|
826
831
|
minSize?: pulumi.Input<string>;
|
|
827
832
|
/**
|
|
@@ -1221,6 +1226,10 @@ export interface ObservabilityProjectEndpoints {
|
|
|
1221
1226
|
* The endpoint to access elasticsearch.
|
|
1222
1227
|
*/
|
|
1223
1228
|
elasticsearch?: pulumi.Input<string>;
|
|
1229
|
+
/**
|
|
1230
|
+
* The endpoint to access the Managed OTLP Endpoint.
|
|
1231
|
+
*/
|
|
1232
|
+
ingest?: pulumi.Input<string>;
|
|
1224
1233
|
/**
|
|
1225
1234
|
* The endpoint to access kibana.
|
|
1226
1235
|
*/
|
|
@@ -1369,6 +1378,10 @@ export interface SecurityProjectEndpoints {
|
|
|
1369
1378
|
* The endpoint to access elasticsearch.
|
|
1370
1379
|
*/
|
|
1371
1380
|
elasticsearch?: pulumi.Input<string>;
|
|
1381
|
+
/**
|
|
1382
|
+
* The endpoint to access the Managed OTLP Endpoint.
|
|
1383
|
+
*/
|
|
1384
|
+
ingest?: pulumi.Input<string>;
|
|
1372
1385
|
/**
|
|
1373
1386
|
* The endpoint to access kibana.
|
|
1374
1387
|
*/
|
package/types/output.d.ts
CHANGED
|
@@ -122,6 +122,11 @@ export interface DeploymentElasticsearch {
|
|
|
122
122
|
* (ECE only) Snapshot configuration settings for an Elasticsearch cluster.
|
|
123
123
|
*/
|
|
124
124
|
snapshot: outputs.DeploymentElasticsearchSnapshot;
|
|
125
|
+
/**
|
|
126
|
+
* Restores data from a snapshot of another deployment.
|
|
127
|
+
*
|
|
128
|
+
* > **Note on behavior** The <code>snapshot_source</code> block will not be saved in the Terraform state due to its transient nature. This means that whenever the <code>snapshot_source</code> block is set, a snapshot will **always be restored**, unless removed before running <code>terraform apply</code>.
|
|
129
|
+
*/
|
|
125
130
|
snapshotSource?: outputs.DeploymentElasticsearchSnapshotSource;
|
|
126
131
|
/**
|
|
127
132
|
* Configuration strategy type autodetect, grow_and_shrink, rolling_grow_and_shrink, rolling_all
|
|
@@ -200,7 +205,7 @@ export interface DeploymentElasticsearchColdAutoscaling {
|
|
|
200
205
|
*/
|
|
201
206
|
autoscale: boolean;
|
|
202
207
|
/**
|
|
203
|
-
* Maximum size
|
|
208
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
204
209
|
*/
|
|
205
210
|
maxSize: string;
|
|
206
211
|
/**
|
|
@@ -208,7 +213,7 @@ export interface DeploymentElasticsearchColdAutoscaling {
|
|
|
208
213
|
*/
|
|
209
214
|
maxSizeResource: string;
|
|
210
215
|
/**
|
|
211
|
-
* Minimum
|
|
216
|
+
* Minimum autoscaling size.
|
|
212
217
|
*/
|
|
213
218
|
minSize: string;
|
|
214
219
|
/**
|
|
@@ -306,7 +311,7 @@ export interface DeploymentElasticsearchCoordinatingAutoscaling {
|
|
|
306
311
|
*/
|
|
307
312
|
autoscale: boolean;
|
|
308
313
|
/**
|
|
309
|
-
* Maximum size
|
|
314
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
310
315
|
*/
|
|
311
316
|
maxSize: string;
|
|
312
317
|
/**
|
|
@@ -314,7 +319,7 @@ export interface DeploymentElasticsearchCoordinatingAutoscaling {
|
|
|
314
319
|
*/
|
|
315
320
|
maxSizeResource: string;
|
|
316
321
|
/**
|
|
317
|
-
* Minimum
|
|
322
|
+
* Minimum autoscaling size.
|
|
318
323
|
*/
|
|
319
324
|
minSize: string;
|
|
320
325
|
/**
|
|
@@ -404,7 +409,7 @@ export interface DeploymentElasticsearchFrozenAutoscaling {
|
|
|
404
409
|
*/
|
|
405
410
|
autoscale: boolean;
|
|
406
411
|
/**
|
|
407
|
-
* Maximum size
|
|
412
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
408
413
|
*/
|
|
409
414
|
maxSize: string;
|
|
410
415
|
/**
|
|
@@ -412,7 +417,7 @@ export interface DeploymentElasticsearchFrozenAutoscaling {
|
|
|
412
417
|
*/
|
|
413
418
|
maxSizeResource: string;
|
|
414
419
|
/**
|
|
415
|
-
* Minimum
|
|
420
|
+
* Minimum autoscaling size.
|
|
416
421
|
*/
|
|
417
422
|
minSize: string;
|
|
418
423
|
/**
|
|
@@ -484,7 +489,7 @@ export interface DeploymentElasticsearchHotAutoscaling {
|
|
|
484
489
|
*/
|
|
485
490
|
autoscale: boolean;
|
|
486
491
|
/**
|
|
487
|
-
* Maximum size
|
|
492
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
488
493
|
*/
|
|
489
494
|
maxSize: string;
|
|
490
495
|
/**
|
|
@@ -492,7 +497,7 @@ export interface DeploymentElasticsearchHotAutoscaling {
|
|
|
492
497
|
*/
|
|
493
498
|
maxSizeResource: string;
|
|
494
499
|
/**
|
|
495
|
-
* Minimum
|
|
500
|
+
* Minimum autoscaling size.
|
|
496
501
|
*/
|
|
497
502
|
minSize: string;
|
|
498
503
|
/**
|
|
@@ -574,7 +579,7 @@ export interface DeploymentElasticsearchMasterAutoscaling {
|
|
|
574
579
|
*/
|
|
575
580
|
autoscale: boolean;
|
|
576
581
|
/**
|
|
577
|
-
* Maximum size
|
|
582
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
578
583
|
*/
|
|
579
584
|
maxSize: string;
|
|
580
585
|
/**
|
|
@@ -582,7 +587,7 @@ export interface DeploymentElasticsearchMasterAutoscaling {
|
|
|
582
587
|
*/
|
|
583
588
|
maxSizeResource: string;
|
|
584
589
|
/**
|
|
585
|
-
* Minimum
|
|
590
|
+
* Minimum autoscaling size.
|
|
586
591
|
*/
|
|
587
592
|
minSize: string;
|
|
588
593
|
/**
|
|
@@ -654,7 +659,7 @@ export interface DeploymentElasticsearchMlAutoscaling {
|
|
|
654
659
|
*/
|
|
655
660
|
autoscale: boolean;
|
|
656
661
|
/**
|
|
657
|
-
* Maximum size
|
|
662
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
658
663
|
*/
|
|
659
664
|
maxSize: string;
|
|
660
665
|
/**
|
|
@@ -662,7 +667,7 @@ export interface DeploymentElasticsearchMlAutoscaling {
|
|
|
662
667
|
*/
|
|
663
668
|
maxSizeResource: string;
|
|
664
669
|
/**
|
|
665
|
-
* Minimum
|
|
670
|
+
* Minimum autoscaling size.
|
|
666
671
|
*/
|
|
667
672
|
minSize: string;
|
|
668
673
|
/**
|
|
@@ -812,7 +817,7 @@ export interface DeploymentElasticsearchWarmAutoscaling {
|
|
|
812
817
|
*/
|
|
813
818
|
autoscale: boolean;
|
|
814
819
|
/**
|
|
815
|
-
* Maximum size
|
|
820
|
+
* Maximum autoscaling size. Set it to "0g" if tier should not be created when autoscaling is enabled on ES level
|
|
816
821
|
*/
|
|
817
822
|
maxSize: string;
|
|
818
823
|
/**
|
|
@@ -820,7 +825,7 @@ export interface DeploymentElasticsearchWarmAutoscaling {
|
|
|
820
825
|
*/
|
|
821
826
|
maxSizeResource: string;
|
|
822
827
|
/**
|
|
823
|
-
* Minimum
|
|
828
|
+
* Minimum autoscaling size.
|
|
824
829
|
*/
|
|
825
830
|
minSize: string;
|
|
826
831
|
/**
|
|
@@ -1906,6 +1911,10 @@ export interface ObservabilityProjectEndpoints {
|
|
|
1906
1911
|
* The endpoint to access elasticsearch.
|
|
1907
1912
|
*/
|
|
1908
1913
|
elasticsearch: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* The endpoint to access the Managed OTLP Endpoint.
|
|
1916
|
+
*/
|
|
1917
|
+
ingest: string;
|
|
1909
1918
|
/**
|
|
1910
1919
|
* The endpoint to access kibana.
|
|
1911
1920
|
*/
|
|
@@ -2054,6 +2063,10 @@ export interface SecurityProjectEndpoints {
|
|
|
2054
2063
|
* The endpoint to access elasticsearch.
|
|
2055
2064
|
*/
|
|
2056
2065
|
elasticsearch: string;
|
|
2066
|
+
/**
|
|
2067
|
+
* The endpoint to access the Managed OTLP Endpoint.
|
|
2068
|
+
*/
|
|
2069
|
+
ingest: string;
|
|
2057
2070
|
/**
|
|
2058
2071
|
* The endpoint to access kibana.
|
|
2059
2072
|
*/
|