From 32950f779bfeedc689246e8e7793a5fb76b25b12 Mon Sep 17 00:00:00 2001 From: Shuya Ma <87669292+shuyama1@users.noreply.github.com> Date: Wed, 1 Nov 2023 07:29:26 -0700 Subject: [PATCH] Update mmv1/third_party/terraform/services/backupdr/data_source_backup_dr_management_server_test.go.erb --- .../data_source_backup_dr_management_server_test.go.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mmv1/third_party/terraform/services/backupdr/data_source_backup_dr_management_server_test.go.erb b/mmv1/third_party/terraform/services/backupdr/data_source_backup_dr_management_server_test.go.erb index f79b64488de4..fbfab9a740a9 100644 --- a/mmv1/third_party/terraform/services/backupdr/data_source_backup_dr_management_server_test.go.erb +++ b/mmv1/third_party/terraform/services/backupdr/data_source_backup_dr_management_server_test.go.erb @@ -33,16 +33,16 @@ func TestAccDataSourceGoogleBackupDRManagementServer_basic(t *testing.T) { func testAccDataSourceGoogleBackupDRManagementServer_basic(context map[string]interface{}) string { return acctest.Nprintf(` -resource "google_compute_network" "default" { - name = "vpc-network" +data "google_compute_network" "default" { + name = "%{network_name}" } resource "google_backup_dr_management_server" "foo" { location = "us-central1" - name = "management-server-1" + name = "tf-test-management-server%{random_suffix}" type = "BACKUP_RESTORE" networks { - network = google_compute_network.default.id + network = data.google_compute_network.default.id peering_mode = "PRIVATE_SERVICE_ACCESS" } }