Skip to content

Commit

Permalink
Adjusted connection url
Browse files Browse the repository at this point in the history
  • Loading branch information
florislangeraert committed Dec 5, 2024
1 parent ff0d112 commit 958210a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/ecs_tasks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ resource "aws_ecs_task_definition" "backend" {
},
{
name = "DB_CONNECTION_URL"
value = "postgresql+psycopg://${aws_db_instance.dms.address}:${tostring(aws_db_instance.dms.port)}/postgres"
value = "postgresql+psycopg://${aws_db_instance.dms.username}:${aws_db_instance.dms.password}@${aws_db_instance.dms.endpoint}:${tostring(aws_db_instance.dms.port)}/postgres"
},
]
secrets = [
Expand Down

0 comments on commit 958210a

Please sign in to comment.