Skip to content

Commit 5dfbede

Browse files
committed
update comment
1 parent 771845c commit 5dfbede

16 files changed

+27
-27
lines changed

internal/convert/convert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const (
3131
errNumShards = "setting " + nNumShards
3232

3333
commentGeneratedBy = "Generated by atlas-cli-plugin-terraform."
34-
commentConfirmReferences = "Please confirm that all references to this resource are updated."
34+
commentConfirmReferences = "Please review the changes and confirm that references to this resource are updated."
3535
commentMovedBlock = "Moved blocks"
3636
commentRemovedOld = "Note: Remember to remove or comment out the old cluster definitions."
3737
)

internal/convert/testdata/clu2adv/adv_config_bi_connector_pinned_fcv.out.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ resource "mongodbatlas_advanced_cluster" "this" {
3232
}
3333

3434
# Generated by atlas-cli-plugin-terraform.
35-
# Please confirm that all references to this resource are updated.
35+
# Please review the changes and confirm that references to this resource are updated.
3636
}

internal/convert/testdata/clu2adv/analytics_read_only_all_params.out.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ resource "mongodbatlas_advanced_cluster" "ar" {
3636
]
3737

3838
# Generated by atlas-cli-plugin-terraform.
39-
# Please confirm that all references to this resource are updated.
39+
# Please review the changes and confirm that references to this resource are updated.
4040
}

internal/convert/testdata/clu2adv/analytics_read_only_min_params.out.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ resource "mongodbatlas_advanced_cluster" "ar" {
2727
]
2828

2929
# Generated by atlas-cli-plugin-terraform.
30-
# Please confirm that all references to this resource are updated.
30+
# Please review the changes and confirm that references to this resource are updated.
3131
}

internal/convert/testdata/clu2adv/autoscaling.out.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ resource "mongodbatlas_advanced_cluster" "autoscaling" {
3636
]
3737

3838
# Generated by atlas-cli-plugin-terraform.
39-
# Please confirm that all references to this resource are updated.
39+
# Please review the changes and confirm that references to this resource are updated.
4040
}

internal/convert/testdata/clu2adv/data_sources.out.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ data "mongodbatlas_advanced_cluster" "singular" {
66
use_replication_spec_per_shard = true
77

88
# Generated by atlas-cli-plugin-terraform.
9-
# Please confirm that all references to this resource are updated.
9+
# Please review the changes and confirm that references to this resource are updated.
1010
}
1111

1212
data "mongodbatlas_advanced_clusters" "plural" {
@@ -15,7 +15,7 @@ data "mongodbatlas_advanced_clusters" "plural" {
1515
use_replication_spec_per_shard = true
1616

1717
# Generated by atlas-cli-plugin-terraform.
18-
# Please confirm that all references to this resource are updated.
18+
# Please review the changes and confirm that references to this resource are updated.
1919
}
2020

2121
data "mongodbatlas_advanced_cluster" "adv_singular" {

internal/convert/testdata/clu2adv/dynamic_regions_config.out.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ resource "mongodbatlas_advanced_cluster" "dynamic_regions_config" {
2525
]
2626

2727
# Generated by atlas-cli-plugin-terraform.
28-
# Please confirm that all references to this resource are updated.
28+
# Please review the changes and confirm that references to this resource are updated.
2929
}
3030

3131
# example of variable for demostration purposes, not used in the conversion

internal/convert/testdata/clu2adv/dynamic_tags_labels.out.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ resource "mongodbatlas_advanced_cluster" "simplified" {
2020
tags = var.tags
2121

2222
# Generated by atlas-cli-plugin-terraform.
23-
# Please confirm that all references to this resource are updated.
23+
# Please review the changes and confirm that references to this resource are updated.
2424
}
2525

2626
resource "mongodbatlas_advanced_cluster" "expression" {
@@ -47,7 +47,7 @@ resource "mongodbatlas_advanced_cluster" "expression" {
4747
}
4848

4949
# Generated by atlas-cli-plugin-terraform.
50-
# Please confirm that all references to this resource are updated.
50+
# Please review the changes and confirm that references to this resource are updated.
5151
}
5252

5353
resource "mongodbatlas_advanced_cluster" "simplified_individual" {
@@ -78,7 +78,7 @@ resource "mongodbatlas_advanced_cluster" "simplified_individual" {
7878
)
7979

8080
# Generated by atlas-cli-plugin-terraform.
81-
# Please confirm that all references to this resource are updated.
81+
# Please review the changes and confirm that references to this resource are updated.
8282
}
8383

8484
resource "mongodbatlas_advanced_cluster" "expression_individual" {
@@ -111,7 +111,7 @@ resource "mongodbatlas_advanced_cluster" "expression_individual" {
111111
)
112112

113113
# Generated by atlas-cli-plugin-terraform.
114-
# Please confirm that all references to this resource are updated.
114+
# Please review the changes and confirm that references to this resource are updated.
115115
}
116116

117117
resource "mongodbatlas_advanced_cluster" "full_example" {
@@ -157,5 +157,5 @@ resource "mongodbatlas_advanced_cluster" "full_example" {
157157
)
158158

159159
# Generated by atlas-cli-plugin-terraform.
160-
# Please confirm that all references to this resource are updated.
160+
# Please review the changes and confirm that references to this resource are updated.
161161
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ resource "mongodbatlas_advanced_cluster" "free_cluster" { # comment in the resou
2626
]
2727

2828
# Generated by atlas-cli-plugin-terraform.
29-
# Please confirm that all references to this resource are updated.
29+
# Please review the changes and confirm that references to this resource are updated.
3030
}

internal/convert/testdata/clu2adv/includeMoved_multiple.out.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ resource "mongodbatlas_advanced_cluster" "cluster1" {
1919
]
2020

2121
# Generated by atlas-cli-plugin-terraform.
22-
# Please confirm that all references to this resource are updated.
22+
# Please review the changes and confirm that references to this resource are updated.
2323
}
2424

2525
resource "mongodbatlas_advanced_cluster" "cluster2" {
@@ -43,7 +43,7 @@ resource "mongodbatlas_advanced_cluster" "cluster2" {
4343
]
4444

4545
# Generated by atlas-cli-plugin-terraform.
46-
# Please confirm that all references to this resource are updated.
46+
# Please review the changes and confirm that references to this resource are updated.
4747
}
4848

4949
resource "mongodbatlas_advanced_cluster" "count" {
@@ -69,7 +69,7 @@ resource "mongodbatlas_advanced_cluster" "count" {
6969
]
7070

7171
# Generated by atlas-cli-plugin-terraform.
72-
# Please confirm that all references to this resource are updated.
72+
# Please review the changes and confirm that references to this resource are updated.
7373
}
7474

7575
resource "mongodbatlas_advanced_cluster" "forEach" {
@@ -95,7 +95,7 @@ resource "mongodbatlas_advanced_cluster" "forEach" {
9595
]
9696

9797
# Generated by atlas-cli-plugin-terraform.
98-
# Please confirm that all references to this resource are updated.
98+
# Please review the changes and confirm that references to this resource are updated.
9999
}
100100

101101
resource "another_resource" "another" {

0 commit comments

Comments
 (0)