Skip to content

Commit 76360fe

Browse files
authored
fix(m365): explicitly enable local auth for log analytics workspace (#26)
this fixes an issue where container logs were not appearing and was caused by an issue in the terraform provider setting the default incorrectly
1 parent d387492 commit 76360fe

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

m365/terraform/main.tf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ locals {
1616
}
1717

1818
resource "azurerm_log_analytics_workspace" "monitor_law" {
19-
name = "${local.name}-monitor-loganalytics"
20-
location = var.location
21-
resource_group_name = azurerm_resource_group.rg.name
22-
sku = "PerGB2018"
23-
retention_in_days = 90
19+
name = "${local.name}-monitor-loganalytics"
20+
location = var.location
21+
resource_group_name = azurerm_resource_group.rg.name
22+
sku = "PerGB2018"
23+
retention_in_days = 90
24+
local_authentication_enabled = true
2425

2526
lifecycle {
2627
ignore_changes = [tags]

0 commit comments

Comments
 (0)