Add service-specific web egress rules
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user