Merge pull request #1508 from RajeevNambiar/devel
Update sts_assume_role.py for showing the correct example syntax role…
This commit is contained in:
commit
33213dbc24
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ EXAMPLES = '''
|
||||||
# Assume an existing role (more details: http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html)
|
# Assume an existing role (more details: http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html)
|
||||||
sts_assume_role:
|
sts_assume_role:
|
||||||
role_arn: "arn:aws:iam::123456789012:role/someRole"
|
role_arn: "arn:aws:iam::123456789012:role/someRole"
|
||||||
session_name: "someRoleSession"
|
role_session_name: "someRoleSession"
|
||||||
register: assumed_role
|
register: assumed_role
|
||||||
|
|
||||||
# Use the assumed role above to tag an instance in account 123456789012
|
# Use the assumed role above to tag an instance in account 123456789012
|
||||||
|
|
Loading…
Reference in a new issue