Skip to content

Commit 588f86a

Browse files
committed
updated parent
1 parent 46add94 commit 588f86a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mmv1/templates/terraform/examples/dataplex_category_basic.tf.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resource "google_dataplex_glossary" "{{$.PrimaryResourceId}}" {
44
}
55

66
resource "google_dataplex_category" "{{$.PrimaryResourceId}}" {
7-
parent = "projects/{{index $.TestEnvVars "project_name"}}/locations/us-central1/glossaries/${google_dataplex_glossary.category_test_id.glossary_id}"
7+
parent = "projects/${google_dataplex_glossary.category_test_id.project}/locations/us-central1/glossaries/${google_dataplex_glossary.category_test_id.glossary_id}"
88
glossary_id = google_dataplex_glossary.category_test_id.glossary_id
99
location = "us-central1"
1010
category_id = "tf-test-category-basic%{random_suffix}"

mmv1/templates/terraform/examples/dataplex_category_full.tf.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resource "google_dataplex_glossary" "{{$.PrimaryResourceId}}" {
44
}
55

66
resource "google_dataplex_category" "{{$.PrimaryResourceId}}" {
7-
parent = "projects/{{index $.TestEnvVars "project_name"}}/locations/us-central1/glossaries/${google_dataplex_glossary.category_test_id.glossary_id}"
7+
parent = "projects/${google_dataplex_glossary.category_test_id.project}/locations/us-central1/glossaries/${google_dataplex_glossary.category_test_id.glossary_id}"
88
glossary_id = google_dataplex_glossary.category_test_id.glossary_id
99
location = "us-central1"
1010
category_id = "tf-test-category-full%{random_suffix}"

0 commit comments

Comments
 (0)