aws elb describe-load-balancers
command only lists the classic type load balancers.
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!
Most helpful comment
Found out that there is an
aws elbv2
for ALBs