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

Cleanup your old unused ami and related snapshots

Results 32 aws-amicleaner issues
Sort by recently updated
recently updated
newest added

Tests are running using actual credentials file. Mocks aren't used or used incorrectly.

I have thousands of AMIs to clean on my AWS account. But because AWS API has some rate limits, I get `botocore.exceptions.ClientError: An error occurred (RequestLimitExceeded) when calling the DeregisterImage...

a cross check over multiple accounts would be great, maybe by allowing to specify multiple profile-names via cli-arg and then looping through those. the region can be static as those...

Hello, First thank you for this useful tool :-) I would like to delete all AMIs with a tag "usage" equals to "test". Currently, as I think I understand the...

amicleaner -f --full-report --keep-previous 2 --mapping-key name --excluded-mapping-values app usage: amicleaner [-h] [-v] [--from-ids FROM_IDS [FROM_IDS ...]] [--full-report] [--mapping-key MAPPING_KEY] [--mapping-values MAPPING_VALUES [MAPPING_VALUES ...]] [--keep-previous KEEP_PREVIOUS] [-f] [--check-orphans] amicleaner: error:...

When running this command- `amicleaner -f --full-report --mapping-key tags --mapping-values Name Branch --keep-previous 2` on CircleCI the result is- ``` Traceback (most recent call last): File "/usr/local/bin/amicleaner", line 7, in...

It would be nice for people trying to figure out the various mappings for their own system if it was possible to see all AMIs, even those that are going...

Allow a user to pass a profile on the CLI instead of solely through env vars or credentials file.

enhancement
help wanted

12:14:42 + AWS_DEFAULT_REGION=eu-central-1 amicleaner --mapping-key tags --mapping-values Application --keep-previous 16 --force-delete --full-report 12:14:44 12:14:44 Default values : ==> 12:14:44 mapping_key : tags 12:14:44 mapping_values : ['Application'] 12:14:44 excluded_mapping_values : []...