This message was deleted.
# general
s
This message was deleted.
e
Don't do "dependsOn" and "parent", I'm pretty sure that causes issues in most (all?) the SDKs.
t
How come? I am doing
parent
to structure the tree and
dependsOn
is being used to ensure the order is correct
Is there any documentation on the issues this can cause?
e
Because parent'ing is also used for dependencies (the expectation is that a parent waits for all it's children) so parent and dependsOn causes loops in the dependency tree.
m
Is there any documentation on the issues this can cause?
The docs mention this leading to undefined behavior here: https://www.pulumi.com/docs/concepts/options/parent/
t
Ah okay so is the recommendation to only use depends on?
e
Yes, parent is really only intended for component resources.