fix bug with magic forwarding.
This commit is contained in:
parent
cb74c92781
commit
79a514c1ac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
Loading…
Reference in a new issue