Shell scripts to help you manage AWS accounts.
Install speculate:
go install github.com/akerl/speculate/v2@latest
Follow the instructions to install and use aws-cred-setup.
git clone [email protected]:luthersystems/luther-shell-helpers.git
source the helpers in .bashrc
or .zshrc
:
source ~/luther-shell-helpers/all.sh
Add your accounts and their aliases to ~/.aws/accounts
:
(replace with actual IDs).
# ALIAS ACCOUNT
billing <REPLACE>
root <REPLACE>
platform-prod <REPLACE>
platform-test <RPLACE>
Login to your admin role, and jump to admin
in another account:
aws_login admin
aws_jump platform-test admin