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

Multiple AWS accounts in .credentials #108

Closed
cu12 opened this issue Dec 15, 2015 · 4 comments
Closed

Multiple AWS accounts in .credentials #108

cu12 opened this issue Dec 15, 2015 · 4 comments
Labels

Comments

@cu12
Copy link

cu12 commented Dec 15, 2015

This seems to be unsupported at the moment, as I see, the tool only checks for the [default] entry and does not use the region= entry neither, see:

✗ awslimitchecker -W 20
awslimitchecker 0.2.2@c9cf054 is AGPL-licensed free software; all users have a right to the full source code of this version. See <https://github.com/jantman/awslimitchecker.git>
✗ awslimitchecker -r <region> -W 20
awslimitchecker 0.2.2@c9cf054 is AGPL-licensed free software; all users have a right to the full source code of this version. See <https://github.com/jantman/awslimitchecker.git>
AutoScaling/Auto Scaling groups                        (limit 20) WARNING: 6
EC2/Elastic IP addresses (EIPs)                        (limit 15) WARNING: 7
EC2/Running On-Demand c3.large instances               (limit 20) WARNING: 4
EC2/VPC security groups per elastic network interface  (limit 5) WARNING: <redacted>
ElastiCache/Parameter Groups                           (limit 20) WARNING: 4
RDS/DB snapshots per user                              (limit 50) WARNING: 13
VPC/Internet gateways                                  (limit 5) WARNING: 2
VPC/Rules per network ACL                              (limit 20) WARNING: <redacted>
VPC/VPCs                                               (limit 5) WARNING: 2
@jantman
Copy link
Owner

jantman commented Dec 15, 2015

I'm not entirely sure what .credentials is - are you referring to .aws/credentials?

Documentation on credentials is available at https://awslimitchecker.readthedocs.org/en/latest/getting_started.html#credentials but generally, it supports anything used by boto.

To specify a .aws/credentials section other than default, set the AWS_PROFILE environment variable to the name of the section. I have not tested region handling in the config file; the expected use is to set a region with the -r REGION_NAME argument to awslimitchecker.

Has this answered your question? Is there something else that I've missed?

PS - if you post code snippets/command line output, please run with -vv for debug-level output.

Thanks,
Jason

@jantman
Copy link
Owner

jantman commented Dec 16, 2015

@cu12 when you have a chance, please confirm my understanding of your issue is correct. I'm going to hold off on cutting a release for #107 until I'm clear on whether this issue just needs better documentation, or needs a code fix.

@cu12
Copy link
Author

cu12 commented Dec 16, 2015

@jantman Thanks that answers my question, thanks for the quick reply 👍

@jantman
Copy link
Owner

jantman commented Dec 16, 2015

Ok, thanks!

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