terraform-aws-modules / terraform-aws-iam

Terraform module to create AWS IAM resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/iam/aws
Apache License 2.0
779 stars 985 forks source link

fix: Allow user to change own password when no MFA is present #470

Closed wonko closed 5 months ago

wonko commented 5 months ago

Description

This allows a user to change their own password when no MFA is present on the account. This is only needed in once situation: when a new users signs in, and is then forced to choose a new password. The MFA isn't set up at that point, and the changing of the password is blocked.

Motivation and Context

Currently users created with the iam_user and iam_group_with_policies are not able to sign in.

Breaking Changes

Don't think so

How Has This Been Tested?

I tested this manually using a new account

antonbabenko commented 5 months ago

This PR is included in version 5.37.2 :tada:

github-actions[bot] commented 4 months ago

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.