Add support for point_in_time_recovery in backup settings

This commit is contained in:
Brent Walker
2023-02-07 07:52:44 -05:00
parent 1fc8e81d14
commit d00f3ee0cb
2 changed files with 15 additions and 12 deletions

View File

@@ -38,20 +38,22 @@ variable "availability_type" {
variable "backup_configuration" {
description = "Backup settings for primary instance. Will be automatically enabled if using MySQL with one or more replicas."
type = object({
enabled = bool
binary_log_enabled = bool
start_time = string
location = string
log_retention_days = number
retention_count = number
enabled = bool
binary_log_enabled = bool
start_time = string
location = string
log_retention_days = number
point_in_time_recovery_enabled = bool
retention_count = number
})
default = {
enabled = false
binary_log_enabled = false
start_time = "23:00"
location = null
log_retention_days = 7
retention_count = 7
enabled = false
binary_log_enabled = false
start_time = "23:00"
location = null
log_retention_days = 7
point_in_time_recovery_enabled = null
retention_count = 7
}
}