5 lines
233 B
Bash
Executable File
5 lines
233 B
Bash
Executable File
#!/bin/bash
|
|
RESULTS=$(aws elbv2 describe-load-balancers --query 'LoadBalancers[?Type==`application`].LoadBalancerArn' --output text --no-cli-pager | sed 's/\t/\n/g' | sort | xargs)
|
|
jq -n --arg result "$RESULTS" '{"result":$result}'
|
|
|