File tree Expand file tree Collapse file tree 3 files changed +1
-91
lines changed Expand file tree Collapse file tree 3 files changed +1
-91
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ param applicationInsightsName string = ''
8
8
param appServicePlanId string
9
9
param keyVaultName string = ''
10
10
param managedIdentity bool = !empty (keyVaultName )
11
- param storageAccountName string
12
11
13
12
// Runtime Properties
14
13
@allowed ([
@@ -55,7 +54,7 @@ module functions 'appservice.bicep' = {
55
54
applicationInsightsName : applicationInsightsName
56
55
appServicePlanId : appServicePlanId
57
56
appSettings : union (appSettings , {
58
- AzureWebJobsStorage : 'DefaultEndpointsProtocol=https;AccountName=${ storage . name };AccountKey=${ storage . listKeys (). keys [ 0 ]. value };EndpointSuffix=${ environment (). suffixes . storage } '
57
+ AzureWebJobsStorage : ''
59
58
FUNCTIONS_EXTENSION_VERSION : extensionVersion
60
59
FUNCTIONS_WORKER_RUNTIME : runtimeName
61
60
})
@@ -77,10 +76,6 @@ module functions 'appservice.bicep' = {
77
76
}
78
77
}
79
78
80
- resource storage 'Microsoft.Storage/storageAccounts@2021-09-01' existing = {
81
- name : storageAccountName
82
- }
83
-
84
79
output identityPrincipalId string = managedIdentity ? functions .outputs .identityPrincipalId : ''
85
80
output name string = functions .outputs .name
86
81
output uri string = functions .outputs .uri
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ param resourceGroupName string = ''
13
13
param webappName string = 'webapp'
14
14
param apiServiceName string = 'api'
15
15
param appServicePlanName string = ''
16
- param storageAccountName string = ''
17
- param blobContainerName string = 'files'
18
16
param webappLocation string // Set in main.parameters.json
19
17
20
18
// Azure OpenAI -- Cognitive Services
@@ -72,7 +70,6 @@ module api './core/host/functions.bicep' = {
72
70
runtimeName : 'node'
73
71
runtimeVersion : '20'
74
72
appServicePlanId : appServicePlan .outputs .id
75
- storageAccountName : storage .outputs .name
76
73
managedIdentity : true
77
74
appSettings : {
78
75
AZURE_OPENAI_ENDPOINT : finalOpenAiUrl
@@ -99,24 +96,6 @@ module appServicePlan './core/host/appserviceplan.bicep' = {
99
96
}
100
97
}
101
98
102
- // Storage for Azure Functions API
103
- module storage './core/storage/storage-account.bicep' = {
104
- name : 'storage'
105
- scope : resourceGroup
106
- params : {
107
- name : !empty (storageAccountName ) ? storageAccountName : '${abbrs .storageStorageAccounts }${resourceToken }'
108
- location : location
109
- tags : tags
110
- allowBlobPublicAccess : false
111
- containers : [
112
- {
113
- name : blobContainerName
114
- publicAccess : 'None'
115
- }
116
- ]
117
- }
118
- }
119
-
120
99
module openAi 'core/ai/cognitiveservices.bicep' = if (empty (openAiUrl )) {
121
100
name : 'openai'
122
101
scope : resourceGroup
You can’t perform that action at this time.
0 commit comments