I need to replace values in a config file given below with some values that i will be getting from env variables . Below is the config file
vnv:
{
endpoints: {
directflow: {
host = "http://xxxx.xxx.xyz.xxx.com/ver0.1/call/in.xml.gz";
};
incidents: {
host = "http://xxxx.xxx.xyz.xxx.com/ver0.1/call/in.xml.gz";
};
};
sleep = 30;
timeout = 30;
};
i need to replace the host with values from environment variable. This file is not a json file. What approach should i take to substitute values here.