From af8931e2dbeef5b0153ac254b5142140cd99e9bf Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Sun, 10 May 2020 00:06:09 -0400 Subject: [PATCH] Pass redis host --- infrastructure/cloudformation/dt/auth_task.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/infrastructure/cloudformation/dt/auth_task.yaml b/infrastructure/cloudformation/dt/auth_task.yaml index bafd766..2304220 100644 --- a/infrastructure/cloudformation/dt/auth_task.yaml +++ b/infrastructure/cloudformation/dt/auth_task.yaml @@ -16,6 +16,10 @@ Parameters: Type: String Default: "latest" + RedisHostname: + Description: Redis host to connect to + Type: String + Resources: LogGroup: @@ -36,6 +40,9 @@ Resources: - HostPort: 7778 ContainerPort: 7778 Protocol: tcp + Environment: + - Name: REDIS_HOSTNAME + Value: !Ref RedisHostname LogConfiguration: LogDriver: awslogs Options: