diff --git a/templates/azure-search.json b/templates/azure-search.json index d8ad74af..507048e9 100644 --- a/templates/azure-search.json +++ b/templates/azure-search.json @@ -47,6 +47,14 @@ "metadata": { "description": "Partitions allow for scaling of document count as well as faster indexing by sharding your index over multiple Azure Search units." } + }, + "azureSearchLocation": { + "type": "string", + "defaultValue": "[resourceGroup().location]", + "allowedValues": [ + "northeurope", + "westeurope" + ] } }, "resources": [ @@ -54,7 +62,7 @@ "apiVersion": "2015-08-19", "name": "[parameters('azureSearchName')]", "type": "Microsoft.Search/searchServices", - "location": "[resourceGroup().location]", + "location": "[parameters('azureSearchLocation')]", "sku": { "name": "[toLower(parameters('azureSearchSku'))]" },