Skip to main content

Add meaningful tags to your AWS Elastic Network Interfaces

Project description

FivexL

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:

before.png

After:

after.png

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_eni_tagger-0.1.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

aws_eni_tagger-0.1.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

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

Hashes for aws_eni_tagger-0.1.1.tar.gz
Algorithm Hash digest
SHA256 400d6645b115ff2e71102ecdd51b172453505463cf9caed9ddcc777311e6fa8c
MD5 d53f3526205fa037f5d8b4ce759c684d
BLAKE2b-256 def081a15479987a8dd63af096de326ab6eb3bd8e26057e0bd3f825ebad1046d

See more details on using hashes here.

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

Hashes for aws_eni_tagger-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b9110b6cb1ef5e6a29f2eeeb57ba3d6c3a11b9b61f260b43b07923acb20f91b
MD5 9b6aa6a64a62a61a7845770dd2a43d52
BLAKE2b-256 f4ba4b1e10f0203a6afa7c7a757c8466d6a23b6d346ee827642f17bba6e6a185

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page