Fix weekly_schedule config section for secondary instance (#3932)
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
@@ -313,11 +313,14 @@ resource "google_alloydb_cluster" "secondary" {
|
||||
|
||||
weekly_schedule {
|
||||
days_of_week = var.automated_backup_configuration.weekly_schedule.days_of_week
|
||||
start_times {
|
||||
hours = var.automated_backup_configuration.weekly_schedule.start_times.hours
|
||||
minutes = 0
|
||||
seconds = 0
|
||||
nanos = 0
|
||||
dynamic "start_times" {
|
||||
for_each = var.automated_backup_configuration.weekly_schedule.start_times
|
||||
content {
|
||||
hours = start_times.value.hours
|
||||
minutes = 0
|
||||
seconds = 0
|
||||
nanos = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user