Add mgmt to lb rule for ingress ports
This commit is contained in:
parent
9df05afe20
commit
d5c31c0d32
|
@ -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
|
security_group_id = openstack_networking_secgroup_v2.lb-dco.id
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
resource "openstack_networking_secgroup_rule_v2" "lb_ingress_rule4_v4_dco" {
|
resource "openstack_networking_secgroup_rule_v2" "lb_ingress_rule4_v4_dco" {
|
||||||
direction = "ingress"
|
direction = "ingress"
|
||||||
ethertype = "IPv4"
|
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"
|
remote_ip_prefix = "89.47.191.66/32"
|
||||||
security_group_id = openstack_networking_secgroup_v2.lb-dco.id
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue