Skip to content

A lambda function to auto-destroy resources in applicable workspaces on Terraform Cloud

License

Notifications You must be signed in to change notification settings

inframarauder/tf-cloud-destroy-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tf-cloud-destoy-lambda

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

  • searches for all workspaces with the tag auto-destroy in the organization
  • checks if the workspace has any resources
  • triggers a destroy run if the workspace has resources

About

A lambda function to auto-destroy resources in applicable workspaces on Terraform Cloud

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages