awslimitchecker icon indicating copy to clipboard operation
awslimitchecker copied to clipboard

Virtual private gateways limit does not work anymore

Open sean-zou opened this issue 3 years ago • 3 comments

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.

sean-zou avatar Jul 29 '21 08:07 sean-zou

@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.

jantman avatar Aug 04 '21 13:08 jantman

@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 avatar Oct 03 '21 07:10 sean-zou

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

sean-zou avatar Oct 04 '21 07:10 sean-zou