Merge pull request #955 from Seraf/devel
Fix the issue #931: ec2_asg : can't set desired_capacity to 0
This commit is contained in:
commit
ae253593e3
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ def create_autoscaling_group(connection, module):
|
|||
as_group = as_groups[0]
|
||||
changed = False
|
||||
for attr in ASG_ATTRIBUTES:
|
||||
if module.params.get(attr):
|
||||
if module.params.get(attr, None) is not None:
|
||||
module_attr = module.params.get(attr)
|
||||
if attr == 'vpc_zone_identifier':
|
||||
module_attr = ','.join(module_attr)
|
||||
|
|
Loading…
Reference in a new issue