dotfiles/terranix/containers/gateway-mesh/job.hcl
Magic_RB 86d13b4f40 Add terranix config for gateway-mesh
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-16 16:11:22 +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 {}
}
}
}
}
}