This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |