diff --git a/website/source/docs/providers/aws/r/iam_policy.html.markdown b/website/source/docs/providers/aws/r/iam_policy.html.markdown index 06a168bda..91e786da6 100644 --- a/website/source/docs/providers/aws/r/iam_policy.html.markdown +++ b/website/source/docs/providers/aws/r/iam_policy.html.markdown @@ -56,3 +56,11 @@ The following attributes are exported: * `name` - The name of the policy. * `path` - The path of the policy in IAM. * `policy` - The policy document. + +## Import + +IAM Policies can be imported using the `arn`, e.g. + +``` +$ terraform import aws_iam_policy.administrator arn:aws:iam::123456789012:policy/UsersManageOwnCredentials +``` \ No newline at end of file diff --git a/website/source/docs/providers/aws/r/iam_role.html.markdown b/website/source/docs/providers/aws/r/iam_role.html.markdown index bc7511b16..3ee8cd0a8 100644 --- a/website/source/docs/providers/aws/r/iam_role.html.markdown +++ b/website/source/docs/providers/aws/r/iam_role.html.markdown @@ -50,3 +50,11 @@ The following attributes are exported: * `arn` - The Amazon Resource Name (ARN) specifying the role. * `create_date` - The creation date of the IAM role. * `unique_id` - The stable and unique string identifying the role. + +## Import + +IAM Roles can be imported using the `name`, e.g. + +``` +$ terraform import aws_iam_role.developer developer_name +``` \ No newline at end of file