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

early-intern-90238

10/26/2019, 2:35 PM
How would I call an async method that I need to export as a value in my stack?
w

white-balloon-205

10/26/2019, 3:08 PM
export const val = myAsyncMethod()
should work. Pulumi allows you to export a promise and will wait for it to resolve to set the stack output value.
e

early-intern-90238

10/26/2019, 5:37 PM
whut!
I didn't even try that because I didn't think it would work haha...
thank you!
That worked perfectly...