-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplicationinsights.tf
More file actions
14 lines (13 loc) · 769 Bytes
/
applicationinsights.tf
File metadata and controls
14 lines (13 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module "application_insights" {
source = "github.com/PerfectThymeTech/terraform-azurerm-modules//modules/applicationinsights?ref=main"
providers = {
azurerm = azurerm
}
location = var.location
resource_group_name = azurerm_resource_group.logging_rg.name
tags = var.tags
application_insights_name = "${local.prefix}-appi001"
application_insights_application_type = "other"
application_insights_log_analytics_workspace_id = var.log_analytics_workspace_id
diagnostics_configurations = [] # local.diagnostics_configurations # Disabled to avoid duplicate logs in LAW and App Insights
}