Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
/ ecsgo Public archive
forked from tedsmitt/ecsgo

Provides an interactive prompt to connect to ECS Containers using the ECS ExecuteCommand API.

License

Notifications You must be signed in to change notification settings

valtech-uk/ecsgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ecsgo

Heavily inspired by incredibly useful gossm, this tool makes use of the new ECS ExecuteCommand API to connect to running ECS tasks. It provides an interactive prompt to select your cluster, task and container (if only one container in the task it will default to this), and opens a connection to it.

That's it! Nothing fancy.

⚠️ The ExecuteCommand API is quite new at time of creation and existing Services and Tasks may need to be updated/created with the --enable-execute-command flag via the CLI. Terraform support for this option is now available)

Usage

The tool uses your AWS Config/Environment Variables to run. If you aren't familiar with working on AWS via the CLI, you can read more about how to configure your environment here

Flag Description Default Value
-c Specify the command to be run on the container, defaults to /bin/sh
-r Specify the AWS region to run in N/A

In future releases there will be more flags that will allow you to narrow down the results so you can find your desired task/container quicker.

About

Provides an interactive prompt to connect to ECS Containers using the ECS ExecuteCommand API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%