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

alert-glass-49407

10/05/2021, 6:05 PM
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

bored-oyster-3147

10/05/2021, 6:07 PM
The
parent
property is what controls the nesting in the CLI output
yea you got it 👍
a

alert-glass-49407

10/05/2021, 6:07 PM
🙂 I appreciate the help! Sorry, I set
depends_on
originally and was sad that it didn't nest
somehow totally missed
parent
b

bored-oyster-3147

10/05/2021, 6:08 PM
dependsOn
is different in that regard because it is many:1 whereas for display purposes you want 1:many
👍 1
👀 1
15 Views