Skip to content

Commit

Permalink
docs/resource/aws_iam_user: Note force_destroy argument requirement f…
Browse files Browse the repository at this point in the history
…or modifying name/path with aws_iam_policy_attachment

Reference: #5417
  • Loading branch information
bflad committed Jul 9, 2019
1 parent 4bef877 commit a339018
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/r/iam_user.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ description: |-

Provides an IAM user.

~> *NOTE:* If policies are attached to the user via the [`aws_iam_policy_attachment` resource](/docs/providers/aws/r/iam_policy_attachment.html) and you are modifying the user `name` or `path`, the `force_destroy` argument must be set to `true` and applied before attempting the operation otherwise you will encounter a `DeleteConflict` error. The [`aws_iam_user_policy_attachment` resource (recommended)](/docs/providers/aws/r/iam_user_policy_attachment.html) does not have this requirement.

## Example Usage

```hcl
Expand Down

0 comments on commit a339018

Please sign in to comment.