Azure Application Gateway for each

Hello, looking for some help regarding resources being removed and recreated, even though they are not changed. From what I understand, when using for_each, it does not matter what order it’s in. If I add a new probe in the following list, it will add the new entry but wants to remove and re-create the previous entries, even though there are no changes.

What can be done to fix this?

resource "azurerm_application_gateway" "appgw" {
  count               = var.appgateway_deploy ? 1 : 0
  name                = var.name
..
..
..
  dynamic "probe" {
    for_each = var.probes
    content {
      name                = probe.value.name
      host                = lookup(probe.value, "host", null)
      protocol            = probe.value.protocol
      path                = probe.value.path
      interval            = probe.value.interval
      timeout             = probe.value.timeout
      unhealthy_threshold = probe.value.unhealthy_threshold
    }
  }
..
..
..
}

This has been fixed with azurerm 3.0