Skip to content

Commit c62e282

Browse files
committed
🥍 Wed Oct 23 15:56:12 UTC 2024
1 parent db74265 commit c62e282

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/InfrastructureAsCode/main.bicep

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,23 @@ resource acr 'Microsoft.ContainerRegistry/registries@2020-11-01-preview' = {
4949

5050

5151
// Generate bicep code to create an Azure App Service Plan
52-
resource appServicePlan 'Microsoft.Web/serverfarms@2020-06-01' = {
52+
resource appServicePlan 'Microsoft.Web/serverfarms@2022-09-01' = {
5353
name: appServicePlanName
5454
location: location
55+
kind: 'linux'
5556
properties: {
56-
name: appServicePlanName
57-
reserved: true
58-
sku: {
59-
name: sku
60-
tier: 'Standard'
61-
size: 'S1'
62-
}
57+
zoneRedundant: false
58+
}
59+
sku: {
60+
capacity: 1
61+
tier: 'Standard'
62+
size: sku
6363
}
6464
}
6565

6666
// Generate bicep code to create an Azure Web App using docker image name imageName and startup command of startupCommand
6767

68-
resource webApp 'Microsoft.Web/sites@2020-06-01' = {
68+
resource webApp 'Microsoft.Web/sites@2022-09-01' = {
6969
name: webAppName
7070
location: location
7171
properties: {

0 commit comments

Comments
 (0)