From b0c49c7141c8d7f259fd8f50c6c02daf4119366d Mon Sep 17 00:00:00 2001 From: Etherdaemon Date: Fri, 12 Aug 2016 14:31:16 +1000 Subject: [PATCH] Update typo for connection to the get_nat_gateways function --- 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 7151fb23c0..3901d5555e 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 @@ -145,7 +145,7 @@ def main(): except botocore.exceptions.NoCredentialsError, e: module.fail_json(msg=str(e)) - results = get_nat_gateways(ec2, module) + results = get_nat_gateways(connection, module) module.exit_json(result=camel_dict_to_snake_dict(results))