diff --git a/.azure/modules/functionApp/appSettings.bicep b/.azure/modules/functionApp/appSettings.bicep index 37a7067a2..eeca797f2 100644 --- a/.azure/modules/functionApp/appSettings.bicep +++ b/.azure/modules/functionApp/appSettings.bicep @@ -11,7 +11,7 @@ resource webApp 'Microsoft.Web/sites@2023-12-01' existing = { name: webAppName } -resource siteconfig 'Microsoft.Web/sites/config@2024-04-01' = { +resource siteconfig 'Microsoft.Web/sites/config@2023-12-01' = { parent: webApp name: 'appsettings' properties: union(currentAppSettings, appSettings) diff --git a/.azure/modules/functionApp/slackNotifier.bicep b/.azure/modules/functionApp/slackNotifier.bicep index cce6842bd..fbd0629eb 100644 --- a/.azure/modules/functionApp/slackNotifier.bicep +++ b/.azure/modules/functionApp/slackNotifier.bicep @@ -80,7 +80,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2023-04-01' = { tags: tags } -resource applicationServicePlan 'Microsoft.Web/serverfarms@2024-04-01' = { +resource applicationServicePlan 'Microsoft.Web/serverfarms@2023-12-01' = { name: '${namePrefix}-slacknotifier-asp' location: location sku: {