Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/aws_ecs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ resource "aws_db_instance" "this" {
storage_throughput = var.rds_storage_throughput
iops = var.rds_iops
multi_az = var.rds_multi_az
backup_retention_period = var.backup_retention_period

skip_final_snapshot = true
apply_immediately = true
Expand Down
6 changes: 6 additions & 0 deletions modules/aws_ecs/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,12 @@ variable "temporal_aurora_backup_retention_period" {
description = "Number of days to retain backups for Temporal Aurora. Defaults to 7."
}

variable "backup_retention_period" {
type = number
default = 7
description = "Number of days to retain backups for RDS instance. Defaults to 7."
}

variable "temporal_aurora_preferred_backup_window" {
type = string
default = "03:00-04:00"
Expand Down