diff --git a/modules/iam-user/main.tf b/modules/iam-user/main.tf index 1ebe8f82..792de767 100644 --- a/modules/iam-user/main.tf +++ b/modules/iam-user/main.tf @@ -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" {