Skip to content

Commit 722c1bf

Browse files
authored
Fix BQ connection role name (#61)
1 parent 786f177 commit 722c1bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bigquery.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ resource "google_bigquery_connection" "bq_spark_connection" {
1212
}
1313

1414
resource "google_bigquery_connection_iam_member" "member" {
15-
project = var.data_plane_project
16-
location = google_bigquery_connection.bq_spark_connection.location
15+
project = var.data_plane_project
16+
location = google_bigquery_connection.bq_spark_connection.location
1717
connection_id = google_bigquery_connection.bq_spark_connection.connection_id
18-
role = "roles/bigquery.connections.use"
19-
member = "serviceAccount:${google_service_account.tenant_data_access.email}"
18+
role = "roles/bigquery.connectionUser"
19+
member = "serviceAccount:${google_service_account.tenant_data_access.email}"
2020
}
2121

2222
resource "google_bigquery_dataset" "tenant_dataset" {

0 commit comments

Comments
 (0)