Skip to main content

Pruning of Elastic Beanstalk versions.

Project description

A CLI tool to prune old versions of Elastic Beanstalk.

Installation

pip install eb-prune

Usage

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.

License

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

Author

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

Project details


Download files

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

Source Distribution

eb-prune-0.3.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

eb_prune-0.3.1-py2.py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page