Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 3b842b0

Browse files
author
Derek Legenzoff
authored
Merge pull request #65 from csiebler/cognitive_services_fix
Fixed ARM template to fix problem with Cognitive Service Instance discovery, fixes #64
2 parents fba5632 + 1a64c60 commit 3b842b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azuredeploy.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@
159159
{
160160
"name": "[variables('cognitiveServicesAccountName')]",
161161
"type": "Microsoft.CognitiveServices/accounts",
162-
"apiVersion": "2016-02-01-preview",
162+
"apiVersion": "2017-04-18",
163163
"sku": {
164164
"name": "S0"
165165
},
166166
"kind": "CognitiveServices",
167-
"location": "[parameters('location')]",
167+
"location": "[toLower(replace(parameters('location'),' ', ''))]",
168168
"properties": {}
169169
},
170170
{

0 commit comments

Comments
 (0)