Add meaningful tags to your AWS Elastic Network Interfaces
Project description
AWS ENI Tagger
This CLI tool adds meaningful tags to your AWS Elastic Network Interfaces (ENIs) based on information obtained from aws-eni-idetifier.
Before:
After:
Installation
pip install aws-eni-tagger
Usage
aws-eni-tagger --profile my-aws-profile
Arguments:
The CLI takes the following arguments:
-
--profile: AWS profile name. Required.
-
--owner-service-tag-name: Key for tag with information about the ENI owner service. Default is 'OwnerService'.
-
--owner-service-name-tag-name: Key for tag with information about the ENI owner service name. Default is 'OwnerServiceName'.
-
--overwrite: If set, the tags with the keys with name specified above/config will be overwritten. Default is False.
For example:
aws-eni-tagger --profile my_aws_profile --overwrite
This will run the aws-eni-tagger with the specified AWS profile and will overwrite existing tags.
Developing
Install the package:
poetry install
Run tests:
poetry run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aws_eni_tagger-0.1.1.tar.gz
.
File metadata
- Download URL: aws_eni_tagger-0.1.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.9.16 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 400d6645b115ff2e71102ecdd51b172453505463cf9caed9ddcc777311e6fa8c |
|
MD5 | d53f3526205fa037f5d8b4ce759c684d |
|
BLAKE2b-256 | def081a15479987a8dd63af096de326ab6eb3bd8e26057e0bd3f825ebad1046d |
File details
Details for the file aws_eni_tagger-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: aws_eni_tagger-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.9.16 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b9110b6cb1ef5e6a29f2eeeb57ba3d6c3a11b9b61f260b43b07923acb20f91b |
|
MD5 | 9b6aa6a64a62a61a7845770dd2a43d52 |
|
BLAKE2b-256 | f4ba4b1e10f0203a6afa7c7a757c8466d6a23b6d346ee827642f17bba6e6a185 |