Search code examples
azureazure-resource-managerazure-monitoring

How to create ARM linked template when the linked templates are stored locally not in the cloud


Having a main ARM template and a linked ARM template, is it possible to deploy the resources from VS?

When I try that is says "The language expression property 'templateLink' doesn't exist, available properties are 12:40:36 - 'template, parameters, mode, provisioningState".

Looking it up I found answers that indicate that you have to upload the linked templates somewhere in the cloud but to me it is stupid not being able to do all of your work, including deployment, from VS.

Is there a way to deploy from VS or from a command prompt and all the templates to exist on the local drive?


Solution

  • You can deploy the template completely from VS, it will upload all the linked templates in the cloud and the do the deployment.

    See the answer for this question.