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

[mysql_user] Is AWSAuthenticationPlugin available for Mysql, Postgres RDS #132

Closed pmnhatdn closed 4 years ago

pmnhatdn commented 4 years ago

Hello,

From the doc, AWSAuthenticationPlugin is only supported for Amazon Aurora. But I'd like to confirm again the support for AWS Mysql and Postgres RDS (Mysql and Postgres RDS now support IAM Authentication, so just in case terraform document is not up to date)

Thanks, Nhat

The auth_plugin value supports:

AWSAuthenticationPlugin - Allows the use of IAM authentication with Amazon Aurora. For more details on how to use IAM auth with Aurora, see here.

Terraform Version

v0.12.28

Affected Resource(s)

Please list the resources as a list, for example:

dannyibishev commented 4 years ago

Yes, it works. I have applied it to a mysql database before. Just make sure your version is one that supports it.

That said. This provider tends to have issues with terraform state (due to refresh failing when a connection can't be established to the db)

Use this provider with caution.

pmnhatdn commented 4 years ago

Thanks, I'm closing this issue.