bash-my-aws / bash-my-aws

Bash-my-AWS provides simple but powerful CLI commands for managing AWS resources

Home Page:https://bash-my-aws.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to specify AWS profile?

maspotts opened this issue · comments

This looks awesome, but I need to be able specify which profile I want (I manage several): it is possible? ie. I would manually run aws commands with "aws --profile foo" but how do I tell bash-my-aws to use profile foo? Apologies if this is a stupid question!

Apologies for answering my own question: looks like I can just set AWS_PROFILE in my environment and it all just works.