@pulumi/mongodbatlas 3.17.0 → 3.17.1
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/advancedCluster.d.ts +4 -3
- package/advancedCluster.js +1 -0
- package/advancedCluster.js.map +1 -1
- package/getAdvancedCluster.d.ts +2 -2
- package/getAdvancedCluster.js +2 -2
- package/getAdvancedClusters.d.ts +2 -2
- package/getAdvancedClusters.js +2 -2
- package/getGlobalClusterConfig.d.ts +1 -1
- package/globalClusterConfig.d.ts +2 -2
- package/package.json +2 -2
- package/privateLinkEndpoint.d.ts +1 -13
- package/privateLinkEndpoint.js +1 -13
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +0 -142
- package/privateLinkEndpointService.js +0 -142
- package/privateLinkEndpointService.js.map +1 -1
- package/pushBasedLogExport.d.ts +0 -5
- package/pushBasedLogExport.js +0 -5
- package/pushBasedLogExport.js.map +1 -1
- package/types/input.d.ts +2 -2
- package/types/output.d.ts +6 -6
package/advancedCluster.d.ts
CHANGED
|
@@ -339,6 +339,7 @@ import * as outputs from "./types/output";
|
|
|
339
339
|
*
|
|
340
340
|
* ~> __IMPORTANT:__
|
|
341
341
|
* \n\n • When a cluster is imported, the resulting schema structure will always return the new schema including `replication_specs` per independent shards of the cluster.
|
|
342
|
+
* \n\n • Note: The first time `pulumi up` command is run __after__ updating the configuration of an imported cluster, you may receive a `500 Internal Server Error (Error code: "SERVICE_UNAVAILABLE")` error. This is a known temporary issue. If you encounter this, please re-run `pulumi up` and this time the update should succeed.
|
|
342
343
|
*/
|
|
343
344
|
export declare class AdvancedCluster extends pulumi.CustomResource {
|
|
344
345
|
/**
|
|
@@ -436,7 +437,7 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
|
|
|
436
437
|
*/
|
|
437
438
|
readonly projectId: pulumi.Output<string>;
|
|
438
439
|
/**
|
|
439
|
-
* List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. If for each replicationSpec `numShards` is configured with a value greater than 1 (using deprecated sharding
|
|
440
|
+
* List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. If for each replicationSpec `numShards` is configured with a value greater than 1 (using deprecated sharding configurations), then each object represents a zone with one or more shards. See below
|
|
440
441
|
*/
|
|
441
442
|
readonly replicationSpecs: pulumi.Output<outputs.AdvancedClusterReplicationSpec[]>;
|
|
442
443
|
/**
|
|
@@ -565,7 +566,7 @@ export interface AdvancedClusterState {
|
|
|
565
566
|
*/
|
|
566
567
|
projectId?: pulumi.Input<string>;
|
|
567
568
|
/**
|
|
568
|
-
* List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. If for each replicationSpec `numShards` is configured with a value greater than 1 (using deprecated sharding
|
|
569
|
+
* List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. If for each replicationSpec `numShards` is configured with a value greater than 1 (using deprecated sharding configurations), then each object represents a zone with one or more shards. See below
|
|
569
570
|
*/
|
|
570
571
|
replicationSpecs?: pulumi.Input<pulumi.Input<inputs.AdvancedClusterReplicationSpec>[]>;
|
|
571
572
|
/**
|
|
@@ -673,7 +674,7 @@ export interface AdvancedClusterArgs {
|
|
|
673
674
|
*/
|
|
674
675
|
projectId: pulumi.Input<string>;
|
|
675
676
|
/**
|
|
676
|
-
* List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. If for each replicationSpec `numShards` is configured with a value greater than 1 (using deprecated sharding
|
|
677
|
+
* List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. If for each replicationSpec `numShards` is configured with a value greater than 1 (using deprecated sharding configurations), then each object represents a zone with one or more shards. See below
|
|
677
678
|
*/
|
|
678
679
|
replicationSpecs: pulumi.Input<pulumi.Input<inputs.AdvancedClusterReplicationSpec>[]>;
|
|
679
680
|
/**
|
package/advancedCluster.js
CHANGED
|
@@ -343,6 +343,7 @@ const utilities = require("./utilities");
|
|
|
343
343
|
*
|
|
344
344
|
* ~> __IMPORTANT:__
|
|
345
345
|
* \n\n • When a cluster is imported, the resulting schema structure will always return the new schema including `replication_specs` per independent shards of the cluster.
|
|
346
|
+
* \n\n • Note: The first time `pulumi up` command is run __after__ updating the configuration of an imported cluster, you may receive a `500 Internal Server Error (Error code: "SERVICE_UNAVAILABLE")` error. This is a known temporary issue. If you encounter this, please re-run `pulumi up` and this time the update should succeed.
|
|
346
347
|
*/
|
|
347
348
|
class AdvancedCluster extends pulumi.CustomResource {
|
|
348
349
|
/**
|
package/advancedCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advancedCluster.js","sourceRoot":"","sources":["../advancedCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"advancedCluster.js","sourceRoot":"","sources":["../advancedCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmVG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;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tF,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA9NL,0CA+NC;AAjNG,gBAAgB;AACO,4BAAY,GAAG,oDAAoD,CAAC"}
|
package/getAdvancedCluster.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ import * as outputs from "./types/output";
|
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
41
41
|
*
|
|
42
|
-
* ## Example using latest sharding
|
|
42
|
+
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
43
43
|
*
|
|
44
44
|
* ```typescript
|
|
45
45
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -235,7 +235,7 @@ export interface GetAdvancedClusterResult {
|
|
|
235
235
|
* });
|
|
236
236
|
* ```
|
|
237
237
|
*
|
|
238
|
-
* ## Example using latest sharding
|
|
238
|
+
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
239
239
|
*
|
|
240
240
|
* ```typescript
|
|
241
241
|
* import * as pulumi from "@pulumi/pulumi";
|
package/getAdvancedCluster.js
CHANGED
|
@@ -44,7 +44,7 @@ const utilities = require("./utilities");
|
|
|
44
44
|
* });
|
|
45
45
|
* ```
|
|
46
46
|
*
|
|
47
|
-
* ## Example using latest sharding
|
|
47
|
+
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
48
48
|
*
|
|
49
49
|
* ```typescript
|
|
50
50
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -138,7 +138,7 @@ exports.getAdvancedCluster = getAdvancedCluster;
|
|
|
138
138
|
* });
|
|
139
139
|
* ```
|
|
140
140
|
*
|
|
141
|
-
* ## Example using latest sharding
|
|
141
|
+
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
142
142
|
*
|
|
143
143
|
* ```typescript
|
|
144
144
|
* import * as pulumi from "@pulumi/pulumi";
|
package/getAdvancedClusters.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ import * as outputs from "./types/output";
|
|
|
38
38
|
* });
|
|
39
39
|
* ```
|
|
40
40
|
*
|
|
41
|
-
* ## Example using latest sharding
|
|
41
|
+
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
42
42
|
*
|
|
43
43
|
* ```typescript
|
|
44
44
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -150,7 +150,7 @@ export interface GetAdvancedClustersResult {
|
|
|
150
150
|
* });
|
|
151
151
|
* ```
|
|
152
152
|
*
|
|
153
|
-
* ## Example using latest sharding
|
|
153
|
+
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
154
154
|
*
|
|
155
155
|
* ```typescript
|
|
156
156
|
* import * as pulumi from "@pulumi/pulumi";
|
package/getAdvancedClusters.js
CHANGED
|
@@ -43,7 +43,7 @@ const utilities = require("./utilities");
|
|
|
43
43
|
* });
|
|
44
44
|
* ```
|
|
45
45
|
*
|
|
46
|
-
* ## Example using latest sharding
|
|
46
|
+
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
47
47
|
*
|
|
48
48
|
* ```typescript
|
|
49
49
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -134,7 +134,7 @@ exports.getAdvancedClusters = getAdvancedClusters;
|
|
|
134
134
|
* });
|
|
135
135
|
* ```
|
|
136
136
|
*
|
|
137
|
-
* ## Example using latest sharding
|
|
137
|
+
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
138
138
|
*
|
|
139
139
|
* ```typescript
|
|
140
140
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -114,7 +114,7 @@ export interface GetGlobalClusterConfigResult {
|
|
|
114
114
|
* A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty.
|
|
115
115
|
*/
|
|
116
116
|
readonly customZoneMapping: {
|
|
117
|
-
[key: string]:
|
|
117
|
+
[key: string]: string;
|
|
118
118
|
};
|
|
119
119
|
/**
|
|
120
120
|
* The provider-assigned unique ID for this managed resource.
|
package/globalClusterConfig.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ export declare class GlobalClusterConfig extends pulumi.CustomResource {
|
|
|
102
102
|
* A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty.
|
|
103
103
|
*/
|
|
104
104
|
readonly customZoneMapping: pulumi.Output<{
|
|
105
|
-
[key: string]:
|
|
105
|
+
[key: string]: string;
|
|
106
106
|
}>;
|
|
107
107
|
/**
|
|
108
108
|
* Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details.
|
|
@@ -137,7 +137,7 @@ export interface GlobalClusterConfigState {
|
|
|
137
137
|
* A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty.
|
|
138
138
|
*/
|
|
139
139
|
customZoneMapping?: pulumi.Input<{
|
|
140
|
-
[key: string]:
|
|
140
|
+
[key: string]: pulumi.Input<string>;
|
|
141
141
|
}>;
|
|
142
142
|
/**
|
|
143
143
|
* Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/mongodbatlas",
|
|
3
|
-
"version": "3.17.
|
|
3
|
+
"version": "3.17.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing mongodbatlas cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "mongodbatlas",
|
|
26
|
-
"version": "3.17.
|
|
26
|
+
"version": "3.17.1"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/privateLinkEndpoint.d.ts
CHANGED
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # Resource: mongodbatlas.PrivateLinkEndpoint
|
|
4
|
-
*
|
|
5
|
-
* `mongodbatlas.PrivateLinkEndpoint` provides a Private Endpoint resource. This represents a [Private Endpoint Service](https://www.mongodb.com/docs/atlas/security-private-endpoint/#private-endpoint-concepts) that can be created in an Atlas project.
|
|
6
|
-
*
|
|
7
|
-
* > **IMPORTANT:**You must have one of the following roles to successfully handle the resource:
|
|
8
|
-
* * Organization Owner
|
|
9
|
-
* * Project Owner
|
|
10
|
-
*
|
|
11
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
12
|
-
*
|
|
13
|
-
* > **NOTE:** A network container is created for a private endpoint to reside in if one does not yet exist in the project.
|
|
14
|
-
*
|
|
15
3
|
* ## Example Usage
|
|
16
4
|
*
|
|
17
5
|
* ```typescript
|
|
@@ -35,7 +23,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
23
|
* ```sh
|
|
36
24
|
* $ pulumi import mongodbatlas:index/privateLinkEndpoint:PrivateLinkEndpoint test 1112222b3bf99403840e8934-3242342343112-AWS-us-east-1
|
|
37
25
|
* ```
|
|
38
|
-
* See detailed information for arguments and attributes: [MongoDB API Private Endpoint Service](https://docs.atlas.mongodb.com/reference/api/private-endpoints-service-create-one
|
|
26
|
+
* See detailed information for arguments and attributes: [MongoDB API Private Endpoint Service](https://docs.atlas.mongodb.com/reference/api/private-endpoints-service-create-one/)
|
|
39
27
|
*/
|
|
40
28
|
export declare class PrivateLinkEndpoint extends pulumi.CustomResource {
|
|
41
29
|
/**
|
package/privateLinkEndpoint.js
CHANGED
|
@@ -6,18 +6,6 @@ exports.PrivateLinkEndpoint = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.PrivateLinkEndpoint
|
|
10
|
-
*
|
|
11
|
-
* `mongodbatlas.PrivateLinkEndpoint` provides a Private Endpoint resource. This represents a [Private Endpoint Service](https://www.mongodb.com/docs/atlas/security-private-endpoint/#private-endpoint-concepts) that can be created in an Atlas project.
|
|
12
|
-
*
|
|
13
|
-
* > **IMPORTANT:**You must have one of the following roles to successfully handle the resource:
|
|
14
|
-
* * Organization Owner
|
|
15
|
-
* * Project Owner
|
|
16
|
-
*
|
|
17
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
18
|
-
*
|
|
19
|
-
* > **NOTE:** A network container is created for a private endpoint to reside in if one does not yet exist in the project.
|
|
20
|
-
*
|
|
21
9
|
* ## Example Usage
|
|
22
10
|
*
|
|
23
11
|
* ```typescript
|
|
@@ -41,7 +29,7 @@ const utilities = require("./utilities");
|
|
|
41
29
|
* ```sh
|
|
42
30
|
* $ pulumi import mongodbatlas:index/privateLinkEndpoint:PrivateLinkEndpoint test 1112222b3bf99403840e8934-3242342343112-AWS-us-east-1
|
|
43
31
|
* ```
|
|
44
|
-
* See detailed information for arguments and attributes: [MongoDB API Private Endpoint Service](https://docs.atlas.mongodb.com/reference/api/private-endpoints-service-create-one
|
|
32
|
+
* See detailed information for arguments and attributes: [MongoDB API Private Endpoint Service](https://docs.atlas.mongodb.com/reference/api/private-endpoints-service-create-one/)
|
|
45
33
|
*/
|
|
46
34
|
class PrivateLinkEndpoint extends pulumi.CustomResource {
|
|
47
35
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkEndpoint.js","sourceRoot":"","sources":["../privateLinkEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"privateLinkEndpoint.js","sourceRoot":"","sources":["../privateLinkEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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,CAAC;IAmFD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAA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BAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;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;;AA5JL,kDA6JC;AA/IG,gBAAgB;AACO,gCAAY,GAAG,4DAA4D,CAAC"}
|
|
@@ -2,148 +2,6 @@ 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
|
-
* ## # Resource: mongodbatlas.PrivateLinkEndpointService
|
|
6
|
-
*
|
|
7
|
-
* `mongodbatlas.PrivateLinkEndpointService` provides a Private Endpoint Interface Link resource. This represents a Private Endpoint Interface Link, which adds one [Interface Endpoint](https://www.mongodb.com/docs/atlas/security-private-endpoint/#private-endpoint-concepts) to a private endpoint connection in an Atlas project.
|
|
8
|
-
*
|
|
9
|
-
* > **IMPORTANT:**You must have one of the following roles to successfully handle the resource:
|
|
10
|
-
* * Organization Owner
|
|
11
|
-
* * Project Owner
|
|
12
|
-
*
|
|
13
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
14
|
-
*
|
|
15
|
-
* > **NOTE:** Create and delete wait for all clusters on the project to IDLE in order for their operations to complete. This ensures the latest connection strings can be retrieved following creation or deletion of this resource. Default timeout is 2hrs.
|
|
16
|
-
*
|
|
17
|
-
* ## Example with AWS
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as aws from "@pulumi/aws";
|
|
22
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
|
-
*
|
|
24
|
-
* const test = new mongodbatlas.PrivateLinkEndpoint("test", {
|
|
25
|
-
* projectId: "<PROJECT_ID>",
|
|
26
|
-
* providerName: "AWS",
|
|
27
|
-
* region: "US_EAST_1",
|
|
28
|
-
* });
|
|
29
|
-
* const ptfeService = new aws.index.VpcEndpoint("ptfe_service", {
|
|
30
|
-
* vpcId: "vpc-7fc0a543",
|
|
31
|
-
* serviceName: test.endpointServiceName,
|
|
32
|
-
* vpcEndpointType: "Interface",
|
|
33
|
-
* subnetIds: ["subnet-de0406d2"],
|
|
34
|
-
* securityGroupIds: ["sg-3f238186"],
|
|
35
|
-
* });
|
|
36
|
-
* const testPrivateLinkEndpointService = new mongodbatlas.PrivateLinkEndpointService("test", {
|
|
37
|
-
* projectId: test.projectId,
|
|
38
|
-
* privateLinkId: test.privateLinkId,
|
|
39
|
-
* endpointServiceId: ptfeService.id,
|
|
40
|
-
* providerName: "AWS",
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* ## Example with Azure
|
|
45
|
-
*
|
|
46
|
-
* ```typescript
|
|
47
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
-
* import * as azurerm from "@pulumi/azurerm";
|
|
49
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
50
|
-
*
|
|
51
|
-
* const test = new mongodbatlas.PrivateLinkEndpoint("test", {
|
|
52
|
-
* projectId: projectId,
|
|
53
|
-
* providerName: "AZURE",
|
|
54
|
-
* region: "eastus2",
|
|
55
|
-
* });
|
|
56
|
-
* const testPrivateEndpoint = new azurerm.index.PrivateEndpoint("test", {
|
|
57
|
-
* name: "endpoint-test",
|
|
58
|
-
* location: testAzurermResourceGroup.location,
|
|
59
|
-
* resourceGroupName: resourceGroupName,
|
|
60
|
-
* subnetId: testAzurermSubnet.id,
|
|
61
|
-
* privateServiceConnection: [{
|
|
62
|
-
* name: test.privateLinkServiceName,
|
|
63
|
-
* privateConnectionResourceId: test.privateLinkServiceResourceId,
|
|
64
|
-
* isManualConnection: true,
|
|
65
|
-
* requestMessage: "Azure Private Link test",
|
|
66
|
-
* }],
|
|
67
|
-
* });
|
|
68
|
-
* const testPrivateLinkEndpointService = new mongodbatlas.PrivateLinkEndpointService("test", {
|
|
69
|
-
* projectId: test.projectId,
|
|
70
|
-
* privateLinkId: test.privateLinkId,
|
|
71
|
-
* endpointServiceId: testPrivateEndpoint.id,
|
|
72
|
-
* privateEndpointIpAddress: testPrivateEndpoint.privateServiceConnection[0].privateIpAddress,
|
|
73
|
-
* providerName: "AZURE",
|
|
74
|
-
* });
|
|
75
|
-
* ```
|
|
76
|
-
*
|
|
77
|
-
* ## Example with GCP
|
|
78
|
-
*
|
|
79
|
-
* ```typescript
|
|
80
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
81
|
-
* import * as google from "@pulumi/google";
|
|
82
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
83
|
-
*
|
|
84
|
-
* const test = new mongodbatlas.PrivateLinkEndpoint("test", {
|
|
85
|
-
* projectId: projectId,
|
|
86
|
-
* providerName: "GCP",
|
|
87
|
-
* region: gcpRegion,
|
|
88
|
-
* });
|
|
89
|
-
* // Create a Google Network
|
|
90
|
-
* const _default = new google.index.ComputeNetwork("default", {
|
|
91
|
-
* project: gcpProject,
|
|
92
|
-
* name: "my-network",
|
|
93
|
-
* });
|
|
94
|
-
* // Create a Google Sub Network
|
|
95
|
-
* const defaultComputeSubnetwork = new google.index.ComputeSubnetwork("default", {
|
|
96
|
-
* project: _default.project,
|
|
97
|
-
* name: "my-subnet",
|
|
98
|
-
* ipCidrRange: "10.0.0.0/16",
|
|
99
|
-
* region: gcpRegion,
|
|
100
|
-
* network: _default.id,
|
|
101
|
-
* });
|
|
102
|
-
* // Create Google 50 Addresses
|
|
103
|
-
* const defaultComputeAddress: google.index.ComputeAddress[] = [];
|
|
104
|
-
* for (const range = {value: 0}; range.value < 50; range.value++) {
|
|
105
|
-
* defaultComputeAddress.push(new google.index.ComputeAddress(`default-${range.value}`, {
|
|
106
|
-
* project: defaultComputeSubnetwork.project,
|
|
107
|
-
* name: `tf-test${range.value}`,
|
|
108
|
-
* subnetwork: defaultComputeSubnetwork.id,
|
|
109
|
-
* addressType: "INTERNAL",
|
|
110
|
-
* address: `10.0.42.${range.value}`,
|
|
111
|
-
* region: gcpRegion,
|
|
112
|
-
* }, {
|
|
113
|
-
* dependsOn: [test],
|
|
114
|
-
* }));
|
|
115
|
-
* }
|
|
116
|
-
* // Create 50 Forwarding rules
|
|
117
|
-
* const defaultComputeForwardingRule: google.index.ComputeForwardingRule[] = [];
|
|
118
|
-
* for (const range = {value: 0}; range.value < 50; range.value++) {
|
|
119
|
-
* defaultComputeForwardingRule.push(new google.index.ComputeForwardingRule(`default-${range.value}`, {
|
|
120
|
-
* target: test.serviceAttachmentNames[range.value],
|
|
121
|
-
* project: defaultComputeAddress[range.value].project,
|
|
122
|
-
* region: defaultComputeAddress[range.value].region,
|
|
123
|
-
* name: defaultComputeAddress[range.value].name,
|
|
124
|
-
* ipAddress: defaultComputeAddress[range.value].id,
|
|
125
|
-
* network: _default.id,
|
|
126
|
-
* loadBalancingScheme: "",
|
|
127
|
-
* }));
|
|
128
|
-
* }
|
|
129
|
-
* const testPrivateLinkEndpointService = new mongodbatlas.PrivateLinkEndpointService("test", {
|
|
130
|
-
* endpoints: defaultComputeAddress.map((v, k) => ({key: k, value: v})).map(entry => ({
|
|
131
|
-
* ipAddress: entry.value.address,
|
|
132
|
-
* endpointName: defaultComputeForwardingRule[entry.key].name,
|
|
133
|
-
* })),
|
|
134
|
-
* projectId: test.projectId,
|
|
135
|
-
* privateLinkId: test.privateLinkId,
|
|
136
|
-
* providerName: "GCP",
|
|
137
|
-
* endpointServiceId: _default.name,
|
|
138
|
-
* gcpProjectId: gcpProject,
|
|
139
|
-
* }, {
|
|
140
|
-
* dependsOn: [defaultComputeForwardingRule],
|
|
141
|
-
* });
|
|
142
|
-
* ```
|
|
143
|
-
*
|
|
144
|
-
* ### Available complete examples
|
|
145
|
-
* - Setup private connection to a MongoDB Atlas Cluster with AWS VPC
|
|
146
|
-
*
|
|
147
5
|
* ## Import
|
|
148
6
|
*
|
|
149
7
|
* Private Endpoint Link Connection can be imported using project ID and username, in the format `{project_id}--{private_link_id}--{endpoint_service_id}--{provider_name}`, e.g.
|
|
@@ -6,148 +6,6 @@ exports.PrivateLinkEndpointService = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.PrivateLinkEndpointService
|
|
10
|
-
*
|
|
11
|
-
* `mongodbatlas.PrivateLinkEndpointService` provides a Private Endpoint Interface Link resource. This represents a Private Endpoint Interface Link, which adds one [Interface Endpoint](https://www.mongodb.com/docs/atlas/security-private-endpoint/#private-endpoint-concepts) to a private endpoint connection in an Atlas project.
|
|
12
|
-
*
|
|
13
|
-
* > **IMPORTANT:**You must have one of the following roles to successfully handle the resource:
|
|
14
|
-
* * Organization Owner
|
|
15
|
-
* * Project Owner
|
|
16
|
-
*
|
|
17
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
18
|
-
*
|
|
19
|
-
* > **NOTE:** Create and delete wait for all clusters on the project to IDLE in order for their operations to complete. This ensures the latest connection strings can be retrieved following creation or deletion of this resource. Default timeout is 2hrs.
|
|
20
|
-
*
|
|
21
|
-
* ## Example with AWS
|
|
22
|
-
*
|
|
23
|
-
* ```typescript
|
|
24
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
-
* import * as aws from "@pulumi/aws";
|
|
26
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
27
|
-
*
|
|
28
|
-
* const test = new mongodbatlas.PrivateLinkEndpoint("test", {
|
|
29
|
-
* projectId: "<PROJECT_ID>",
|
|
30
|
-
* providerName: "AWS",
|
|
31
|
-
* region: "US_EAST_1",
|
|
32
|
-
* });
|
|
33
|
-
* const ptfeService = new aws.index.VpcEndpoint("ptfe_service", {
|
|
34
|
-
* vpcId: "vpc-7fc0a543",
|
|
35
|
-
* serviceName: test.endpointServiceName,
|
|
36
|
-
* vpcEndpointType: "Interface",
|
|
37
|
-
* subnetIds: ["subnet-de0406d2"],
|
|
38
|
-
* securityGroupIds: ["sg-3f238186"],
|
|
39
|
-
* });
|
|
40
|
-
* const testPrivateLinkEndpointService = new mongodbatlas.PrivateLinkEndpointService("test", {
|
|
41
|
-
* projectId: test.projectId,
|
|
42
|
-
* privateLinkId: test.privateLinkId,
|
|
43
|
-
* endpointServiceId: ptfeService.id,
|
|
44
|
-
* providerName: "AWS",
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* ## Example with Azure
|
|
49
|
-
*
|
|
50
|
-
* ```typescript
|
|
51
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
-
* import * as azurerm from "@pulumi/azurerm";
|
|
53
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
54
|
-
*
|
|
55
|
-
* const test = new mongodbatlas.PrivateLinkEndpoint("test", {
|
|
56
|
-
* projectId: projectId,
|
|
57
|
-
* providerName: "AZURE",
|
|
58
|
-
* region: "eastus2",
|
|
59
|
-
* });
|
|
60
|
-
* const testPrivateEndpoint = new azurerm.index.PrivateEndpoint("test", {
|
|
61
|
-
* name: "endpoint-test",
|
|
62
|
-
* location: testAzurermResourceGroup.location,
|
|
63
|
-
* resourceGroupName: resourceGroupName,
|
|
64
|
-
* subnetId: testAzurermSubnet.id,
|
|
65
|
-
* privateServiceConnection: [{
|
|
66
|
-
* name: test.privateLinkServiceName,
|
|
67
|
-
* privateConnectionResourceId: test.privateLinkServiceResourceId,
|
|
68
|
-
* isManualConnection: true,
|
|
69
|
-
* requestMessage: "Azure Private Link test",
|
|
70
|
-
* }],
|
|
71
|
-
* });
|
|
72
|
-
* const testPrivateLinkEndpointService = new mongodbatlas.PrivateLinkEndpointService("test", {
|
|
73
|
-
* projectId: test.projectId,
|
|
74
|
-
* privateLinkId: test.privateLinkId,
|
|
75
|
-
* endpointServiceId: testPrivateEndpoint.id,
|
|
76
|
-
* privateEndpointIpAddress: testPrivateEndpoint.privateServiceConnection[0].privateIpAddress,
|
|
77
|
-
* providerName: "AZURE",
|
|
78
|
-
* });
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
|
-
* ## Example with GCP
|
|
82
|
-
*
|
|
83
|
-
* ```typescript
|
|
84
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
85
|
-
* import * as google from "@pulumi/google";
|
|
86
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
87
|
-
*
|
|
88
|
-
* const test = new mongodbatlas.PrivateLinkEndpoint("test", {
|
|
89
|
-
* projectId: projectId,
|
|
90
|
-
* providerName: "GCP",
|
|
91
|
-
* region: gcpRegion,
|
|
92
|
-
* });
|
|
93
|
-
* // Create a Google Network
|
|
94
|
-
* const _default = new google.index.ComputeNetwork("default", {
|
|
95
|
-
* project: gcpProject,
|
|
96
|
-
* name: "my-network",
|
|
97
|
-
* });
|
|
98
|
-
* // Create a Google Sub Network
|
|
99
|
-
* const defaultComputeSubnetwork = new google.index.ComputeSubnetwork("default", {
|
|
100
|
-
* project: _default.project,
|
|
101
|
-
* name: "my-subnet",
|
|
102
|
-
* ipCidrRange: "10.0.0.0/16",
|
|
103
|
-
* region: gcpRegion,
|
|
104
|
-
* network: _default.id,
|
|
105
|
-
* });
|
|
106
|
-
* // Create Google 50 Addresses
|
|
107
|
-
* const defaultComputeAddress: google.index.ComputeAddress[] = [];
|
|
108
|
-
* for (const range = {value: 0}; range.value < 50; range.value++) {
|
|
109
|
-
* defaultComputeAddress.push(new google.index.ComputeAddress(`default-${range.value}`, {
|
|
110
|
-
* project: defaultComputeSubnetwork.project,
|
|
111
|
-
* name: `tf-test${range.value}`,
|
|
112
|
-
* subnetwork: defaultComputeSubnetwork.id,
|
|
113
|
-
* addressType: "INTERNAL",
|
|
114
|
-
* address: `10.0.42.${range.value}`,
|
|
115
|
-
* region: gcpRegion,
|
|
116
|
-
* }, {
|
|
117
|
-
* dependsOn: [test],
|
|
118
|
-
* }));
|
|
119
|
-
* }
|
|
120
|
-
* // Create 50 Forwarding rules
|
|
121
|
-
* const defaultComputeForwardingRule: google.index.ComputeForwardingRule[] = [];
|
|
122
|
-
* for (const range = {value: 0}; range.value < 50; range.value++) {
|
|
123
|
-
* defaultComputeForwardingRule.push(new google.index.ComputeForwardingRule(`default-${range.value}`, {
|
|
124
|
-
* target: test.serviceAttachmentNames[range.value],
|
|
125
|
-
* project: defaultComputeAddress[range.value].project,
|
|
126
|
-
* region: defaultComputeAddress[range.value].region,
|
|
127
|
-
* name: defaultComputeAddress[range.value].name,
|
|
128
|
-
* ipAddress: defaultComputeAddress[range.value].id,
|
|
129
|
-
* network: _default.id,
|
|
130
|
-
* loadBalancingScheme: "",
|
|
131
|
-
* }));
|
|
132
|
-
* }
|
|
133
|
-
* const testPrivateLinkEndpointService = new mongodbatlas.PrivateLinkEndpointService("test", {
|
|
134
|
-
* endpoints: defaultComputeAddress.map((v, k) => ({key: k, value: v})).map(entry => ({
|
|
135
|
-
* ipAddress: entry.value.address,
|
|
136
|
-
* endpointName: defaultComputeForwardingRule[entry.key].name,
|
|
137
|
-
* })),
|
|
138
|
-
* projectId: test.projectId,
|
|
139
|
-
* privateLinkId: test.privateLinkId,
|
|
140
|
-
* providerName: "GCP",
|
|
141
|
-
* endpointServiceId: _default.name,
|
|
142
|
-
* gcpProjectId: gcpProject,
|
|
143
|
-
* }, {
|
|
144
|
-
* dependsOn: [defaultComputeForwardingRule],
|
|
145
|
-
* });
|
|
146
|
-
* ```
|
|
147
|
-
*
|
|
148
|
-
* ### Available complete examples
|
|
149
|
-
* - Setup private connection to a MongoDB Atlas Cluster with AWS VPC
|
|
150
|
-
*
|
|
151
9
|
* ## Import
|
|
152
10
|
*
|
|
153
11
|
* Private Endpoint Link Connection can be imported using project ID and username, in the format `{project_id}--{private_link_id}--{endpoint_service_id}--{provider_name}`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkEndpointService.js","sourceRoot":"","sources":["../privateLinkEndpointService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"privateLinkEndpointService.js","sourceRoot":"","sources":["../privateLinkEndpointService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG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CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,+BAA+B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpE,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AA5KL,gEA6KC;AA/JG,gBAAgB;AACO,uCAAY,GAAG,0EAA0E,CAAC"}
|
package/pushBasedLogExport.d.ts
CHANGED
|
@@ -2,11 +2,6 @@ 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
|
-
* ## # Resource: mongodbatlas.PushBasedLogExport
|
|
6
|
-
*
|
|
7
|
-
* `mongodbatlas.PushBasedLogExport` provides a resource for push-based log export feature. The resource lets you configure, enable & disable the project level settings for the push-based log export feature. Using this resource you
|
|
8
|
-
* can continually push logs from mongod, mongos, and audit logs to an Amazon S3 bucket. Atlas exports logs every 5 minutes.
|
|
9
|
-
*
|
|
10
5
|
* ## Example Usage
|
|
11
6
|
*
|
|
12
7
|
* ### S
|
package/pushBasedLogExport.js
CHANGED
|
@@ -6,11 +6,6 @@ exports.PushBasedLogExport = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.PushBasedLogExport
|
|
10
|
-
*
|
|
11
|
-
* `mongodbatlas.PushBasedLogExport` provides a resource for push-based log export feature. The resource lets you configure, enable & disable the project level settings for the push-based log export feature. Using this resource you
|
|
12
|
-
* can continually push logs from mongod, mongos, and audit logs to an Amazon S3 bucket. Atlas exports logs every 5 minutes.
|
|
13
|
-
*
|
|
14
9
|
* ## Example Usage
|
|
15
10
|
*
|
|
16
11
|
* ### S
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pushBasedLogExport.js","sourceRoot":"","sources":["../pushBasedLogExport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"pushBasedLogExport.js","sourceRoot":"","sources":["../pushBasedLogExport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB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
|
package/types/input.d.ts
CHANGED
|
@@ -843,7 +843,7 @@ export interface CloudProviderAccessAuthorizationAzure {
|
|
|
843
843
|
}
|
|
844
844
|
export interface CloudProviderAccessAuthorizationFeatureUsage {
|
|
845
845
|
featureId?: pulumi.Input<{
|
|
846
|
-
[key: string]:
|
|
846
|
+
[key: string]: pulumi.Input<string>;
|
|
847
847
|
}>;
|
|
848
848
|
featureType?: pulumi.Input<string>;
|
|
849
849
|
}
|
|
@@ -2011,7 +2011,7 @@ export interface StreamConnectionAuthentication {
|
|
|
2011
2011
|
}
|
|
2012
2012
|
export interface StreamConnectionDbRoleToExecute {
|
|
2013
2013
|
/**
|
|
2014
|
-
* The name of the role to use.
|
|
2014
|
+
* The name of the role to use. Value can be `atlasAdmin`, `readWriteAnyDatabase`, or `readAnyDatabase` if `type` is set to `BUILT_IN`, or the name of a user-defined role if `type` is set to `CUSTOM`.
|
|
2015
2015
|
*/
|
|
2016
2016
|
role: pulumi.Input<string>;
|
|
2017
2017
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -842,7 +842,7 @@ export interface CloudProviderAccessAuthorizationAzure {
|
|
|
842
842
|
}
|
|
843
843
|
export interface CloudProviderAccessAuthorizationFeatureUsage {
|
|
844
844
|
featureId: {
|
|
845
|
-
[key: string]:
|
|
845
|
+
[key: string]: string;
|
|
846
846
|
};
|
|
847
847
|
featureType: string;
|
|
848
848
|
}
|
|
@@ -3371,10 +3371,10 @@ export interface GetClusterBiConnectorConfig {
|
|
|
3371
3371
|
}
|
|
3372
3372
|
export interface GetClusterConnectionString {
|
|
3373
3373
|
awsPrivateLink: {
|
|
3374
|
-
[key: string]:
|
|
3374
|
+
[key: string]: string;
|
|
3375
3375
|
};
|
|
3376
3376
|
awsPrivateLinkSrv: {
|
|
3377
|
-
[key: string]:
|
|
3377
|
+
[key: string]: string;
|
|
3378
3378
|
};
|
|
3379
3379
|
/**
|
|
3380
3380
|
* [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
|
|
@@ -3752,10 +3752,10 @@ export interface GetClustersResultBiConnectorConfig {
|
|
|
3752
3752
|
}
|
|
3753
3753
|
export interface GetClustersResultConnectionString {
|
|
3754
3754
|
awsPrivateLink: {
|
|
3755
|
-
[key: string]:
|
|
3755
|
+
[key: string]: string;
|
|
3756
3756
|
};
|
|
3757
3757
|
awsPrivateLinkSrv: {
|
|
3758
|
-
[key: string]:
|
|
3758
|
+
[key: string]: string;
|
|
3759
3759
|
};
|
|
3760
3760
|
/**
|
|
3761
3761
|
* [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
|
|
@@ -6472,7 +6472,7 @@ export interface StreamConnectionAuthentication {
|
|
|
6472
6472
|
}
|
|
6473
6473
|
export interface StreamConnectionDbRoleToExecute {
|
|
6474
6474
|
/**
|
|
6475
|
-
* The name of the role to use.
|
|
6475
|
+
* The name of the role to use. Value can be `atlasAdmin`, `readWriteAnyDatabase`, or `readAnyDatabase` if `type` is set to `BUILT_IN`, or the name of a user-defined role if `type` is set to `CUSTOM`.
|
|
6476
6476
|
*/
|
|
6477
6477
|
role: string;
|
|
6478
6478
|
/**
|