https://pulumi.com logo
Title
s

straight-intern-54129

06/26/2021, 4:14 AM
Hellooo! I have been learning Pulumi today. My current dilemma is that I manually deleted an Azure resource group and I want to restart my stack in Pulumi. I tried "pulumi destroy", but that complains that it is unable to delete a resource (because I already did it). But really I just want Pulumi to stop trying to be so clever with the tracking and just wipe the slate clean. Is there something like "pulumi destory --force" to show it that I mean business?
b

brave-planet-10645

06/26/2021, 6:46 AM
If you do
pulumi refresh
you can update your state with changes made to the resources you're tracking. So if you've manually deleted a resource, running refresh will delete it in the stack
s

straight-intern-54129

06/26/2021, 5:15 PM
Exactly what I needed. Thank you!
🎉 1