Hi,
When I add an ARM Deployment step in my process with the template added as “Source Code”, and the template contains allowedValues it seems to not save any custom expressions that I define for the parameters.
For example if my template contains a parameter like this:
“environment”: {
“type”: “string”,
“allowedValues”: [
“DEV”,
“TST”,
“ACC”,
“PRD”
],
“metadata”: {
“description”: “The type of environment you’re deploying.”
}
}
Then I see the dropdown list in the parameters section. Here I select Custom Expression, and define it as #{Environment}.
After saving the step, then re-opening it, I can see that the dropdown list is back and my custom expression is gone.
Is this a bug, or can we not use allowedValues in our templates?
Thanks,
Dan