From 7818b010ad321e9b0af5c2646026a4765ec92cc8 Mon Sep 17 00:00:00 2001 From: Alex <8507196+Fructokinase@users.noreply.github.com> Date: Wed, 8 Feb 2023 21:29:46 -0800 Subject: [PATCH] [Custom DC] terraform fix (#185) Co-authored-by: Alex Chen --- bigtable_automation/terraform/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bigtable_automation/terraform/main.tf b/bigtable_automation/terraform/main.tf index 4a3e1600..e7be8d1f 100644 --- a/bigtable_automation/terraform/main.tf +++ b/bigtable_automation/terraform/main.tf @@ -129,12 +129,12 @@ resource "google_project_iam_member" "dataflow_worker_iam" { } # Permissions needed to communicate with graph processor. -resource "google_project_iam_member" "bt_automation_iam" { +resource "google_project_iam_member" "bt_automation_controller_iam" { for_each = toset([ "roles/pubsub.editor", "roles/storage.admin" ]) role = each.key - member = "serviceAccount:datcom@system.gserviceaccount.com" + member = "serviceAccount:datacommons-controller-runner-pod@system.gserviceaccount.com" project = var.project_id }