{"id":29091696,"url":"https://github.com/eheydrick/ebsautotagger","last_synced_at":"2026-02-26T01:07:17.009Z","repository":{"id":137876025,"uuid":"124134262","full_name":"eheydrick/ebsautotagger","owner":"eheydrick","description":"AWS Lambda function to tag EBS volumes created by autoscaling","archived":false,"fork":false,"pushed_at":"2018-03-07T00:41:44.000Z","size":4,"stargazers_count":18,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-28T06:45:26.332Z","etag":null,"topics":["aws","ebs","ec2","lambda","tags"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eheydrick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null}},"created_at":"2018-03-06T20:27:00.000Z","updated_at":"2024-01-12T03:49:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e88327e-4c0d-4cca-a972-d70dc23a41eb","html_url":"https://github.com/eheydrick/ebsautotagger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eheydrick/ebsautotagger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eheydrick%2Febsautotagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eheydrick%2Febsautotagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eheydrick%2Febsautotagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eheydrick%2Febsautotagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eheydrick","download_url":"https://codeload.github.com/eheydrick/ebsautotagger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eheydrick%2Febsautotagger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266657954,"owners_count":23963602,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","ebs","ec2","lambda","tags"],"created_at":"2025-06-28T06:41:33.168Z","updated_at":"2026-02-26T01:07:11.972Z","avatar_url":"https://github.com/eheydrick.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ebsautotagger\n\nTag EBS volumes created by autoscaling.\n\nCurrently there is no way for EC2 autoscaling to tag EBS volumes when they are\ncreated. The ebsautotagger lambda function will automatically add tags to EBS\nvolumes as autoscaling launches the instances. A [Cloudwatch Events](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/WhatIsCloudWatchEvents.html)\nrule is used to invoke the lambda. It will tag all non-root EBS volume with the\ntags you specify in the lambda function.\n\n## Usage\n\nYou will most certainly need to adjust the lambda function to meet your needs. The\nexample function will add a few sample tags. It looks for an instance tag called\n`service` with a value defined in the environment variable `SERVICE_TAG_VALUE`.\nYou will want to adjust this for your environment or replace it with something that\nmakes more sense for you.\n\nThe `terraform` directory contains terraform code that sets everything up. This\nterraform will do the following:\n\n  1. Deploy lambda function\n  1. Create Cloudwatch Rule that invokes the lambda function when autoscaling\n     launches instances.\n  1. Create all the required IAM permissions\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feheydrick%2Febsautotagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feheydrick%2Febsautotagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feheydrick%2Febsautotagger/lists"}