Please adjust konnect_mesh_control_plane.my_meshcontrolplane.id and konnect_mesh.my_mesh.name according to your current configuration.
    
    
        resource "konnect_mesh_fault_injection" "default_fault_injection" {
  provider = konnect-beta
  type = "MeshFaultInjection"
  name = "default-fault-injection"
  spec = {
    target_ref = {
      kind = "Dataplane"
      labels = {
        app = "backend"
      }
    }
    from = [
      {
        target_ref = {
          kind = "Mesh"
          name = "default"
        }
        default = {
          http = [
            {
              delay = {
                percentage = "50.5"
                value = "5s"
              }
            }
          ]
        }
      }
    ]
  }
  labels   = {
  "kuma.io/mesh" = konnect_mesh.my_mesh.name
  }
  cp_id    = konnect_mesh_control_plane.my_meshcontrolplane.id
  mesh     = konnect_mesh.my_mesh.name
}