Closed kaykhan closed 1 year ago
@kaykhan it should be possible to just replace provider:
https://www.terraform.io/cli/commands/state/replace-provider
like terraform state replace-provider terraform-providers/mysql petoju/mysql
However, I don't and cannot guarantee you it will work without affecting any user. That's because this provider has a bit better state refresh and it may find and try to fix some issues. Also, this provider has deprecated some variables.
So the recommended way to replace provider would be:
terraform state replace-provider
terraform plan
for any changes. Any change could affect the users, so you should check, how they look like.
HI friends ive been using https://github.com/hashicorp/terraform-provider-mysql to create mysql users in my aws rds mysql database.
That provider is no longer available and i can see this is a fork on that provider. How do i migrate to this provider ( im fairly new to terraform)
versions.tf
users.tf
I then hae a bunch of resources like this...
Is it possible to migrate over without affecting the users in the mysql database.