diff options
Diffstat (limited to 'heat/engine/resources/aws/autoscaling/autoscaling_group.py')
-rw-r--r-- | heat/engine/resources/aws/autoscaling/autoscaling_group.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/heat/engine/resources/aws/autoscaling/autoscaling_group.py b/heat/engine/resources/aws/autoscaling/autoscaling_group.py index 481cca7cd..189e9fc1f 100644 --- a/heat/engine/resources/aws/autoscaling/autoscaling_group.py +++ b/heat/engine/resources/aws/autoscaling/autoscaling_group.py @@ -186,6 +186,10 @@ class AutoScalingGroup(cooldown.CooldownMixin, instgrp.InstanceGroup): schema=rolling_update_schema) } + def get_size(self): + """Get desired capacity.""" + return self.properties[self.DESIRED_CAPACITY] + def handle_create(self): return self.create_with_template(self.child_template()) |