fierce-holiday-6980504/14/2021, 1:49 PM
bored-oyster-314704/14/2021, 1:55 PM
property, not resource dependencies. Pulumi is smart enough to deploy in the order that dependencies require (and I think if you look in the state file you'll see those dependencies) but by default each resource's
is the top-level
resource unless provided otherwise - and I think that's the graph you're seeing
as an example of the parent/child relationship. And
(to set explicit dependencies) is a different property / function
fierce-holiday-6980504/14/2021, 2:04 PM
bored-oyster-314704/14/2021, 2:15 PM
property inside component resources. The vast majority of users are able to do what they need to do inside the
constructor or inside the initial pulumi delegate, and never make use of component resources. So it seems like a lot of work has been done to cater to the most common use-case. For instance the
constructor doesn't make you call
, or like you said, it doesn't make you pass the
. But as soon as you make a component resource you take on the responsibility for that functionality and have to do
and remember to call
command give you a more comprehensive graph, or is it the same graph? https://www.pulumi.com/docs/reference/cli/pulumi_stack_graph/ because it seems like it has flags that differentiate between "parent edges" and "dependency edges"
pulumi stack graph
fierce-holiday-6980504/14/2021, 2:19 PM
bored-oyster-314704/14/2021, 2:22 PM
fierce-holiday-6980504/14/2021, 2:25 PM
handsome-state-5977504/14/2021, 2:33 PM
cannot automatically be inferred from the dependency graph?
bored-oyster-314704/14/2021, 2:37 PM
billowy-army-6859904/14/2021, 3:45 PM
bored-oyster-314704/14/2021, 3:48 PM
red-match-1511604/14/2021, 3:53 PM
pulumi stack graph
command for now.
bored-oyster-314704/14/2021, 3:55 PM
handsome-state-5977504/14/2021, 4:03 PM
, does it override automatically inferred dependencies or just augment them?
red-match-1511604/14/2021, 4:04 PM
if i specifyIt augments them, does it override automatically inferred dependencies or just augment them?