reorganize firewall rules to make it more obvious what has changed

This commit is contained in:
2025-03-15 20:49:40 +01:00
parent 1eb2ce341a
commit a1e9f43a31
3 changed files with 42 additions and 40 deletions

View File

@@ -31,8 +31,6 @@ data "external" "my_ip" {
module "k8s" {
source = "./modules/hetzner/kubernetes"
development_ips = [ for ip in data.external.my_ip.result : ip ]
name = "cluster1"
ssh_keys = [for o in hcloud_ssh_key.this : o.id]
# Only odd numbers of servers make any sense
@@ -47,6 +45,11 @@ module "k8s" {
location = "fsn1"
count = 1
}]
kubernetes_exposed_ips = values(data.external.my_ip.result)
ssh_exposed_ips = values(data.external.my_ip.result)
public_tcp_services = {
http = ["80", "443"]
}
}
locals {