From 2d51677676fe6b42be95c64acf987a5218891a70 Mon Sep 17 00:00:00 2001 From: Misha Manulis Date: Tue, 24 Jan 2017 10:43:33 -0800 Subject: [PATCH] Update documentation for roles attribute for iam_instance_profile - When creating an `iam_instance_profile` you will receive an error if you have multiple roles defined but have not increased your AWS limit for the number of roles you can assign to an `iam_instance_profile`. - See more on defaults: http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html --- .../docs/providers/aws/r/iam_instance_profile.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/providers/aws/r/iam_instance_profile.html.markdown b/website/source/docs/providers/aws/r/iam_instance_profile.html.markdown index ca78294a3..6e9ae4dbb 100644 --- a/website/source/docs/providers/aws/r/iam_instance_profile.html.markdown +++ b/website/source/docs/providers/aws/r/iam_instance_profile.html.markdown @@ -46,7 +46,7 @@ The following arguments are supported: * `name` - (Optional, Forces new resource) The profile's name. * `name_prefix` - (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts with `name`. * `path` - (Optional, default "/") Path in which to create the profile. -* `roles` - (Required) A list of role names to include in the profile. +* `roles` - (Required) A list of role names to include in the profile. The current default is 1. If you see an error message similar to `Cannot exceed quota for InstanceSessionsPerInstanceProfile: 1`, then you must contact AWS support and ask for a limit increase. ## Attribute Reference @@ -67,4 +67,4 @@ Instance Profiles can be imported using the `name`, e.g. ``` $ terraform import aws_iam_instance_profile.test_profile app-instance-profile-1 -``` \ No newline at end of file +```