sparse-intern-71089
11/02/2023, 4:21 PMlittle-cartoon-10569
11/02/2023, 6:45 PMdepends_on
adds a resource-level dependency: if the dependent resource is being deleted, then the dependency resource is deleted first.
parent
adds hierarchy to the resource graph. Lines in pulumi preview
output, and in the Pulumi webapp, show parent-child relationships. By default, opts of parents are inherited by children, unless opts are explicitly provided to children (which I strongly recommend, as implicit opts cause all sorts of hard-to-debug problems).creamy-hamburger-70712
11/06/2023, 11:46 AMdepends_on
property in the web app in a similar way to how I view the "parent" hierarchy? It's often the dependency defined by depends_on
that matters and I missed deps, which cost me time to realise.little-cartoon-10569
11/06/2023, 6:56 PMNo 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.
Powered by