At first glance, a cascading delete would be very risky, but a protect-if-has-children opt would be very safe. And maybe some way to get Pulumi to generate a script full of all the
pulumi state delete
commands necessary to fully clean up, so that I can manually edit it myself..
m
microscopic-florist-22719
11/18/2021, 10:00 PM
Such a flag seems analogous to the
--target-dependents
flag for
pulumi up
. That flag allows the targeted deletion of a resource and anything that depends on that resource. I think that given the similarity in behavior there’s a pretty straightforward case to make here.
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.