Hi,
It seems that currently RDS IAM authentication for mysql/postgresql users is not possible with the provider.
Here are the official docs: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.DBAccounts.html
For mysql it is necessary to set AWSAuthenticationPlugin when creating the user.
For postgresql the user must be granted the rds_iam role.
This possible with the Terraform providers:
https://registry.terraform.io/providers/bangau1/mysql/latest/docs/resources/user
https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs/resources/postgresql_grant_role
Hi,
It seems that currently RDS IAM authentication for mysql/postgresql users is not possible with the provider.
Here are the official docs: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.DBAccounts.html
For mysql it is necessary to set
AWSAuthenticationPluginwhen creating the user.For postgresql the user must be granted the
rds_iamrole.This possible with the Terraform providers:
https://registry.terraform.io/providers/bangau1/mysql/latest/docs/resources/user
https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs/resources/postgresql_grant_role