Skip to content

Commit

Permalink
Remove project permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ciiiii committed Oct 6, 2024
1 parent f36ccfb commit 068f52d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions modules/gcp/vendor-access/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ resource "google_project_service" "gcp_apis" {
service = local.google_services[count.index]
}

resource "google_project_iam_member" "sn_access" {
for_each = {
for index, binding in local.iam_bindings :
index => binding
}
project = var.project
role = each.value.role
member = each.value.member
depends_on = [google_project_service.gcp_apis]
}
# resource "google_project_iam_member" "sn_access" {
# for_each = {
# for index, binding in local.iam_bindings :
# index => binding
# }
# project = var.project
# role = each.value.role
# member = each.value.member
# depends_on = [google_project_service.gcp_apis]
# }

locals {
comput_network_user_gsa = var.network_project != "" ? concat(local.streamnative_gsa, [format("serviceAccount:%[email protected]", var.project_num)]) : []
Expand Down

0 comments on commit 068f52d

Please sign in to comment.