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

Support for TLS v1.3 #134

Open nandagirin opened 4 years ago

nandagirin commented 4 years ago

Hi, is there any plan to add support for mysql connection with TLS 1.3?

In my case, we have mysql database server that runs with TLS version 1.3. We were going to provision db schema, user, and permission grant using this mysql provider, but we got error saying that TLS protocol version not supported. It looks something like this: `Error: Could not connect to server: remote error: tls: protocol version not supported

on main.tf line 105, in resource "mysql_database" "mst_db": 105: resource "mysql_database" "mst_db" {`

Here is how I specify the provider: provider "mysql" { endpoint = "127.0.0.1:3306" username = <> password = <> tls = true }

I have tried to downgrade the TLS version used by mysql server to v1.2 and try to apply the code, it works. So, I thought that currently the provider does not support TLS v1.3 yet. I really wonder if there is plan to add support for TLS v1.3