Fix typo in rds_subnet_group.py

aws_connection_kwargs should be aws_connect_kwargs
pull/18777/head
Kyle Johnson 10 years ago committed by Matt Clay
parent 0b4fec0a06
commit cf61778689

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

Loading…
Cancel
Save