/aws-daily-tag-report-email

This is a Lambda function that generates a daily tag report for AWS EC2 instances, security groups, EBS volumes, and key pairs, as well as load balancers. The report is sent via email using AWS SNS. The function is implemented in Python and utilizes the boto3 library.

OtherNOASSERTION

Daily Tag Report Email

Slack Shield Repo size Stars Twitter Linkedin

Daily Tag Report

The purpose of this template is to create a set of AWS resources that generate a daily tag report and send it to a specified email address.

Key Components

  • LambdaExecutionRole: An IAM role with permissions to access EC2 and SNS services.
  • DailyTagReportLambda: A Lambda function that generates the tag report.

Parameters

  • EmailAddress: The email address to receive the tag report.

Usage

  1. Open the AWS CloudFormation console.
  2. Create a new stack and upload the stack.yml file.
  3. Enter the desired email address in the EmailAddress parameter.
  4. Click on the "Create stack" button to deploy the resources.
  5. Test the DailyTagReportLambda Function and Enjoy.

Supported Resources

  • EC2
  • Security Group
  • Volume
  • Key Pair
  • Load Balancer

Boto3 Documentation 1.26.63

Note

The AWS region is set to us-east-1 in the template, if you want to deploy in another region you need to modify the template accordingly.

Security

See CONTRIBUTING for more information.

License

This repository is licensed under the Apache License 2.0. See the LICENSE file.