Skip to main content

eb-prune

https://git.shore.co.il/nimrod/eb-prune/badges/master/pipeline.svg

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).

Testing

Various linters are configured with pre-commit. Those are run in CI in GitLab. To run locally, install pre-commit and run it.

Release

Update the version in VERSION, commit, tag and push. GitLab will do the rest.

Author

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

Metadata

Release files for eb-prune 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for eb-prune 0.4.3
File Interpreter ABI Platform
eb_prune-0.4.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / eb_prune-0.4.3-py2.py3-none-any.whl

Download URL eb_prune-0.4.3-py2.py3-none-any.whl
Size 4.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8331444d1f2bc924418dff1eacdd2abc15c8cf7dab33b29d9fbc77eec5b7ab9f
BLAKE2b-256 checksum
How to use checksums
8080adfc4af14703b86bb25d5e0282b57e3c8c151c9481dacabfdb55d56a4027
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.12

Release history Release notifications | RSS feed

This release

0.4.3 This release

1 release file

0.4.2

1 release file

0.3.1

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page