Add service-specific web egress rules

This commit is contained in:
2026-11-15 19:46:54 +09:00
parent 12e0a6e35e
commit 181891cd77
6 changed files with 69 additions and 2 deletions
+15
View File
@@ -180,6 +180,21 @@ module "network_public" {
public_tcp_ports = [80, 443]
}
web_egress_service_rules = {
consul_serf_lan = {
description = "Allow Consul Serf LAN gossip to the homelab service network"
ip_protocol = "udp"
port = 8301
cidr_ipv4 = "192.168.10.0/24"
}
loki_ingest = {
description = "Allow Loki ingest to the homelab service network"
ip_protocol = "tcp"
port = 3100
cidr_ipv4 = "192.168.10.0/24"
}
}
vyos_network_interface_id = module.network_vyos.primary_network_interface_id
vyos_security_group_id = module.network_vyos.security_group_id