Files
eShopOnWeb/infra/core/host/staticwebapp.bicep
2022-11-18 10:25:09 +08:00

22 lines
399 B
Bicep

param name string
param location string = resourceGroup().location
param tags object = {}
param sku object = {
name: 'Free'
tier: 'Free'
}
resource web 'Microsoft.Web/staticSites@2022-03-01' = {
name: name
location: location
tags: tags
sku: sku
properties: {
provider: 'Custom'
}
}
output name string = web.name
output uri string = 'https://${web.properties.defaultHostname}'