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
red-scooter-62880
07/27/2022, 3:51 PM
@gray-vr-25374 I hoped there was a better solution without deleting the stack but just reset state of it
g
gray-vr-25374
07/27/2022, 4:00 PM
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.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.