Fix typo in rds_subnet_group.py
aws_connection_kwargs should be aws_connect_kwargs
This commit is contained in:
parent
0b4fec0a06
commit
cf61778689
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue