setting retention_in_days worked OK, but setting daily_quota_gb did not. We configured the daily cap from the Azure Portal but this automation rolls it back to be disabled. This PR makes it so we can set a value for our environment, and it is not rolled back.
# module.alz.azurerm_log_analytics_workspace.management["/subscriptions/96f9ca86-6842-4c2f-aada-2daafa1b0b9c/resourceGroups/redpanda-mgmt/providers/Microsoft.OperationalInsights/workspaces/redpanda-la"] will be updated in-place
~ resource "azurerm_log_analytics_workspace" "management" {
~ daily_quota_gb = 64 -> -1
id = "/subscriptions/96f9ca86-6842-4c2f-aada-2daafa1b0b9c/resourceGroups/redpanda-mgmt/providers/Microsoft.OperationalInsights/workspaces/redpanda-la"
name = "redpanda-la"
tags = {
"deployedBy" = "terraform/azure/caf-enterprise-scale"
"redpanda-org" = "azure-governance"
}
# (14 unchanged attributes hidden)
}
setting
retention_in_days
worked OK, but settingdaily_quota_gb
did not. We configured the daily cap from the Azure Portal but this automation rolls it back to be disabled. This PR makes it so we can set a value for our environment, and it is not rolled back.