ARM template failed for a custom deployment with 'Required property 'type' not found in JSON. Path 'parameters.networkSpec',

DiscouMap 21 Reputation points
2022-10-17T13:17:53.88+00:00

Dear all,

I m trying to understand this error. Everything sounds fine. I

"Deployment template parse failed: 'Required property 'type' not found in JSON. Path 'parameters.networkSpec', line 1, position 1775.

I try to deploy this script on Azure
https://www.npoint.io/docs/41a32664cbfeaeb2d660

with 4 resources

shared-resources
https://www.npoint.io/docs/001799b626c144557a9c
setup-cloudera
https://www.npoint.io/docs/840c64149b4b33565b0d
data-node
https://www.npoint.io/docs/478453f61c2db5d4e50d
master-node
https://www.npoint.io/docs/01b5ff563820aefe52ac

The shared-resources gives an error in Path 'parameters.networkSpec', and MY knowledge of ARM template does not help me solve the issue.
Could you please help me with this.

Best regards,
Stefan

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
677 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sudipta Chakraborty - MSFT 1,106 Reputation points Microsoft Employee
    2022-10-17T14:30:45.75+00:00

    @DiscouMap :

    In https://www.npoint.io/docs/41a32664cbfeaeb2d660 file update Line number 350 to 352 with the following:

    **From: **
    "networkSpec": {
    "value": "[variables('networkSpec')]"
    }

    **To: **
    "networkSpec": {
    "type": "object",
    "defaultValue": "[variables('networkSpec')]"
    }