The documentation on ARM templates does not show how to use different versions (at least that I can find). All I get from the document is that the contentVersion
value in the templateLink
and the parameterLink
objects need to match the value in the linked template.
"resources": [
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2018-05-01",
"name": "linkedTemplate",
"properties": {
"mode": "Incremental",
"templateLink": {
"uri":"https://mystorageaccount.blob.core.windows.net/AzureTemplates/newStorageAccount.json",
"contentVersion":"1.0.0.0"
},
"parametersLink": {
"uri":"https://mystorageaccount.blob.core.windows.net/AzureTemplates/newStorageAccount.parameters.json",
"contentVersion":"1.0.0.0"
}
}
}
]
Someone opened an issue on GitHub to request additional information but I still didn't get a clear picture of how to use the version. https://github.com/MicrosoftDocs/azure-docs/issues/9402
Does anyone know of any examples of how to use different contentVersion
values?