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

Fix typo in rds_subnet_group.py

aws_connection_kwargs should be aws_connect_kwargs
This commit is contained in:
Kyle Johnson 2015-04-06 10:00:17 -04:00 committed by Matt Clay
parent 0b4fec0a06
commit cf61778689

View file

@ -116,7 +116,7 @@ def main():
module.fail_json(msg = str("Either region or AWS_REGION or EC2_REGION environment variable or boto config aws_region or ec2_region must be set.")) module.fail_json(msg = str("Either region or AWS_REGION or EC2_REGION environment variable or boto config aws_region or ec2_region must be set."))
try: try:
conn = boto.rds.connect_to_region(region, **aws_connection_kwargs) conn = boto.rds.connect_to_region(region, **aws_connect_kwargs)
except boto.exception.BotoServerError, e: except boto.exception.BotoServerError, e:
module.fail_json(msg = e.error_message) module.fail_json(msg = e.error_message)