Skip to content

Commit

Permalink
[Custom DC] terraform fix (#185)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Chen <[email protected]>
  • Loading branch information
Fructokinase and Alex Chen authored Feb 9, 2023
1 parent 1441123 commit 7818b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bigtable_automation/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 7818b01

Please sign in to comment.