How can I delete all resources and all state for a...
# general
r
How can I delete all resources and all state for all resources? Because deployment failed I need to delete every resource manually
g
Usually if deployment get corrupted and pulumi destroy doesn't work anymore I just delete resource group in Azure and pulumi stack. I think you can do something similar in other cloud provider.
r
@gray-vr-25374 I hoped there was a better solution without deleting the stack but just reset state of it
g
There is option to call
pulumi refresh
sometime it can help. Or you can try to manually modify your stack state
pulumi stack export --file stackState.json
, in case number of resources in your environment is small it can work.
r
thanks refresh is what I needed