configuring MMA agent to send logs to different workspaces with help of terraform code
I am getting error the creation of extension failed
Error: compute.VirtualMachineExtensionsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="BadRequest" Message="Multiple VMExtensions per handler not supported for OS type 'Windows'. VMExtension 'SecOpsMonitoringAgentExtension' with handler 'Microsoft.EnterpriseCloud.Monitoring.MicrosoftMonitoringAgent' already added or specified in input." on deploy_mgmt.tf line 100, in resource "azurerm_virtual_machine_extension" "SecOps_MonitoringAgentExtension": 100: resource "azurerm_virtual_machine_extension" "SecOps_MonitoringAgentExtension" {
could someone help me with terraform code to achive this