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