Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Amazon Web Services
  3. auto-tag

auto-tag

GPL-3.0JavaScript0.5.10

Automatically tags AWS resources on creation with creator ARN, creation time, and invoked service for cost allocation and governance.

GitHubGitHub
456 stars162 forks0 contributors

What is auto-tag?

AutoTag is an open-source solution that automatically applies tags to AWS resources immediately upon creation. It uses CloudTrail events delivered via CloudWatch Events to trigger a Lambda function, which tags the resource with metadata like the creator's ARN, creation timestamp, and the invoking AWS service. This enables better cost allocation, governance, and resource management across AWS environments.

Target Audience

AWS administrators, cloud engineers, and DevOps teams responsible for managing multi-account AWS environments who need automated resource tagging for cost tracking and compliance.

Value Proposition

Developers choose AutoTag for its lightweight, AWS-native architecture that integrates seamlessly with CloudTrail and Lambda, offering cost-efficient operation through event filtering and flexible custom tagging via JSON-based variable substitution from CloudTrail events.

Overview

Automatically tag AWS resources on creation, for cost assignment

Use Cases

Best For

  • Automatically tagging AWS resources (like EC2, S3, RDS) with creator ARN and creation timestamp for cost allocation.
  • Implementing governance policies by applying consistent tags across all supported AWS resource types upon creation.
  • Deploying tagging solutions across multiple AWS regions using provided scripts or CloudFormation StackSets.
  • Reducing operational costs by using CloudWatch Event rules with pattern filtering to minimize Lambda invocations.
  • Enforcing tag protection with IAM policies to deny users from modifying or deleting AutoTag-prefixed tags.
  • Extracting custom tags from CloudTrail events using JSON-based variable substitution for flexible tagging policies.

Not Ideal For

  • Organizations that have already standardized tagging through Infrastructure as Code tools like Terraform or AWS CDK
  • Environments where CloudTrail is not enabled or cannot be used due to compliance or cost constraints
  • Projects requiring immediate, pre-creation tagging for AWS services not listed in the supported resource types table

Pros & Cons

Pros

Event-Driven Automation

Leverages CloudTrail events via CloudWatch to trigger tagging immediately upon resource creation, ensuring automatic application without manual intervention for supported AWS services.

Flexible Custom Tagging

Supports JSON-based variable substitution to extract values from CloudTrail events, allowing tags like creator ARN, timestamps, and custom metadata from event fields.

Multi-Region Deployment

Facilitates deployment across all active AWS regions using provided scripts or CloudFormation StackSets, enabling consistent tagging in global AWS environments.

Cost-Efficient Architecture

Uses CloudWatch Event rules with pattern filtering to minimize Lambda invocations, reducing operational costs compared to continuous polling solutions.

Cons

Incomplete Resource Coverage

The supported resource types table shows gaps, with services like Data Pipeline and DynamoDB lacking IAM deny tag support, and some entries marked as untested or unknown, limiting comprehensive governance.

CloudTrail Dependency

Relies entirely on CloudTrail events; if CloudTrail is disabled, misconfigured, or experiences latency, tagging fails or is delayed, impacting real-time cost allocation and compliance.

Complex Multi-Account Setup

Deployment scripts require meticulous IAM policy configuration and cross-account S3 bucket management, which can be error-prone and time-consuming for teams without deep AWS expertise.

Frequently Asked Questions

Quick Stats

Stars456
Forks162
Contributors0
Open Issues24
Last commit2 years ago
CreatedSince 2015

Tags

#cloudtrail#autotag#lambda#infrastructure-as-code#governance#aws#cloudformation#automation#cloud-cost-management

Built With

B
Bash
A
AWS S3
A
AWS IAM
N
Node.js
A
AWS CloudFormation
A
AWS Lambda

Included in

Amazon Web Services14.0k
Auto-fetched 13 hours ago

Related Projects

traildashtraildash

AWS CloudTrail Dashboard

Stars357
Forks50
Last commit9 years ago
aws-cloudtrail-processing-libraryaws-cloudtrail-processing-library

The AWS CloudTrail Processing Library helps Java developers to easily consume and process log files from AWS CloudTrail.

Stars96
Forks32
Last commit8 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub