Skip to content

Commit 34dcfa6

Browse files
committed
fix more errors
1 parent 707e674 commit 34dcfa6

File tree

3 files changed

+3
-20
lines changed

3 files changed

+3
-20
lines changed

Deployment/testFunctions/parts/linuxFunctionFlex.bicep

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ param language string
1818
@allowed(['8.0', '20'])
1919
param functionAppRuntimeVersion string
2020

21-
@allowed(['~4'])
22-
param runtimeVersion string
23-
2421
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-04-01' = {
2522
name: '${functionName}stor'
2623
location: location
@@ -105,25 +102,13 @@ resource function 'Microsoft.Web/sites@2024-04-01' = {
105102
http20Enabled: true
106103
appSettings: [
107104
{
108-
name: 'AzureWebJobsStorage'
109-
value: 'DefaultEndpointsProtocol=https;AccountName=${storageAccount.name};EndpointSuffix=${environment().suffixes.storage};AccountKey=${storageAccount.listKeys().keys[0].value}'
110-
}
111-
{
112-
name: 'FUNCTIONS_WORKER_RUNTIME'
113-
value: workerRuntime
114-
}
115-
{
116-
name: 'FUNCTIONS_EXTENSION_VERSION'
117-
value: runtimeVersion
105+
name: 'AzureWebJobsStorage__accountName'
106+
value: storageAccount.name
118107
}
119108
{
120109
name: 'WEBSITE_USE_PLACEHOLDER_DOTNETISOLATED'
121110
value: useDotnetIsolated ? '1' : '0'
122111
}
123-
{
124-
name: 'WEBSITE_CONTENTAZUREFILECONNECTIONSTRING'
125-
value: 'DefaultEndpointsProtocol=https;AccountName=${storageAccount.name};EndpointSuffix=${environment().suffixes.storage};AccountKey=${storageAccount.listKeys().keys[0].value}'
126-
}
127112
]
128113
}
129114
}
@@ -155,7 +140,7 @@ resource storageRoleAssignment 'Microsoft.Authorization/roleAssignments@2020-04-
155140
scope: storageAccount
156141
properties: {
157142
roleDefinitionId: resourceId('Microsoft.Authorization/roleDefinitions', storageRoleDefinitionId)
158-
principalId: functionFarm.identity.principalId
143+
principalId: function.identity.principalId
159144
principalType: 'ServicePrincipal'
160145
}
161146
}

src/Azure/Csharp.net8/CloudRepublic.BenchMark.SampleFunction.Net8/deployment.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ module csharpLinuxFlex '../../../../Deployment/testFunctions/parts/linuxFunction
5555
language: 'Csharp'
5656
// Not yet available in west europe
5757
location: 'northeurope'
58-
runtimeVersion: '~4'
5958
sku: 'net8-flex'
6059
prefix: prefix
6160
registrationName: 'AzureCsharpNet8LinuxFlex'

src/Azure/Nodejs/deployment.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ module csharpLinuxFlex '../../../Deployment/testFunctions/parts/linuxFunctionFle
5151
sku: 'flex'
5252
// Not yet available in west europe
5353
location: 'northeurope'
54-
runtimeVersion: '~4'
5554
prefix: prefix
5655
registrationName: 'AzureNodeLinux'
5756
testPath: '/api/Test'

0 commit comments

Comments
 (0)