3 lines
202 B
Bash
Executable File
3 lines
202 B
Bash
Executable File
#!/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}' |