jantman / awslimitchecker

A script and python package to check your AWS service limits and usage via boto3.
http://awslimitchecker.readthedocs.org/
GNU Affero General Public License v3.0
515 stars 189 forks source link

add suport for VPC peering connections per VPC #575

Open kevincox opened 1 year ago

kevincox commented 1 year ago

Feature Request

AWS has a VPC quota for the max active VPC peering connections per VPC (quota code L-7E9ECCDB). It would be great if this could be monitored. Presumably like other per-VPC limits alerts would be based on the maximum value for each region.

Active VPC peering connections per VPC

The maximum number of active VPC peering connections per VPC. This quota can be increased up to a maximum of 125.

kevincox commented 1 year ago

If I am reading the code correctly this shouldn't be too difficult to implement. It would be similar to the other per-VPC checks and would just require listing the active VPC peering connections.

Similar to this code:

https://github.com/jantman/awslimitchecker/blob/411ad9e734ddb16d87720ff5b994f19f47b8b098/awslimitchecker/services/vpc.py#L167-L176