Skip to content

Commit b4aba39

Browse files
authored
Attach Application Insights objects to global Log Analytics Workspace (#6219)
* Attach workspace id to application insights resource. * Revert accidental commission of lock file.
1 parent d07dd14 commit b4aba39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ops/services/monitoring/main.tf

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ resource "azurerm_application_insights" "app_insights" {
1414
resource_group_name = var.rg_name
1515
name = "prime-simple-report-${var.env}-insights"
1616
disable_ip_masking = false
17+
workspace_id = data.azurerm_log_analytics_workspace.law.id
1718

1819
daily_data_cap_in_gb = var.ai_ingest_cap_gb
1920
retention_in_days = var.ai_retention_days

0 commit comments

Comments
 (0)