@pulumi/mongodbatlas 3.37.0-alpha.1764050941 → 3.37.0

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.
@@ -84,6 +84,111 @@ const utilities = require("./utilities");
84
84
  * export const interfaceEndpointIds = pluralDatasource.then(pluralDatasource => pluralDatasource.results.map(__item => __item.interfaceEndpointId));
85
85
  * ```
86
86
  *
87
+ * ### AWS MSK Privatelink
88
+ * ```typescript
89
+ * import * as pulumi from "@pulumi/pulumi";
90
+ * import * as aws from "@pulumi/aws";
91
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
92
+ *
93
+ * const vpc = new aws.ec2.Vpc("vpc", {cidrBlock: "192.168.0.0/22"});
94
+ * const azs = aws.getAvailabilityZones({
95
+ * state: "available",
96
+ * });
97
+ * const subnetAz1 = new aws.ec2.Subnet("subnet_az1", {
98
+ * availabilityZone: azs.then(azs => azs.names?.[0]),
99
+ * cidrBlock: "192.168.0.0/24",
100
+ * vpcId: vpc.id,
101
+ * });
102
+ * const subnetAz2 = new aws.ec2.Subnet("subnet_az2", {
103
+ * availabilityZone: azs.then(azs => azs.names?.[1]),
104
+ * cidrBlock: "192.168.1.0/24",
105
+ * vpcId: vpc.id,
106
+ * });
107
+ * const sg = new aws.ec2.SecurityGroup("sg", {vpcId: vpc.id});
108
+ * const exampleConfiguration = new aws.msk.Configuration("example", {
109
+ * name: `${mskClusterName}-msk-configuration`,
110
+ * serverProperties: `auto.create.topics.enable=false
111
+ * default.replication.factor=3
112
+ * min.insync.replicas=2
113
+ * num.io.threads=8
114
+ * num.network.threads=5
115
+ * num.partitions=1
116
+ * num.replica.fetchers=2
117
+ * replica.lag.time.max.ms=30000
118
+ * socket.receive.buffer.bytes=102400
119
+ * socket.request.max.bytes=104857600
120
+ * socket.send.buffer.bytes=102400
121
+ * unclean.leader.election.enable=true
122
+ * allow.everyone.if.no.acl.found=false
123
+ * `,
124
+ * });
125
+ * const example = new aws.msk.Cluster("example", {
126
+ * clusterName: mskClusterName,
127
+ * kafkaVersion: "3.6.0",
128
+ * numberOfBrokerNodes: 2,
129
+ * brokerNodeGroupInfo: {
130
+ * instanceType: "kafka.m5.large",
131
+ * clientSubnets: [
132
+ * subnetAz1.id,
133
+ * subnetAz2.id,
134
+ * ],
135
+ * securityGroups: [sg.id],
136
+ * connectivityInfo: {
137
+ * vpcConnectivity: {
138
+ * clientAuthentication: {
139
+ * sasl: {
140
+ * scram: true,
141
+ * },
142
+ * },
143
+ * },
144
+ * },
145
+ * },
146
+ * clientAuthentication: {
147
+ * sasl: {
148
+ * scram: true,
149
+ * },
150
+ * },
151
+ * configurationInfo: {
152
+ * arn: exampleConfiguration.arn,
153
+ * revision: exampleConfiguration.latestRevision,
154
+ * },
155
+ * });
156
+ * const exampleClusterPolicy = new aws.msk.ClusterPolicy("example", {
157
+ * clusterArn: example.arn,
158
+ * policy: pulumi.jsonStringify({
159
+ * Version: "2012-10-17",
160
+ * Statement: [{
161
+ * Effect: "Allow",
162
+ * Principal: {
163
+ * AWS: `arn:aws:iam::${awsAccountId}:root`,
164
+ * },
165
+ * Action: [
166
+ * "kafka:CreateVpcConnection",
167
+ * "kafka:GetBootstrapBrokers",
168
+ * "kafka:DescribeCluster",
169
+ * "kafka:DescribeClusterV2",
170
+ * ],
171
+ * Resource: example.arn,
172
+ * }],
173
+ * }),
174
+ * });
175
+ * const exampleMskSingleScramSecretAssociation = new aws.index.MskSingleScramSecretAssociation("example", {
176
+ * clusterArn: example.arn,
177
+ * secretArn: awsSecretArn,
178
+ * });
179
+ * const test = new mongodbatlas.StreamPrivatelinkEndpoint("test", {
180
+ * projectId: projectId,
181
+ * providerName: "AWS",
182
+ * vendor: "MSK",
183
+ * arn: example.arn,
184
+ * });
185
+ * const singularDatasource = test.id.apply(id => mongodbatlas.getStreamPrivatelinkEndpointOutput({
186
+ * projectId: projectId,
187
+ * id: id,
188
+ * }));
189
+ * export const privatelinkEndpointId = singularDatasource.apply(singularDatasource => singularDatasource.id);
190
+ * ```
191
+ *
87
192
  * ### AWS S3 Privatelink
88
193
  * ```typescript
89
194
  * import * as pulumi from "@pulumi/pulumi";
@@ -91,22 +196,22 @@ const utilities = require("./utilities");
91
196
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
92
197
  *
93
198
  * // S3 bucket for stream data
94
- * const streamBucket = new aws.index.S3Bucket("stream_bucket", {
199
+ * const streamBucket = new aws.s3.BucketV2("stream_bucket", {
95
200
  * bucket: s3BucketName,
96
201
  * forceDestroy: true,
97
202
  * });
98
- * const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
203
+ * const streamBucketVersioning = new aws.s3.BucketVersioningV2("stream_bucket_versioning", {
99
204
  * bucket: streamBucket.id,
100
- * versioningConfiguration: [{
205
+ * versioningConfiguration: {
101
206
  * status: "Enabled",
102
- * }],
207
+ * },
103
208
  * });
104
- * const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
209
+ * const streamBucketEncryption = new aws.s3.BucketServerSideEncryptionConfigurationV2("stream_bucket_encryption", {
105
210
  * bucket: streamBucket.id,
106
- * rule: [{
107
- * applyServerSideEncryptionByDefault: [{
211
+ * rules: [{
212
+ * applyServerSideEncryptionByDefault: {
108
213
  * sseAlgorithm: "AES256",
109
- * }],
214
+ * },
110
215
  * }],
111
216
  * });
112
217
  * // PrivateLink for S3
@@ -206,6 +311,111 @@ exports.getStreamPrivatelinkEndpoints = getStreamPrivatelinkEndpoints;
206
311
  * export const interfaceEndpointIds = pluralDatasource.then(pluralDatasource => pluralDatasource.results.map(__item => __item.interfaceEndpointId));
207
312
  * ```
208
313
  *
314
+ * ### AWS MSK Privatelink
315
+ * ```typescript
316
+ * import * as pulumi from "@pulumi/pulumi";
317
+ * import * as aws from "@pulumi/aws";
318
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
319
+ *
320
+ * const vpc = new aws.ec2.Vpc("vpc", {cidrBlock: "192.168.0.0/22"});
321
+ * const azs = aws.getAvailabilityZones({
322
+ * state: "available",
323
+ * });
324
+ * const subnetAz1 = new aws.ec2.Subnet("subnet_az1", {
325
+ * availabilityZone: azs.then(azs => azs.names?.[0]),
326
+ * cidrBlock: "192.168.0.0/24",
327
+ * vpcId: vpc.id,
328
+ * });
329
+ * const subnetAz2 = new aws.ec2.Subnet("subnet_az2", {
330
+ * availabilityZone: azs.then(azs => azs.names?.[1]),
331
+ * cidrBlock: "192.168.1.0/24",
332
+ * vpcId: vpc.id,
333
+ * });
334
+ * const sg = new aws.ec2.SecurityGroup("sg", {vpcId: vpc.id});
335
+ * const exampleConfiguration = new aws.msk.Configuration("example", {
336
+ * name: `${mskClusterName}-msk-configuration`,
337
+ * serverProperties: `auto.create.topics.enable=false
338
+ * default.replication.factor=3
339
+ * min.insync.replicas=2
340
+ * num.io.threads=8
341
+ * num.network.threads=5
342
+ * num.partitions=1
343
+ * num.replica.fetchers=2
344
+ * replica.lag.time.max.ms=30000
345
+ * socket.receive.buffer.bytes=102400
346
+ * socket.request.max.bytes=104857600
347
+ * socket.send.buffer.bytes=102400
348
+ * unclean.leader.election.enable=true
349
+ * allow.everyone.if.no.acl.found=false
350
+ * `,
351
+ * });
352
+ * const example = new aws.msk.Cluster("example", {
353
+ * clusterName: mskClusterName,
354
+ * kafkaVersion: "3.6.0",
355
+ * numberOfBrokerNodes: 2,
356
+ * brokerNodeGroupInfo: {
357
+ * instanceType: "kafka.m5.large",
358
+ * clientSubnets: [
359
+ * subnetAz1.id,
360
+ * subnetAz2.id,
361
+ * ],
362
+ * securityGroups: [sg.id],
363
+ * connectivityInfo: {
364
+ * vpcConnectivity: {
365
+ * clientAuthentication: {
366
+ * sasl: {
367
+ * scram: true,
368
+ * },
369
+ * },
370
+ * },
371
+ * },
372
+ * },
373
+ * clientAuthentication: {
374
+ * sasl: {
375
+ * scram: true,
376
+ * },
377
+ * },
378
+ * configurationInfo: {
379
+ * arn: exampleConfiguration.arn,
380
+ * revision: exampleConfiguration.latestRevision,
381
+ * },
382
+ * });
383
+ * const exampleClusterPolicy = new aws.msk.ClusterPolicy("example", {
384
+ * clusterArn: example.arn,
385
+ * policy: pulumi.jsonStringify({
386
+ * Version: "2012-10-17",
387
+ * Statement: [{
388
+ * Effect: "Allow",
389
+ * Principal: {
390
+ * AWS: `arn:aws:iam::${awsAccountId}:root`,
391
+ * },
392
+ * Action: [
393
+ * "kafka:CreateVpcConnection",
394
+ * "kafka:GetBootstrapBrokers",
395
+ * "kafka:DescribeCluster",
396
+ * "kafka:DescribeClusterV2",
397
+ * ],
398
+ * Resource: example.arn,
399
+ * }],
400
+ * }),
401
+ * });
402
+ * const exampleMskSingleScramSecretAssociation = new aws.index.MskSingleScramSecretAssociation("example", {
403
+ * clusterArn: example.arn,
404
+ * secretArn: awsSecretArn,
405
+ * });
406
+ * const test = new mongodbatlas.StreamPrivatelinkEndpoint("test", {
407
+ * projectId: projectId,
408
+ * providerName: "AWS",
409
+ * vendor: "MSK",
410
+ * arn: example.arn,
411
+ * });
412
+ * const singularDatasource = test.id.apply(id => mongodbatlas.getStreamPrivatelinkEndpointOutput({
413
+ * projectId: projectId,
414
+ * id: id,
415
+ * }));
416
+ * export const privatelinkEndpointId = singularDatasource.apply(singularDatasource => singularDatasource.id);
417
+ * ```
418
+ *
209
419
  * ### AWS S3 Privatelink
210
420
  * ```typescript
211
421
  * import * as pulumi from "@pulumi/pulumi";
@@ -213,22 +423,22 @@ exports.getStreamPrivatelinkEndpoints = getStreamPrivatelinkEndpoints;
213
423
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
214
424
  *
215
425
  * // S3 bucket for stream data
216
- * const streamBucket = new aws.index.S3Bucket("stream_bucket", {
426
+ * const streamBucket = new aws.s3.BucketV2("stream_bucket", {
217
427
  * bucket: s3BucketName,
218
428
  * forceDestroy: true,
219
429
  * });
220
- * const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
430
+ * const streamBucketVersioning = new aws.s3.BucketVersioningV2("stream_bucket_versioning", {
221
431
  * bucket: streamBucket.id,
222
- * versioningConfiguration: [{
432
+ * versioningConfiguration: {
223
433
  * status: "Enabled",
224
- * }],
434
+ * },
225
435
  * });
226
- * const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
436
+ * const streamBucketEncryption = new aws.s3.BucketServerSideEncryptionConfigurationV2("stream_bucket_encryption", {
227
437
  * bucket: streamBucket.id,
228
- * rule: [{
229
- * applyServerSideEncryptionByDefault: [{
438
+ * rules: [{
439
+ * applyServerSideEncryptionByDefault: {
230
440
  * sseAlgorithm: "AES256",
231
- * }],
441
+ * },
232
442
  * }],
233
443
  * });
234
444
  * // PrivateLink for S3
@@ -1 +1 @@
1
- {"version":3,"file":"getStreamPrivatelinkEndpoints.js","sourceRoot":"","sources":["../getStreamPrivatelinkEndpoints.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkHG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gFAAgF,EAAE;QAC3G,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC;AAoBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkHG;AACH,SAAgB,mCAAm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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2NG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAAiC;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gFAAgF,EAAE;QACjH,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kFAKC"}
@@ -50,12 +50,66 @@ import * as pulumi from "@pulumi/pulumi";
50
50
  * });
51
51
  * // the following assumes an AWS provider is configured
52
52
  * // Accept the peering connection request
53
- * const peer = new aws.index.VpcPeeringConnectionAccepter("peer", {
53
+ * const peer = new aws.ec2.VpcPeeringConnectionAccepter("peer", {
54
54
  * vpcPeeringConnectionId: testNetworkPeering.connectionId,
55
55
  * autoAccept: true,
56
56
  * });
57
57
  * ```
58
58
  *
59
+ * ### Example with GCP
60
+ *
61
+ * ```typescript
62
+ * import * as pulumi from "@pulumi/pulumi";
63
+ * import * as gcp from "@pulumi/gcp";
64
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
65
+ *
66
+ * // Container example provided but not always required,
67
+ * // see network_container documentation for details.
68
+ * const test = new mongodbatlas.NetworkContainer("test", {
69
+ * projectId: projectId,
70
+ * atlasCidrBlock: "10.8.0.0/21",
71
+ * providerName: "GCP",
72
+ * });
73
+ * // Create the peering connection request
74
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
75
+ * projectId: projectId,
76
+ * containerId: test.containerId,
77
+ * providerName: "GCP",
78
+ * gcpProjectId: GCP_PROJECT_ID,
79
+ * networkName: "default",
80
+ * });
81
+ * // the following assumes a GCP provider is configured
82
+ * const _default = gcp.compute.getNetwork({
83
+ * name: "default",
84
+ * });
85
+ * // Create the GCP peer
86
+ * const peering = new gcp.compute.NetworkPeering("peering", {
87
+ * name: "peering-gcp-terraform-test",
88
+ * network: _default.then(_default => _default.selfLink),
89
+ * peerNetwork: pulumi.interpolate`https://www.googleapis.com/compute/v1/projects/${testNetworkPeering.atlasGcpProjectId}/global/networks/${testNetworkPeering.atlasVpcName}`,
90
+ * });
91
+ * // Create the cluster once the peering connection is completed
92
+ * const testAdvancedCluster = new mongodbatlas.AdvancedCluster("test", {
93
+ * projectId: projectId,
94
+ * name: "terraform-manually-test",
95
+ * clusterType: "REPLICASET",
96
+ * backupEnabled: true,
97
+ * replicationSpecs: [{
98
+ * regionConfigs: [{
99
+ * priority: 7,
100
+ * providerName: "GCP",
101
+ * regionName: "US_EAST_4",
102
+ * electableSpecs: {
103
+ * instanceSize: "M10",
104
+ * nodeCount: 3,
105
+ * },
106
+ * }],
107
+ * }],
108
+ * }, {
109
+ * dependsOn: [peering],
110
+ * });
111
+ * ```
112
+ *
59
113
  * ### Example with Azure
60
114
  *
61
115
  * ```typescript
package/networkPeering.js CHANGED
@@ -56,12 +56,66 @@ const utilities = require("./utilities");
56
56
  * });
57
57
  * // the following assumes an AWS provider is configured
58
58
  * // Accept the peering connection request
59
- * const peer = new aws.index.VpcPeeringConnectionAccepter("peer", {
59
+ * const peer = new aws.ec2.VpcPeeringConnectionAccepter("peer", {
60
60
  * vpcPeeringConnectionId: testNetworkPeering.connectionId,
61
61
  * autoAccept: true,
62
62
  * });
63
63
  * ```
64
64
  *
65
+ * ### Example with GCP
66
+ *
67
+ * ```typescript
68
+ * import * as pulumi from "@pulumi/pulumi";
69
+ * import * as gcp from "@pulumi/gcp";
70
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
71
+ *
72
+ * // Container example provided but not always required,
73
+ * // see network_container documentation for details.
74
+ * const test = new mongodbatlas.NetworkContainer("test", {
75
+ * projectId: projectId,
76
+ * atlasCidrBlock: "10.8.0.0/21",
77
+ * providerName: "GCP",
78
+ * });
79
+ * // Create the peering connection request
80
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
81
+ * projectId: projectId,
82
+ * containerId: test.containerId,
83
+ * providerName: "GCP",
84
+ * gcpProjectId: GCP_PROJECT_ID,
85
+ * networkName: "default",
86
+ * });
87
+ * // the following assumes a GCP provider is configured
88
+ * const _default = gcp.compute.getNetwork({
89
+ * name: "default",
90
+ * });
91
+ * // Create the GCP peer
92
+ * const peering = new gcp.compute.NetworkPeering("peering", {
93
+ * name: "peering-gcp-terraform-test",
94
+ * network: _default.then(_default => _default.selfLink),
95
+ * peerNetwork: pulumi.interpolate`https://www.googleapis.com/compute/v1/projects/${testNetworkPeering.atlasGcpProjectId}/global/networks/${testNetworkPeering.atlasVpcName}`,
96
+ * });
97
+ * // Create the cluster once the peering connection is completed
98
+ * const testAdvancedCluster = new mongodbatlas.AdvancedCluster("test", {
99
+ * projectId: projectId,
100
+ * name: "terraform-manually-test",
101
+ * clusterType: "REPLICASET",
102
+ * backupEnabled: true,
103
+ * replicationSpecs: [{
104
+ * regionConfigs: [{
105
+ * priority: 7,
106
+ * providerName: "GCP",
107
+ * regionName: "US_EAST_4",
108
+ * electableSpecs: {
109
+ * instanceSize: "M10",
110
+ * nodeCount: 3,
111
+ * },
112
+ * }],
113
+ * }],
114
+ * }, {
115
+ * dependsOn: [peering],
116
+ * });
117
+ * ```
118
+ *
65
119
  * ### Example with Azure
66
120
  *
67
121
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"networkPeering.js","sourceRoot":"","sources":["../networkPeering.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2HG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,M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C,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAxML,wCAyMC;AA3LG,gBAAgB;AACO,2BAAY,GAAG,kDAAkD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/mongodbatlas",
3
- "version": "3.37.0-alpha.1764050941",
3
+ "version": "3.37.0",
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.37.0-alpha.1764050941"
26
+ "version": "3.37.0"
27
27
  }
28
28
  }
@@ -19,7 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
19
19
  * orgId: atlasOrgId,
20
20
  * name: atlasProjectName,
21
21
  * });
22
- * const test = new aws.index.VpcEndpoint("test", {
22
+ * const test = new aws.ec2.VpcEndpoint("test", {
23
23
  * vpcId: "vpc-7fc0a543",
24
24
  * serviceName: "<SERVICE-NAME>",
25
25
  * vpcEndpointType: "Interface",
@@ -32,7 +32,7 @@ import * as pulumi from "@pulumi/pulumi";
32
32
  * providerName: "AWS",
33
33
  * comment: "Test",
34
34
  * region: "US_EAST_1",
35
- * customerEndpointDnsName: test.dnsEntry[0].dnsName,
35
+ * customerEndpointDnsName: test.dnsEntries.apply(dnsEntries => dnsEntries[0].dnsName),
36
36
  * });
37
37
  * ```
38
38
  *
@@ -25,7 +25,7 @@ const utilities = require("./utilities");
25
25
  * orgId: atlasOrgId,
26
26
  * name: atlasProjectName,
27
27
  * });
28
- * const test = new aws.index.VpcEndpoint("test", {
28
+ * const test = new aws.ec2.VpcEndpoint("test", {
29
29
  * vpcId: "vpc-7fc0a543",
30
30
  * serviceName: "<SERVICE-NAME>",
31
31
  * vpcEndpointType: "Interface",
@@ -38,7 +38,7 @@ const utilities = require("./utilities");
38
38
  * providerName: "AWS",
39
39
  * comment: "Test",
40
40
  * region: "US_EAST_1",
41
- * customerEndpointDnsName: test.dnsEntry[0].dnsName,
41
+ * customerEndpointDnsName: test.dnsEntries.apply(dnsEntries => dnsEntries[0].dnsName),
42
42
  * });
43
43
  * ```
44
44
  *
@@ -28,7 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
28
28
  * instanceName: testServerlessInstance.name,
29
29
  * providerName: "AWS",
30
30
  * });
31
- * const ptfeService = new aws.index.VpcEndpoint("ptfe_service", {
31
+ * const ptfeService = new aws.ec2.VpcEndpoint("ptfe_service", {
32
32
  * vpcId: "vpc-7fc0a543",
33
33
  * serviceName: test.endpointServiceName,
34
34
  * vpcEndpointType: "Interface",
@@ -49,24 +49,24 @@ import * as pulumi from "@pulumi/pulumi";
49
49
  *
50
50
  * ```typescript
51
51
  * import * as pulumi from "@pulumi/pulumi";
52
- * import * as azurerm from "@pulumi/azurerm";
52
+ * import * as azure from "@pulumi/azure";
53
53
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
54
54
  *
55
55
  * const test = new mongodbatlas.PrivatelinkEndpointServerless("test", {
56
56
  * projectId: projectId,
57
57
  * providerName: "AZURE",
58
58
  * });
59
- * const testPrivateEndpoint = new azurerm.index.PrivateEndpoint("test", {
59
+ * const testEndpoint = new azure.privatelink.Endpoint("test", {
60
60
  * name: "endpoint-test",
61
61
  * location: testAzurermResourceGroup.location,
62
62
  * resourceGroupName: resourceGroupName,
63
63
  * subnetId: testAzurermSubnet.id,
64
- * privateServiceConnection: [{
64
+ * privateServiceConnection: {
65
65
  * name: test.privateLinkServiceName,
66
66
  * privateConnectionResourceId: test.privateLinkServiceResourceId,
67
67
  * isManualConnection: true,
68
68
  * requestMessage: "Azure Private Link test",
69
- * }],
69
+ * },
70
70
  * });
71
71
  * const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
72
72
  * projectId: "<PROJECT_ID>",
@@ -80,8 +80,8 @@ import * as pulumi from "@pulumi/pulumi";
80
80
  * projectId: test.projectId,
81
81
  * instanceName: testServerlessInstance.name,
82
82
  * endpointId: test.endpointId,
83
- * cloudProviderEndpointId: testPrivateEndpoint.id,
84
- * privateEndpointIpAddress: testPrivateEndpoint.privateServiceConnection[0].privateIpAddress,
83
+ * cloudProviderEndpointId: testEndpoint.id,
84
+ * privateEndpointIpAddress: testEndpoint.privateServiceConnection.apply(privateServiceConnection => privateServiceConnection.privateIpAddress),
85
85
  * providerName: "AZURE",
86
86
  * comment: "test",
87
87
  * });
@@ -34,7 +34,7 @@ const utilities = require("./utilities");
34
34
  * instanceName: testServerlessInstance.name,
35
35
  * providerName: "AWS",
36
36
  * });
37
- * const ptfeService = new aws.index.VpcEndpoint("ptfe_service", {
37
+ * const ptfeService = new aws.ec2.VpcEndpoint("ptfe_service", {
38
38
  * vpcId: "vpc-7fc0a543",
39
39
  * serviceName: test.endpointServiceName,
40
40
  * vpcEndpointType: "Interface",
@@ -55,24 +55,24 @@ const utilities = require("./utilities");
55
55
  *
56
56
  * ```typescript
57
57
  * import * as pulumi from "@pulumi/pulumi";
58
- * import * as azurerm from "@pulumi/azurerm";
58
+ * import * as azure from "@pulumi/azure";
59
59
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
60
60
  *
61
61
  * const test = new mongodbatlas.PrivatelinkEndpointServerless("test", {
62
62
  * projectId: projectId,
63
63
  * providerName: "AZURE",
64
64
  * });
65
- * const testPrivateEndpoint = new azurerm.index.PrivateEndpoint("test", {
65
+ * const testEndpoint = new azure.privatelink.Endpoint("test", {
66
66
  * name: "endpoint-test",
67
67
  * location: testAzurermResourceGroup.location,
68
68
  * resourceGroupName: resourceGroupName,
69
69
  * subnetId: testAzurermSubnet.id,
70
- * privateServiceConnection: [{
70
+ * privateServiceConnection: {
71
71
  * name: test.privateLinkServiceName,
72
72
  * privateConnectionResourceId: test.privateLinkServiceResourceId,
73
73
  * isManualConnection: true,
74
74
  * requestMessage: "Azure Private Link test",
75
- * }],
75
+ * },
76
76
  * });
77
77
  * const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
78
78
  * projectId: "<PROJECT_ID>",
@@ -86,8 +86,8 @@ const utilities = require("./utilities");
86
86
  * projectId: test.projectId,
87
87
  * instanceName: testServerlessInstance.name,
88
88
  * endpointId: test.endpointId,
89
- * cloudProviderEndpointId: testPrivateEndpoint.id,
90
- * privateEndpointIpAddress: testPrivateEndpoint.privateServiceConnection[0].privateIpAddress,
89
+ * cloudProviderEndpointId: testEndpoint.id,
90
+ * privateEndpointIpAddress: testEndpoint.privateServiceConnection.apply(privateServiceConnection => privateServiceConnection.privateIpAddress),
91
91
  * providerName: "AZURE",
92
92
  * comment: "test",
93
93
  * });
package/project.d.ts CHANGED
@@ -146,7 +146,7 @@ export declare class Project extends pulumi.CustomResource {
146
146
  } | undefined>;
147
147
  readonly teams: pulumi.Output<outputs.ProjectTeam[] | undefined>;
148
148
  /**
149
- * It allows users to disable the creation of the default alert settings. By default, this flag is set to true.
149
+ * Flag that indicates whether to create the project with default alert settings. This setting cannot be updated after project creation. By default, this flag is set to true.
150
150
  */
151
151
  readonly withDefaultAlertsSettings: pulumi.Output<boolean>;
152
152
  /**
@@ -231,7 +231,7 @@ export interface ProjectState {
231
231
  }>;
232
232
  teams?: pulumi.Input<pulumi.Input<inputs.ProjectTeam>[]>;
233
233
  /**
234
- * It allows users to disable the creation of the default alert settings. By default, this flag is set to true.
234
+ * Flag that indicates whether to create the project with default alert settings. This setting cannot be updated after project creation. By default, this flag is set to true.
235
235
  */
236
236
  withDefaultAlertsSettings?: pulumi.Input<boolean>;
237
237
  }
@@ -294,7 +294,7 @@ export interface ProjectArgs {
294
294
  }>;
295
295
  teams?: pulumi.Input<pulumi.Input<inputs.ProjectTeam>[]>;
296
296
  /**
297
- * It allows users to disable the creation of the default alert settings. By default, this flag is set to true.
297
+ * Flag that indicates whether to create the project with default alert settings. This setting cannot be updated after project creation. By default, this flag is set to true.
298
298
  */
299
299
  withDefaultAlertsSettings?: pulumi.Input<boolean>;
300
300
  }