Adds the ability to sync ezcater orders every few hours

This commit is contained in:
2022-12-04 10:11:44 -08:00
parent 64c5530bd0
commit 58fad1b4f1
5 changed files with 87 additions and 1 deletions

View File

@@ -371,6 +371,20 @@ module "vendor_usages_job" {
cpu = 1024
}
module "ezcater_upsert_job" {
source = "./background-job/"
ecs_cluster = var.ecs_cluster
task_role_arn = var.task_role_arn
stage = var.stage
schedule = "rate(8 hours)"
job_name = "ezcater-upsert"
execution_role_arn = var.execution_role_arn
memory = 2048
cpu = 1024
}
module "import_uploaded_invoices_job" {
source = "./background-job/"
ecs_cluster = var.ecs_cluster