Regarding azurerm_servicebus_namespace resource


I am using azurerm_servicebus_namespace resource and would like to add the diagnostic setting in the Azure service bus .

I tried searching for the same in

however, did not find any.

Please suggest , if there is any resource for, to add diagnostic setting in Azure service bus. if yes, please redirect me to the correct URL. Thanks

please suggest . this is blocker for me

Hi Irfan,
You can use “azurerm_monitor_diagnostic_setting” resource for configuring diagnostic setting for Servicebus Namespace (or any azure resource).
“target_resource_id” is the argument where you need to provide resource Id of Servicebus Namespace.

Hope this helps.


Thanks Sai. will have a look and come back