Define dynamic and default variables:
Before using the variables in proffer template file, we ned to define those variables. We can define those variables one of either places mentioned below:
If the variable is dynamic, means can change the values for different environments and cases then we can define that variables in different variables file and then pass that variable file to proffer cli using
If the variable is constant then we can just define its values in proffer template file itself and use it directly without passing as var file.
Use variables in proffer configuration file:
Once we have defined the variables in either variable file or template file, then we can use them using below syntax:
Nesting of variables are not allowed in both variable and template file.
Ex: Invalid variable definition.
x: s: f: 2
Valid variable definition
x: s: 2