bicep extending the template earlier to support azure service bus
In the previous post we creating azure storage account using bicep. Now we are going to create a service bus module and calling it. So we will place our service bus under the path modules/servicebus/main.bicep and its contents are given here. This will create a service bus namespace and a queue @description('Name of the Service Bus namespace') param serviceBusNamespaceName string @description('Name of the Queue') param serviceBusQueueName string @description('Location for all resources.') param location string = resourceGroup().location resource serviceBusNamespace 'Microsoft.ServiceBus/namespaces@2022-01-01-preview' = { name: serviceBusNamespaceName location: location sku: { name: 'Standard' } properties: {} } resource serviceBusQueue 'Microsoft.ServiceBus/namespaces/queues@2022-01-01-preview' = { parent: serviceBusNamespace name: serviceBusQueueName properties: { lockDuration: 'PT5M' ...