From 57a6a98cd92b9f7df5668f7275d513159d1b9f00 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. --- cloud/amazon/sts_assume_role.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/sts_assume_role.py b/cloud/amazon/sts_assume_role.py index b5f2c810351..a3fab12137e 100644 --- a/cloud/amazon/sts_assume_role.py +++ b/cloud/amazon/sts_assume_role.py @@ -69,7 +69,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