From ba8930c83acf1db306ce3dfc50a9de69a235e99f Mon Sep 17 00:00:00 2001 From: Shawn Silva Date: Tue, 22 Sep 2015 10:46:20 -0400 Subject: [PATCH] Fix for modifying the size of an RDS instance. When attempting to modify the size of an RDS instance Ansible succeeds and returns a "changed" status. However, no changes are applied to the RDS instance. Boto is looking for a keyword parameter of "allocated_storage" to update the size, and this parameter wasn't being included. --- cloud/amazon/rds.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cloud/amazon/rds.py b/cloud/amazon/rds.py index d56c4ae12de..d509bdf4fa0 100644 --- a/cloud/amazon/rds.py +++ b/cloud/amazon/rds.py @@ -917,6 +917,7 @@ def validate_parameters(required_vars, valid_vars, module): 'subnet': 'db_subnet_group_name', 'license_model': 'license_model', 'option_group': 'option_group_name', + 'size': 'allocated_storage', 'iops': 'iops', 'new_instance_name': 'new_instance_id', 'apply_immediately': 'apply_immediately',