Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

Temporary permissions conflict with IAM authentication #120

Open
mythus opened this issue Feb 23, 2020 · 1 comment
Open

Temporary permissions conflict with IAM authentication #120

mythus opened this issue Feb 23, 2020 · 1 comment

Comments

@mythus
Copy link

mythus commented Feb 23, 2020

I use terraform postgresql provider to create roles that have rds_iam role and assign these roles to separate postgres databases. After #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

@benkeil
Copy link

benkeil commented Jul 1, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants