06/03/2022, 6:55 PM
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?


06/03/2022, 10:11 PM
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 (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?