hashicorp / terraform-provider-mysql

Terraform MySQL provider – This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html
https://www.terraform.io/docs/providers/mysql/
Mozilla Public License 2.0
61 stars 189 forks source link

user modification loses grants #100

Open oker1 opened 5 years ago

oker1 commented 5 years ago

Terraform Version

v0.11.14

Affected Resource(s)

Expected Behavior

When a user is modified, and recreated because of it, its grants should stay the way they are configured with mysql_grant resources.

Actual Behavior

When the user is recreated the grants are dropped implicitly (mysql behavior), and not recreated

Steps to Reproduce

  1. terraform apply