You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present if you supply both of these values explicitly in the provider setup aws_rds_iam_region will be ignored when it comes time to generate the temporary auth credentials. This will result in unexpected (and hard to diagnose!) PAM authentication errors because the token generated is effectively invalid..
- previously on line 250 we set up the awscfg with the supplied region but then in the block where we handle the role we discard this information when we re-create the awscfg with these new session credentials.
Workaround at the moment is to ensure that the AWS_REGION env var is set though this can cause other issues depending on your AWS provider setups.