...

Text file src/github.com/alecthomas/chroma/lexers/testdata/bicep/bicep-module.actual

Documentation: github.com/alecthomas/chroma/lexers/testdata/bicep

     1@minLength(3)
     2@maxLength(11)
     3param storagePrefix string
     4
     5param storageSKU string = 'Standard_LRS'
     6param location string = resourceGroup().location
     7
     8var uniqueStorageName = '${storagePrefix}${uniqueString(resourceGroup().id)}'
     9
    10resource stg 'Microsoft.Storage/storageAccounts@2019-04-01' = {
    11  name: uniqueStorageName
    12  location: location
    13  sku: {
    14    name: storageSKU
    15  }
    16  kind: 'StorageV2'
    17  properties: {
    18    supportsHttpsTrafficOnly: true
    19  }
    20}
    21
    22module webModule './webApp.bicep' = {
    23  'name': 'webDeploy'
    24  'params': {
    25    'skuName': 'S1'
    26    'location': location
    27  }
    28}
    29
    30output storageEndpoint object = stg.properties.primaryEndpoints

View as plain text