From ac992eff1c43ce3ad6b790f1b8dd22b9b0192ec8 Mon Sep 17 00:00:00 2001 From: Glen Maetzig Date: Tue, 21 Mar 2017 14:58:34 +1300 Subject: [PATCH] Import camel_dict_to_snake_dict method to fix error when executing get_nat_gateways() method (cherry picked from commit 223fc34ab91b3980eebc641cb2649ad58e8bf385) --- lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py index 80d673f0b9..0a30cb78db 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py +++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py @@ -91,7 +91,7 @@ result: import json from ansible.module_utils.basic import AnsibleModule -from ansible.module_utils.ec2 import ec2_argument_spec, get_aws_connection_info, boto3_conn +from ansible.module_utils.ec2 import ec2_argument_spec, get_aws_connection_info, boto3_conn, camel_dict_to_snake_dict from ansible.module_utils.ec2 import ansible_dict_to_boto3_filter_list, HAS_BOTO3 try: