Aws-cli: `aws elb describe-load-balancers` does not list `application` type load balancers

Created on 7 Oct 2016  路  8Comments  路  Source: aws/aws-cli

aws elb describe-load-balancers command only lists the classic type load balancers.

Most helpful comment

Found out that there is an aws elbv2 for ALBs

All 8 comments

Found out that there is an aws elbv2 for ALBs

Well I'm glad I found this issue. I couldn't for the life of me figure out why my only load balancer was not showing up.

For anyone who comes after me, the documentation for elbv2 is here: http://docs.aws.amazon.com/cli/latest/reference/elbv2/describe-load-balancers.html

I'm trying to describe load balancers for types "application" and "classic", but it seems that you can only list "classic" using elb, and "application" using elbv2. Is there not a way to retrieve both from elbv2?

Nope. Doesn鈥檛 appear to be possible.

can we list ELB and ALB together?

Adding my +1 to the pile.

We ran into this issue while trying to audit our TLS policy versions; it'd be great to not have two separate endpoints that contain this information.

+1... Its absurd that you have to query two different endpoints, with two different response types, to get all the ELBs.

Wowzers, thanks for this issue! I couldn't figure this out, I was messing with the --no-paginate option etc. Couldn't get it working. Then found this and tried aws elbv2 describe-load-balancers and POW, the missing children have been found!

Was this page helpful?
0 / 5 - 0 ratings