From 7544c59a2316f4b343fff98b861f813220f643ac Mon Sep 17 00:00:00 2001 From: Ryan Brown Date: Fri, 20 Apr 2018 18:31:35 -0400 Subject: [PATCH] Remove `ResponseMetadata` key from aws_caller_facts (#39102) --- lib/ansible/modules/cloud/amazon/aws_caller_facts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/cloud/amazon/aws_caller_facts.py b/lib/ansible/modules/cloud/amazon/aws_caller_facts.py index 4d239c27b9f..e55b9d54f3a 100644 --- a/lib/ansible/modules/cloud/amazon/aws_caller_facts.py +++ b/lib/ansible/modules/cloud/amazon/aws_caller_facts.py @@ -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)