TF Code - create SA:
# general
o
TF Code - create SA:
m
It looks like you’re creating different types of resources here—the TF code appears to be referencing the GCP provider. Is that right?
o
correct
create service account, apply IAM to service account member
m
Should the Pulumi code also be creating two GCP resources (instead of only one)?
(i.e. it looks like the Pulumi code is creating a k8s service account where the TF is using GCP)
o
yes I probably did something wrong - I should not work on this at 11pm
lol
I'm so sorry - it was late and I didn't even spot the mismatch in resources
I'll take my ball and go home for now
But here's a legit question......if I turn those operations into functions... how do I reference the created object
if I do a return on the function?