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