A bulk management tool for the tags of AWS resources
Project description
AWS-Tag-Tools
A bulk management tool for the tags of AWS resources
- Support multiple services/resources
- Faster operations using multiple processes
Usage
Install
pip install -U aws-tag-tools
Command
# tag resources use tag 'tag-key':'tag-value', ignore if 'tag-key' is existed in resource tags
awstt --key tag-key --value tag-value
# tag resources use tag 'tag-key':'tag-value', overwrite the tag value with 'tag-value' if 'tag-key' is existed
awstt --key tag-key --value tag-value --overwrite
# tag resources in regions 'us-east-1' and 'us-west-1'
awstt --key tag-key --value tag-value --regions us-east-1,us-west-1
# use credentials profile 'tagger' to execute
awstt --key tag-key --value tag-value --profile tagger
# tag resources in AWS China Regions ('aws-cn')
awstt --key tag-key --value tag-value --partition aws-cn
# list all supported resources
awstt --list-services
# show help
awstt --help
Options
option | description |
---|---|
-h, --help | show this help message and exit |
--key KEY | the key of tag will be tagged to resources |
--value VALUE | the value of tag will be tagged to resources |
--overwrite | whether to overwrite exists tag when key is existed default to False |
--regions REGIONS | the AWS regions to execute actions will auto detect if not set |
--profile PROFILE | the name of AWS credentials profile to use |
--partition {aws,aws-cn,aws-us-gov} | the partition to execute actions default to 'aws' |
--list-services | list all supported services by this tool and exit |
[!NOTE] use
awstt --help
to get more details
TODO
- [] Support for Untagging Resources
- [] Deploying to Lambda with CloudFormation
- [] Tag or untag resources with specified type(s)
- [] Tag or untag resources with specified ARN(s)
License
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
aws_tag_tools-0.1.1.tar.gz
(18.2 kB
view hashes)
Built Distribution
Close
Hashes for aws_tag_tools-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c17b450c9b0d24fb8834456d520728030eb0bafcc654a4f9247383b8e2a3975 |
|
MD5 | 3c2d2f7f3ee9cffb339746612f9866a2 |
|
BLAKE2b-256 | 045039a84ee05529bc22e95df61447cf3baa467f8252a88ab10b42244c4124a9 |