1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove ResponseMetadata key from aws_caller_facts (#39102)

This commit is contained in:
Ryan Brown 2018-04-20 18:31:35 -04:00 committed by Sloane Hertel
parent d36537513e
commit 7544c59a23

View file

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