AWS is case-sensitive when using is-public to filter for AMIs and expects lower-case values
This commit is contained in:
parent
9cdc4d45f5
commit
a744adbcc5
2 changed files with 3 additions and 3 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue