From bcc2e84a4b9f29ff982e693bebbf642e1120e70f Mon Sep 17 00:00:00 2001 From: Peter Janes Date: Wed, 13 Mar 2013 16:51:43 -0400 Subject: [PATCH] Fix reference to parameter group name --- plugins/inventory/ec2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inventory/ec2.py b/plugins/inventory/ec2.py index 3d8a40c5023..34df5dd211c 100755 --- a/plugins/inventory/ec2.py +++ b/plugins/inventory/ec2.py @@ -385,7 +385,7 @@ class Ec2Inventory(object): self.push(self.inventory, self.to_safe("rds_" + instance.engine), dest) # Inventory: Group by parameter group - self.push(self.inventory, self.to_safe("rds_parameter_group_" + instance.parameter_group), dest) + self.push(self.inventory, self.to_safe("rds_parameter_group_" + instance.parameter_group.name), dest) def get_host_info(self):