From bdfa04dcfd7964254ee2b2d71c7699cf2de29876 Mon Sep 17 00:00:00 2001 From: Amany El-Guindy Date: Tue, 3 Aug 2021 12:31:08 +0200 Subject: [PATCH] Add skip final snapshot (#50) --- rds-replica/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/rds-replica/main.tf b/rds-replica/main.tf index 0a6de76..d4fbf14 100644 --- a/rds-replica/main.tf +++ b/rds-replica/main.tf @@ -26,6 +26,7 @@ resource "aws_db_instance" "rds" { enabled_cloudwatch_logs_exports = var.enabled_cloudwatch_logs_exports backup_retention_period = var.backup_retention_period auto_minor_version_upgrade = var.auto_minor_version_upgrade + skip_final_snapshot = true tags = { Name = length(var.name) == 0 ? "${var.project}-${var.environment}${var.tag}-rds${count.index + 1}-replica" : var.name