ec2audit
Dump all EC2 information to a folder suitable for version control
ec2audit can output either to stdout or to a directory, and can output in json and yaml formats. Identical data should produce identical output (suitable for diff-ing).
Types
Currently ec2audit can dump:
instances
security groups
volumes.
Usage
The most basic usage is:
ec2audit <region>
However the recommended usage is to output to a directory with one item per file.
ec2audit <region> -o <output_dir>
This will create instances, security_groups, and volumes folders under the <output_dir> directory, with each instance, security group and volume represented in its own file.
You can change the output format using -f json or -f yaml. For convenience you can also do -fj or -fy.
For reference, the complete usage information is represented below:
Usage: ec2audit [options] <region> ec2audit -h | --help ec2audit -v | --version Options: -h --help Show this screen. -v --version Show the version. -o --output=OUTPUT The output directory, stdout otherwise -f --format=FORMAT The output format: json or yaml [default: yaml] -I --access-key-id=ACCESS_KEY_ID AWS access key to use (default: $AWS_ACCESS_KEY_ID)[. -S --secret-key=SECRET_KEY AWS secret key to use (default: $AWS_SECRET_ACCESS_KEY). -K --secret-key-file=SECRET_KEY_FILE File containing AWS secret key to use.
Metadata
Release files for ec2audit 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ec2audit-0.2.0.tar.gz | 4.7 kB | Without provenance | Details for ec2audit-0.2.0.tar.gz |
Release files / ec2audit-0.2.0.tar.gz
| Download URL | ec2audit-0.2.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21982b63658a504fe63daa432f62cf7b6f676cee014afc1b54d8f73a696a334f
|
|
BLAKE2b-256 checksum How to use checksums |
a7b99e3b5c0ab389f9e7d421bd1d5a0777910e17781e56315554749c482b5679
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ec2audit 0.2.0
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.