This message was deleted.
# google-cloud
s
This message was deleted.
n
I had to do something similar but for a different resource (kubernetes SA), wrap the entire IAM policy creation statement inside an apply, that way you’ll get the email as a string and will be able to pass it to the method without issue
BTW, if it’s an SA, the email needs to be preceded with
serviceAccount:
instead of
user:
in the bindings
I can provide a go sample of this if you want
p
@numerous-thailand-80976 thanks for the advice, I'll give it a shot!
👍 1