From a55a8143e95e1335bb415f3b40583f2a1ad53037 Mon Sep 17 00:00:00 2001 From: Niharika <35183015+niharika-98@users.noreply.github.com> Date: Tue, 24 Oct 2023 17:10:05 +0530 Subject: [PATCH] Update mmv1/third_party/terraform/services/backupdr/data_source_backup_dr_management_server_test.go.erb Co-authored-by: Shuya Ma <87669292+shuyama1@users.noreply.github.com> --- ...ce_backup_dr_management_server_test.go.erb | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 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 ff8ed58c84da..f79b64488de4 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,24 +33,24 @@ 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" - } - - resource "google_backup_dr_management_server" "foo" { - location = "us-central1" - name = "management-server-1" - type = "BACKUP_RESTORE" - networks { - network = google_compute_network.default.id - peering_mode = "PRIVATE_SERVICE_ACCESS" - } - } - - data "google_backup_dr_management_server" "foo" { - location = "us-central1" - depends_on = [ google_backup_dr_management_server.foo ] - } +resource "google_compute_network" "default" { + name = "vpc-network" +} + +resource "google_backup_dr_management_server" "foo" { + location = "us-central1" + name = "management-server-1" + type = "BACKUP_RESTORE" + networks { + network = google_compute_network.default.id + peering_mode = "PRIVATE_SERVICE_ACCESS" + } +} + +data "google_backup_dr_management_server" "foo" { + location = "us-central1" + depends_on = [ google_backup_dr_management_server.foo ] +} `, context) } <% end -%> \ No newline at end of file