From 68de78b219be3307331d64cb2ee0edefa0a19dda Mon Sep 17 00:00:00 2001 From: shri Date: Mon, 12 Aug 2024 12:09:37 +0200 Subject: [PATCH] Add database url to environment variables --- deploy/aws/ecs-task-definition-prod.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/deploy/aws/ecs-task-definition-prod.json b/deploy/aws/ecs-task-definition-prod.json index ae0115b2..560826df 100644 --- a/deploy/aws/ecs-task-definition-prod.json +++ b/deploy/aws/ecs-task-definition-prod.json @@ -65,6 +65,10 @@ "name": "REDIS_URL", "valueFrom": "arn:aws:ssm:eu-central-1:050206582437:parameter/chapter-app/prod/app/redis-url" }, + { + "name": "DATABASE_URL", + "valueFrom": "arn:aws:secretsmanager:eu-central-1:050206582437:secret:chapter-app-db-password-prod-IM9fy3:url::" + }, { "name": "DB_PASSWORD", "valueFrom": "arn:aws:secretsmanager:eu-central-1:050206582437:secret:chapter-app-db-password-prod-IM9fy3:password::" @@ -153,6 +157,10 @@ "name": "REDIS_URL", "valueFrom": "arn:aws:ssm:eu-central-1:050206582437:parameter/chapter-app/prod/app/redis-url" }, + { + "name": "DATABASE_URL", + "valueFrom": "arn:aws:secretsmanager:eu-central-1:050206582437:secret:chapter-app-db-password-prod-IM9fy3:url::" + }, { "name": "DB_PASSWORD", "valueFrom": "arn:aws:secretsmanager:eu-central-1:050206582437:secret:chapter-app-db-password-prod-IM9fy3:password::" @@ -238,6 +246,10 @@ "name": "REDIS_URL", "valueFrom": "arn:aws:ssm:eu-central-1:050206582437:parameter/chapter-app/prod/app/redis-url" }, + { + "name": "DATABASE_URL", + "valueFrom": "arn:aws:secretsmanager:eu-central-1:050206582437:secret:chapter-app-db-password-prod-IM9fy3:url::" + }, { "name": "DB_PASSWORD", "valueFrom": "arn:aws:secretsmanager:eu-central-1:050206582437:secret:chapter-app-db-password-prod-IM9fy3:password::"