Skip to content

Backup aws route53 hosted zones and health checks to s3 bucket

License

Notifications You must be signed in to change notification settings

AcroMedia/terraform-route53-backups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-route53-backups

Backup aws route53 hosted zones and health checks to s3 bucket.

The module does the following

  • Creates an s3 bucket with a life-cycle policy to delete objects after 14 days.
  • Uploads a lambda function to the specific region
  • Creates a cloudwatch event that triggers the lambda to run every 24 hours(1440 minutes).

How to use

Add the below to your terraform file

module "backup-route53" {
  source = "git@github.com:AcroMedia/terraform-route53-backups.git?ref=main"
  providers = {
    aws.src = aws.src #change-me
  }
  bucket = "acc-name-route53-backups" #change-me
  retention_period = 14 #change-me
  region = us-east-1 #change-me
}

About

Backup aws route53 hosted zones and health checks to s3 bucket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published