Last active
June 8, 2018 14:17
-
-
Save justinyoo/7c2b6c1abb04312a7d6e413760af1cab to your computer and use it in GitHub Desktop.
ARM Template Lifecycle Management: DOs and DON'Ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "...", | |
"contentVersion": "...", | |
"parameters": {}, | |
"variables": {}, | |
"resources": [], | |
"outputs": {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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