Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCS: Change aws_iam_user_login_profile's encrypted_password text. #35601

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion website/docs/r/iam_user_login_profile.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,17 @@ This resource supports the following arguments:
* `user` - (Required) The IAM user's name.
* `pgp_key` - (Optional) Either a base-64 encoded PGP public key, or a keybase username in the form `keybase:username`. Only applies on resource creation. Drift detection is not possible with this argument.
* `password_length` - (Optional) The length of the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument. Default value is `20`.
* `password_reset_required` - (Optional) Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation.
* `password_reset_required` - (Optional) Whether the user should be forced to reset the generated password. This is applied all the time! If you want to avoid the situation where you set up a new user, they change their password as required, then the next `terraform apply` causes that user to be destroyed and then created with a new initial password, then, you need to use:

```
lifecycle {
ignore_changes = [
password_reset_required,
]
}
```

Currently waiting on issue [#23567](https://github.com/hashicorp/terraform-provider-aws/issues/23567) to be prioritized which would hope to restore the default behaviour of applying this only on resource creation.

## Attribute Reference

Expand Down
Loading