tall-father-27808
09/19/2025, 9:59 PMwitty-battery-42692
09/19/2025, 10:08 PMtall-father-27808
09/19/2025, 10:23 PMComponentResource(A)
- Resource(B)
- Resource(C)
If the after_delete hook is applied to ComponentResource(A), they are not called if Resource(C) is deleted. That seems reasonable. If an after_update hooks is applied to ComponentResource(A), and Resource(C) is deleted but that deletion changes the state of ComponentResource(A) such that it registers as an update (difference in inputs), the after_update hook is called, but only after the delete of Resource(C).
That's a fine design decision I suppose, but I'm running into problems because of how Pulumi treats deleted objects, even before they are actually deleted, as non-entities. They have no rights and nothing waits for them to be deleted.witty-battery-42692
09/19/2025, 10:28 PMtall-father-27808
09/20/2025, 11:14 AMtall-father-27808
09/20/2025, 11:15 AMechoing-dinner-19531
09/21/2025, 6:15 AMtall-father-27808
09/23/2025, 9:44 PM