AWS_PROFILE=example AWS_REGION=ap-northeast-1 aws elb describe-load-balancers \ --profile $AWS_PROFILE \ --region $AWS_REGION \ --output json \ | jq -r '.LoadBalancerDescriptions[] | select(.Instances|length <= 0) | [ .LoadBalancerName, (.Instances|length) ] | @tsv'
PukiWiki 1.5.3 © 2001-2020 PukiWiki Development Team. Powered by PHP 7.4.33. HTML convert time: 0.039 sec.