From 4c65889c7d12e1a3e2fb72781f8ed3c5a62f6597 Mon Sep 17 00:00:00 2001 From: Leigh Shayler Date: Thu, 4 May 2023 18:43:00 +0800 Subject: [PATCH] Fixed deployment issue --- deploy/appService.bicep | 22 +++------------------- deploy/containerRegistry.bicep | 2 +- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/deploy/appService.bicep b/deploy/appService.bicep index 97c9f4b..3b2a811 100644 --- a/deploy/appService.bicep +++ b/deploy/appService.bicep @@ -52,9 +52,9 @@ resource appServicePlan 'Microsoft.Web/serverfarms@2021-02-01' = { name: appServicePlanName location: location sku: { - name: 'P1v3' - size: 'P1v3' - tier: 'PremiumV3' + name: 'B1' + size: 'B1' + tier: 'Basic' capacity: 1 } kind: 'linux' @@ -183,14 +183,6 @@ resource diagnosticSettingsApp 'Microsoft.Insights/diagnosticSettings@2021-05-01 scope: appService properties: { logs: [ - { - category: 'AppServiceAntivirusScanAuditLogs' - enabled: true - retentionPolicy: { - days: 0 - enabled: false - } - } { category: 'AppServiceHTTPLogs' enabled: true @@ -215,14 +207,6 @@ resource diagnosticSettingsApp 'Microsoft.Insights/diagnosticSettings@2021-05-01 enabled: false } } - { - category: 'AppServiceFileAuditLogs' - enabled: true - retentionPolicy: { - days: 0 - enabled: false - } - } { category: 'AppServiceAuditLogs' enabled: true diff --git a/deploy/containerRegistry.bicep b/deploy/containerRegistry.bicep index a225222..cd6d00d 100644 --- a/deploy/containerRegistry.bicep +++ b/deploy/containerRegistry.bicep @@ -17,7 +17,7 @@ resource containerRegistry 'Microsoft.ContainerRegistry/registries@2021-12-01-pr name: containerRegistryName location: location sku: { - name: 'Standard' + name: 'Basic' } }