Skip to content

Commit 2599886

Browse files
authored
Merge pull request #16 from brennerm/fix-ebs-snapshot-count
fix high number of EBS snapshots
2 parents 8acae8b + 15170d0 commit 2599886

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## Unreleased
9+
10+
### Fixed
11+
12+
- fix wrong number of EBS snapshots
13+
814
## [1.5.0] - 2021-04-19
915

1016
### Added

aws_quota/check/ebs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ class SnapshotCountCheck(QuotaCheck):
1010

1111
@property
1212
def current(self):
13-
return len(self.boto_session.client('ec2').describe_snapshots()['Snapshots'])
13+
return len(self.boto_session.client('ec2').describe_snapshots(OwnerIds=['self'])['Snapshots'])

0 commit comments

Comments
 (0)