prehistoric-house-87407
07/30/2021, 6:49 PMstr
and not an Output
.
My python example:
import pulumi_google_native as google
sa = google.iam.v1.ServiceAccount(
"test-sa",
account_id="test-sa",
)
google.iam.v1.ServiceAccountIamPolicy(
sa.name,
service_account_id=sa.id,
bindings=[
google.iam.v1.BindingArgs(
members=[sa.email.apply(lambda emailid: f"user:{emailid}")], role="roles/cloudsql.client"
)
],
)
numerous-thailand-80976
07/30/2021, 11:41 PMserviceAccount:
instead of user:
in the bindingsprehistoric-house-87407
08/02/2021, 1:48 PM