lebinh / aq

Query AWS resources with SQL
MIT License
201 stars 17 forks source link

Adding profile region option #2

Closed kubihie closed 8 years ago

kubihie commented 8 years ago

I added --region and --profile command option.

lebinh commented 8 years ago

thanks @kubihie 👍

The initial idea is to let these settings be controlled by user in their boto or AWS CLI settings but this seems good to have too.

kubihie commented 8 years ago

It's exactly as you say. It has been deleted redundant:smile:

ebpitts commented 8 years ago

I have two named profiles configured in my credentials file. To avoid mistakes I do not have a default profile. To use them with the aws cli, I use the --profile option to choose one. I am unable to use aq because it does not let me specify the profile.

lebinh commented 8 years ago

@ebpitts I am merging this so you can try to use aq from master branch for your use case @kubihie sorry for the delay and thank you for this contribution 👍

ebpitts commented 8 years ago

Thanks! I installed from master and it's working.