Skip to content

Commit

Permalink
Merge pull request #14 from acryldata/ak--update-env
Browse files Browse the repository at this point in the history
Update env var names
  • Loading branch information
noggi authored Jul 16, 2024
2 parents 65a0fa7 + 33e6334 commit 4b05eb0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion remote-ingestion-executor/example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module "example" {

secrets = [
{
name = "DATAHUB_ACCESS_TOKEN"
name = "DATAHUB_GMS_TOKEN"
valueFrom = aws_secretsmanager_secret.datahub_access_token.arn
},
]
Expand Down
8 changes: 6 additions & 2 deletions remote-ingestion-executor/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b05eb0

Please sign in to comment.