Remove `ResponseMetadata` key from aws_caller_facts (#39102)

pull/4420/head
Ryan Brown 2018-04-20 18:31:35 -04:00 committed by Sloane Hertel
parent d36537513e
commit 7544c59a23
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ def main():
try:
caller_identity = client.get_caller_identity()
caller_identity.pop('ResponseMetadata', None)
module.exit_json(
changed=False,
**camel_dict_to_snake_dict(caller_identity)