in src/aws/autoscaling.ts [62:69]
export async function getASGsByTag(tagKey: string, tagValue: string): Promise<AutoScalingGroup[]> {
return (await retry<DescribeAutoScalingGroupsCommandOutput>(() => awsAutoscaling.describeAutoScalingGroups({
Filters: [
{ "Name": `tag${tagValue ? `:${tagKey}` : "-key"}`, Values: [tagValue || tagKey] }
]
}), `finding ASGs with tag '${tagKey}' equal to ${tagValue}`, 5)
).AutoScalingGroups;
}