Currently if I specify --keep-previous 5, the report outputs that all but the previous 1 will be cleaned regardless of the 5.
Also, if query the AMIs to be cleaned by --mapping-key tags --mapping-values somevalue, then it will correctly list the AMIs to be cleaned, but then claim during removal they are excluded due to not having tags, even though they were listed correctly in the first place due to their tags.
This is with Python3 and latest Boto3 and awsamicleaner.
Currently if I specify
--keep-previous 5
, the report outputs that all but the previous 1 will be cleaned regardless of the5
.Also, if query the AMIs to be cleaned by
--mapping-key tags --mapping-values somevalue
, then it will correctly list the AMIs to be cleaned, but then claim during removal they are excluded due to not having tags, even though they were listed correctly in the first place due to their tags.This is with Python3 and latest Boto3 and awsamicleaner.