Skip to content

Commit bd2a477

Browse files
committed
feat: add IAM binding for GKE admin permissions to service account
1 parent 5e9e988 commit bd2a477

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

google.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,15 @@ resource "google_project_iam_binding" "automq_byoc_storage_sa_binding" {
317317
]
318318
}
319319

320+
resource "google_project_iam_binding" "gke_permission_binding0" {
321+
project = var.cloud_project_id
322+
role = "roles/container.admin"
323+
324+
members = [
325+
"serviceAccount:${google_service_account.automq_byoc_sa.email}",
326+
]
327+
}
328+
320329
# Firewall rules
321330
resource "google_compute_firewall" "automq_byoc_console_sg" {
322331
name = "automq-byoc-console-${var.automq_byoc_env_id}"

0 commit comments

Comments
 (0)