limited-rainbow-51650
10/27/2021, 8:09 PMPromise
which I used correctly in my code. So far so good.
I'm now trying to convert that function to a pulumi.ComponentResource
subclass, where I have the get function and the resource creation as well. But in that move, it seems I broke the setup for correct async processing. When I try to refer to the outputs of my ComponentResource
, they still seem to be undefined
. Each output in my component is an output from each of the 2 child resources.
Does anyone have an example of a ComponentResource
which mixes a get function, resource creation based on the fetched info and exposing outputs on the component class?little-cartoon-10569
10/27/2021, 8:20 PMlittle-cartoon-10569
10/27/2021, 8:24 PMbillowy-army-68599
little-cartoon-10569
10/27/2021, 8:25 PMpulumi.output()
limited-rainbow-51650
10/27/2021, 8:41 PMlimited-rainbow-51650
10/27/2021, 8:44 PMpulumi.output(...)
wrapping.limited-rainbow-51650
10/27/2021, 8:45 PMbillowy-army-68599
limited-rainbow-51650
10/27/2021, 8:47 PMbillowy-army-68599
billowy-army-68599
billowy-army-68599
enough-garden-22763
10/27/2021, 9:00 PMlimited-rainbow-51650
10/27/2021, 9:01 PMenough-garden-22763
10/27/2021, 9:02 PMenough-garden-22763
10/27/2021, 9:02 PMenough-garden-22763
10/27/2021, 9:05 PMlimited-rainbow-51650
10/27/2021, 9:06 PMenough-garden-22763
10/27/2021, 9:11 PMenough-garden-22763
10/27/2021, 9:13 PMenough-garden-22763
10/27/2021, 9:19 PMlimited-rainbow-51650
10/27/2021, 9:25 PM