Please adjust konnect_mesh_control_plane.my_meshcontrolplane.id and konnect_mesh.my_mesh.name according to your current configuration.
resource "konnect_mesh_timeout" "mesh_gateways_timeout_all_default" {
provider = konnect-beta
type = "MeshTimeout"
name = "mesh-gateways-timeout-all-default"
spec = {
target_ref = {
kind = "Mesh"
proxy_types = [
= "Gateway"
]
}
from = [
{
target_ref = {
kind = "Mesh"
}
default = {
idle_timeout = "5m"
http = {
stream_idle_timeout = "5s"
request_headers_timeout = "500ms"
}
}
}
]
to = [
{
target_ref = {
kind = "Mesh"
}
default = {
idle_timeout = "1h"
http = {
stream_idle_timeout = "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
}