Skip to content

Commit

Permalink
Add app service plan template
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrWachulec committed Mar 17, 2024
1 parent e3c0d9a commit 695c297
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/infra/vm-start-stop.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ param location string = resourceGroup().location
@description('Name of the storage account')
param storageAccountName string

@description('Name of the storage account')
param appServicePlanName string

resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = {
name: storageAccountName
location: location
Expand All @@ -12,3 +15,12 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = {
}
kind: 'StorageV2'
}

resource appServicePlan 'Microsoft.Web/serverfarms@2023-01-01' = {
name: appServicePlanName
location: location
sku: {
name: 'F1'
tier: 'Free'
}
}
1 change: 1 addition & 0 deletions src/infra/vm-start-stop.dev.bicepparam
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using 'vm-start-stop.bicep'

param storageAccountName = 'eitvmsplcdevst1'
param appServicePlanName = 'eit-vms-plc-prd-plan-1'

0 comments on commit 695c297

Please sign in to comment.