You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/advanced_cluster (preview provider v2).md
+25
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ This doc is for the **Preview for MongoDB Atlas Provider v2** of `mongodbatlas_a
10
10
<br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
11
11
<br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
12
12
13
+
**NOTE:** This data source also includes Flex clusters.
14
+
13
15
## Example Usage
14
16
15
17
```terraform
@@ -80,6 +82,29 @@ data "mongodbatlas_advanced_cluster" "example" {
Copy file name to clipboardExpand all lines: docs/data-sources/advanced_clusters (preview provider v2).md
+24
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ This doc is for the **Preview for MongoDB Atlas Provider v2** of `mongodbatlas_a
10
10
<br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
11
11
<br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
12
12
13
+
-> **NOTE:** This data source also includes Flex clusters.
14
+
13
15
## Example Usage
14
16
15
17
```terraform
@@ -79,6 +81,28 @@ data "mongodbatlas_advanced_cluster" "example-asym" {
Copy file name to clipboardExpand all lines: docs/resources/advanced_cluster (preview provider v2).md
+64-2
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ More information on considerations for using advanced clusters please see [Consi
20
20
21
21
-> **NOTE:** Groups and projects are synonymous terms. You might find group_id in the official documentation.
22
22
23
+
-> **NOTE:** This resource supports Flex clusters. Additionally, you can upgrade [M0 clusters to Flex](#example-tenant-cluster-upgrade-to-flex) and [Flex clusters to Dedicated](#Example-Flex-Cluster-Upgrade). When creating a Flex cluster, make sure to set the priority value to 7.
**NOTE:** There can only be one M0 cluster per project.
75
76
76
-
**NOTE**: Upgrading the shared tier is supported. Any change from a shared tier cluster (a tenant) to a different instance size will be considered a tenant upgrade. When upgrading from the shared tier, change the `provider_name`from "TENANT" to your preferred provider (AWS, GCP or Azure) and remove the variable `backing_provider_name`. See the [Example Tenant Cluster Upgrade](#Example-Tenant-Cluster-Upgrade) below. You can upgrade a shared tier cluster only to a single provider on an M10-tier cluster or greater.
77
+
**NOTE**: Upgrading the tenant cluster to a Flex cluster or a dedicated cluster is supported. When upgrading to a Flex cluster, change the `provider_name` from "TENANT" to "FLEX". See [Example Tenant Cluster Upgrade to Flex](#example-tenant-cluster-upgrade-to-flex) below. When upgrading to a dedicated cluster, change the `provider_name` to your preferred provider (AWS, GCP or Azure) and remove the variable `backing_provider_name`. See the [Example Tenant Cluster Upgrade](#Example-Tenant-Cluster-Upgrade) below. You can upgrade a tenant cluster only to a single provider on an M10-tier cluster or greater.
77
78
78
-
When upgrading from the shared tier, *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 `terraform apply`. To apply additional cluster changes, run a secondary `terraform apply` after the upgrade succeeds.
79
+
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 `terraform apply`. To apply additional cluster changes, run a secondary `terraform apply` after the upgrade succeeds.
**NOTE**: Upgrading the Flex cluster is supported. When upgrading from a Flex cluster, change the `provider_name` from "TENANT" to your preferred provider (AWS, GCP or Azure) and remove the variable `backing_provider_name`. See the [Example Flex Cluster Upgrade](#Example-Flex-Cluster-Upgrade) below. You can upgrade a Flex cluster only to a single provider on an M10-tier cluster or greater.
140
+
141
+
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 `terraform apply`. To apply additional cluster changes, run a secondary `terraform apply` after the upgrade succeeds.
0 commit comments