Skip to content

Commit

Permalink
fix: lh propose cron
Browse files Browse the repository at this point in the history
  • Loading branch information
carlomazzaferro committed Oct 16, 2023
1 parent ec8f5c9 commit 651b791
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions ops/testnet/staging/core/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 651b791

Please sign in to comment.