[upcloud] Add firewall default deny policy and port allowlisting (#9058)

This commit is contained in:
Ajarmar
2022-07-19 09:18:06 +02:00
committed by GitHub
parent ce04fdde72
commit 0d32c0d92b
9 changed files with 305 additions and 4 deletions

View File

@@ -49,6 +49,34 @@ variable "k8s_allowed_remote_ips" {
}))
}
variable "master_allowed_ports" {
type = list(object({
protocol = string
port_range_min = number
port_range_max = number
start_address = string
end_address = string
}))
}
variable "worker_allowed_ports" {
type = list(object({
protocol = string
port_range_min = number
port_range_max = number
start_address = string
end_address = string
}))
}
variable "firewall_default_deny_in" {
type = bool
}
variable "firewall_default_deny_out" {
type = bool
}
variable "loadbalancer_enabled" {
type = bool
}