fix bug with magic forwarding.

This commit is contained in:
Greyscale 2024-11-23 17:21:54 +01:00
parent cb74c92781
commit 79a514c1ac
Signed by: grey
GPG key ID: DDB392AE64B32D89

View file

@ -2,6 +2,6 @@ module "port_forward" {
source = "../port-forward"
enabled = var.enabled
label = var.label
port_to = var.port != null ? var.port : var.docker_service.endpoint_spec[0].ports[0].published_port
port = var.port != null ? var.port : var.docker_service.endpoint_spec[0].ports[0].published_port
ip = var.target.fixed_ip
}