{"id":13537629,"url":"https://github.com/mpostument/awstaghelper","last_synced_at":"2025-10-12T14:44:51.143Z","repository":{"id":38992386,"uuid":"264452466","full_name":"mpostument/awstaghelper","owner":"mpostument","description":"AWS bulk tagging tool","archived":false,"fork":false,"pushed_at":"2025-03-01T22:24:20.000Z","size":2090,"stargazers_count":157,"open_issues_count":18,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T19:08:39.151Z","etag":null,"topics":["aws","cloud","cloud-computing","cloud-engineering","costs","devops","devops-tools","ec2","lambda","rds","s3","security","tagging-tool","taggingtools"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpostument.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"patreon":"mpostument"}},"created_at":"2020-05-16T14:15:53.000Z","updated_at":"2025-01-22T03:42:19.000Z","dependencies_parsed_at":"2023-12-30T00:23:38.933Z","dependency_job_id":"f8d9344c-c9a3-4d5e-8fff-83d027ea537d","html_url":"https://github.com/mpostument/awstaghelper","commit_stats":{"total_commits":107,"total_committers":5,"mean_commits":21.4,"dds":0.4018691588785047,"last_synced_commit":"9dc5ec1e57f857012b072e04c2eadf9f1ce8b403"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpostument%2Fawstaghelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpostument%2Fawstaghelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpostument%2Fawstaghelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpostument%2Fawstaghelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpostument","download_url":"https://codeload.github.com/mpostument/awstaghelper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242680,"owners_count":20907134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","cloud","cloud-computing","cloud-engineering","costs","devops","devops-tools","ec2","lambda","rds","s3","security","tagging-tool","taggingtools"],"created_at":"2024-08-01T09:01:01.358Z","updated_at":"2025-10-12T14:44:51.076Z","avatar_url":"https://github.com/mpostument.png","language":"Go","funding_links":["https://patreon.com/mpostument"],"categories":["Go"],"sub_categories":[],"readme":"# AWSTagHelper\n\n## Painless AWS tagging\n\nTags are critical to managing AWS resources at scale. Awstaghelper provides a command line tool to ease adding and managing tags to and from CSV files across the wide range of AWS resources.\n\n## Table of Contents\n\n* [Usage Example](#usage-example)\n* [Installing](#installing)\n* [Getting Started](#getting-started)\n  * [Ec2](#ec2)\n  * [Ec2 SecurityGroup](#ec2sg)\n  * [Rds](#rds)\n  * [Lambda](#lambda)\n  * [S3](#s3)\n  * [ElastiCache](#elasticache)\n  * [Redshift](#redshift)\n  * [ElasticSearch](#elasticsearch)\n  * [CloudWatch Logs](#cloudwatchl-ogs)\n  * [CloudWatch Alarm](#cloudwatchal-arm)\n  * [Config](#config-rule)\n  * [CloudFront Distribution](#cloudfront-distribution)\n  * [ElbV2](#elbv2)\n  * [Kinesis Stream](#kinesis-stream)\n  * [Kinesis Firehose](#kinesis-firehose)\n  * [Iam User](#iam-user)\n  * [Iam Role](#iam-role)\n  * [Elastic Beanstalk](#elastic-beanstalk)\n  * [ECR](#ecr)\n  * [AutoScaling groups](#autoscaling-groups)\n  * [EBS Volumes](#ebs-volumes)\n  * [WAFV2 CloudFront WebACL](#wafv2-cloudfront-webacl)\n  * [WAFV2 Regional WebACL](#wafv2-regional-webacl)\n* [Global parameters](#global-parameters)\n* [Contributing](#contributing)\n* [License](#license)\n\n## Usage example\n\n![Usage](awstaghelper.gif)\n\n## Installing\n\nDownload the latest binary from [releases](https://github.com/mpostument/awstaghelper/releases)\n\n## Getting Started\n\n### Ec2\n\n#### Get ec2 tags\n\nGet list of ec2 with required tags - `awstaghelper ec2 get-ec2-tags`  \nExample:\n `awstaghelper ec2 get-ec2-tags --filename ec2Tag.csv --tags Name,Owner --profile main`\n\n#### Tag ec2\n\nRead csv and tag ec2 - `awstaghelper ec2 tag-ec2`  \nExample:\n `awstaghelper ec2 tag-ec2 --filename ec2Tag.csv --profile main`  \n\n#### Get security group tags\n\nGet list of SGs with required tags - `awstaghelper ec2 get-sg-tags`  \nExample:\n `awstaghelper ec2 get-sg-tags --filename sgTag.csv --tags Name,Owner --profile main`\n\n#### Tag security group\n\nRead csv and tag ec2 - `awstaghelper ec2 tag-sg`  \nExample:\n `awstaghelper ec2 tag-sg --filename sgTag.csv --profile main`  \n\n#### Get snapshot tags\n\nGet list of SGs with required tags - `awstaghelper ec2 get-snapshot-tags`  \nExample:\n`awstaghelper ec2 get-snapshot-tags --filename snapshotTag.csv --tags Name,Owner --profile main`\n\n#### Tag snapshot\n\nRead csv and tag ec2 - `awstaghelper ec2 tag-snapshot`  \nExample:\n`awstaghelper ec2 tag-snapshot --filename snapshotTag.csv --profile main`\n\n### Rds\n\n#### Get rds tags\n\nGet list of rds with required tags - `awstaghelper rds get-rds-tags`  \nExample:\n `awstaghelper rds get-rds-tags --filename rdsTag.csv --tags Name,Owner --profile main`\n\n#### Tag rds\n\nRead csv and tag rds - `awstaghelper rds tag-rds`  \nExample:\n `awstaghelper rds tag-rds --filename rdsTag.csv --profile main`  \n\n### Lambda\n\n#### Get lambda tags\n\nGet list of lambda with required tags - `awstaghelper lambda get-lambda-tags`  \nExample:\n `awstaghelper lambda get-lambda-tags --filename lambdaTag.csv --tags Name,Owner --profile main`\n\n#### Tag lambda\n\nRead csv and tag lambda - `awstaghelper lambda tag-lambda`  \nExample:\n `awstaghelper lambda tag-lambda --filename lambdaTag.csv --profile main`  \n\n### S3\n\n#### Get s3 tags\n\nGet list of s3 with required tags - `awstaghelper s3 get-s3-tags`  \nExample:\n `awstaghelper s3 get-s3-tags --filename s3Tag.csv --tags Name,Owner --profile main`\n\n#### Tag s3\n\nRead csv and tag s3 - `awstaghelper s3 tag-s3`  \nExample:\n `awstaghelper s3 tag-s3 --filename ec2Tag.csv --profile main`  \n\n### Elasticache\n\n#### Get elasticache tags\n\nGet list of s3 with required tags - `awstaghelper elasticache get-elasticache-tags`  \nExample:\n`awstaghelper elasticache get-elasticache-tags --filename elasticacheTag.csv --tags Name,Owner --profile main`\n\n#### Tag elasticache\n\nRead csv and tag s3 - `awstaghelper elasticache tag-elasticache`  \nExample:\n`awstaghelper elasticache tag-elasticache --filename elasticacheTag.csv --profile main`  \n\n### Redshift\n\n#### Get redshift tags\n\nGet list of redshift with required tags - `awstaghelper redshift get-redshift-tags`  \nExample:\n`awstaghelper redshift get-redshift-tags --filename redshiftTag.csv --tags Name,Owner --profile main`\n\n#### Tag redshift\n\nRead csv and tag redshift - `awstaghelper redshift tag-redshift`  \nExample:\n`awstaghelper redshift tag-redshift --filename redshiftTag.csv --profile main`  \n\n### ElasticSearch\n\n#### Get elasticsearch tags\n\nGet list of elasticsearch with required tags - `awstaghelper elasticsearch get-elasticsearch-tags`  \nExample:\n`awstaghelper elasticsearch get-elasticsearch-tags --filename elasticsearchTag.csv --tags Name,Owner --profile main`\n\n#### Tag elasticsearch\n\nRead csv and tag elasticsearch - `awstaghelper elasticsearch tag-elasticsearch`  \nExample:\n`awstaghelper elasticsearch tag-elasticsearch --filename elasticsearchTag.csv --profile main`  \n\n### CloudWatch Logs\n\n#### Get cloudwatch logs tags\n\nGet list of cloudwatch logs with required tags - `awstaghelper cloudwatch get-cwlogs-tags`  \nExample:\n`awstaghelper cloudwatch get-cwlogs-tags --filename cwlTag.csv --tags Name,Owner --profile main`\n\n#### Tag cloudwatch logs\n\nRead csv and tag cloudwatch logs - `awstaghelper cloudwatch tag-cwlogs`  \nExample:\n`awstaghelper cloudwatch tag-cwlogs --filename cwlTag.csv --profile main`  \n\n### CloudWatch Alarm\n\n#### Get cloudwatch alarm tags\n\nGet list of cloudwatch alarms with required tags - `awstaghelper cloudwatch get-cwalarm-tags`  \nExample:\n`awstaghelper cloudwatch get-cwalarm-tags --filename cwaTag.csv --tags Name,Owner --profile main`\n\n#### Tag cloudwatch alarm\n\nRead csv and tag cloudwatch alarm - `awstaghelper cloudwatch tag-cwalarm`  \nExample:\n`awstaghelper cloudwatch tag-cwalarms --filename cwaTag.csv --profile main`  \n\n### Config Rule\n\n#### Get config rule tags\n\nGet list of config rules with required tags - `awstaghelper config get-rule-tags`  \nExample:\n`awstaghelper config get-rule-tags --filename ruleTag.csv --tags Name,Owner --profile main`\n\n#### Tag config rule\n\nRead csv and tag config rules - `awstaghelper config tag-config`  \nExample:\n`awstaghelper config tag-config --filename configTag.csv --profile main`  \n\n### CloudFront distribution\n\n#### Get distribution tags\n\nGet list of distribution with required tags - `awstaghelper cloudfront get-distribution-tags`  \nExample:\n`awstaghelper cloudfront get-distribution-tags --filename distributionTag.csv --tags Name,Owner --profile main`\n\n#### Tag distribution\n\nRead csv and tag distribution - `awstaghelper cloudfront tag-distribution`  \nExample:\n`awstaghelper cloudfront tag-distribution --filename distributionTag.csv --profile main`  \n\n### ElbV2\n\n#### Get ElbV2 tags\n\nGet list of elbv2 (appliction, network loadbalancer) with required tags - `awstaghelper elb get-elbv2-tags`  \nExample:\n`awstaghelper elb get-elbv2-tags --filename elbv2Tag.csv --tags Name,Owner --profile main`\n\n#### Tag ElbV2\n\nRead csv and tag elbv2 (appliction, network loadbalancer) - `awstaghelper elb tag-elbv2`  \nExample:\n`awstaghelper elb tag-elbv2 --filename elbv2Tag.csv --profile main`  \n\n### Kinesis stream\n\n#### Get stream tags\n\nGet list of kinesis with required tags - `awstaghelper kinesis get-stream-tags`  \nExample:\n`awstaghelper kinesis get-stream-tags --filename kinesisTag.csv --tags Name,Owner --profile main`\n\n#### Tag streams\n\nRead csv and tag kinesis - `awstaghelper kinesis tag-stream`  \nExample:\n`awstaghelper kinesis tag-stream --filename kinesisTag.csv --profile main`  \n\n### Kinesis firehose\n\n#### Get firehose tags\n\nGet list of kinesis firehose with required tags - `awstaghelper kinesis get-firehose-tags`  \nExample:\n`awstaghelper kinesis get-firehose-tags --filename firehoseTag.csv --tags Name,Owner --profile main`\n\n#### Tag firehose\n\nRead csv and tag kinesis firehose - `awstaghelper kinesis tag-firehose`  \nExample:\n`awstaghelper kinesis tag-firehose --filename firehoseTag.csv --profile main`  \n\n### Iam User\n\n#### Get user tags\n\nGet list of iam user with required tags - `awstaghelper iam get-user-tags`  \nExample:\n`awstaghelper iam get-user-tags --filename userTag.csv --tags Name,Owner --profile main`\n\n#### Tag user\n\nRead csv and tag iam user - `awstaghelper iam tag-user`  \nExample:\n`awstaghelper iam tag-user --filename userTag.csv --profile main`  \n\n### Iam Role\n\n#### Get role tags\n\nGet list of iam role with required tags - `awstaghelper iam get-role-tags`  \nExample:\n`awstaghelper iam get-role-tags --filename roleTag.csv --tags Name,Owner --profile main`\n\n#### Tag role\n\nRead csv and tag iam role - `awstaghelper iam tag-role`  \nExample:\n`awstaghelper iam tag-role --filename roleTag.csv --profile main`  \n\n### Elastic Beanstalk\n\n#### Get elastic beanstalk tags\n\nGet list of elastic beanstalk environnement with required tags - `awstaghelper eb get-eb-tags`  \nExample:\n`awstaghelper eb get-eb-tags --filename ebTag.csv --tags Name,Owner --profile main`\n\n#### Tag elastic beanstalk environnement\n\nRead csv and tag elastic beanstalk environnement - `awstaghelper eb tag-eb`  \nExample:\n`awstaghelper eb tag-eb --filename ebTag.csv --profile main`  \n\n### ECR\n\n#### Get ecr tags\n\nGet list of ecr with required tags - `awstaghelper ecr get-repository-tags`  \nExample:\n`awstaghelper ecr get-repository-tags --filename ecrTag.csv --tags Name,Owner --profile main`\n\n#### Tag ecr\n\nRead csv and tag ecr - `awstaghelper ecr tag-repository`  \nExample:\n`awstaghelper ecr tag-repository --filename ecrTag.csv --profile main`  \n\n### AutoScaling groups\n\n#### Get ASG tags\n\nGet list of ASGs with required tags - `awstaghelper asg get-asg-tags`\n\nExample:\n`awstaghelper asg get-asg-tags --filename asgTags.csv --tags Name,Owner --profile main`\n\n#### Tag ASGs\n\nRead csv and tag ASGs - `awstaghelper asg tag-asg`\n\nExample:\n`awstaghelper asg tag-asg --filename asgTags.csv --profile main`\n\n### EBS Volumes\n\n#### Get EBS volume tags\n\nGet list of EBS volumes with required tags - `awstaghelper ebs get-ebs-tags`\n\nExample:\n`awstaghelper ebs get-ebs-tags --filename ebsTags.csv --tags Name,Owner --profile main`\n\n#### Tag EBS volumes\n\nRead csv and tag EBS volumes - `awstaghelper ebs tag-ebs`\n\nExample:\n`awstaghelper ebs tag-ebs --filename ebsTags.csv --profile main`\n\n### WAFV2 CloudFront WebACL\n\n#### Get wafv2 cloudfront webacl tags\n\nGet list of wafv2 cloudfront webacl with required tags - `awstaghelper wafv2 get-cfwebacl-tags`\n\nExample:\n`awstaghelper wafv2 get-cfwebacl-tags --filename cfwebaclTags.csv --tags Name,Owner --profile main`\n\n#### Tag wafv2 cloudfront webacl\n\nRead csv and tag wafv2 cloudfront webacl - `awstaghelper wafv2 tag-cfwebacl`\n\nExample:\n`awstaghelper wafv2 tag-cfwebacl --filename cfwebaclTags.csv --profile main`\n\n### WAFV2 Regional WebACL\n\n#### Get wafv2 regional webacl tags\n\nGet list of wafv2 regional webacl with required tags - `awstaghelper wafv2 get-webacl-tags`\n\nExample:\n`awstaghelper wafv2 get-webacl-tags --filename webaclTags.csv --tags Name,Owner --profile main`\n\n#### Tag wafv2 regional webacl\n\nRead csv and tag wafv2 regional webacl - `awstaghelper wafv2 tag-webacl`\n\nExample:\n`awstaghelper wafv2 tag-webacl --filename webaclTags.csv --profile main`\n\n## Global parameters\n\n`filename` - path where to write or read data. Supported by every option. Default `awsTags.csv`  \n`tags` - list of tags to read. Supported only with `get-tags` option. Default `Name,Environment`  \n`region` - aws region to use. Supported by every option. Default `us-east-1`  \n`profile` - aws profile to use. Supported by every option. Default `default`  \n\n## Contributing\n\n1. Fork it\n2. Download your fork to your PC ( `git clone https://github.com/your_username/awstaghelper \u0026\u0026 cd awstaghelper` )\n3. Create your feature branch ( `git checkout -b my-new-feature` )\n4. Make changes and add them ( `git add .` )\n5. Commit your changes ( `git commit -m 'Add some feature'` )\n6. Push to the branch ( `git push origin my-new-feature` )\n7. Create new pull request\n\n## License\n\nAwstaghelper is released under the Apache 2.0 license. See [LICENSE.txt](https://github.com/mpostument/awstaghelper/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpostument%2Fawstaghelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpostument%2Fawstaghelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpostument%2Fawstaghelper/lists"}