Support JSON schema style $ref components in templates
Idempotent JSON based resource manager templates are a great idea. However, sophisticated deployments use numerous sub-components over and over. JSON schema understands this is a requirement for building real world JSON where elements repeat in different places, and has a $ref mechanism - like the variables and parameters, but a way to define a JSON object and use it elsewhere, repeatedly.
This would allow, for example, a security rule to be defined in one place, and used in several NSGs.
Consider, for example, a classic three tier DMZ, App Server and DB Server Zone, implemented with NSGs. The zones clearly have different rules, so a clean implementation has 3 subnets and three NSGs. Now tighten the system down and block ALL Internet Outbound traffic. Much more secure. But wait - we need dns, ntp, access to outside services, etc etc. These are COMMON to all three NSGs, but have to be DUPLICATED in each because there's no reference mechanism that allows me to define them once, and incorporate them by reference into JSON objects or arrays.
Anytime you start copying code (or data in data drive implementations) you know there's a SERIOUS flaw.
This is a big Whops! and would be a huge value.
Again, you guys are using JSON Schema, look at the $ref mechanism and make it work for use in objects and arrays) and you're golden.