Open stevehipwell opened 7 months ago
Hmm, I am a bit confused here. Since this project has been originally forked from the gavinbunney's, all you need to do is to change the provider definition and run
terraform state replace-provider gavinbunney/kubectl alekc/kubectl
?
@alekc you can use the terraform state replace-provider
command, but there are a number of issues with this pattern especially when working with modules.
We actually did the whole process of releasing all new module versions to align the providers, creating provider replace automation, and then documenting & supporting multiple teams to complete the process. It was painful.
Fair enough. I will have a look into it (can't promise timeframe though)
With the release of Terraform v1.8 support for moving resources between providers has been added (this is also due to land in OpenTofu 1.8). It would be great if this provider could support moving resources from the original provider,
gavinbunney/kubectl
, to make switching this out much easier.Looking at the code here it looks like you'd need to migrate to the Terraform Plugin Framework to make use of the updated state move functionality, so that is probably the major constraint here.