Hi, is there any doc page where I can understand t...
# general
b
Hi, is there any doc page where I can understand the difference between the parent and dependsOn?
m
Both are “resource options” covered in Intro > Architecture and Concepts: https://www.pulumi.com/docs/intro/concepts/resources/options/
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.
o
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.
b
thanks!