mirror of
https://github.com/status-im/infra-swarm.git
synced 2025-02-22 12:28:11 +00:00
add 8301 consul port to open by default
This commit is contained in:
parent
ef9173094f
commit
9571bd8b5e
@ -3,9 +3,10 @@ locals {
|
||||
stage = "${terraform.workspace}"
|
||||
tokens = "${split(".", local.stage)}"
|
||||
dc = "${var.provider}-${var.zone}"
|
||||
/* always add SSH, Tinc, and Netdata to allowed ports */
|
||||
/* always add SSH, Tinc, Netdata, and Consul to allowed ports */
|
||||
open_ports = [
|
||||
"22/22", "655/655", "8000/8000", "${var.open_ports}",
|
||||
"22/22", "655/655", "8000/8000", "8301/8301",
|
||||
"${var.open_ports}",
|
||||
]
|
||||
}
|
||||
/* RESOURCES ------------------------------------*/
|
||||
|
@ -2,8 +2,11 @@
|
||||
locals {
|
||||
stage = "${terraform.workspace}"
|
||||
dc = "${var.provider}-${var.zone}"
|
||||
/* always add SSH, Tinc, and Netdata to allowed ports */
|
||||
open_ports = ["22", "655", "8000", "${var.open_ports}"]
|
||||
/* always add SSH, Tinc, Netdata, and Consul to allowed ports */
|
||||
open_ports = [
|
||||
"22", "655", "8000", "8301",
|
||||
"${var.open_ports}"
|
||||
]
|
||||
}
|
||||
/* RESOURCES ------------------------------------*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user