Skip to content

Commit

Permalink
Modify readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chithrak committed Jan 24, 2024
1 parent 0aad75e commit 579d4d3
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
# terraform-route53-backups
Backup aws route53 hosted zones and health checks to s3 bucket
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::ssh://username@example.com/storage.git"
source = "git@github.com:AcroMedia/terraform-route53-backups.git?ref=main"
providers = {
aws.src = aws.caask_ca1
aws.src = aws.src #change-me
}
bucket = "caask-route53-backups"
retention_period = 14
bucket = "acc-name-route53-backups" #change-me
retention_period = 14 #change-me
region = us-east-1 #change-me
}
```


0 comments on commit 579d4d3

Please sign in to comment.