feat: allow sec group sec for any traffic (do not default to tcp)
This commit is contained in:
parent
0d8bfda9f0
commit
e8a4a4073e
2
main.tf
2
main.tf
@ -41,7 +41,7 @@ resource "openstack_networking_secgroup_rule_v2" "egress" {
|
|||||||
|
|
||||||
description = try(each.value.description, false) != false ? each.value.description : "Terraform managed."
|
description = try(each.value.description, false) != false ? each.value.description : "Terraform managed."
|
||||||
ethertype = try(each.value.ethertype, false) != false ? each.value.ethertype : "IPv4"
|
ethertype = try(each.value.ethertype, false) != false ? each.value.ethertype : "IPv4"
|
||||||
protocol = try(each.value.protocol, false) != false ? each.value.protocol : "tcp"
|
protocol = try(each.value.protocol, false) != false ? each.value.protocol : null
|
||||||
port_range_min = try(each.value.port_range_min, false) != false ? each.value.port_range_min : null
|
port_range_min = try(each.value.port_range_min, false) != false ? each.value.port_range_min : null
|
||||||
port_range_max = try(each.value.port_range_max, false) != false ? each.value.port_range_max : null
|
port_range_max = try(each.value.port_range_max, false) != false ? each.value.port_range_max : null
|
||||||
remote_ip_prefix = try(each.value.remote_ip_prefix, false) != false ? each.value.remote_ip_prefix : null
|
remote_ip_prefix = try(each.value.remote_ip_prefix, false) != false ? each.value.remote_ip_prefix : null
|
||||||
|
Loading…
Reference in New Issue
Block a user