Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Add missing DPS location parameter for local template (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang-hua authored and ppathan committed Oct 4, 2018
1 parent 488c453 commit cc05219
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion solutions/remotemonitoring/armtemplates/local.json
Expand Up @@ -161,6 +161,21 @@
"description": "The Azure IoT Hub tier"
}
},
"provisioningServiceLocation": {
"type": "string",
"defaultValue": "westus",
"allowedValues": [
"eastus",
"westus",
"northeurope",
"westeurope",
"eastasia",
"southeastasia"
],
"metadata": {
"description": "The location which supports Device Provisioning Service resource"
}
},
"provisioningServiceName": {
"type": "string",
"defaultValue": "[concat('dps-', take(uniqueString(subscription().subscriptionId, resourceGroup().id, parameters('solutionName')), 5))]",
Expand Down Expand Up @@ -509,7 +524,7 @@
"name": "[parameters('provisioningServiceName')]",
"type": "Microsoft.Devices/provisioningServices",
"apiVersion": "[variables('provisioningServiceApiVersion')]",
"location": "[variables('location')]",
"location": "[parameters('provisioningServiceLocation')]",
"tags": {
"IotSuiteType": "[parameters('solutionType')]"
},
Expand Down

0 comments on commit cc05219

Please sign in to comment.