This is a refactor of the Example 4 published by the Patterns and Practices team (https://github.com/mspnp/template-examples)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
nested
README.md
callingTemplate.json
callingTemplate.parameters.json

README.md

ARMTransformerCollector

This is a quick view on how the different JSON files will interact. For further information refer to the website (post on my blog) which describes this pattern in depth:

img

How to deploy

az cli

git clone https://github.com/hjlarrea/ARMTransformerCollector.git
cd ARMTransformerCollector
az group create --location eastus --name testDeployment
az group deployment create -g testDeployment --template-uri https://raw.githubusercontent.com/hjlarrea/ARMTransformerCollector/master/callingTemplate.json --parameters callingTemplate.parameters.json

PowerShell

git clone https://github.com/hjlarrea/ARMTransformerCollector.git
cd ARMTransformerCollector
New-AzureRmResourceGroup -Name testDeployment -Location eastus
New-AzureRmResourceGroupDeployment -ResourceGroupName testDeployment -TemplateParameterFile .\callingTemplate.parameters.json -TemplateUri https://raw.githubusercontent.com/hjlarrea/ARMTransformerCollector/master/callingTemplate.json