Skip to content

Commit ea632ba

Browse files
committed
v2 schema
1 parent 6667df0 commit ea632ba

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

internal/hcl/testdata/clu2adv/free_cluster_with_count.out.tf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
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
2+
count = local.use_free_cluster ? 1 : 0
3+
project_id = var.project_id
4+
name = var.cluster_name
55
cluster_type = "REPLICASET"
6-
replication_specs {
7-
region_configs {
6+
replication_specs = [{
7+
region_configs = [{
88
priority = 7
99
region_name = var.region
1010
provider_name = "TENANT"
1111
backing_provider_name = "AWS"
12-
electable_specs {
12+
electable_specs = {
1313
instance_size = "M0"
1414
}
15-
}
16-
}
15+
}]
16+
}]
1717

1818
# Generated by atlas-cli-plugin-terraform.
1919
# Please confirm that all references to this resource are updated.

0 commit comments

Comments
 (0)