Silly question, if I want to get resource nesting ...
# general
a
Silly question, if I want to get resource nesting in
pulumi preview
output, do I need to create a component resource, or similar? Or is there something I can put into
opts
that would give me control over the display? edit: it turns out this is `parent`: <https://www.pulumi.com/docs/intro/concepts/resources/#parent>
b
The
parent
property is what controls the nesting in the CLI output
yea you got it 👍
a
🙂 I appreciate the help! Sorry, I set
depends_on
originally and was sad that it didn't nest
somehow totally missed
parent
b
dependsOn
is different in that regard because it is many:1 whereas for display purposes you want 1:many
👍 1
👀 1