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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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