Unfortunately there is no simple support for this. There are two options that I have used that work well.
little-cartoon-10569
04/13/2021, 8:25 PM
The easier depends on there not being any references to the resource (e.g. from child resources). You can delete the resource from state and import it again. Importing resources uses the default provider (unless you edit the created code).
little-cartoon-10569
04/13/2021, 8:26 PM
The harder option is to export the stack, find the "wrong" and default providers, edit the resource's provider from the "wrong" one to the default, and import the stack. Not harder, I suppose, but more scary, with more potential for mistakes.