Issue #2141 Adding owner-id to the filter for Snapshot (#2142)

* Adding owner-id to the filter for Snapshot
This commit is contained in:
Jeffery Smith 2019-05-25 05:34:59 -04:00 committed by Terry Cain
commit 4a99dcddb2
2 changed files with 7 additions and 0 deletions

View file

@ -1881,6 +1881,8 @@ class Snapshot(TaggedEC2Resource):
return str(self.encrypted).lower()
elif filter_name == 'status':
return self.status
elif filter_name == 'owner-id':
return self.owner_id
else:
return super(Snapshot, self).get_filter_value(
filter_name, 'DescribeSnapshots')