From 33e63347bd08d48b31010e9d62d52da0a56fd632 Mon Sep 17 00:00:00 2001 From: Anton Kuraev Date: Tue, 16 Jul 2024 11:21:23 -0700 Subject: [PATCH] Update env var names --- remote-ingestion-executor/example/main.tf | 2 +- remote-ingestion-executor/main.tf | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/remote-ingestion-executor/example/main.tf b/remote-ingestion-executor/example/main.tf index 9322e0b..4a7ed18 100644 --- a/remote-ingestion-executor/example/main.tf +++ b/remote-ingestion-executor/example/main.tf @@ -20,7 +20,7 @@ module "example" { secrets = [ { - name = "DATAHUB_ACCESS_TOKEN" + name = "DATAHUB_GMS_TOKEN" valueFrom = aws_secretsmanager_secret.datahub_access_token.arn }, ] diff --git a/remote-ingestion-executor/main.tf b/remote-ingestion-executor/main.tf index f284373..f38c16c 100644 --- a/remote-ingestion-executor/main.tf +++ b/remote-ingestion-executor/main.tf @@ -65,13 +65,17 @@ module "ecs_service" { environment = concat(var.environment, [ { - name = "DATAHUB_BASE_URL" + name = "DATAHUB_GMS_URL" value = var.datahub.url }, { - name = "EXECUTOR_ID" + name = "DATAHUB_EXECUTOR_WORKER_ID" value = var.datahub.executor_id }, + { + name = "DATAHUB_EXECUTOR_MODE" + value = "worker" + }, { name = "DATAHUB_EXECUTOR_INGESTION_MAX_WORKERS" value = var.datahub.executor_ingestions_workers