diff --git a/infra/vultr-kubernetes/firewall.tf b/infra/vultr-kubernetes/firewall.tf index 4c6766c..2bf4b44 100644 --- a/infra/vultr-kubernetes/firewall.tf +++ b/infra/vultr-kubernetes/firewall.tf @@ -1,6 +1,6 @@ # Inbound rules for web traffic resource vultr_firewall_rule web_inbound { - for_each = toset([for port in [80, 443] : tostring(port) ]) + for_each = toset([for port in [80, 443, 6443] : tostring(port) ]) firewall_group_id = vultr_kubernetes.athens.firewall_group_id #firewall_group_id = vultr_firewall_group.cluster.id protocol = "tcp" @@ -9,4 +9,3 @@ resource vultr_firewall_rule web_inbound { subnet_size = 0 port = each.value } -