parent
f48791e8bc
commit
961c076e72
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ def find_asgs(conn, module, name=None, tags=None):
|
||||||
name_prog = re.compile(r'^' + name)
|
name_prog = re.compile(r'^' + name)
|
||||||
for asg in asgs['AutoScalingGroups']:
|
for asg in asgs['AutoScalingGroups']:
|
||||||
if name:
|
if name:
|
||||||
matched_name = name_prog.search(asg['auto_scaling_group_name'])
|
matched_name = name_prog.search(asg['AutoScalingGroupName'])
|
||||||
else:
|
else:
|
||||||
matched_name = True
|
matched_name = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue