Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Last active June 8, 2018 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/7c2b6c1abb04312a7d6e413760af1cab to your computer and use it in GitHub Desktop.
Save justinyoo/7c2b6c1abb04312a7d6e413760af1cab to your computer and use it in GitHub Desktop.
ARM Template Lifecycle Management: DOs and DON'Ts
{
"$schema": "...",
"contentVersion": "...",
"parameters": {},
"variables": {},
"resources": [],
"outputs": {}
}
{
"parameters": {
"identifier": { ... },
"businessUnit": { ... },
"environment": { ... },
"location": { ... }
},
"variables": {
"webApp": {
"name": "[concat(parameters('identifier'), '-', parameters(businessUnit), '-', parameters('environment'), '-', parameters('location'))]"
}
},
"resources": [
{
"type": "Microsoft.Web/sites",
"name": "[variables('webApp').name]",
...
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment