mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
Fixed asg instance count polling
This commit is contained in:
parent
426a827b46
commit
e0a4c389f3
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ def delete_autoscaling_group(connection, module):
|
||||||
|
|
||||||
instances = True
|
instances = True
|
||||||
while instances:
|
while instances:
|
||||||
connection.get_all_groups()
|
groups = connection.get_all_groups()
|
||||||
for group in groups:
|
for group in groups:
|
||||||
if group.name == group_name:
|
if group.name == group_name:
|
||||||
if not group.instances:
|
if not group.instances:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue