Passing objects in json in ARM Template


(Sajj) #1

I have an object type in my ARM template as such -

“TR_LogProcessingWorkflow_Daily_properties_typeProperties_retryPolicy”: {
“type”: “number”,
“defaultValue”: {
“count”: 0,
“intervalInSeconds”: 0
}
As soon as I save the template - I get an error - Objects are not valid as a React child (found: object with keys {count, intervalInSeconds}).rgs[]

I also see that as a work around I was able to eventually save the ARM but do not see the value populated in the parameters.


(Shaun Marx) #4

Hi Saj, thanks for getting in touch,

I have reproduced this behavior and created Github issue 5402 which you can use to track progress. I would like to apologize for any inconvenience this may have caused you and will try and get this resolved as soon as possible.

Regards,
Shaun