In an ARM Template with a following parameter:
{
"$schema": "...",
"contentVersion": "1.0.0.0",
"parameters": {
...
"SkipThisComponent": {
"type": "bool"
...
}
how would one use it inside a resource condition?
"resources": [
{
"apiVersion": "...",
"name": "...",
"type": "...",
"condition": "[???]",
I tried out several approaches, but it seems that equals
supports only [int, string, array, or object], if
needs both the condition and values to match it to etc. I didn't find a nice clean approach, all seem to be workarounds with casting...