Log analytics workspace diagnostics setting not getting integrated with logic app in terraform with pipeline

Krishan Nagwan 0 Reputation points
2025-09-19T06:18:22.8166667+00:00

Hi Team,

I have been trying to integrate the diagnostic setting in the logic app with log analytics workspace. especially the logs and All metrics. but not able to integrate with azure pipeline.
Neither getting the error nor getting integrated . it keeps on running.

please suggest some course of action.

I have tried the code from Microsoft azurerm registery itself.

please enlighten me with some solutions.

Regards

Krishan Nagwan

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
{count} votes

1 answer

Sort by: Most helpful
  1. Krishan Nagwan 0 Reputation points
    2025-09-23T05:22:47.8833333+00:00

    We tried that method also, still the problem is same.

       # Logs
    #   enabled_log {
    #     category = "
    #      }
    
    #   enabled_metric {
    #     category = "AllMetrics"
    #   }
    

    lifecycle {
    ignore_changes = [ log_analytics_destination_type ]
    }

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.