From 23eb4f2093855d3a9615bfaf119c20fee7a561f9 Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Fri, 24 Aug 2018 10:26:37 -0400 Subject: [PATCH] ec2: add "IAM Role" to instance_profile_name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The AWS API and console docs are inconsistent about whether EC2 instances have IAM profiles or roles. Things which follow the API tend to use profile but the console uses “IAM Role”. This adds that term to the help text so it's searchable. +label: docsite_pr --- lib/ansible/modules/cloud/amazon/ec2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2.py b/lib/ansible/modules/cloud/amazon/ec2.py index 519df27ac7b..ceb28f0dde4 100644 --- a/lib/ansible/modules/cloud/amazon/ec2.py +++ b/lib/ansible/modules/cloud/amazon/ec2.py @@ -141,7 +141,7 @@ options: instance_profile_name: version_added: "1.3" description: - - Name of the IAM instance profile to use. Boto library must be 2.5.0+ + - Name of the IAM instance profile (i.e. what the EC2 console refers to as an "IAM Role") to use. Boto library must be 2.5.0+ instance_ids: version_added: "1.3" description: