Skip to main content

Pruning of Elastic Beanstalk versions.

Project description

A CLI tool to prune old versions of Elastic Beanstalk.


pip install eb-prune


To keep the last 100 versions available, simply run eb-prune 100. The tool relies on the usual AWS CLI configuration as described here, specifically on access key id, secret access key and region.

$ eb-prune --help
usage: eb-prune [-h] [-d] versions_to_keep

positional arguments:
  versions_to_keep  The number of versions to keep.

  optional arguments:
    -h, --help        show this help message and exit
    -d, --dry-run     Dry run, do not delete versions.


This software is licnesed under the MIT licese (see the LICENSE.txt file).


Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for eb-prune, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size eb_prune-0.3.1-py2.py3-none-any.whl (4.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size eb-prune-0.3.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page