brennerm / aws-quota-checker

Keep an eye on your AWS quotas before you hit their limits
https://pypi.org/project/aws-quota-checker/
MIT License
86 stars 37 forks source link

ebs_snapshot_count seems high #2

Closed cariaso closed 3 years ago

cariaso commented 3 years ago

I'm seeing EBS Snapshots per region [default/eu-west-1]: 25780/100000 ✓ for an account with only a handful of actual snapshots. Perhaps change

return len(self.boto_session.client('ec2').describe_snapshots()['Snapshots'])

To

return len(self.boto_session.client('ec2').describe_snapshots(OwnerIds=["self"])['Snapshots'])
brennerm commented 3 years ago

Hey @cariaso, thanks for reporting. I was also wondering about this high number but I couldn't find an info whether this limit only applies to self owned snapshots. It's quite likely but if not it would also explain why the limit is so high.

Let me contact AWS support and try to clarify that.

brennerm commented 3 years ago

Verified that only self owned snaphots count towards this quota. Fixed with #16.