suaws
suaws () { if [ -z "$1" ]; then echo "Possible values: $(aws configure list-profiles)" else export AWS_PROFILE=$1 export PS1='[\u@\h $AWS_PROFILE]\$ ' fi }
Related terms
SHELL, PS1
aws configure list
.bash_profile, .zprofile
whoamiaws
aws-ec2-describe-instances-all-regions
- AWS Organizations
See also
Advertising: