Skip to content

Commit 9319bbf

Browse files
coderGo93Edgar López
andauthored
INTMDB-168: updated docs the format of using dependencies (#421)
* docs: updated the format to invoke resources * docs: updated format Co-authored-by: Edgar López <[email protected]>
1 parent 8a31066 commit 9319bbf

27 files changed

+67
-67
lines changed

website/docs/d/alert_configuration.html.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ resource "mongodbatlas_alert_configuration" "test" {
4646
4747
4848
data "mongodbatlas_alert_configuration" "test" {
49-
project_id = "${mongodbatlas_alert_configuration.test.project_id}"
50-
alert_configuration_id = "${mongodbatlas_alert_configuration.test.alert_configuration_id}"
49+
project_id = mongodbatlas_alert_configuration.test.project_id
50+
alert_configuration_id = mongodbatlas_alert_configuration.test.alert_configuration_id
5151
}
5252
```
5353

@@ -82,8 +82,8 @@ resource "mongodbatlas_alert_configuration" "test" {
8282
}
8383
8484
data "mongodbatlas_alert_configuration" "test" {
85-
project_id = "${mongodbatlas_alert_configuration.test.project_id}"
86-
alert_configuration_id = "${mongodbatlas_alert_configuration.test.alert_configuration_id}"
85+
project_id = mongodbatlas_alert_configuration.test.project_id
86+
alert_configuration_id = mongodbatlas_alert_configuration.test.alert_configuration_id
8787
}
8888
```
8989

website/docs/d/auditing.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ resource "mongodbatlas_auditing" "test" {
2424
}
2525
2626
data "mongodbatlas_auditing" "test" {
27-
project_id = "${mongodbatlas_auditing.test.id}"
27+
project_id = mongodbatlas_auditing.test.id
2828
}
2929
```
3030

website/docs/d/cloud_provider_snapshot.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ resource "mongodbatlas_cloud_provider_snapshot" "test" {
2424
2525
data "mongodbatlas_cloud_provider_snapshot" "test" {
2626
snapshot_id = "5d1285acd5ec13b6c2d1726a"
27-
group_id = "${mongodbatlas_cloud_provider_snapshot.test.group_id}"
28-
cluster_name = "${mongodbatlas_cloud_provider_snapshot.test.cluster_name}"
27+
group_id = mongodbatlas_cloud_provider_snapshot.test.group_id
28+
cluster_name = mongodbatlas_cloud_provider_snapshot.test.cluster_name
2929
}
3030
```
3131

website/docs/d/cloud_provider_snapshot_restore_job.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ resource "mongodbatlas_cloud_provider_snapshot_restore_job" "test" {
3535
}
3636
3737
data "mongodbatlas_cloud_provider_snapshot_restore_job" "test" {
38-
project_id = "${mongodbatlas_cloud_provider_snapshot_restore_job.test.project_id}"
39-
cluster_name = "${mongodbatlas_cloud_provider_snapshot_restore_job.test.cluster_name}"
40-
job_id = "${mongodbatlas_cloud_provider_snapshot_restore_job.test.id}"
38+
project_id = mongodbatlas_cloud_provider_snapshot_restore_job.test.project_id
39+
cluster_name = mongodbatlas_cloud_provider_snapshot_restore_job.test.cluster_name
40+
job_id = mongodbatlas_cloud_provider_snapshot_restore_job.test.id
4141
}
4242
```
4343

website/docs/d/cloud_provider_snapshot_restore_jobs.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ resource "mongodbatlas_cloud_provider_snapshot" "test" {
2626
resource "mongodbatlas_cloud_provider_snapshot_restore_job" "test" {
2727
project_id = "5cf5a45a9ccf6400e60981b6"
2828
cluster_name = "MyCluster"
29-
snapshot_id = "${mongodbatlas_cloud_provider_snapshot.test.id}"
29+
snapshot_id = mongodbatlas_cloud_provider_snapshot.test.id
3030
delivery_type = {
3131
automated = true
3232
target_cluster_name = "MyCluster"
@@ -35,8 +35,8 @@ resource "mongodbatlas_cloud_provider_snapshot_restore_job" "test" {
3535
}
3636
3737
data "mongodbatlas_cloud_provider_snapshot_restore_jobs" "test" {
38-
project_id = "${mongodbatlas_cloud_provider_snapshot_restore_job.test.project_id}"
39-
cluster_name = "${mongodbatlas_cloud_provider_snapshot_restore_job.test.cluster_name}"
38+
project_id = mongodbatlas_cloud_provider_snapshot_restore_job.test.project_id
39+
cluster_name = mongodbatlas_cloud_provider_snapshot_restore_job.test.cluster_name
4040
page_num = 1
4141
items_per_page = 5
4242
}

website/docs/d/cloud_provider_snapshots.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ resource "mongodbatlas_cloud_provider_snapshots" "test" {
2323
}
2424
2525
data "mongodbatlas_cloud_provider_snapshots" "test" {
26-
group_id = "${mongodbatlas_cloud_provider_snapshots.test.group_id}"
27-
cluster_name = "${mongodbatlas_cloud_provider_snapshots.test.cluster_name}"
26+
group_id = mongodbatlas_cloud_provider_snapshots.test.group_id
27+
cluster_name = mongodbatlas_cloud_provider_snapshots.test.cluster_name
2828
page_num = 1
2929
items_per_page = 5
3030
}

website/docs/d/custom_db_role.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ resource "mongodbatlas_custom_db_role" "test_role" {
3636
}
3737
3838
data "mongodbatlas_custom_db_role" "test" {
39-
project_id = "${mongodbatlas_custom_db_role.test_role.project_id}"
40-
role_name = "${mongodbatlas_custom_db_role.test_role.role_name}"
39+
project_id = mongodbatlas_custom_db_role.test_role.project_id
40+
role_name = mongodbatlas_custom_db_role.test_role.role_name
4141
}
4242
```
4343

website/docs/d/custom_db_roles.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ resource "mongodbatlas_database_user" "test" {
3333
}
3434
3535
data "mongodbatlas_custom_db_roles" "test" {
36-
project_id = "${mongodbatlas_custom_db_role.test.project_id}"
36+
project_id = mongodbatlas_custom_db_role.test.project_id
3737
}
3838
```
3939

website/docs/d/ldap_verify.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ resource "mongodbatlas_ldap_verify" "test" {
4141
port = 636
4242
bind_username = "USERNAME"
4343
bind_password = "PASSWORD"
44-
depends_on = ["mongodbatlas_cluster.test"]
44+
depends_on = [mongodbatlas_cluster.test]
4545
}
4646
4747
data "mongodbatlas_ldap_verify" "test" {

website/docs/d/maintenance_window.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ resource "mongodbatlas_maintenance_window" "test" {
2222
}
2323
2424
data "mongodbatlas_maintenance_window" "test" {
25-
project_id = "${mongodbatlas_maintenance_window.test.id}"
25+
project_id = mongodbatlas_maintenance_window.test.id
2626
}
2727
```
2828

@@ -34,7 +34,7 @@ resource "mongodbatlas_maintenance_window" "test" {
3434
}
3535
3636
data "mongodbatlas_maintenance_window" "test" {
37-
project_id = "${mongodbatlas_maintenance_window.test.id}"
37+
project_id = mongodbatlas_maintenance_window.test.id
3838
}
3939
```
4040

0 commit comments

Comments
 (0)