Demystifying Linked and Nested templates in Azure
As ARM deployments become more complex, using linked and nested templates allow you to break these deployments down into smaller reusable components. Linked templates: create reusable, composable, and modular deployments comprised of many individual arm templates. Nested templates: allows for advanced deployments scenarios like deploying to multiple ARM scopes or multiple resource groups from a single template file. See the following for documentation on both linked and nested templates . Linked template example To use linked templates, the templates must first be staged on a publically accessible endpoint such as GitHub or an Azure Storage Blob. Consider using an Azure Storage account secured by a SAS token to keep your templates secure from public access. See this document for more details. To add a linked template to your ARM template, add a Microsoft.Resources/deployments resource and the templateLink property configured with the...