https://pulumi.com logo
#automation-api
Title
# automation-api
c

curved-morning-41391

06/07/2022, 6:26 PM
Hey if I register outputs in a custom component, how do I propagate that so that I see them on the stack outputs?
w

witty-candle-66007

06/07/2022, 7:05 PM
You main program would export them like you would for other outputs.
c

curved-morning-41391

06/07/2022, 10:33 PM
I guess I assumed that if I exported them within the component I would be able to get those exports from the main stack, but I can't find a way to do that. Instead I just added them to the component object
b

bored-oyster-3147

06/09/2022, 2:47 AM
You would just declare them as properties of the component and assign the outputs to them in the component constructor either before or after you register them.