Skip to content

Instantly share code, notes, and snippets.

@bobalob
Last active January 17, 2017 19:47
Show Gist options
  • Save bobalob/29ec69424295aaad43d2ab10b6169bb0 to your computer and use it in GitHub Desktop.
Save bobalob/29ec69424295aaad43d2ab10b6169bb0 to your computer and use it in GitHub Desktop.
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"resourcesPrefix": {
"type": "string",
"metadata": {
"description": "The prefix for all resources in the template"
}
}
},
"variables": {
"storageAccountName": "[concat(parameters('resourcesPrefix'), 'storage99')]",
"departmentTag": "Sales"
},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"name": "[variables('storageAccountName')]",
"apiVersion": "2015-06-15",
"location": "[resourceGroup().location]",
"properties": {
"accountType": "Standard_LRS"
},
"tags": {
"department": "[variables('departmentTag')]"
},
}
],
"outputs": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment