Update typo for connection to the get_nat_gateways function

This commit is contained in:
Etherdaemon 2016-08-12 14:31:16 +10:00 committed by Brian Coca
parent e6821b3472
commit b0c49c7141

View file

@ -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))