From 15a7762567c541fb8c54db1be1ef6132d23805fb Mon Sep 17 00:00:00 2001 From: Marius Andra Date: Fri, 28 May 2021 10:05:58 +0200 Subject: [PATCH] add cloud job queue vars --- task-definition.plugins.json | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/task-definition.plugins.json b/task-definition.plugins.json index d3ef77ff7aa..c85ad1af517 100644 --- a/task-definition.plugins.json +++ b/task-definition.plugins.json @@ -58,7 +58,7 @@ }, { "name": "JOB_QUEUES", - "value": "graphile" + "value": "graphile,s3" }, { "name": "CRASH_IF_NO_PERSISTENT_JOB_QUEUE", @@ -118,6 +118,26 @@ "name": "JOB_QUEUE_GRAPHILE_URL", "valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:JOB_QUEUE_GRAPHILE_URL::" }, + { + "name": "JOB_QUEUE_S3_AWS_ACCESS_KEY", + "valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:JOB_QUEUE_S3_AWS_ACCESS_KEY::" + }, + { + "name": "JOB_QUEUE_S3_AWS_SECRET_ACCESS_KEY", + "valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:JOB_QUEUE_S3_AWS_SECRET_ACCESS_KEY::" + }, + { + "name": "JOB_QUEUE_S3_AWS_REGION", + "valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:JOB_QUEUE_S3_AWS_REGION::" + }, + { + "name": "JOB_QUEUE_S3_BUCKET_NAME", + "valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:JOB_QUEUE_S3_BUCKET_NAME::" + }, + { + "name": "JOB_QUEUE_S3_PREFIX", + "valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:JOB_QUEUE_S3_PREFIX::" + }, { "name": "STATSD_HOST", "valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:STATSD_HOST::"