3 lines
202 B
Bash
3 lines
202 B
Bash
|
#!/bin/bash
|
||
|
RESULTS=$(aws ec2 describe-nat-gateways --query 'NatGateways[].NatGatewayId' --output text --no-cli-pager | sed 's/\t/\n/g' | sort | xargs)
|
||
|
jq -n --arg result "$RESULTS" '{"result":$result}'
|