Whats the easiest way to display the currently running container images in a ECS service from a command line? Currently I'm using an ugly mix of aws cli and jq:
aws ecs list-services --cluster CLUSTER_NAME | jq -r '.serviceArns | .[] | select(. | contains("SERVICE_NAME"))|split("/")|last' |xargs -I {} aws ecs describe-services --cluster CLUSTER_NAME --services {}|jq -r '.services[0].taskDefinition|split("/")|last'| xargs -I {} aws ecs describe-task-definition --task-definition {}|jq '.taskDefinition.containerDefinitions[0].image'
Surely there must be an easier way?