This message was deleted.
# general
s
This message was deleted.
l
I've done it, but it's laborious. Create the new provider in the normal way, and
up
. Export the stack. Search/replace all the old provider with new provider. Import the stack. Delete the old provider.
w
Ah thought as much, thanks. That's what I started doing. What is weird is that ran
up
and it created the new provider then I was trying to revert my changes and it kept wanting to change it. After I did the search replace it then wanted to change it back to the old one. Not too sure what happened there.
Fixed it now. Yeah so changing the provider being passed to the resource in between did something strange. Don't recommend doing that lol.
q
yes, I had the same issue, changing provider and pulumi wanted to re-create everything. I ended up deleting resources in the stack and and importing them, this is an un-warranted behaviour