eb-prune
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.
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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eb_prune-0.4.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for eb_prune-0.4.3-py2.py3-none-any.whl |
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
|
Security for eb-prune 0.4.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.