Skip to content

These are a collection of AWS Lambda functions that automate various infrastructure tasks in my personal projects/experiments.

License

Notifications You must be signed in to change notification settings

inframarauder/infra-automation-lambdas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infra-automation-lambdas

These are a collection of AWS Lambda functions that automate various infrastructure tasks in my personal projects/experiments. The functions are deployed using AWS SAM. The functions are described below:

terraform-cloud-apply

This is an AWS Lambda function that will trigger an apply run on Terraform Cloud. It is deployed as a cron job and runs everyday at 5.00AM IST.

- searches for all workspaces with the tag `auto-apply` in the organization
- checks if the workspace has any resources
- triggers an apply run if the workspace has resources

aws-cleanup

This is an AWS Lambda function that will clean up unused resources in the AWS account using boto3. It is deployed as a cron job and runs everyday at 6.00AM IST. Works on resources tagged with `auto-destroy` tag set to `true`. The function will check for the following resources:
- EC2 instances
- EBS volumes
- EKS clusters
- ECS clusters

About

These are a collection of AWS Lambda functions that automate various infrastructure tasks in my personal projects/experiments.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages