Conditionally use a param, or Null the entire object if nothing set #1914
-
I know I can nullify a parameter with a ternary condition if the evaluation is As an example I would like to Bicep params passed in via module:
Output error:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Using: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-any I have found that the following works, but it would be nice to null the entire object from a level below if nothing is used.
|
Beta Was this translation helpful? Give feedback.
Using: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-any
I have found that the following works, but it would be nice to null the entire object from a level below if nothing is used.