dotfiles/terranix/main/containers/gateway-mesh/job.hcl
magic_rb 4a29b6d8d3
Move terranix config into terranix/main
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-04-07 10:45:07 +02:00

30 lines
397 B
HCL

variable "datacenters" {
type = list(string)
}
job "gateway-mesh" {
datacenters = var.datacenters
group "envoy" {
network {
mode = "bridge"
port "mesh_wan" {
host_network = "mesh"
}
}
service {
name = "mesh-gateway"
port = "mesh_wan"
connect {
gateway {
mesh {}
proxy {}
}
}
}
}
}