Skip to content

Commit

Permalink
fix: Don't force users to reset passwords in modules/iam-user (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolay committed Aug 25, 2022
1 parent ed6683e commit 358f7d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/iam-user/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ resource "aws_iam_user_login_profile" "this" {
pgp_key = var.pgp_key
password_length = var.password_length
password_reset_required = var.password_reset_required

# TODO: Remove once https://github.com/hashicorp/terraform-provider-aws/issues/23567 is resolved
lifecycle {
ignore_changes = [password_reset_required]
}
}

resource "aws_iam_access_key" "this" {
Expand Down

0 comments on commit 358f7d4

Please sign in to comment.