I'm searching for ways to access ARM template Object property through a parameter name.
in below example,
parameters: {
"propertyName": {
"type": "string"
}
}
variables: {
"object": {
"value": {
"color": "red"
}
}
}
where [parameters("propertyName")] is color
does below work within ARM template deployment? or is there a way to achieve similar thing?
"[variables('object')].[parameters('propertyName')]"
I am expecting the output to be "red" for above line.
Any help is appreciated! :)
