AWSW: AWS Switch

made-with-Go

Link to GitHub project: https://github.com/bharathalleni/awsw

Interactively switch between AWS Profiles

image

Setup

Linux

curl -O https://raw.githubusercontent.com/bharathalleni/awsw/main/_awswitch
curl -O https://raw.githubusercontent.com/bharathalleni/awsw/main/_awsw
chmod +x ./_awsw*
sudo mv ./_awsw* /usr/local/bin/

Add the following line to your .bashrc or .zshrc file

alias awsw="source _awsw" && source _awsw reset

or

echo 'alias awsw="source _awsw" && source _awsw reset' >> ~/.bashrc

Usage

awsw