Skip to content

Commit

Permalink
fix bigquery
Browse files Browse the repository at this point in the history
  • Loading branch information
uche-madu committed Oct 21, 2023
1 parent 6fbc5e6 commit 8401d07
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions terraform/service-accounts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,14 @@
# Retrieve the service account established in setup.sh
data "google_service_account" "deb-sa" {
account_id = "deb-sa"
}


resource "google_service_account_iam_binding" "impersonate_binding" {
service_account_id = module.airflow_workload_identity.gcp_service_account_email
role = "roles/iam.serviceAccountTokenCreator"

members = [
"serviceAccount:${data.google_service_account.deb-sa.email}"
]
}

0 comments on commit 8401d07

Please sign in to comment.