@Raj D ,
Thankyou for using Microsoft Q&A platform and thanks for posting your query here.
I understand you want to know how to make variable groups dynamic while performing deployment using yaml file.
You could try defining variables with the following syntax and see if it helps:
variables:
a: ${{ <expression> }}
b: $[ <expression> ]
Kindly check if the following documentations help in your scenario:
Hope it helps. Please do consider clicking Accept Answer
as accepted answers help community as well. Also, please click on Yes
for the survey 'Was the answer helpful'