Merge pull request #529 from GoogleCloudPlatform/jccb/fix-project-robots
Add service account prefix to member bindings
This commit is contained in:
commit
8844f1b3a4
|
@ -69,8 +69,7 @@ resource "google_project_iam_member" "shared_vpc_host_robots" {
|
||||||
role = each.value.role
|
role = each.value.role
|
||||||
member = (
|
member = (
|
||||||
each.value.service == "cloudservices"
|
each.value.service == "cloudservices"
|
||||||
? local.service_account_cloud_services
|
? "serviceAccount:${local.service_account_cloud_services}"
|
||||||
: local.service_accounts_robots[each.value.service]
|
: "serviceAccount:${local.service_accounts_robots[each.value.service]}"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue