File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
internal/convert/testdata/clu2adv Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ resource "mongodbatlas_cluster" "tags" {
2+ project_id = var. project_id
3+ name = " tags"
4+ cluster_type = " REPLICASET"
5+ provider_name = " AWS"
6+ provider_instance_size_name = " M10"
7+ replication_specs {
8+ num_shards = 1
9+ regions_config {
10+ region_name = " US_EAST_1"
11+ electable_nodes = 3
12+ priority = 7
13+ }
14+ }
15+ dynamic "tags" {
16+ for_each = var. tags
17+ content {
18+ key = tags. key
19+ value = tags. value
20+ }
21+ }
22+ }
Original file line number Diff line number Diff line change 1+ resource "mongodbatlas_advanced_cluster" "tags" {
2+ project_id = var. project_id
3+ name = " tags"
4+ cluster_type = " REPLICASET"
5+ replication_specs = [
6+ {
7+ region_configs = [
8+ {
9+ provider_name = " AWS"
10+ region_name = " US_EAST_1"
11+ priority = 7
12+ electable_specs = {
13+ node_count = 3
14+ instance_size = " M10"
15+ }
16+ }
17+ ]
18+ }
19+ ]
20+ tags = var. tags
21+
22+ # Generated by atlas-cli-plugin-terraform.
23+ # Please confirm that all references to this resource are updated.
24+ }
You can’t perform that action at this time.
0 commit comments