. Nothing to indicate if the stack is being destroyed.
b
bored-oyster-3147
08/26/2021, 12:24 PM
If you use automation api you can subscribe to engine events and check for a delete/destroy action against a specific resource so that you can do something.
But no, there is not a way to do this in your Pulumi program itself.