Add mgmt to lb rule for ingress ports

This commit is contained in:
Magnus Andersson 2024-11-06 07:47:20 +01:00
parent 9df05afe20
commit d5c31c0d32
Signed by: mandersson
GPG key ID: 1F7C896B34B28164

View file

@ -40,6 +40,8 @@ resource "openstack_networking_secgroup_rule_v2" "lb_ingress_rule3_v4_dco" {
security_group_id = openstack_networking_secgroup_v2.lb-dco.id
}
resource "openstack_networking_secgroup_rule_v2" "lb_ingress_rule4_v4_dco" {
direction = "ingress"
ethertype = "IPv4"
@ -61,3 +63,25 @@ resource "openstack_networking_secgroup_rule_v2" "lb_ingress_rule5_v4_dco" {
remote_ip_prefix = "89.47.191.66/32"
security_group_id = openstack_networking_secgroup_v2.lb-dco.id
}
resource "openstack_networking_secgroup_rule_v2" "lb_ingress_rule6_v4_dco" {
direction = "ingress"
ethertype = "IPv4"
protocol = "tcp"
port_range_min = "8443"
port_range_max = "8443"
provider = openstack.dco
remote_ip_prefix = "89.47.191.66/32"
security_group_id = openstack_networking_secgroup_v2.lb-dco.id
}
resource "openstack_networking_secgroup_rule_v2" "lb_ingress_rule7_v4_dco" {
direction = "ingress"
ethertype = "IPv4"
protocol = "tcp"
port_range_min = "8080"
port_range_max = "8080"
provider = openstack.dco
remote_ip_prefix = "89.47.191.66/32"
security_group_id = openstack_networking_secgroup_v2.lb-dco.id
}