terraform-provider-postgresql icon indicating copy to clipboard operation
terraform-provider-postgresql copied to clipboard

Temporary permissions conflict with IAM authentication

Open mythus opened this issue 5 years ago • 1 comments

I use terraform postgresql provider to create roles that have rds_iam role and assign these roles to separate postgres databases. After https://github.com/terraform-providers/terraform-provider-postgresql/pull/71 was merged the provider temporary assign rds_iam roles to the user managing the connection. This invalidates the consequent login attempts with username/password and the state apply fails with: Error: Error dropping database: pq: PAM authentication failed for user xxxxxx

Terraform v0.12.18

mythus avatar Feb 23 '20 09:02 mythus

Did you find a solution? Its basically not usable for ads aurora with IAM authentication.

benkeil avatar Jul 01 '20 13:07 benkeil