Skip to content

Commit

Permalink
Merge pull request #316 from SkillsFundingAgency/FAI-950-azure-search…
Browse files Browse the repository at this point in the history
…-location

Add location to Azure Search
  • Loading branch information
smneal authored Jan 4, 2024
2 parents e1b0017 + a2e8a18 commit 8161331
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion templates/azure-search.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,22 @@
"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": [
{
"apiVersion": "2015-08-19",
"name": "[parameters('azureSearchName')]",
"type": "Microsoft.Search/searchServices",
"location": "[resourceGroup().location]",
"location": "[parameters('azureSearchLocation')]",
"sku": {
"name": "[toLower(parameters('azureSearchSku'))]"
},
Expand Down

0 comments on commit 8161331

Please sign in to comment.