https://pulumi.com logo
#typescript
Title
# typescript
k

kind-house-12874

12/07/2023, 1:08 PM
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

salmon-account-74572

12/07/2023, 4:01 PM
AFAIK, you must use
export
.
If I may ask, why are these things in different projects?
l

little-cartoon-10569

12/07/2023, 7:47 PM
You can export an object though. You can add properties to an object as you discover them, then export the entire object.
k

kind-house-12874

12/07/2023, 7:50 PM
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