Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env zsh
# ecs-shell.zsh - Interactive ECS Exec Helper for AWS CLI
#
# Description:
# This script allows you to connect to a running ECS container by interactively selecting:
# 1. An ECS cluster
# 2. A service in that cluster
# 3. A running task from the selected service
# 4. A container (first by default)