Hi all, I have just picked up Pulumi the other day...
# getting-started
Hi all, I have just picked up Pulumi the other day (migrating from terraform) and I am struggling to work something out, so I was hoping I could find some help here. I am deploying a webhook via helm with the Pulumi helm resource, everything gets created without issue. As part of this helm deployment a service account gets created. My question is how can I get the details of the service account. in terraform I would have used something like a data source to access to the service account name, which I could then use as an input to something else or as the output to a module. Is it possible to do something this in Pulumi?
Have you tried pulling it as an output? Short version: Outputs are how we get details from a deployed resource. There are a few ways to do it as described in https://www.pulumi.com/docs/intro/concepts/inputs-outputs/ (I'm linking that as I don't know what language you're working in and all of the languages have examples there). To dig in a bit on the API docs, perhaps this example might help? https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/release/#query-kubernetes-resource-installed-by-helm-chart