mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
@@ -302,7 +302,7 @@ def find_asgs(conn, module, name=None, tags=None):
|
||||
name_prog = re.compile(r'^' + name)
|
||||
for asg in asgs['AutoScalingGroups']:
|
||||
if name:
|
||||
matched_name = name_prog.search(asg['auto_scaling_group_name'])
|
||||
matched_name = name_prog.search(asg['AutoScalingGroupName'])
|
||||
else:
|
||||
matched_name = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user