diff --git a/docs/guides/advanced-cluster-new-sharding-schema.md b/docs/guides/advanced-cluster-new-sharding-schema.md index 96df32a7f0..933ac32640 100644 --- a/docs/guides/advanced-cluster-new-sharding-schema.md +++ b/docs/guides/advanced-cluster-new-sharding-schema.md @@ -102,7 +102,7 @@ resource "mongodbatlas_advanced_cluster" "test" { num_shards = 2 region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -117,7 +117,7 @@ resource "mongodbatlas_advanced_cluster" "test" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -140,7 +140,7 @@ resource "mongodbatlas_advanced_cluster" "test" { zone_name = "zone n1" region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -153,7 +153,7 @@ resource "mongodbatlas_advanced_cluster" "test" { zone_name = "zone n1" region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -166,7 +166,7 @@ resource "mongodbatlas_advanced_cluster" "test" { zone_name = "zone n2" region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -179,7 +179,7 @@ resource "mongodbatlas_advanced_cluster" "test" { zone_name = "zone n2" region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -211,7 +211,7 @@ resource "mongodbatlas_advanced_cluster" "test" { replication_specs { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AZURE" @@ -235,7 +235,7 @@ resource "mongodbatlas_advanced_cluster" "test" { replication_specs { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AZURE" @@ -259,7 +259,7 @@ resource "mongodbatlas_advanced_cluster" "test" { replication_specs { # first shard region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AZURE" @@ -271,7 +271,7 @@ resource "mongodbatlas_advanced_cluster" "test" { replication_specs { # second shard region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AZURE" diff --git a/docs/resources/advanced_cluster.md b/docs/resources/advanced_cluster.md index b5faddc492..a9bedc90aa 100644 --- a/docs/resources/advanced_cluster.md +++ b/docs/resources/advanced_cluster.md @@ -138,7 +138,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { replication_specs { # shard 1 region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -148,7 +148,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } provider_name = "AZURE" @@ -160,7 +160,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { replication_specs { # shard 2 region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -168,9 +168,9 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_name = "US_EAST_1" } - region_configs { + region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } provider_name = "AZURE" @@ -200,7 +200,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -210,7 +210,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } provider_name = "AZURE" @@ -224,7 +224,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -234,7 +234,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } provider_name = "AZURE" @@ -248,7 +248,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -258,7 +258,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } provider_name = "AZURE" @@ -272,7 +272,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -282,7 +282,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } provider_name = "AZURE" diff --git a/examples/mongodbatlas_advanced_cluster/asymmetric-sharded-cluster/main.tf b/examples/mongodbatlas_advanced_cluster/asymmetric-sharded-cluster/main.tf index 3448b2d688..36ecccbe96 100644 --- a/examples/mongodbatlas_advanced_cluster/asymmetric-sharded-cluster/main.tf +++ b/examples/mongodbatlas_advanced_cluster/asymmetric-sharded-cluster/main.tf @@ -22,10 +22,10 @@ resource "mongodbatlas_advanced_cluster" "cluster" { } } - replication_specs { # shard 2 - M20 instance size + replication_specs { # shard 2 - M30 instance size region_configs { electable_specs { - instance_size = "M20" + instance_size = "M30" disk_iops = 3000 node_count = 3 } @@ -35,10 +35,10 @@ resource "mongodbatlas_advanced_cluster" "cluster" { } } - replication_specs { # shard 3 - M10 instance size + replication_specs { # shard 3 - M40 instance size region_configs { electable_specs { - instance_size = "M10" + instance_size = "M40" disk_iops = 3000 node_count = 3 } @@ -48,10 +48,10 @@ resource "mongodbatlas_advanced_cluster" "cluster" { } } - replication_specs { # shard 4 - M10 instance size + replication_specs { # shard 4 - M40 instance size region_configs { electable_specs { - instance_size = "M10" + instance_size = "M40" disk_iops = 3000 node_count = 3 } diff --git a/examples/mongodbatlas_advanced_cluster/global-cluster/main.tf b/examples/mongodbatlas_advanced_cluster/global-cluster/main.tf index a691d60d50..af3644402b 100644 --- a/examples/mongodbatlas_advanced_cluster/global-cluster/main.tf +++ b/examples/mongodbatlas_advanced_cluster/global-cluster/main.tf @@ -18,7 +18,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -28,7 +28,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } provider_name = "AZURE" @@ -42,7 +42,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -52,7 +52,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } provider_name = "AZURE" @@ -66,7 +66,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -76,7 +76,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } provider_name = "AZURE" @@ -90,7 +90,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } provider_name = "AWS" @@ -100,7 +100,7 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } provider_name = "AZURE" diff --git a/examples/mongodbatlas_advanced_cluster/multi-cloud/main.tf b/examples/mongodbatlas_advanced_cluster/multi-cloud/main.tf index 4834de43ca..464e73c641 100644 --- a/examples/mongodbatlas_advanced_cluster/multi-cloud/main.tf +++ b/examples/mongodbatlas_advanced_cluster/multi-cloud/main.tf @@ -12,11 +12,11 @@ resource "mongodbatlas_advanced_cluster" "cluster" { replication_specs { # shard 1 region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } analytics_specs { - instance_size = "M10" + instance_size = "M30" node_count = 1 } provider_name = "AWS" @@ -26,11 +26,11 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } analytics_specs { - instance_size = "M10" + instance_size = "M30" node_count = 1 } provider_name = "AZURE" @@ -42,11 +42,11 @@ resource "mongodbatlas_advanced_cluster" "cluster" { replication_specs { # shard 2 region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 3 } analytics_specs { - instance_size = "M10" + instance_size = "M30" node_count = 1 } provider_name = "AWS" @@ -56,11 +56,11 @@ resource "mongodbatlas_advanced_cluster" "cluster" { region_configs { electable_specs { - instance_size = "M10" + instance_size = "M30" node_count = 2 } analytics_specs { - instance_size = "M10" + instance_size = "M30" node_count = 1 } provider_name = "AZURE"