Azdev-ify changes for latest /bicep/core
This commit is contained in:
@@ -1,18 +1,23 @@
|
||||
param environmentName string
|
||||
param name string
|
||||
param location string = resourceGroup().location
|
||||
param appServicePlanId string
|
||||
|
||||
param tags object = {}
|
||||
param serviceName string = 'web'
|
||||
param appCommandLine string = 'pm2 serve /home/site/wwwroot --no-daemon --spa'
|
||||
param applicationInsightsName string = ''
|
||||
param appServicePlanId string
|
||||
param appSettings object = {}
|
||||
|
||||
module web '../core/host/appservice-dotnet.bicep' = {
|
||||
name: '${serviceName}-appservice-dotnet-module'
|
||||
module web '../core/host/appservice.bicep' = {
|
||||
name: '${name}-deployment'
|
||||
params: {
|
||||
environmentName: environmentName
|
||||
name: name
|
||||
location: location
|
||||
appServicePlanId: appServicePlanId
|
||||
serviceName: serviceName
|
||||
runtimeName: 'dotnetcore'
|
||||
runtimeVersion: '6.0'
|
||||
tags: union(tags, { 'azd-service-name': serviceName })
|
||||
scmDoBuildDuringDeployment: false
|
||||
}
|
||||
}
|
||||
|
||||
output WEB_NAME string = web.outputs.name
|
||||
output WEB_URI string = web.outputs.uri
|
||||
output REACT_APP_WEB_BASE_URL string = web.outputs.uri
|
||||
|
||||
Reference in New Issue
Block a user