From 7a3a64ba6788e7ccfa44175feb82c4562e5388a6 Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Tue, 27 Feb 2018 11:54:38 -0500 Subject: [PATCH] Update documentation for #3198 --- website/docs/r/iam_user_policy.html.markdown | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/website/docs/r/iam_user_policy.html.markdown b/website/docs/r/iam_user_policy.html.markdown index 611e65d5228..5551c69ccdd 100644 --- a/website/docs/r/iam_user_policy.html.markdown +++ b/website/docs/r/iam_user_policy.html.markdown @@ -55,4 +55,13 @@ The following arguments are supported: ## Attributes Reference -This resource has no attributes. +* `id` - The user policy ID, in the form of `user_name:user_policy_name`. +* `name` - The name of the policy (always set). + +## Import + +IAM User Policies can be imported using the `user_name:user_policy_name`, e.g. + +``` +$ terraform import aws_iam_user_policy.mypolicy user_of_mypolicy_name:mypolicy_name +```