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

victorious-dusk-75271

08/20/2022, 2:46 PM
is exporting objects discouraged? for example:
Copy code
primary: {
   all my primary stuff 
}
secondary: {
 all my secondary stuff
}
instead of prefixing all exports with
primary
and
secondary
? and I am not really sure if i can access them with
stack.Output('primary.something')
e

echoing-dinner-19531

08/20/2022, 4:00 PM
I don't think
stack.Output('primary.secondary')
will work, but you can ask for just 'primary' and it should return a map object of all the other fields.