Allow backup retention period to be configured in rds (#6)

This commit is contained in:
Robert Fairburn authored and GitHub committed 2025-02-10 18:45:16 -06:00
1 parent 628ba367fa
commit b0dcd44b2d
3 files changed
+5

No files matched your search

+2
View File
@@ -26,6 +26,7 @@ variable "rds_config" {
snapshot_identifier = optional(string)
cluster_tags = optional(map(string), {})
preferred_maintenance_window = optional(string, "thu:23:00-fri:00:00")
backup_retention_period = optional(number, 7)
})
default = {
name = "fleet"
@@ -45,6 +46,7 @@ variable "rds_config" {
snapshot_identifier = null
cluster_tags = {}
preferred_maintenance_window = "thu:23:00-fri:00:00"
backup_retention_period = 7
}
description = "The config for the terraform-aws-modules/rds-aurora/aws module"
nullable = false