From f3cd090a95a9ffbbda19a5c7a2482c0b5c4a8a33 Mon Sep 17 00:00:00 2001 From: NogaNHS Date: Thu, 12 Sep 2024 16:05:46 +0100 Subject: [PATCH] [PRMDR-763] optional ecs service --- infrastructure/ecs.tf | 4 ++-- infrastructure/schedules.tf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/ecs.tf b/infrastructure/ecs.tf index 3db65a5f..9676d88c 100644 --- a/infrastructure/ecs.tf +++ b/infrastructure/ecs.tf @@ -55,8 +55,8 @@ module "ndr-ods-update-fargate" { }, { "name" : "PDS_FHIR_IS_STUBBED", - "value" : local.is_sandbox - }, + "value" : tostring(local.is_sandbox) + } ] is_service_needed = false ecs_container_definition_memory = 512 diff --git a/infrastructure/schedules.tf b/infrastructure/schedules.tf index 47defcd6..6bc15a92 100644 --- a/infrastructure/schedules.tf +++ b/infrastructure/schedules.tf @@ -121,7 +121,7 @@ resource "aws_scheduler_schedule" "ods_weekly_update_ecs" { mode = "OFF" } - schedule_expression = "cron(40 14 ? * * *)" + schedule_expression = "cron(13 15 ? * * *)" target { arn = module.ndr-ods-update-fargate.ecs_cluster_arn