AWSCON
Connect to SSM console of any deployed instance.
Prereqs
Setup your profiles using the aws cli
aws configure --profile PROFILE_NAME
You can also leave out the --profile PROFILE_NAME param to set your default credentials
Refer to this doc for more information https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
This code now has an external dependency on fzf please install it using your preferred package manager.
Setup
pip
pip install awscon
source
git clone git@github.com:sergiopena/awscon.git
cd awscon
python setup.py install
Tests
No test at the moment... SHAME!
How to use?
- An exported env var named AWS_PROFILE is required, as this is the profile that will be used to retrieve running ec2 instances
- Profile must include the region, currently we only support one region.
- Run
awsconit will retrieve your EC2 running instances and display a menu to connect to them.
Contribute
Contributions are more than welcomed!
Distribute
python setup.py sdist bdist_wheel
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
twine upload dist/*
Credits
Inspired by the AWS profile switcher awsp
License
BSD
Release files for awsecs 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| awsecs-0.0.13.macosx-11.4-x86_64.tar.gz | 6.3 kB | Details |
Release files / awsecs-0.0.13.macosx-11.4-x86_64.tar.gz
| Download URL | awsecs-0.0.13.macosx-11.4-x86_64.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3714476e5160aba312c224c39a5fc80d7f249ace83ad9e74f2e309ecd15b8376
|
|
BLAKE2b-256 checksum How to use checksums |
5bca0b578467f6570524b3d8b76700916d89b17c28a66aecec4f1cf218a2743a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.6
|