Run command to list Instance id of AWS load balancer
aws elb describe-load-balancers --load-balancer-name ELB-Name-here | jq -r '.LoadBalancerDescriptions[].Instances[].InstanceId'
aws elb describe-load-balancers --load-balancer-name ELB-Name-here | jq -r '.LoadBalancerDescriptions[].Instances[].InstanceId'
0 comments:
Post a Comment