From 8e39cda76c292b316b78ed12c173d0b4da8255a9 Mon Sep 17 00:00:00 2001 From: anttorre Date: Mon, 31 Jan 2022 18:43:05 +0100 Subject: [PATCH] SELC-385 redis update scheduling --- src/core/redis_cache.tf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/core/redis_cache.tf b/src/core/redis_cache.tf index ff6b5fcc6..7aa02e0e1 100644 --- a/src/core/redis_cache.tf +++ b/src/core/redis_cache.tf @@ -25,6 +25,30 @@ module "redis" { private_dns_zone_ids = var.redis_private_endpoint_enabled ? [azurerm_private_dns_zone.privatelink_redis_cache_windows_net[0].id] : [] } + // when azure can apply patch? + patch_schedules = [ + { + day_of_week = "Sunday" + start_hour_utc = 23 + }, + { + day_of_week = "Monday" + start_hour_utc = 23 + }, + { + day_of_week = "Tuesday" + start_hour_utc = 23 + }, + { + day_of_week = "Wednesday" + start_hour_utc = 23 + }, + { + day_of_week = "Thursday" + start_hour_utc = 23 + }, + ] + tags = var.tags }