Skip to content

Commit 8f784c3

Browse files
committed
undo changes in adv2v2
1 parent 77d12d0 commit 8f784c3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

internal/convert/testdata/adv2v2/errors.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"configuration_file_error": "failed to parse Terraform config file",
33
"replication_specs_missing_region_configs": "replication_specs must have at least one region_configs",
4+
"missing_replication_specs": "must have at least one replication_specs",
45
"dynamic_unsupported_tag": "dynamic blocks are not supported for advanced_configuration",
56
"dynamic_regions_config_invalid_multiple_blocks": "dynamic block must be the only block",
67
"dynamic_replication_specs_invalid_multiple_blocks": "dynamic block must be the only block",
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
resource "mongodbatlas_advanced_cluster" "no_replication_specs" {
2+
# missing replication_specs
3+
project_id = var.project_id
4+
name = "cluster-multi-region"
5+
cluster_type = "REPLICASET"
6+
}

0 commit comments

Comments
 (0)