Skip to content

Commit 6667df0

Browse files
committed
test to implement
1 parent af30720 commit 6667df0

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
resource "mongodbatlas_cluster" "project_cluster_free" {
2+
count = local.use_free_cluster ? 1 : 0
3+
project_id = var.project_id
4+
name = var.cluster_name
5+
provider_name = "TENANT"
6+
backing_provider_name = "AWS"
7+
provider_region_name = var.region
8+
provider_instance_size_name = "M0"
9+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
resource "mongodbatlas_advanced_cluster" "project_cluster_free" {
2+
count = local.use_free_cluster ? 1 : 0
3+
project_id = var.project_id
4+
name = var.cluster_name
5+
cluster_type = "REPLICASET"
6+
replication_specs {
7+
region_configs {
8+
priority = 7
9+
region_name = var.region
10+
provider_name = "TENANT"
11+
backing_provider_name = "AWS"
12+
electable_specs {
13+
instance_size = "M0"
14+
}
15+
}
16+
}
17+
18+
# Generated by atlas-cli-plugin-terraform.
19+
# Please confirm that all references to this resource are updated.
20+
}

0 commit comments

Comments
 (0)