Skip to content

Commit 85edb57

Browse files
committed
flex clusters
1 parent 0900ebc commit 85edb57

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
resource "mongodbatlas_advanced_cluster" "this" {
2+
project_id = "<YOUR-PROJECT-ID>"
3+
name = "flex-cluster"
4+
cluster_type = "REPLICASET"
5+
6+
replication_specs {
7+
region_configs {
8+
provider_name = "FLEX"
9+
backing_provider_name = "AWS"
10+
region_name = "US_EAST_1"
11+
priority = 7
12+
}
13+
}
14+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
resource "mongodbatlas_advanced_cluster" "this" {
2+
project_id = "<YOUR-PROJECT-ID>"
3+
name = "flex-cluster"
4+
cluster_type = "REPLICASET"
5+
6+
replication_specs = [
7+
{
8+
region_configs = [
9+
{
10+
provider_name = "FLEX"
11+
backing_provider_name = "AWS"
12+
region_name = "US_EAST_1"
13+
priority = 7
14+
}
15+
]
16+
}
17+
]
18+
19+
# Updated by atlas-cli-plugin-terraform, please review the changes.
20+
}

0 commit comments

Comments
 (0)