Skip to content

Commit

Permalink
add read session user
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsunny1996 committed Sep 29, 2024
1 parent 96ec937 commit 84c3769
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 84c3769

Please sign in to comment.