Skip to content

Commit 67282d4

Browse files
The REDIS_CACHE_URL should be a properly formatted url
- Was only endpoint address but lacking protocol
1 parent 7b87730 commit 67282d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/app/ecs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module "web_service" {
2727
[
2828
{
2929
name = "REDIS_CACHE_URL"
30-
value = aws_elasticache_serverless_cache.rails_cache.endpoint[0].address
30+
value = "rediss://${aws_elasticache_serverless_cache.rails_cache.endpoint[0].address}:${aws_elasticache_serverless_cache.rails_cache.endpoint[0].port}"
3131
}
3232
]
3333
)

0 commit comments

Comments
 (0)