I have an environment variable called ABCD in .ENV File. And Along with this, I have another env variable which is XYZ.
Let's assume this is my example.env file
ABCD=some_imp_value_which_is_variable
.
.
.
XYZ=testvalue.<value of ABCD>.xxxxx
.
.
In bash, If I want to read the value of ABCD, I would use $ABCD
and store it to XYZ using XYZ=testvalue.$ABCD.xxxxx
ABCD=some_imp_value_which_is_variable
.
.
.
XYZ=testvalue.$ABCD.xxxxx
Do we have something similar to do in .env file. ABCD is variable value and we want XYZ to have the value based on ABCD.
We are avoiding script (as that will require lots of changes to be done), So instead we want to do it in .env file itself