@pulumi/mongodbatlas 3.28.0-alpha.1740766387 → 3.28.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.
- package/advancedCluster.d.ts +74 -5
- package/advancedCluster.js +71 -2
- package/advancedCluster.js.map +1 -1
- package/cloudBackupSchedule.d.ts +15 -15
- package/cloudBackupSnapshotExportBucket.d.ts +2 -0
- package/cloudBackupSnapshotExportBucket.js +2 -0
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cluster.d.ts +6 -6
- package/encryptionAtRestPrivateEndpoint.d.ts +29 -5
- package/encryptionAtRestPrivateEndpoint.js +29 -5
- package/encryptionAtRestPrivateEndpoint.js.map +1 -1
- package/flexCluster.d.ts +1 -1
- package/flexCluster.js +1 -1
- package/getAdvancedCluster.d.ts +54 -0
- package/getAdvancedCluster.js +54 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAdvancedClusters.d.ts +52 -0
- package/getAdvancedClusters.js +52 -0
- package/getAdvancedClusters.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +4 -4
- package/getEncryptionAtRest.d.ts +2 -2
- package/getEncryptionAtRest.js +2 -2
- package/getEncryptionAtRestPrivateEndpoint.d.ts +34 -8
- package/getEncryptionAtRestPrivateEndpoint.js +34 -8
- package/getEncryptionAtRestPrivateEndpoint.js.map +1 -1
- package/getEncryptionAtRestPrivateEndpoints.d.ts +32 -8
- package/getEncryptionAtRestPrivateEndpoints.js +32 -8
- package/getEncryptionAtRestPrivateEndpoints.js.map +1 -1
- package/getFlexCluster.d.ts +2 -2
- package/getFlexCluster.js +2 -2
- package/getFlexClusters.d.ts +2 -2
- package/getFlexClusters.js +2 -2
- package/getFlexRestoreJob.d.ts +109 -0
- package/getFlexRestoreJob.js +76 -0
- package/getFlexRestoreJob.js.map +1 -0
- package/getFlexRestoreJobs.d.ts +98 -0
- package/getFlexRestoreJobs.js +74 -0
- package/getFlexRestoreJobs.js.map +1 -0
- package/getFlexSnapshot.d.ts +105 -0
- package/getFlexSnapshot.js +76 -0
- package/getFlexSnapshot.js.map +1 -0
- package/getFlexSnapshots.d.ts +98 -0
- package/getFlexSnapshots.js +74 -0
- package/getFlexSnapshots.js.map +1 -0
- package/getServerlessInstance.d.ts +2 -2
- package/getServerlessInstance.js +2 -2
- package/getServerlessInstances.d.ts +2 -2
- package/getServerlessInstances.js +2 -2
- package/globalClusterConfig.d.ts +1 -1
- package/globalClusterConfig.js +1 -1
- package/index.d.ts +12 -0
- package/index.js +16 -4
- package/index.js.map +1 -1
- package/maintenanceWindow.d.ts +3 -3
- package/package.json +2 -2
- package/serverlessInstance.d.ts +1 -1
- package/serverlessInstance.js +1 -1
- package/types/input.d.ts +8 -4
- package/types/output.d.ts +104 -4
package/advancedCluster.d.ts
CHANGED
|
@@ -58,9 +58,9 @@ import * as outputs from "./types/output";
|
|
|
58
58
|
*
|
|
59
59
|
* **NOTE:** There can only be one M0 cluster per project.
|
|
60
60
|
*
|
|
61
|
-
* **NOTE**: Upgrading the
|
|
61
|
+
* **NOTE**: Upgrading the tenant cluster to a Flex cluster or a dedicated cluster is supported. When upgrading to a Flex cluster, change the `providerName` from "TENANT" to "FLEX". See Example Tenant Cluster Upgrade to Flex below. When upgrading to a dedicated cluster, change the `providerName` to your preferred provider (AWS, GCP or Azure) and remove the variable `backingProviderName`. See the Example Tenant Cluster Upgrade below. You can upgrade a tenant cluster only to a single provider on an M10-tier cluster or greater.
|
|
62
62
|
*
|
|
63
|
-
* When upgrading from the
|
|
63
|
+
* When upgrading from the tenant, *only* the upgrade changes will be applied. This helps avoid a corrupt state file in the event that the upgrade succeeds but subsequent updates fail within the same `pulumi up`. To apply additional cluster changes, run a secondary `pulumi up` after the upgrade succeeds.
|
|
64
64
|
*
|
|
65
65
|
* ### Example Tenant Cluster Upgrade
|
|
66
66
|
*
|
|
@@ -85,6 +85,75 @@ import * as outputs from "./types/output";
|
|
|
85
85
|
* });
|
|
86
86
|
* ```
|
|
87
87
|
*
|
|
88
|
+
* ### Example Tenant Cluster Upgrade to Flex
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
93
|
+
*
|
|
94
|
+
* const example_flex = new mongodbatlas.AdvancedCluster("example-flex", {
|
|
95
|
+
* projectId: "PROJECT ID",
|
|
96
|
+
* name: "NAME OF CLUSTER",
|
|
97
|
+
* clusterType: "REPLICASET",
|
|
98
|
+
* replicationSpecs: [{
|
|
99
|
+
* regionConfigs: [{
|
|
100
|
+
* providerName: "FLEX",
|
|
101
|
+
* backingProviderName: "AWS",
|
|
102
|
+
* regionName: "US_EAST_1",
|
|
103
|
+
* priority: 7,
|
|
104
|
+
* }],
|
|
105
|
+
* }],
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* ### Example Flex Cluster
|
|
110
|
+
*
|
|
111
|
+
* ```typescript
|
|
112
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
113
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
114
|
+
*
|
|
115
|
+
* const example_flex = new mongodbatlas.AdvancedCluster("example-flex", {
|
|
116
|
+
* projectId: "PROJECT ID",
|
|
117
|
+
* name: "NAME OF CLUSTER",
|
|
118
|
+
* clusterType: "REPLICASET",
|
|
119
|
+
* replicationSpecs: [{
|
|
120
|
+
* regionConfigs: [{
|
|
121
|
+
* providerName: "FLEX",
|
|
122
|
+
* backingProviderName: "AWS",
|
|
123
|
+
* regionName: "US_EAST_1",
|
|
124
|
+
* priority: 7,
|
|
125
|
+
* }],
|
|
126
|
+
* }],
|
|
127
|
+
* });
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* **NOTE**: Upgrading the Flex cluster is supported. When upgrading from a Flex cluster, change the `providerName` from "TENANT" to your preferred provider (AWS, GCP or Azure) and remove the variable `backingProviderName`. See the Example Flex Cluster Upgrade below. You can upgrade a Flex cluster only to a single provider on an M10-tier cluster or greater.
|
|
131
|
+
*
|
|
132
|
+
* When upgrading from a flex cluster, *only* the upgrade changes will be applied. This helps avoid a corrupt state file in the event that the upgrade succeeds but subsequent updates fail within the same `pulumi up`. To apply additional cluster changes, run a secondary `pulumi up` after the upgrade succeeds.
|
|
133
|
+
*
|
|
134
|
+
* ### Example Flex Cluster Upgrade
|
|
135
|
+
*
|
|
136
|
+
* ```typescript
|
|
137
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
138
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
139
|
+
*
|
|
140
|
+
* const test = new mongodbatlas.AdvancedCluster("test", {
|
|
141
|
+
* projectId: "PROJECT ID",
|
|
142
|
+
* name: "NAME OF CLUSTER",
|
|
143
|
+
* clusterType: "REPLICASET",
|
|
144
|
+
* replicationSpecs: [{
|
|
145
|
+
* regionConfigs: [{
|
|
146
|
+
* electableSpecs: {
|
|
147
|
+
* instanceSize: "M10",
|
|
148
|
+
* },
|
|
149
|
+
* providerName: "AWS",
|
|
150
|
+
* regionName: "US_EAST_1",
|
|
151
|
+
* priority: 7,
|
|
152
|
+
* }],
|
|
153
|
+
* }],
|
|
154
|
+
* });
|
|
155
|
+
* ```
|
|
156
|
+
*
|
|
88
157
|
* ### Example Multi-Cloud Cluster
|
|
89
158
|
* ```typescript
|
|
90
159
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -353,7 +422,7 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
|
|
|
353
422
|
*
|
|
354
423
|
* Backup uses:
|
|
355
424
|
* [Cloud Backups](https://docs.atlas.mongodb.com/backup/cloud-backup/overview/#std-label-backup-cloud-provider) for dedicated clusters.
|
|
356
|
-
* [
|
|
425
|
+
* [Flex Cluster Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/flex-cluster-backup/) for flex clusters.
|
|
357
426
|
* If "`backupEnabled`" : `false`, the cluster doesn't use Atlas backups.
|
|
358
427
|
*
|
|
359
428
|
* This parameter defaults to false.
|
|
@@ -500,7 +569,7 @@ export interface AdvancedClusterState {
|
|
|
500
569
|
*
|
|
501
570
|
* Backup uses:
|
|
502
571
|
* [Cloud Backups](https://docs.atlas.mongodb.com/backup/cloud-backup/overview/#std-label-backup-cloud-provider) for dedicated clusters.
|
|
503
|
-
* [
|
|
572
|
+
* [Flex Cluster Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/flex-cluster-backup/) for flex clusters.
|
|
504
573
|
* If "`backupEnabled`" : `false`, the cluster doesn't use Atlas backups.
|
|
505
574
|
*
|
|
506
575
|
* This parameter defaults to false.
|
|
@@ -639,7 +708,7 @@ export interface AdvancedClusterArgs {
|
|
|
639
708
|
*
|
|
640
709
|
* Backup uses:
|
|
641
710
|
* [Cloud Backups](https://docs.atlas.mongodb.com/backup/cloud-backup/overview/#std-label-backup-cloud-provider) for dedicated clusters.
|
|
642
|
-
* [
|
|
711
|
+
* [Flex Cluster Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/flex-cluster-backup/) for flex clusters.
|
|
643
712
|
* If "`backupEnabled`" : `false`, the cluster doesn't use Atlas backups.
|
|
644
713
|
*
|
|
645
714
|
* This parameter defaults to false.
|
package/advancedCluster.js
CHANGED
|
@@ -62,9 +62,9 @@ const utilities = require("./utilities");
|
|
|
62
62
|
*
|
|
63
63
|
* **NOTE:** There can only be one M0 cluster per project.
|
|
64
64
|
*
|
|
65
|
-
* **NOTE**: Upgrading the
|
|
65
|
+
* **NOTE**: Upgrading the tenant cluster to a Flex cluster or a dedicated cluster is supported. When upgrading to a Flex cluster, change the `providerName` from "TENANT" to "FLEX". See Example Tenant Cluster Upgrade to Flex below. When upgrading to a dedicated cluster, change the `providerName` to your preferred provider (AWS, GCP or Azure) and remove the variable `backingProviderName`. See the Example Tenant Cluster Upgrade below. You can upgrade a tenant cluster only to a single provider on an M10-tier cluster or greater.
|
|
66
66
|
*
|
|
67
|
-
* When upgrading from the
|
|
67
|
+
* When upgrading from the tenant, *only* the upgrade changes will be applied. This helps avoid a corrupt state file in the event that the upgrade succeeds but subsequent updates fail within the same `pulumi up`. To apply additional cluster changes, run a secondary `pulumi up` after the upgrade succeeds.
|
|
68
68
|
*
|
|
69
69
|
* ### Example Tenant Cluster Upgrade
|
|
70
70
|
*
|
|
@@ -89,6 +89,75 @@ const utilities = require("./utilities");
|
|
|
89
89
|
* });
|
|
90
90
|
* ```
|
|
91
91
|
*
|
|
92
|
+
* ### Example Tenant Cluster Upgrade to Flex
|
|
93
|
+
*
|
|
94
|
+
* ```typescript
|
|
95
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
96
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
97
|
+
*
|
|
98
|
+
* const example_flex = new mongodbatlas.AdvancedCluster("example-flex", {
|
|
99
|
+
* projectId: "PROJECT ID",
|
|
100
|
+
* name: "NAME OF CLUSTER",
|
|
101
|
+
* clusterType: "REPLICASET",
|
|
102
|
+
* replicationSpecs: [{
|
|
103
|
+
* regionConfigs: [{
|
|
104
|
+
* providerName: "FLEX",
|
|
105
|
+
* backingProviderName: "AWS",
|
|
106
|
+
* regionName: "US_EAST_1",
|
|
107
|
+
* priority: 7,
|
|
108
|
+
* }],
|
|
109
|
+
* }],
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* ### Example Flex Cluster
|
|
114
|
+
*
|
|
115
|
+
* ```typescript
|
|
116
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
117
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
118
|
+
*
|
|
119
|
+
* const example_flex = new mongodbatlas.AdvancedCluster("example-flex", {
|
|
120
|
+
* projectId: "PROJECT ID",
|
|
121
|
+
* name: "NAME OF CLUSTER",
|
|
122
|
+
* clusterType: "REPLICASET",
|
|
123
|
+
* replicationSpecs: [{
|
|
124
|
+
* regionConfigs: [{
|
|
125
|
+
* providerName: "FLEX",
|
|
126
|
+
* backingProviderName: "AWS",
|
|
127
|
+
* regionName: "US_EAST_1",
|
|
128
|
+
* priority: 7,
|
|
129
|
+
* }],
|
|
130
|
+
* }],
|
|
131
|
+
* });
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
134
|
+
* **NOTE**: Upgrading the Flex cluster is supported. When upgrading from a Flex cluster, change the `providerName` from "TENANT" to your preferred provider (AWS, GCP or Azure) and remove the variable `backingProviderName`. See the Example Flex Cluster Upgrade below. You can upgrade a Flex cluster only to a single provider on an M10-tier cluster or greater.
|
|
135
|
+
*
|
|
136
|
+
* When upgrading from a flex cluster, *only* the upgrade changes will be applied. This helps avoid a corrupt state file in the event that the upgrade succeeds but subsequent updates fail within the same `pulumi up`. To apply additional cluster changes, run a secondary `pulumi up` after the upgrade succeeds.
|
|
137
|
+
*
|
|
138
|
+
* ### Example Flex Cluster Upgrade
|
|
139
|
+
*
|
|
140
|
+
* ```typescript
|
|
141
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
142
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
143
|
+
*
|
|
144
|
+
* const test = new mongodbatlas.AdvancedCluster("test", {
|
|
145
|
+
* projectId: "PROJECT ID",
|
|
146
|
+
* name: "NAME OF CLUSTER",
|
|
147
|
+
* clusterType: "REPLICASET",
|
|
148
|
+
* replicationSpecs: [{
|
|
149
|
+
* regionConfigs: [{
|
|
150
|
+
* electableSpecs: {
|
|
151
|
+
* instanceSize: "M10",
|
|
152
|
+
* },
|
|
153
|
+
* providerName: "AWS",
|
|
154
|
+
* regionName: "US_EAST_1",
|
|
155
|
+
* priority: 7,
|
|
156
|
+
* }],
|
|
157
|
+
* }],
|
|
158
|
+
* });
|
|
159
|
+
* ```
|
|
160
|
+
*
|
|
92
161
|
* ### Example Multi-Cloud Cluster
|
|
93
162
|
* ```typescript
|
|
94
163
|
* import * as pulumi from "@pulumi/pulumi";
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyYG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,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loudBackupSchedule.d.ts
CHANGED
|
@@ -28,9 +28,9 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
|
|
|
28
28
|
*/
|
|
29
29
|
static isInstance(obj: any): obj is CloudBackupSchedule;
|
|
30
30
|
/**
|
|
31
|
-
* Flag that indicates whether
|
|
32
|
-
* * true -
|
|
33
|
-
* * false -
|
|
31
|
+
* Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. Once enabled, it must be disabled by explicitly setting the value to `false`. Value can be one of the following:
|
|
32
|
+
* * true - Enables automatic export of cloud backup snapshots to the Export Bucket.
|
|
33
|
+
* * false - Disables automatic export of cloud backup snapshots to the Export Bucket. (default)
|
|
34
34
|
*/
|
|
35
35
|
readonly autoExportEnabled: pulumi.Output<boolean>;
|
|
36
36
|
/**
|
|
@@ -46,7 +46,7 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
|
|
|
46
46
|
*/
|
|
47
47
|
readonly copySettings: pulumi.Output<outputs.CloudBackupScheduleCopySetting[] | undefined>;
|
|
48
48
|
/**
|
|
49
|
-
* Policy for automatically exporting Cloud Backup Snapshots. See below
|
|
49
|
+
* Policy for automatically exporting Cloud Backup Snapshots. `autoExportEnabled` must be set to true when defining this attribute. See below
|
|
50
50
|
*/
|
|
51
51
|
readonly export: pulumi.Output<outputs.CloudBackupScheduleExport>;
|
|
52
52
|
/**
|
|
@@ -95,7 +95,7 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
|
|
|
95
95
|
readonly restoreWindowDays: pulumi.Output<number>;
|
|
96
96
|
readonly updateSnapshots: pulumi.Output<boolean>;
|
|
97
97
|
/**
|
|
98
|
-
* Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your
|
|
98
|
+
* Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see [Export Cloud Backup Snapshot](https://www.mongodb.com/docs/atlas/backup/cloud-backup/export/#std-label-cloud-provider-snapshot-export).
|
|
99
99
|
*/
|
|
100
100
|
readonly useOrgAndGroupNamesInExportPrefix: pulumi.Output<boolean>;
|
|
101
101
|
/**
|
|
@@ -112,9 +112,9 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
|
|
|
112
112
|
*/
|
|
113
113
|
export interface CloudBackupScheduleState {
|
|
114
114
|
/**
|
|
115
|
-
* Flag that indicates whether
|
|
116
|
-
* * true -
|
|
117
|
-
* * false -
|
|
115
|
+
* Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. Once enabled, it must be disabled by explicitly setting the value to `false`. Value can be one of the following:
|
|
116
|
+
* * true - Enables automatic export of cloud backup snapshots to the Export Bucket.
|
|
117
|
+
* * false - Disables automatic export of cloud backup snapshots to the Export Bucket. (default)
|
|
118
118
|
*/
|
|
119
119
|
autoExportEnabled?: pulumi.Input<boolean>;
|
|
120
120
|
/**
|
|
@@ -130,7 +130,7 @@ export interface CloudBackupScheduleState {
|
|
|
130
130
|
*/
|
|
131
131
|
copySettings?: pulumi.Input<pulumi.Input<inputs.CloudBackupScheduleCopySetting>[]>;
|
|
132
132
|
/**
|
|
133
|
-
* Policy for automatically exporting Cloud Backup Snapshots. See below
|
|
133
|
+
* Policy for automatically exporting Cloud Backup Snapshots. `autoExportEnabled` must be set to true when defining this attribute. See below
|
|
134
134
|
*/
|
|
135
135
|
export?: pulumi.Input<inputs.CloudBackupScheduleExport>;
|
|
136
136
|
/**
|
|
@@ -179,7 +179,7 @@ export interface CloudBackupScheduleState {
|
|
|
179
179
|
restoreWindowDays?: pulumi.Input<number>;
|
|
180
180
|
updateSnapshots?: pulumi.Input<boolean>;
|
|
181
181
|
/**
|
|
182
|
-
* Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your
|
|
182
|
+
* Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see [Export Cloud Backup Snapshot](https://www.mongodb.com/docs/atlas/backup/cloud-backup/export/#std-label-cloud-provider-snapshot-export).
|
|
183
183
|
*/
|
|
184
184
|
useOrgAndGroupNamesInExportPrefix?: pulumi.Input<boolean>;
|
|
185
185
|
}
|
|
@@ -188,9 +188,9 @@ export interface CloudBackupScheduleState {
|
|
|
188
188
|
*/
|
|
189
189
|
export interface CloudBackupScheduleArgs {
|
|
190
190
|
/**
|
|
191
|
-
* Flag that indicates whether
|
|
192
|
-
* * true -
|
|
193
|
-
* * false -
|
|
191
|
+
* Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. Once enabled, it must be disabled by explicitly setting the value to `false`. Value can be one of the following:
|
|
192
|
+
* * true - Enables automatic export of cloud backup snapshots to the Export Bucket.
|
|
193
|
+
* * false - Disables automatic export of cloud backup snapshots to the Export Bucket. (default)
|
|
194
194
|
*/
|
|
195
195
|
autoExportEnabled?: pulumi.Input<boolean>;
|
|
196
196
|
/**
|
|
@@ -202,7 +202,7 @@ export interface CloudBackupScheduleArgs {
|
|
|
202
202
|
*/
|
|
203
203
|
copySettings?: pulumi.Input<pulumi.Input<inputs.CloudBackupScheduleCopySetting>[]>;
|
|
204
204
|
/**
|
|
205
|
-
* Policy for automatically exporting Cloud Backup Snapshots. See below
|
|
205
|
+
* Policy for automatically exporting Cloud Backup Snapshots. `autoExportEnabled` must be set to true when defining this attribute. See below
|
|
206
206
|
*/
|
|
207
207
|
export?: pulumi.Input<inputs.CloudBackupScheduleExport>;
|
|
208
208
|
/**
|
|
@@ -243,7 +243,7 @@ export interface CloudBackupScheduleArgs {
|
|
|
243
243
|
restoreWindowDays?: pulumi.Input<number>;
|
|
244
244
|
updateSnapshots?: pulumi.Input<boolean>;
|
|
245
245
|
/**
|
|
246
|
-
* Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your
|
|
246
|
+
* Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see [Export Cloud Backup Snapshot](https://www.mongodb.com/docs/atlas/backup/cloud-backup/export/#std-label-cloud-provider-snapshot-export).
|
|
247
247
|
*/
|
|
248
248
|
useOrgAndGroupNamesInExportPrefix?: pulumi.Input<boolean>;
|
|
249
249
|
}
|
|
@@ -6,6 +6,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
8
8
|
*
|
|
9
|
+
* > **NOTE:** To prevent errors during resource destruction, ensure that no `mongodbatlas.CloudBackupSchedule` resource that defines an automatic export policy references this resource. If you must update related `mongodbatlas.CloudBackupSchedule` resources, make these updates in isolated `pulumi up` operations first, then run the operation that destroys the `mongodbatlas.CloudBackupSnapshotExportBucket` resource.
|
|
10
|
+
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
11
13
|
* ### AWS Example
|
|
@@ -12,6 +12,8 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
14
14
|
*
|
|
15
|
+
* > **NOTE:** To prevent errors during resource destruction, ensure that no `mongodbatlas.CloudBackupSchedule` resource that defines an automatic export policy references this resource. If you must update related `mongodbatlas.CloudBackupSchedule` resources, make these updates in isolated `pulumi up` operations first, then run the operation that destroys the `mongodbatlas.CloudBackupSnapshotExportBucket` resource.
|
|
16
|
+
*
|
|
15
17
|
* ## Example Usage
|
|
16
18
|
*
|
|
17
19
|
* ### AWS Example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudBackupSnapshotExportBucket.js","sourceRoot":"","sources":["../cloudBackupSnapshotExportBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
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,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AAxGL,0EAyGC;AA3FG,gBAAgB;AACO,4CAAY,GAAG,oFAAoF,CAAC"}
|
package/cluster.d.ts
CHANGED
|
@@ -232,7 +232,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
232
232
|
/**
|
|
233
233
|
* Cloud service provider on which the server for a multi-tenant cluster is provisioned.
|
|
234
234
|
*
|
|
235
|
-
* This setting is only valid when providerSetting.providerName is TENANT and providerSetting.instanceSizeName is
|
|
235
|
+
* This setting is only valid when providerSetting.providerName is TENANT and providerSetting.instanceSizeName is M0.
|
|
236
236
|
*
|
|
237
237
|
* The possible values are:
|
|
238
238
|
*
|
|
@@ -375,7 +375,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
375
375
|
* - `AWS` - Amazon AWS
|
|
376
376
|
* - `GCP` - Google Cloud Platform
|
|
377
377
|
* - `AZURE` - Microsoft Azure
|
|
378
|
-
* - `TENANT` - A multi-tenant deployment on one of the supported cloud service providers. Only valid when providerSettings.instanceSizeName is
|
|
378
|
+
* - `TENANT` - A multi-tenant deployment on one of the supported cloud service providers. Only valid when providerSettings.instanceSizeName is M0.
|
|
379
379
|
*/
|
|
380
380
|
readonly providerName: pulumi.Output<string>;
|
|
381
381
|
/**
|
|
@@ -464,7 +464,7 @@ export interface ClusterState {
|
|
|
464
464
|
/**
|
|
465
465
|
* Cloud service provider on which the server for a multi-tenant cluster is provisioned.
|
|
466
466
|
*
|
|
467
|
-
* This setting is only valid when providerSetting.providerName is TENANT and providerSetting.instanceSizeName is
|
|
467
|
+
* This setting is only valid when providerSetting.providerName is TENANT and providerSetting.instanceSizeName is M0.
|
|
468
468
|
*
|
|
469
469
|
* The possible values are:
|
|
470
470
|
*
|
|
@@ -607,7 +607,7 @@ export interface ClusterState {
|
|
|
607
607
|
* - `AWS` - Amazon AWS
|
|
608
608
|
* - `GCP` - Google Cloud Platform
|
|
609
609
|
* - `AZURE` - Microsoft Azure
|
|
610
|
-
* - `TENANT` - A multi-tenant deployment on one of the supported cloud service providers. Only valid when providerSettings.instanceSizeName is
|
|
610
|
+
* - `TENANT` - A multi-tenant deployment on one of the supported cloud service providers. Only valid when providerSettings.instanceSizeName is M0.
|
|
611
611
|
*/
|
|
612
612
|
providerName?: pulumi.Input<string>;
|
|
613
613
|
/**
|
|
@@ -688,7 +688,7 @@ export interface ClusterArgs {
|
|
|
688
688
|
/**
|
|
689
689
|
* Cloud service provider on which the server for a multi-tenant cluster is provisioned.
|
|
690
690
|
*
|
|
691
|
-
* This setting is only valid when providerSetting.providerName is TENANT and providerSetting.instanceSizeName is
|
|
691
|
+
* This setting is only valid when providerSetting.providerName is TENANT and providerSetting.instanceSizeName is M0.
|
|
692
692
|
*
|
|
693
693
|
* The possible values are:
|
|
694
694
|
*
|
|
@@ -802,7 +802,7 @@ export interface ClusterArgs {
|
|
|
802
802
|
* - `AWS` - Amazon AWS
|
|
803
803
|
* - `GCP` - Google Cloud Platform
|
|
804
804
|
* - `AZURE` - Microsoft Azure
|
|
805
|
-
* - `TENANT` - A multi-tenant deployment on one of the supported cloud service providers. Only valid when providerSettings.instanceSizeName is
|
|
805
|
+
* - `TENANT` - A multi-tenant deployment on one of the supported cloud service providers. Only valid when providerSettings.instanceSizeName is M0.
|
|
806
806
|
*/
|
|
807
807
|
providerName: pulumi.Input<string>;
|
|
808
808
|
/**
|
|
@@ -4,10 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* `mongodbatlas.EncryptionAtRestPrivateEndpoint` provides a resource for managing a private endpoint used for encryption at rest with customer-managed keys. This ensures all traffic between Atlas and customer key management systems take place over private network interfaces.
|
|
6
6
|
*
|
|
7
|
-
* > **
|
|
8
|
-
* To learn more about existing limitations, see [Manage Customer Keys with Azure Key Vault Over Private Endpoints](https://www.mongodb.com/docs/atlas/security/azure-kms-over-private-endpoint/#manage-customer-keys-with-azure-key-vault-over-private-endpoints).
|
|
9
|
-
*
|
|
10
|
-
* > **NOTE:** As a prerequisite to configuring a private endpoint for Azure Key Vault, the corresponding `mongodbatlas.EncryptionAtRest` resource has to be adjust by configuring `azure_key_vault_config.require_private_networking` to true. This attribute should be updated in place, ensuring the customer-managed keys encryption is never disabled.
|
|
7
|
+
* > **NOTE:** As a prerequisite to configuring a private endpoint for Azure Key Vault or AWS KMS, the corresponding `mongodbatlas.EncryptionAtRest` resource has to be adjusted by configuring to true `azure_key_vault_config.require_private_networking` or `aws_kms_config.require_private_networking`, respectively. This attribute should be updated in place, ensuring the customer-managed keys encryption is never disabled.
|
|
11
8
|
*
|
|
12
9
|
* > **NOTE:** This resource does not support update operations. To modify values of a private endpoint the existing resource must be deleted and a new one can be created with the modified values.
|
|
13
10
|
*
|
|
@@ -15,9 +12,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
12
|
*
|
|
16
13
|
* ### S
|
|
17
14
|
*
|
|
18
|
-
* > **NOTE:** Only Azure Key Vault with Azure Private Link is supported at this time.
|
|
15
|
+
* > **NOTE:** Only Azure Key Vault with Azure Private Link and AWS KMS over AWS PrivateLink is supported at this time.
|
|
19
16
|
*
|
|
20
17
|
* ### Configuring Atlas Encryption at Rest using Azure Key Vault with Azure Private Link
|
|
18
|
+
* To learn more about existing limitations, see [Manage Customer Keys with Azure Key Vault Over Private Endpoints](https://www.mongodb.com/docs/atlas/security/azure-kms-over-private-endpoint/#manage-customer-keys-with-azure-key-vault-over-private-endpoints).
|
|
21
19
|
*
|
|
22
20
|
* Make sure to reference the complete example section for detailed steps and considerations.
|
|
23
21
|
*
|
|
@@ -64,6 +62,32 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
64
62
|
* });
|
|
65
63
|
* ```
|
|
66
64
|
*
|
|
65
|
+
* ### Configuring Atlas Encryption at Rest using AWS KMS with AWS PrivateLink
|
|
66
|
+
*
|
|
67
|
+
* Make sure to reference the complete example section for detailed steps and considerations.
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
72
|
+
*
|
|
73
|
+
* const ear = new mongodbatlas.EncryptionAtRest("ear", {
|
|
74
|
+
* projectId: atlasProjectId,
|
|
75
|
+
* awsKmsConfig: {
|
|
76
|
+
* requirePrivateNetworking: true,
|
|
77
|
+
* enabled: true,
|
|
78
|
+
* customerMasterKeyId: awsKmsKeyId,
|
|
79
|
+
* region: atlasAwsRegion,
|
|
80
|
+
* roleId: authRole.roleId,
|
|
81
|
+
* },
|
|
82
|
+
* });
|
|
83
|
+
* // Creates private endpoint
|
|
84
|
+
* const endpoint = new mongodbatlas.EncryptionAtRestPrivateEndpoint("endpoint", {
|
|
85
|
+
* projectId: ear.projectId,
|
|
86
|
+
* cloudProvider: "AWS",
|
|
87
|
+
* regionName: atlasAwsRegion,
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
67
91
|
* ## Import
|
|
68
92
|
*
|
|
69
93
|
* Encryption At Rest Private Endpoint resource can be imported using the project ID, cloud provider, and private endpoint ID. The format must be `{project_id}-{cloud_provider}-{private_endpoint_id}` e.g.
|
|
@@ -10,10 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* `mongodbatlas.EncryptionAtRestPrivateEndpoint` provides a resource for managing a private endpoint used for encryption at rest with customer-managed keys. This ensures all traffic between Atlas and customer key management systems take place over private network interfaces.
|
|
12
12
|
*
|
|
13
|
-
* > **
|
|
14
|
-
* To learn more about existing limitations, see [Manage Customer Keys with Azure Key Vault Over Private Endpoints](https://www.mongodb.com/docs/atlas/security/azure-kms-over-private-endpoint/#manage-customer-keys-with-azure-key-vault-over-private-endpoints).
|
|
15
|
-
*
|
|
16
|
-
* > **NOTE:** As a prerequisite to configuring a private endpoint for Azure Key Vault, the corresponding `mongodbatlas.EncryptionAtRest` resource has to be adjust by configuring `azure_key_vault_config.require_private_networking` to true. This attribute should be updated in place, ensuring the customer-managed keys encryption is never disabled.
|
|
13
|
+
* > **NOTE:** As a prerequisite to configuring a private endpoint for Azure Key Vault or AWS KMS, the corresponding `mongodbatlas.EncryptionAtRest` resource has to be adjusted by configuring to true `azure_key_vault_config.require_private_networking` or `aws_kms_config.require_private_networking`, respectively. This attribute should be updated in place, ensuring the customer-managed keys encryption is never disabled.
|
|
17
14
|
*
|
|
18
15
|
* > **NOTE:** This resource does not support update operations. To modify values of a private endpoint the existing resource must be deleted and a new one can be created with the modified values.
|
|
19
16
|
*
|
|
@@ -21,9 +18,10 @@ const utilities = require("./utilities");
|
|
|
21
18
|
*
|
|
22
19
|
* ### S
|
|
23
20
|
*
|
|
24
|
-
* > **NOTE:** Only Azure Key Vault with Azure Private Link is supported at this time.
|
|
21
|
+
* > **NOTE:** Only Azure Key Vault with Azure Private Link and AWS KMS over AWS PrivateLink is supported at this time.
|
|
25
22
|
*
|
|
26
23
|
* ### Configuring Atlas Encryption at Rest using Azure Key Vault with Azure Private Link
|
|
24
|
+
* To learn more about existing limitations, see [Manage Customer Keys with Azure Key Vault Over Private Endpoints](https://www.mongodb.com/docs/atlas/security/azure-kms-over-private-endpoint/#manage-customer-keys-with-azure-key-vault-over-private-endpoints).
|
|
27
25
|
*
|
|
28
26
|
* Make sure to reference the complete example section for detailed steps and considerations.
|
|
29
27
|
*
|
|
@@ -70,6 +68,32 @@ const utilities = require("./utilities");
|
|
|
70
68
|
* });
|
|
71
69
|
* ```
|
|
72
70
|
*
|
|
71
|
+
* ### Configuring Atlas Encryption at Rest using AWS KMS with AWS PrivateLink
|
|
72
|
+
*
|
|
73
|
+
* Make sure to reference the complete example section for detailed steps and considerations.
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
78
|
+
*
|
|
79
|
+
* const ear = new mongodbatlas.EncryptionAtRest("ear", {
|
|
80
|
+
* projectId: atlasProjectId,
|
|
81
|
+
* awsKmsConfig: {
|
|
82
|
+
* requirePrivateNetworking: true,
|
|
83
|
+
* enabled: true,
|
|
84
|
+
* customerMasterKeyId: awsKmsKeyId,
|
|
85
|
+
* region: atlasAwsRegion,
|
|
86
|
+
* roleId: authRole.roleId,
|
|
87
|
+
* },
|
|
88
|
+
* });
|
|
89
|
+
* // Creates private endpoint
|
|
90
|
+
* const endpoint = new mongodbatlas.EncryptionAtRestPrivateEndpoint("endpoint", {
|
|
91
|
+
* projectId: ear.projectId,
|
|
92
|
+
* cloudProvider: "AWS",
|
|
93
|
+
* regionName: atlasAwsRegion,
|
|
94
|
+
* });
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
73
97
|
* ## Import
|
|
74
98
|
*
|
|
75
99
|
* Encryption At Rest Private Endpoint resource can be imported using the project ID, cloud provider, and private endpoint ID. The format must be `{project_id}-{cloud_provider}-{private_endpoint_id}` e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encryptionAtRestPrivateEndpoint.js","sourceRoot":"","sources":["../encryptionAtRestPrivateEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"encryptionAtRestPrivateEndpoint.js","sourceRoot":"","sources":["../encryptionAtRestPrivateEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,cAAc,GAAk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AAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,+BAA+B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpE,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,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AA5FL,0EA6FC;AA/EG,gBAAgB;AACO,4CAAY,GAAG,oFAAoF,CAAC"}
|
package/flexCluster.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* `mongodbatlas.FlexCluster` provides a Flex Cluster resource. The resource lets you create, update, delete and import a flex cluster.
|
|
8
8
|
*
|
|
9
|
-
* **
|
|
9
|
+
* **RECOMMENDATION:** We recommend using the `mongodbatlas.AdvancedCluster` resource instead of the `mongodbatlas.FlexCluster` resource to create and manage Flex clusters. The `mongodbatlas.AdvancedCluster` resource not only supports Flex clusters, but also supports tenant and dedicated clusters, providing easier migration between different cluster types. For more information, see the Advanced Cluster resource.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
package/flexCluster.js
CHANGED
|
@@ -10,7 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* `mongodbatlas.FlexCluster` provides a Flex Cluster resource. The resource lets you create, update, delete and import a flex cluster.
|
|
12
12
|
*
|
|
13
|
-
* **
|
|
13
|
+
* **RECOMMENDATION:** We recommend using the `mongodbatlas.AdvancedCluster` resource instead of the `mongodbatlas.FlexCluster` resource to create and manage Flex clusters. The `mongodbatlas.AdvancedCluster` resource not only supports Flex clusters, but also supports tenant and dedicated clusters, providing easier migration between different cluster types. For more information, see the Advanced Cluster resource.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|