From cf617786897fc349beebb5066da65558cab4f102 Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Mon, 6 Apr 2015 10:00:17 -0400 Subject: [PATCH] Fix typo in rds_subnet_group.py aws_connection_kwargs should be aws_connect_kwargs --- lib/ansible/modules/cloud/amazon/rds_subnet_group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/rds_subnet_group.py b/lib/ansible/modules/cloud/amazon/rds_subnet_group.py index 59d051b4333..9d8cd786218 100644 --- a/lib/ansible/modules/cloud/amazon/rds_subnet_group.py +++ b/lib/ansible/modules/cloud/amazon/rds_subnet_group.py @@ -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.")) 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: module.fail_json(msg = e.error_message)