Merge pull request #1989 from jrbeilke/bugfix-ec2_ami_is-public

Bugfix for filtering EC2 AMIs with is-public (values should be lowercase)
This commit is contained in:
Steve Pulec 2018-12-28 21:22:28 -05:00 committed by GitHub
commit 93f68090e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1115,7 +1115,7 @@ class Ami(TaggedEC2Resource):
elif filter_name == 'image-id':
return self.id
elif filter_name == 'is-public':
return str(self.is_public)
return self.is_public_string
elif filter_name == 'state':
return self.state
elif filter_name == 'name':