I have a terraform configuration that creates an Aurora/posgres database and a lambda. I would like to pass to Lambda the endpoint for database. It can be done for instance by