Unable to ignore sub block scale_action cooldown only

Trying to do an ignore on “cooldown” only. Below is the block of code. I have tried many things but none seem to work . If anybody can advise how to better handle this. The plan runs but not getting the ignore on the cooldown. It is changing it back each time.

profile.0.rule.0.scale_action.0.cooldown

dynamic “rule” {

  for_each = var.autoscale_rules

  content {

    metric_trigger {

      metric_resource_id = azurerm_app_service_plan.asp.id

      metric_name        = rule.value.metric_name

      operator           = rule.value.operator

      threshold          = rule.value.threshold

      time_grain         = "PT1M"

      time_window        = "PT5M"

      time_aggregation   = "Average"

      statistic          = "Average"

    }

    scale_action {

      direction = rule.value.direction

      value     = rule.value.value

      type      = "ChangeCount"

      cooldown  = "PT1M"

    }

  }

}

}

tags = {

CreatedOnDate = timestamp()

}

lifecycle {

ignore_changes = [

  tags["CreatedOnDate"],

  profile.0.rule.0.scale_action.0.cooldown

]

}

}