Azdevify eshopOnWeb
This commit is contained in:
21
infra/core/host/appserviceplan-functions.bicep
Normal file
21
infra/core/host/appserviceplan-functions.bicep
Normal file
@@ -0,0 +1,21 @@
|
||||
param environmentName string
|
||||
param location string = resourceGroup().location
|
||||
|
||||
param sku object = {
|
||||
name: 'Y1'
|
||||
tier: 'Dynamic'
|
||||
size: 'Y1'
|
||||
family: 'Y'
|
||||
}
|
||||
|
||||
module appServicePlanFunctions 'appserviceplan.bicep' = {
|
||||
name: 'appserviceplan-functions'
|
||||
params: {
|
||||
environmentName: environmentName
|
||||
location: location
|
||||
sku: sku
|
||||
kind: 'functionapp'
|
||||
}
|
||||
}
|
||||
|
||||
output appServicePlanId string = appServicePlanFunctions.outputs.appServicePlanId
|
||||
Reference in New Issue
Block a user