Skip to content

Commit f8df5bb

Browse files
add tf-test prefix to compute reservation and dialogflowcx tests (#14509) (#23589)
[upstream:96a9e345b646eb02ffd950fd2b2639eaf171fcd0] Signed-off-by: Modular Magician <[email protected]>
1 parent 5c953d6 commit f8df5bb

7 files changed

+9
-9
lines changed

google/services/compute/resource_compute_reservation_generated_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ data "google_compute_image" "my_image" {
106106
}
107107
108108
resource "google_compute_instance_template" "foobar" {
109-
name = "tf-test-instance-template"
109+
name = "tf-test-instance-template%{random_suffix}"
110110
machine_type = "n2-standard-2"
111111
can_ip_forward = false
112112
tags = ["foo", "bar"]
@@ -184,7 +184,7 @@ data "google_compute_image" "my_image" {
184184
}
185185
186186
resource "google_compute_instance_template" "foobar" {
187-
name = "tf-test-instance-template"
187+
name = "tf-test-instance-template%{random_suffix}"
188188
machine_type = "g2-standard-4"
189189
can_ip_forward = false
190190
tags = ["foo", "bar"]

google/services/dialogflowcx/resource_dialogflow_cx_flow_generated_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ resource "google_dialogflow_cx_flow" "basic_flow" {
561561
562562
resource "google_discovery_engine_data_store" "my_datastore" {
563563
location = "global"
564-
data_store_id = "datastore-flow-full"
564+
data_store_id = "tf-test-datastore-flow-full%{random_suffix}"
565565
display_name = "datastore-flow-full"
566566
industry_vertical = "GENERIC"
567567
content_config = "NO_CONTENT"

google/services/dialogflowcx/resource_dialogflow_cx_page_generated_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ resource "google_dialogflow_cx_page" "my_page2" {
731731
732732
resource "google_discovery_engine_data_store" "my_datastore" {
733733
location = "global"
734-
data_store_id = "datastore-page-full"
734+
data_store_id = "tf-test-datastore-page-full%{random_suffix}"
735735
display_name = "datastore-page-full"
736736
industry_vertical = "GENERIC"
737737
content_config = "NO_CONTENT"

google/services/dialogflowcx/resource_dialogflow_cx_tool_generated_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ resource "google_dialogflow_cx_tool" "data_store_tool" {
197197
198198
resource "google_discovery_engine_data_store" "my_datastore" {
199199
location = "global"
200-
data_store_id = "datastore-tool-test-%{random_suffix}"
200+
data_store_id = "tf-test-datastore-tool%{random_suffix}"
201201
display_name = "datastore for Tool test"
202202
industry_vertical = "GENERIC"
203203
content_config = "NO_CONTENT"

google/services/dialogflowcx/resource_dialogflowcx_page_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ func testAccDialogflowCXPage_full(context map[string]interface{}) string {
656656
657657
resource "google_discovery_engine_data_store" "my_datastore" {
658658
location = "global"
659-
data_store_id = "datastore-page-update"
659+
data_store_id = "tf-test-datastore-page-update%{random_suffix}"
660660
display_name = "datastore-page-update"
661661
industry_vertical = "GENERIC"
662662
content_config = "NO_CONTENT"

website/docs/r/compute_reservation.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ data "google_compute_image" "my_image" {
100100
}
101101
102102
resource "google_compute_instance_template" "foobar" {
103-
name = "tf-test-instance-template"
103+
name = "instance-template"
104104
machine_type = "n2-standard-2"
105105
can_ip_forward = false
106106
tags = ["foo", "bar"]
@@ -158,7 +158,7 @@ data "google_compute_image" "my_image" {
158158
}
159159
160160
resource "google_compute_instance_template" "foobar" {
161-
name = "tf-test-instance-template"
161+
name = "instance-template"
162162
machine_type = "g2-standard-4"
163163
can_ip_forward = false
164164
tags = ["foo", "bar"]

website/docs/r/dialogflow_cx_tool.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ resource "google_dialogflow_cx_tool" "data_store_tool" {
164164
165165
resource "google_discovery_engine_data_store" "my_datastore" {
166166
location = "global"
167-
data_store_id = "datastore-tool-test-%{random_suffix}"
167+
data_store_id = "datastore-tool"
168168
display_name = "datastore for Tool test"
169169
industry_vertical = "GENERIC"
170170
content_config = "NO_CONTENT"

0 commit comments

Comments
 (0)