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
514 stars 188 forks source link

EIPs quota names changed by AWS #527

Closed sean-zou closed 3 years ago

sean-zou commented 3 years ago

Bug Report

According to AWS support: The below changes were made to Quota Names: Quota Code: L-0263D0A3 Old Quota Name: Number of EIPs - VPC EIPs New Quota Name: EC2-VPC Elastic IPs

Quota Code: L-CEED54BB Old Quota Name: Elastic IP addresses for EC2-Classic New Quota Name: EC2-Classic Elastic IPs

Quota Name and Description are subject to change, QuotaCode is the one that would remain constant with other changes to quota properties.

Suggested fix

I'd suggest to add a property called quota_code in limit.py and remove all hardcoded quota names in ec2.py

Version

10.0.0

jantman commented 3 years ago

A fix for this has been released in 12.0.0, which is now live on PyPI and Docker Hub. Thank you so much!