From f26cec109de0fb5d716647867d94ef4bf5280563 Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Thu, 21 Nov 2024 12:06:55 +1100 Subject: [PATCH 1/2] fix: ensure service account id is long enough --- backupdr/backup_plan_association/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backupdr/backup_plan_association/main.tf b/backupdr/backup_plan_association/main.tf index 3a917e07a..638e8d15d 100644 --- a/backupdr/backup_plan_association/main.tf +++ b/backupdr/backup_plan_association/main.tf @@ -16,7 +16,7 @@ resource "google_service_account" "default" { provider = google-beta - account_id = "my-sa" + account_id = "my-serviceaccount" display_name = "Custom SA for VM Instance" } From b92c94cab05484f16a1d3bca3251f44a53365db4 Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Thu, 21 Nov 2024 12:07:38 +1100 Subject: [PATCH 2/2] fix: remove google-beta from resources that don't require it --- backupdr/backup_plan_association/main.tf | 2 -- 1 file changed, 2 deletions(-) diff --git a/backupdr/backup_plan_association/main.tf b/backupdr/backup_plan_association/main.tf index 638e8d15d..75020c1ae 100644 --- a/backupdr/backup_plan_association/main.tf +++ b/backupdr/backup_plan_association/main.tf @@ -15,13 +15,11 @@ */ resource "google_service_account" "default" { - provider = google-beta account_id = "my-serviceaccount" display_name = "Custom SA for VM Instance" } resource "google_compute_instance" "default" { - provider = google-beta name = "my-instance" machine_type = "n2-standard-2" zone = "us-central1-a"