They dependencies are mostly built based on the Input/Output values (Every Output<T> tracks the resource that created it), but you can also set explicit dependencies via the dependsOn resource option.
👍 1
p
polite-ocean-13631
11/02/2022, 3:34 PM
Ah, so it's tracking the dependencies between resources, rather than between stacks.
e
echoing-dinner-19531
11/02/2022, 3:34 PM
yes
b
bored-activity-40468
11/02/2022, 4:57 PM
By default, I believe all resources unless they have their parent set are children of a stack resource. If you create a component, add resources to it and assign their parent to the ComponentResource, it changes the graph.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.