Skip to content

Commit 59e8450

Browse files
author
Balakrishnan, Rajkumar
committed
test
1 parent 917e03a commit 59e8450

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

images/deploy/microservice.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
"applicationInsightsLocation": {
1818
"type": "string",
19-
"defaultValue": "westus2"
19+
"defaultValue": "[resourceGroup().location]"
2020
}
2121
},
2222
"variables": {
@@ -117,7 +117,8 @@
117117
"APPINSIGHTS_INSTRUMENTATIONKEY": "[reference(resourceId('Microsoft.Insights/components', variables('applicationInsightsName')), '2014-04-01').InstrumentationKey]",
118118
"EventGridTopicEndpoint": "[reference(variables('eventGridTopicResourceId'), '2018-01-01').endpoint]",
119119
"EventGridTopicKey": "[listKeys(variables('eventGridTopicResourceId'), '2018-01-01').key1]",
120-
"BlobConnectionString": "[concat('DefaultEndpointsProtocol=https;AccountName=', variables('blobAccountName'), ';AccountKey=', listKeys(variables('blobAccountName'),'2015-05-01-preview').key1)]"
120+
"BlobConnectionString": "[concat('DefaultEndpointsProtocol=https;AccountName=', variables('blobAccountName'), ';AccountKey=', listKeys(variables('blobAccountName'),'2015-05-01-preview').key1)]",
121+
"AzureWebJobsSecretStorageType":"Files"
121122
},
122123
"dependsOn": [
123124
"[resourceId('Microsoft.Web/sites', variables('functionsApiAppName'))]",
@@ -157,7 +158,8 @@
157158
"EventGridTopicKey": "[listKeys(variables('eventGridTopicResourceId'), '2018-01-01').key1]",
158159
"BlobConnectionString": "[concat('DefaultEndpointsProtocol=https;AccountName=', variables('blobAccountName'), ';AccountKey=', listKeys(variables('blobAccountName'),'2015-05-01-preview').key1)]",
159160
"CognitiveServicesVisionApiEndpoint": "[reference(variables('cognitiveServicesAccountName'),'2016-02-01-preview').endpoint]",
160-
"CognitiveServicesVisionApiKey": "[listKeys(variables('cognitiveServicesAccountName'),'2016-02-01-preview').key1]"
161+
"CognitiveServicesVisionApiKey": "[listKeys(variables('cognitiveServicesAccountName'),'2016-02-01-preview').key1]",
162+
"AzureWebJobsSecretStorageType":"Files"
161163
},
162164
"dependsOn": [
163165
"[resourceId('Microsoft.Web/sites', variables('functionsWorkerApiAppName'))]",

text/deploy/microservice.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
"applicationInsightsLocation": {
1818
"type": "string",
19-
"defaultValue": "westus2"
19+
"defaultValue": "[resourceGroup().location]"
2020
}
2121
},
2222
"variables": {
@@ -95,7 +95,8 @@
9595
"CosmosDBAccountEndpointUrl": "[reference(variables('cosmosDbAccountName')).documentEndpoint]",
9696
"CosmosDBAccountKey": "[listKeys(variables('cosmosDbAccountName'), '2015-04-08').primaryMasterKey]",
9797
"DatabaseName": "[variables('cosmosDbDatabaseName')]",
98-
"CollectionName": "[variables('cosmosDbCollectionName')]"
98+
"CollectionName": "[variables('cosmosDbCollectionName')]",
99+
"AzureWebJobsSecretStorageType":"Files"
99100
},
100101
"dependsOn": [
101102
"[resourceId('Microsoft.Web/sites', variables('functionsApiAppName'))]",

0 commit comments

Comments
 (0)