aws-amicleaner icon indicating copy to clipboard operation
aws-amicleaner copied to clipboard

CLI flags result in unexpected behavior

Open mschuchard opened this issue 5 years ago • 0 comments

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.

mschuchard avatar Sep 12 '19 16:09 mschuchard