I’m pretty new to phoenix/elixir. I’ve ported a service from ruby to phoenix (it wasn’t using ecto or a relational database) and looking to do the same with another existing api (which does use a relational database).
I’m looking to do something that would be relatively simple in python (although I know I’m not in python or ruby). I’m in AWS so looking to use amazon secrets manager for storing secrets including the database url. I’ve been searching the forum and anywhere I can but it doesn’t look like this is an option.
Getting the database_url using ex_aws outside of the config is simple enough but it doesn’t look like I can use any dependencies in the config. I’m wondering if there is some way to define the connection outside of the config or some other way to make this work?