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