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

Import mysql_user #94

Closed kadigergo closed 5 years ago

kadigergo commented 5 years ago

This pull request fixes https://github.com/terraform-providers/terraform-provider-mysql/issues/61. It populates tls_option field also properly.

Note: Passwords cannot be imported.

kadigergo commented 5 years ago

GRANT ... REQUIRE SSL causes change in mysql_user.test state (because of mysql behavior as SSL part is written into user table) which requires further investigation.

dcposch commented 4 years ago

@kadigergo is it possible to ship just the import without changing the REQUIRE SSL behavior?

morganchristiansson commented 4 years ago

There is open PR #113 that fixes this.