Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AWS CLI --profile switch as pass-through switch #213

Closed
jimmyraywv opened this issue Sep 29, 2016 · 3 comments
Closed

Support AWS CLI --profile switch as pass-through switch #213

jimmyraywv opened this issue Sep 29, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@jimmyraywv
Copy link

Right now, with version 0.5.1, users cannot use --profile like they can with aws cli commands. I would like to see --profile supported as it is used in aws cli and Cloud Custodian (https://github.com/capitalone/cloud-custodian).

When users try to use --profile now, they are presented the "usage" text.

@jantman
Copy link
Owner

jantman commented Oct 7, 2016

Correct, --profile isn't a supported option. awslimitchecker does not use aws cli, it uses boto3 to interface with the AWS API.

If you wish to use a profile from your ~/.aws/credentials file, you can do so with the AWS_PROFILE environment variable, per the boto credentials documentation.

@jantman jantman modified the milestone: future Oct 18, 2016
@jantman
Copy link
Owner

jantman commented Nov 10, 2016

I just realized that there was an incomplete and untested implementation of this in PR #188. I guess I should try to pick that up and push it across the finish line to close both of these...

@jantman jantman modified the milestones: 0.6.0, future Nov 12, 2016
@jantman jantman mentioned this issue Nov 12, 2016
@jantman jantman self-assigned this Nov 12, 2016
@jantman
Copy link
Owner

jantman commented Nov 12, 2016

This has been released in 0.6.0 and is now live on PyPI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants