Update typo for connection to the get_nat_gateways function
parent
e6821b3472
commit
b0c49c7141
|
@ -145,7 +145,7 @@ def main():
|
||||||
except botocore.exceptions.NoCredentialsError, e:
|
except botocore.exceptions.NoCredentialsError, e:
|
||||||
module.fail_json(msg=str(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))
|
module.exit_json(result=camel_dict_to_snake_dict(results))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue