Exploring ARM templates
ARM templates are the oldest IaC solution for Azure and the most popular (we’re still talking about native solutions). They are based on JSON documents, which can be sent to ARM as deployments. Once a deployment is received by ARM, it parses the document and orchestrates the required changes to our Azure infrastructure.
Template schema
The high-level structure of each template looks like this:
{ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "", "apiProfile": "", "parameters": { }, "variables": { }, "functions": [ ], "resources": [ ], "outputs": { } }
As you can see, it contains a couple of blocks that can be used for defining...