diff --git a/bootstrap/oci/main.tf b/bootstrap/oci/main.tf index 7b3edad..96f6d74 100644 --- a/bootstrap/oci/main.tf +++ b/bootstrap/oci/main.tf @@ -121,30 +121,6 @@ resource "oci_core_security_list" "email_subnet" { destination = "0.0.0.0/0" } - ingress_security_rules { - protocol = "6" - source = var.admin_cidr - tcp_options { - destination_port_range { - min = 22 - max = 22 - } - } - } - - dynamic "ingress_security_rules" { - for_each = var.open_mail_ports ? [25, 465, 587, 993] : [] - content { - protocol = "6" - source = "0.0.0.0/0" - tcp_options { - destination_port_range { - min = ingress_security_rules.value - max = ingress_security_rules.value - } - } - } - } } resource "oci_core_subnet" "email" {