This message was deleted.
# general
s
This message was deleted.
f
I'm trying to use existing ASGs, basically something like this
Copy code
const autoscalingGroups = aws.autoscaling.getGroups({
      filters: [
          {
              name: `tag:<http://kubernetes.io/cluster/${environment}|kubernetes.io/cluster/${environment}>`,
              values: ["owned"],
          },
          {
              name: "tag:Name",
              values: [`${environment}-k8s-worker*`],
          },
      ]
});
expecting it to work similar to
aws.ec2.getSubnets
, etc
ah, looks like its
aws.getAutoscalingGroups
- that's kinda confusing
i expected it to be under
aws.autoscaling
or
aws.ec2
s
@fancy-magazine-29876 not sure I disagree there!
I’ll see about moving it into the auto scaling package
f
thanks!