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
Hashes for aws_eni_tagger-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b9110b6cb1ef5e6a29f2eeeb57ba3d6c3a11b9b61f260b43b07923acb20f91b |
|
MD5 | 9b6aa6a64a62a61a7845770dd2a43d52 |
|
BLAKE2b-256 | f4ba4b1e10f0203a6afa7c7a757c8466d6a23b6d346ee827642f17bba6e6a185 |