BUG - Service Template - AKS Template plan always calculates 1 change
After the Software Upgrades from Issue #75 (closed) the plan for Service Resources always calculates a Diagnostic Change due to a new implementation of diagnostic settings.
# azurerm_monitor_diagnostic_setting.aks_diagnostics will be updated in-place
~ resource "azurerm_monitor_diagnostic_setting" "aks_diagnostics" {
id = "/subscriptions/929e9ae0-7bb1-4563-a200-9863fe27cae4/resourcegroups/osdu-mvp-srscholl-0uq8-rg/providers/Microsoft.ContainerService/managedClusters/osdu-mvp-srscholl-0uq8-aks|aks_diagnostics"
name = "aks_diagnostics"
# (2 unchanged attributes hidden)
- metric {
- category = "API Server (PREVIEW)" -> null
- enabled = true -> null
- retention_policy {
- days = 100 -> null
- enabled = true -> null
}
}
+ metric {
+ category = "AllMetrics"
+ enabled = true
+ retention_policy {
+ days = 100
+ enabled = true
}
}
# (7 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.