From 77ca6641cb5cc3ba398b64940eff04a067dbcecd Mon Sep 17 00:00:00 2001 From: RajeevNambiar Date: Sat, 16 Jan 2016 09:13:18 -0500 Subject: [PATCH] Update sts_assume_role.py for showing the correct example syntax role_session_name instead of session_name Update sts_assume_role.py for showing the correct example syntax role_session_name instead of session_name. session_name is not a valid property. --- lib/ansible/modules/extras/cloud/amazon/sts_assume_role.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/cloud/amazon/sts_assume_role.py b/lib/ansible/modules/extras/cloud/amazon/sts_assume_role.py index 7f6afddc06b..7c116470f43 100644 --- a/lib/ansible/modules/extras/cloud/amazon/sts_assume_role.py +++ b/lib/ansible/modules/extras/cloud/amazon/sts_assume_role.py @@ -67,7 +67,7 @@ EXAMPLES = ''' # Assume an existing role (more details: http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html) sts_assume_role: role_arn: "arn:aws:iam::123456789012:role/someRole" - session_name: "someRoleSession" + role_session_name: "someRoleSession" register: assumed_role # Use the assumed role above to tag an instance in account 123456789012