Add service-specific web egress rules
This commit is contained in:
@@ -46,6 +46,21 @@ module "network_public" {
|
||||
public_tcp_ports = [80, 443]
|
||||
}
|
||||
|
||||
web_egress_service_rules = {
|
||||
consul_serf_lan = {
|
||||
description = "Allow Consul Serf LAN gossip to the test service network"
|
||||
ip_protocol = "udp"
|
||||
port = 8301
|
||||
cidr_ipv4 = "203.0.113.0/24"
|
||||
}
|
||||
loki_ingest = {
|
||||
description = "Allow Loki ingest to the test service network"
|
||||
ip_protocol = "tcp"
|
||||
port = 3100
|
||||
cidr_ipv4 = "203.0.113.0/24"
|
||||
}
|
||||
}
|
||||
|
||||
vyos_network_interface_id = aws_network_interface.route_target.id
|
||||
vyos_security_group_id = aws_security_group.vyos_source.id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user