This commit is contained in:
Djeeberjr 2022-12-03 15:06:26 +01:00
parent 7e8b54ff5f
commit 03837072fb
3 changed files with 13 additions and 13 deletions

6
vcn.tf
View File

@ -126,16 +126,16 @@ resource "oci_core_default_security_list" "list" {
dynamic "tcp_options" {
for_each = ingress_security_rules.value.is_udp ? [] : [1]
content{
content {
max = ingress_security_rules.value.port_max
min = ingress_security_rules.value.port_min
}
}
dynamic "udp_options"{
dynamic "udp_options" {
for_each = ingress_security_rules.value.is_udp ? [1] : []
content{
content {
max = ingress_security_rules.value.port_max
min = ingress_security_rules.value.port_min
}