Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is an example of an AWS Lambda function (index.js) that would identify EC2 instances in the specified regions that are not tagged and will terminate them.

Required IAM Permissions

  • logs:CreateLogGroup
  • logs:CreateLogStream
  • logs:PutLogEvents
  • ec2:DescribeInstances
  • ec2:TerminateInstances

About

A Lambda function that terminates untagged instances.

Resources

Stars

7 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages