Utility for more easily starting a shell on an AWS ECS Container
Project description
awsecsconnect
https://www.notion.so/Start-a-shell-on-any-backend-container-121a349afecb803ebc33ed4d81abd953?pvs=4
Tired of typing a series of aws cli commands to get the arns and container name I need, when trying
to just open up a shell in that container.
Usage: awsecsconnect
Dependencies: This assumes that you have AWS Profile environment variables set up already, and that you can
execute the aws cli using aws.
Notes
- This uses boto3 to get most of the details, but ultimately still depends on having the AWS CLI installed, because the execution of an interactive shell is a whole client unto itself.
- This package is published publicly to PYPI so that it can be conveniently installed with pip. Ultimately, this is not an open source project and not publicly maintained or documented (yet?). I've registered this in pypi under my personal account just to keep SV1 names out of the picture. You don't REALLY need pypi to use this - you can just run it directly from the source - but a global package is very convenient.
Install
The latest tested build is available via pip: pip install --upgrade awsecsconnect.
Build
python -m build will create builds in ./dist/
Publish
Using twine with an api key, publish a new specific to pypi:
twine upload --repository pypi dist/awsecsconnect-0.0.4*
The build number is in the project file, and needs to be updated to create a valid downloadable pypi build.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awsecsconnect-0.0.6.tar.gz.
File metadata
- Download URL: awsecsconnect-0.0.6.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7b4a5e6eb6b6be7e78f1a7f6a137f5eaf20becd6affec8099f5a7a70da58699
|
|
| MD5 |
8565380fe2ca6165db43f48dd3751ac6
|
|
| BLAKE2b-256 |
edfb8773421dd8690215b0ae1d1b56fdf5bdcb772790e34ac872f9dc53678552
|
File details
Details for the file awsecsconnect-0.0.6-py3-none-any.whl.
File metadata
- Download URL: awsecsconnect-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98a0e1a7c9a37bd6a11da271ad85ba30f5be9cd4c733862d5d7b128de31d45b8
|
|
| MD5 |
caf66a6feeb27c110ac67ae76bd9df52
|
|
| BLAKE2b-256 |
b229815fcd32f31ad4ed44ac0455eb0c3453272dd12fd1e32eb0d683ccdcfd55
|