Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

lambda function for aws that checks securyt groups from time to time and notifies if any changes are found

Notifications You must be signed in to change notification settings

alex-egorov/aws_lambda_sg_alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Security Groups Alert for AWS

lambda function for aws that checks securyt groups from time to time and notifies if any changes are found. It uses S3 Bucket to keep previous state information

Install

  1. Install package DeepDiff into ./lambda folder
pip install -r requirements.txt -t ./lambda
  1. Install terraform

  2. Create terraform.tfvars file with following variables:

regions      = "us-west-2, us-east-1"
bucket_name  = "yourbuckername"
mail_to      = "[email protected]"
mail_from    = "[email protected]"

Script uses SES service to send emails, so mail address should be validated.

or define them in terraform in any other way

  1. Provide AWS credentials for terraform (see details here)

  2. Run

terraform apply

About

lambda function for aws that checks securyt groups from time to time and notifies if any changes are found

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published