From 651b7918d6a3457920a2d19083e7c103976aa1b1 Mon Sep 17 00:00:00 2001 From: carlomazzaferro Date: Mon, 16 Oct 2023 17:31:10 +0200 Subject: [PATCH] fix: lh propose cron --- ops/testnet/staging/core/main.tf | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/ops/testnet/staging/core/main.tf b/ops/testnet/staging/core/main.tf index 7b407983e3..5e69a86b67 100755 --- a/ops/testnet/staging/core/main.tf +++ b/ops/testnet/staging/core/main.tf @@ -295,8 +295,8 @@ module "lighthouse_prover_cron" { container_family = "lighthouse-prover" environment = var.environment stage = var.stage - container_env_vars = merge(local.lighthouse_env_vars, { - LIGHTHOUSE_SERVICE = "prover-pub" + container_env_vars = merge(local.lighthouse_env_vars, { + LIGHTHOUSE_SERVICE = "prover-pub" }) schedule_expression = "rate(30 minutes)" timeout = 300 @@ -383,6 +383,19 @@ module "lighthouse_sendoutboundroot_cron" { memory_size = 512 } + +module "lighthouse_propose_cron" { + source = "../../../modules/lambda" + ecr_repository_name = "nxtp-lighthouse" + docker_image_tag = var.lighthouse_image_tag + container_family = "lighthouse-propose" + environment = var.environment + stage = var.stage + container_env_vars = merge(local.lighthouse_env_vars, { LIGHTHOUSE_SERVICE = "propose" }) + schedule_expression = "rate(30 minutes)" + memory_size = 512 +} + module "relayer" { source = "../../../modules/service" stage = var.stage