{ "$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "companyname": { "type": "string", "defaultValue": "rg1", "metadata": { "description": "Default name for everything." } }, "location": { "type": "string", "defaultValue": "westeurope", "allowedValues": [ "westeurope", "northeurope" ], "metadata": { "description": "Location for the resourceGroup" } } }, "variables": { "rgName": "[toLower(concat('rg_', parameters('companyname')))]" }, "resources": [ { "type": "Microsoft.Resources/resourceGroups", "apiVersion": "2019-10-01", "name": "[variables('rgName')]", "location": "[parameters('location')]", "tags": { "application": "infrastructure", "backup": "no", "ciarating": "333", "costcenter": "ict", "dtap": "production", "expiration": "never", "note": "automated resourcegroup deployment with tags", "owner": "ict", "supportwindow": "7x24" }, "properties": {} } ] }