Although it sounds like you may be asking whether there’s an implied dependency relationship between children and parents, and I don’t believe this is the case (insofar as a parent resource would be provisioned before a child, for example). The docs don’t seem to make this clear, but they probably should.
👍🏾 1
o
orange-policeman-59119
02/06/2023, 10:33 PM
Parent should primarily be used only for component resources: https://www.pulumi.com/docs/intro/concepts/resources/options/parent/
The Parent option causes a resource to inherit certain resource options from the parent, useful for components.
The DependsOn option is used for ordering resource provisioning.
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.