Skip to content

Commit 240c4ee

Browse files
committed
Version depends on linux vs windows
1 parent f9c6ebb commit 240c4ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/core/host/appservice.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ resource appService 'Microsoft.Web/sites@2022-03-01' = {
102102
{
103103
SCM_DO_BUILD_DURING_DEPLOYMENT: string(scmDoBuildDuringDeployment)
104104
ENABLE_ORYX_BUILD: string(enableOryxBuild)
105-
ApplicationInsightsAgent_EXTENSION_VERSION: '~2'
105+
ApplicationInsightsAgent_EXTENSION_VERSION: contains(kind, 'linux') ? '~3' : '~2'
106106
},
107107
runtimeName == 'python' ? { PYTHON_ENABLE_GUNICORN_MULTIWORKERS: 'true' } : {},
108108
!empty(applicationInsightsName) ? { APPLICATIONINSIGHTS_CONNECTION_STRING: applicationInsights.properties.ConnectionString } : {},

0 commit comments

Comments
 (0)