7 lines
225 B
Bash
7 lines
225 B
Bash
|
#!/bin/bash
|
||
|
# exclude ASG instances
|
||
|
RESULTS=$(aws kafka list-clusters --query ClusterInfoList[*].ClusterName --output text --no-cli-pager | sed 's/\t/\n/g' | sort | xargs)
|
||
|
jq -n --arg result "$RESULTS" '{"result":$result}'
|
||
|
|
||
|
|