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

Virtual private gateways limit does not work anymore #552

Open
sean-zou opened this issue Jul 29, 2021 · 3 comments
Open

Virtual private gateways limit does not work anymore #552

sean-zou opened this issue Jul 29, 2021 · 3 comments

Comments

@sean-zou
Copy link

Bug Report

When reporting a bug in awslimitchecker, please provide all of the following information,
as well as any additional details that may be useful in reproducing or fixing
the issue:

Version

awslimitchecker 10.0.0

Installation Method

installed in a virtualenv

Supporting Software Versions

python version 3.8

Actual Output

vpc 'Virtual private gateways' resource usage (0) exceeds warning threshold (limit=5)

Expected Output

The current usage should be around 500, and the limit is 1000.

TrustedAdvisor

Enterprise support

Testing Assistance

I will be able to assist in testing pre-release code for the feature.

@jantman
Copy link
Owner

jantman commented Aug 4, 2021

@sean-zou I'm unable to reproduce any issues with this in my accounts. Could you please also provide:

  1. Try re-running this with the current version (11.1.0 right now, 12.0.0 should be out today) instead of 10.0.0?
  2. What region you're running in?
  3. The output of awslimitchecker -S VPC -vv -u
  4. The output of aws ec2 describe-vpn-gateways

Thanks.

@sean-zou
Copy link
Author

sean-zou commented Oct 3, 2021

@jantman I've tried the steps above and no problem with those.
How ever if I run awslimitchecker -S VPC -vv -l, I see something like this:

VPC/Entries per route table        50.0 (Quotas)
VPC/Internet gateways              65.0 (Quotas)
VPC/NAT Gateways per AZ            5.0 (Quotas)
VPC/Network ACLs per VPC           200.0 (Quotas)
VPC/Network interfaces per Region  1500.0 (Quotas)
VPC/Route tables per VPC           200.0 (Quotas)
VPC/Rules per network ACL          20.0 (Quotas)
VPC/Subnets per VPC                200.0 (Quotas)
VPC/VPCs                           65.0 (Quotas)
VPC/Virtual private gateways       5

Virtual private gateways limit is not getting the current value from Service Quotas. I've created a PR to address that. Please help to review and merge. Thanks!
This is what I see after applying the changes in the PR:

VPC/Entries per route table        50.0 (Quotas)
VPC/Internet gateways              65.0 (Quotas)
VPC/NAT Gateways per AZ            5.0 (Quotas)
VPC/Network ACLs per VPC           200.0 (Quotas)
VPC/Network interfaces per Region  1500.0 (Quotas)
VPC/Route tables per VPC           200.0 (Quotas)
VPC/Rules per network ACL          20.0 (Quotas)
VPC/Subnets per VPC                200.0 (Quotas)
VPC/VPCs                           65.0 (Quotas)
VPC/Virtual private gateways       200.0 (Quotas)

@sean-zou
Copy link
Author

sean-zou commented Oct 4, 2021

@jantman while working on this, I also added another related limit Customer gateways. Here is the PR

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

No branches or pull requests

2 participants