From bf86dd659ed4d66c8977acc06979e0294bb7b56d Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Fri, 27 Feb 2026 11:59:02 +0000 Subject: [PATCH] back ups --- infrastructure/terraform/shared/main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/infrastructure/terraform/shared/main.tf b/infrastructure/terraform/shared/main.tf index 74906c32..2b5abe60 100644 --- a/infrastructure/terraform/shared/main.tf +++ b/infrastructure/terraform/shared/main.tf @@ -85,6 +85,12 @@ resource "aws_db_instance" "default" { apply_immediately = true # Set up storage type to gp3 for better performance storage_type = "gp3" + + # Automated backups configuration + backup_retention_period = 14 + backup_window = "03:00-04:00" + copy_tags_to_snapshot = true + deletion_protection = true } # Set up the bucket that recieve the csv uploads of epc to be retrofit