Variable values from a database

Hi All,

I’m very new to terraform and in my org I have given a task to find a way to retrieve the variable values which are stored in any database. So those values will be passed dynamically through an custom developed GUI to the terraform script.

First of all I would like to know if its possible to retrieve the variable values straight from the database and it yes, please help by giving some ideas.