Hi! Is it possible to register a stack output with...
# typescript
k
Hi! Is it possible to register a stack output without
export
? We have a use case where we do not statically know stack outputs as those are discovered at runtime based on stack configurations.
s
AFAIK, you must use
export
.
If I may ask, why are these things in different projects?
l
You can export an object though. You can add properties to an object as you discover them, then export the entire object.
k
The other project deploys infrastructure components and the other project deploys applications and configures some existing services. But I was actually able to solve this with an example from @blue-actor-6315, although it is a bit of a workaround but still, it gets the job done. https://pulumi-community.slack.com/archives/CJ909TL6P/p1700075117397129