I have a JSON ARM template that I want to use in VSTS Release Management to create my App Service Plan environment for me. I'd like VSTS to use the App service plan name (and resource group if possible) instead of hardcoding a string into the web UI.
I'd like to use the parameter 'hostingPlanName' from my website.json file and put it in the release management UI. Is it possible to do so or is this a feature request?
website.json now has:
"variables": {
"webSiteName": "[parameters('webAppName')]",
"hostingPlanName": "[parameters('hostingPlanName')]"
},
"resources": [
{
"apiVersion": "2015-08-01",
"name": "[parameters('hostingPlanName')]",...
website.test.parameters.json
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"hostingPlanName": {
"value": "X-test-plan"
},
"webAppName": {
"value": "X-test-web"
}
}
}