|
@@ -71,6 +71,11 @@ variable "flash-iops" {
|
|
|
default = "100"
|
|
|
}
|
|
|
|
|
|
+variable "allow-public-ssh" {
|
|
|
+ description = "Allow SSH to be open to the public - disabled by default"
|
|
|
+ default = "0"
|
|
|
+ }
|
|
|
+
|
|
|
variable "internal-rules" {
|
|
|
description = "Security rules to allow for connectivity within the VPC"
|
|
|
type = list
|
|
@@ -208,6 +213,55 @@ variable "internal-rules" {
|
|
|
protocol = "udp"
|
|
|
comment = "Let UDP out to the VPC"
|
|
|
},
|
|
|
+ {
|
|
|
+ type = "ingress"
|
|
|
+ from_port = "8301"
|
|
|
+ to_port = "8301"
|
|
|
+ protocol = "udp"
|
|
|
+ comment = "Consul Traffic Gossip"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type = "ingress"
|
|
|
+ from_port = "8301"
|
|
|
+ to_port = "8301"
|
|
|
+ protocol = "tcp"
|
|
|
+ comment = "Consul Traffic Gossip"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type = "ingress"
|
|
|
+ from_port = "8600"
|
|
|
+ to_port = "8600"
|
|
|
+ protocol = "tcp"
|
|
|
+ comment = "Consul Traffic DNS"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type = "ingress"
|
|
|
+ from_port = "8600"
|
|
|
+ to_port = "8600"
|
|
|
+ protocol = "udp"
|
|
|
+ comment = "Consul Traffic DNS"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type = "ingress"
|
|
|
+ from_port = "8400"
|
|
|
+ to_port = "8400"
|
|
|
+ protocol = "tcp"
|
|
|
+ comment = "Consul Traffic RPC"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type = "ingress"
|
|
|
+ from_port = "8500"
|
|
|
+ to_port = "8500"
|
|
|
+ protocol = "tcp"
|
|
|
+ comment = "Consul Traffic HTTP"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type = "ingress"
|
|
|
+ from_port = "8300"
|
|
|
+ to_port = "8300"
|
|
|
+ protocol = "tcp"
|
|
|
+ comment = "Consul Traffic Internal"
|
|
|
+ },
|
|
|
]
|
|
|
}
|
|
|
|