Skip to content

Commit

Permalink
Declare redis
Browse files Browse the repository at this point in the history
  • Loading branch information
jonodrew committed Jun 1, 2023
1 parent f2de9ec commit 2d661d2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -98,7 +98,7 @@ def __init__(
cluster = ecs.Cluster(self, "MentorMatchCluster", vpc=vpc)

backend = RedisCache(self, "MentorCache", vpc)
redis_url = f"{backend.cluster.attr_redis_endpoint_address}:{backend.cluster.attr_redis_endpoint_port}"
redis_url = f"redis://{backend.cluster.attr_redis_endpoint_address}:{backend.cluster.attr_redis_endpoint_port}"

broker_vars = {
"BROKER_URL": redis_url,
Expand Down

0 comments on commit 2d661d2

Please sign in to comment.