This repository was archived by the owner on Aug 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 326326 "type" : " string" ,
327327 "value" : " [variables('keyVaultName')]"
328328 },
329+ "eventHubNamespaceName" : {
330+ "type" : " string" ,
331+ "value" : " [variables('eventHubNamespaceName')]"
332+ },
329333 "webAppName" : {
330334 "type" : " string" ,
331335 "value" : " [variables('webAppName')]"
336+ },
337+ "passwordsSecretName" : {
338+ "type" : " string" ,
339+ "value" : " [variables('passwordsSecretName')]"
340+ },
341+ "storageConnectionStringSecretName" : {
342+ "type" : " string" ,
343+ "value" : " [variables('storageConnectionStringSecretName')]"
344+ },
345+ "eventHubConnectionStringSecretName" : {
346+ "type" : " string" ,
347+ "value" : " [variables('eventHubConnectionStringSecretName')]"
332348 }
333349 }
334350}
Original file line number Diff line number Diff line change @@ -117,6 +117,10 @@ const dinfo = JSON.parse((await $`az deployment group create \
117117const { outputs } = dinfo . properties
118118const webAppName = outputs . webAppName . value
119119const keyVaultName = outputs . keyVaultName . value
120+ const eventHubNamespaceName = outputs . eventHubNamespaceName . value
121+ const storageConnectionStringSecretName = outputs . storageConnectionStringSecretName . value
122+ const eventHubConnectionStringSecretName = outputs . eventHubConnectionStringSecretName . value
123+ const passwordsSecretName = outputs . passwordsSecretName . value
120124
121125const homepage = `https://${ webAppName } .azurewebsites.net/swagger/`
122126
@@ -129,6 +133,10 @@ fs.writeFileSync("../.env",
129133WEBSITE_SITE_NAME="${ webAppName } "
130134WEBSITE_HOSTNAME=0.0.0.0:7071
131135DEVS_KEY_VAULT_NAME="${ keyVaultName } "
136+ DEVS_EVENT_HUB_NAME="${ eventHubNamespaceName } "
137+ DEVS_STORAGE_CONNECTION_STRING_SECRET="${ storageConnectionStringSecretName } "
138+ DEVS_EVENT_HUB_CONNECTION_STRING_SECRET="${ eventHubConnectionStringSecretName } "
139+ DEVS_PASSWORDS_SECRET="${ passwordsSecretName } "
132140DEVS_SWAGGER_URL="${ homepage } "
133141` , { encoding : "utf8" } )
134142
You can’t perform that action at this time.
0 commit comments