Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI flags result in unexpected behavior #101

Closed
mschuchard opened this issue Sep 12, 2019 · 0 comments
Closed

CLI flags result in unexpected behavior #101

mschuchard opened this issue Sep 12, 2019 · 0 comments

Comments

@mschuchard
Copy link

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 mschuchard changed the title CLI flags being treated oddly CLI flags result in unexpected behavior Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant