DEV Community

Discussion on: Deploy Elixir + Phoenix to AWS ECS with GitLab CI and Terraform

Collapse
 
neoecos profile image
Sebastian Ortiz V.

Hi @Aleksi! Thanks for the article.

Please update the ecs task with the DATAABASE_URL envnvar.
This works.

{"name": "DATABASE_URL", "value": "ecto://${var.db_username}:${var.db_password}@${aws_db_instance.default.address}:${aws_db_instance.default.port}/${var.db_name}"}