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

dazzling-author-49810

01/29/2022, 1:57 PM
when pulumi knows about the hierarchy of resource creation, why don't it show up in the hierarchy as well in the plan? it would be awesome to see resources dependency as pulumi internally know visually in the shell
currently it shows in order, but not in hierarchy. hierarchy would help view dependencies
b

bored-oyster-3147

01/29/2022, 7:15 PM
So as you noticed Pulumi differentiates between the ordering relationship and the dependency relationship. The ordering is like parent -> child and it is one:many and that's what you see when you run a preview. But dependency is many:one so it must be different, and is obviously a bit harder to draw in console. You can output that tree with with the “pulumi stack graph” command. It can output a .dot file
d

dazzling-author-49810

01/30/2022, 9:55 AM
oh thanks :-)
well, trees are drawn in console and common but well there should be something and its ok but having it in the plan phase will be awesome 🙂
b

bored-oyster-3147

01/31/2022, 5:05 PM
Well it's not the same kind of tree. I'd love to see an example of a big many:one tree like that being drawn in console such that it is legible and useful. It can't really be drawn like the parent:child tree, because a node at the bottom of the tree could be touching a node at the top directly if it depends on some property of it.
6 Views