what's the best way to use `ctx.Export()` to expor...
# getting-started
d
what's the best way to use
ctx.Export()
to export an array of values? Like I am creating a VPC and then an arbitrary number of subnets and I want to export each subnet's ARN, ID and name so I was trying to export an array of maps but I can't quite figure out how to cast things to outputs properly and use apply... just wondering if there were any examples I could look at?
m
Did you find an answer to this?
I'm currently trying to see if I can shove everything into a
struct
and output that
r
You can
ctx.Export
a
pulumi.Map
or
pulumi.Array
m
Awesome, thanks @red-match-15116