Please adjust konnect_mesh_control_plane.my_meshcontrolplane.id and konnect_mesh.my_mesh.name according to your current configuration.
resource "konnect_mesh_tls" "strict_mode" {
provider = konnect-beta
type = "MeshTLS"
name = "strict-mode"
spec = {
target_ref = {
kind = "Dataplane"
labels = {
app = "redis"
}
}
rules = [
{
default = {
mode = "Strict"
}
}
]
}
labels = {
"kuma.io/mesh" = konnect_mesh.my_mesh.name
}
cp_id = konnect_mesh_control_plane.my_meshcontrolplane.id
mesh = konnect_mesh.my_mesh.name
}