As I work with multiple AWS accounts every day I need to switch between them very often. It's a key issue for me to always be sure on which account I work and execute AWS CLI command. So I wrote a quick bash function that I put in my .bashrc. The function is used in my PS1 prompt and shows current AWS CLI profile (from env variable...
Read More