Skip to content

Commit

Permalink
Merge pull request #79 from kevinsunny1996/build/add_session_reader
Browse files Browse the repository at this point in the history
add read session user
  • Loading branch information
kevinsunny1996 authored Sep 29, 2024
2 parents 96ec937 + 84c3769 commit 8927d2b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terraform/service_accounts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@ resource "google_project_iam_binding" "bq_data_viewer" {
project = local.id
role = "roles/bigquery.dataViewer"
members = ["serviceAccount:${google_service_account.airflow_user_sa.email}"]
}

resource "google_project_iam_binding" "bq_read_session" {
project = local.id
role = "roles/bigquery.readSessionUser"
members = ["serviceAccount:${google_service_account.airflow_user_sa.email}"]
}

0 comments on commit 8927d2b

Please sign in to comment.