In an Azure Resource Group Deployment task, can I override a parameter that has a space in its name?
I followed this guide to create an Azure resource group deployment project. In that project I'm able to create parameters with spaces in the name and successfully deploy it via Visual Studio.
azuredeploy.json
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"My easy to read parameter": {
"type": "string",
"defaultValue": "hello world"
}
},
"resources": [
{
"name": "[parameters('My easy to read parameter')]",
"type": "Microsoft.Storage/storageAccounts",
"location": "[resourceGroup().location]",
"apiVersion": "2016-01-01",
"sku": {
"name": "[parameters('StorageType')]"
},
"dependsOn": [],
"tags": {
"displayName": "MyTag"
},
"kind": "Storage"
}
]
}
It appears I can override parameters using this:
overrideParameters: '-myNotSoEasyToReadParameter integration-webfarm' source.
How do I do that on a parameter w/ spaces?
overrideParameters: '-My easy to read parameter integration-webfarm'





