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:
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