chroma/lexers/testdata/bicep/bicep-module.actual
2025-03-22 20:46:00 +13:00

30 lines
No EOL
639 B
Text

@minLength(3)
@maxLength(11)
param storagePrefix string
param storageSKU string = 'Standard_LRS'
param location string = resourceGroup().location
var uniqueStorageName = '${storagePrefix}${uniqueString(resourceGroup().id)}'
resource stg 'Microsoft.Storage/storageAccounts@2019-04-01' = {
name: uniqueStorageName
location: location
sku: {
name: storageSKU
}
kind: 'StorageV2'
properties: {
supportsHttpsTrafficOnly: true
}
}
module webModule './webApp.bicep' = {
'name': 'webDeploy'
'params': {
'skuName': 'S1'
'location': location
}
}
output storageEndpoint object = stg.properties.primaryEndpoints