Skip to content

Commit

Permalink
[communication] fix endpoint env var name (Azure#18138)
Browse files Browse the repository at this point in the history
* fix endpoint env var name

* add COMMUNICATION_ACCESS_KEY env var

* change key1 to primaryKey
  • Loading branch information
0rland0Wats0n authored Jan 22, 2021
1 parent 2ba93a7 commit 4297de2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sdk/communication/test-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,14 @@
"type": "string",
"value": "[listKeys(resourceId('Microsoft.Communication/CommunicationServices',variables('uniqueSubDomainName')), '2020-08-20-preview').primaryConnectionString]"
},
"COMMUNICATION_ENDPOINT_STRING": {
"COMMUNICATION_ENDPOINT": {
"type": "string",
"value": "[concat('https://', parameters('baseName'), '-', parameters('endpointPrefix'), '.communication.azure.com')]"
},
"COMMUNICATION_ACCESS_KEY": {
"type": "string",
"value": "[listKeys(resourceId('Microsoft.Communication/CommunicationServices',variables('uniqueSubDomainName')), '2020-08-20-preview').primaryKey]"
},
"RESOURCE_GROUP_NAME": {
"type": "string",
"value": "[resourceGroup().Name]"
Expand Down

0 comments on commit 4297de2

Please sign in to comment.