Skip to content

Commit

Permalink
feat: Add support for granting permissions to apache kafka service ag…
Browse files Browse the repository at this point in the history
…ent (#960)
  • Loading branch information
derhally authored Dec 3, 2024
1 parent 4c2c26a commit 38e55a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/shared_vpc_access/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ locals {
service_account = format("service-%[email protected]", local.service_project_number)
role = "roles/compute.networkUser"
}
"managedkafka.googleapis.com" : {
service_account = format("service-%[email protected]", local.service_project_number)
role = "roles/managedkafka.serviceAgent"
}
}
gke_shared_vpc_enabled = contains(var.active_apis, "container.googleapis.com")
composer_shared_vpc_enabled = contains(var.active_apis, "composer.googleapis.com")
Expand Down

0 comments on commit 38e55a4

Please sign in to comment.