Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
o
orange-tailor-85423
10/22/2018, 5:55 PM
TF Code - create SA:
m
microscopic-florist-22719
10/22/2018, 6:28 PM
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
orange-tailor-85423
10/22/2018, 6:34 PM
correct
create service account, apply IAM to service account member
m
microscopic-florist-22719
10/22/2018, 6:41 PM
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
orange-tailor-85423
10/22/2018, 7:15 PM
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?
Post