The goal of protect is to ensure it is not easy to (accidentally) destroy the resource. You can remove the protect bit and then destroy it as two separate operations. https://www.pulumi.com/docs/reference/cli/pulumi_state_unprotect/ can help on the first step.
l
little-cartoon-10569
03/15/2021, 6:56 AM
You need to do it in two steps.
1) Find all the resources with opt