diff --git a/terraform/service_accounts.tf b/terraform/service_accounts.tf index 8fa59ea..93a3a8f 100644 --- a/terraform/service_accounts.tf +++ b/terraform/service_accounts.tf @@ -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}"] } \ No newline at end of file