File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
internal/hcl/testdata/clu2adv Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ resource "resource1" "res1" {
22 name = " name1"
33}
44
5- resource "mongodbatlas_cluster" "free_cluster" {
5+ resource "mongodbatlas_cluster" "free_cluster" { # comment in the resource
6+ # comment in own line
67 count = local. use_free_cluster ? 1 : 0
7- project_id = var. project_id
8+ project_id = var. project_id # inline comment kept
89 name = var. cluster_name
9- provider_name = " TENANT"
10+ provider_name = " TENANT" # inline comment for attribute moved is not kept
1011 backing_provider_name = " AWS"
1112 provider_region_name = var. region
1213 provider_instance_size_name = " M0"
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ resource "resource1" "res1" {
22 name = " name1"
33}
44
5- resource "mongodbatlas_advanced_cluster" "free_cluster" {
5+ resource "mongodbatlas_advanced_cluster" "free_cluster" { # comment in the resource
6+ # comment in own line
67 count = local. use_free_cluster ? 1 : 0
7- project_id = var. project_id
8+ project_id = var. project_id # inline comment kept
89 name = var. cluster_name
910 cluster_type = " REPLICASET"
1011 replication_specs = [{
You can’t perform that action at this time.
0 commit comments