1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

vpc_zone_identifier must be a csv string when an asg is updated.

This commit is contained in:
James Martin 2015-01-06 14:04:03 -05:00 committed by Matt Clay
parent 9eb77bdb4f
commit 07dbc333b2

View file

@ -326,6 +326,8 @@ def create_autoscaling_group(connection, module):
for attr in ASG_ATTRIBUTES:
if module.params.get(attr):
module_attr = module.params.get(attr)
if attr == 'vpc_zone_identifier':
module_attr = ','.join(module_attr)
group_attr = getattr(as_group, attr)
# we do this because AWS and the module may return the same list
# sorted differently