Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizMacedo authored Oct 15, 2024
1 parent 745e2d3 commit 6df073c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions infra/webapp.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ param location string = resourceGroup().location

var appServicePlanName = toLower('AppServicePlan-${webAppName}')

resource appServicePlan 'Microsoft.Web/serverfarms@2020-06-01' = {
resource appServicePlan 'Microsoft.Web/serverfarms@2022-09-01' = {
name: appServicePlanName
location: location
properties: {
Expand All @@ -13,9 +13,8 @@ resource appServicePlan 'Microsoft.Web/serverfarms@2020-06-01' = {
sku: {
name: sku
}
kind: 'app'
}
resource appService 'Microsoft.Web/sites@2020-06-01' = {
resource appService 'Microsoft.Web/sites@2022-09-01' = {
name: webAppName
kind: 'app'
location: location
Expand Down

0 comments on commit 6df073c

Please sign in to comment.