https://pulumi.com logo
#general
Title
# general
d

damp-honey-93158

05/16/2022, 1:53 PM
When setting stack outputs in C#, it appears that anything I write to any output does not appear in the pulumi service if I do the variable assignment from within an Apply() function. Is that expected?
The resolution was a refactoring.
I used to run an Apply() on a resource group to get it's ID as a string, so that I could instantiate a helper class. I changed the helper class to use Output<string> values everywhere - meaning that the async nature of the construction can be mostly ignored in the rest of my code.
5 Views