4 lines
219 B
Bash
4 lines
219 B
Bash
|
#!/bin/bash
|
||
|
RESULTS=$( aws elasticache describe-cache-clusters --query 'CacheClusters[*].CacheClusterId' --output text --no-cli-pager | sed 's/\t/\n/g' | sort | xargs)
|
||
|
jq -n --arg result "$RESULTS" '{"result":$result}'
|