We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8a35e commit ab30619Copy full SHA for ab30619
modules/network/rules.tf
@@ -133,6 +133,16 @@ resource "oci_core_network_security_group_security_rule" "oke" {
133
tonumber(lookup(each.value, "port", 0)) == local.apiserver_port,
134
contains(var.control_plane_allowed_cidrs, local.anywhere),
135
]),
136
+
137
+ # TCP ingress to internal load balancer from anywhere has been configured explicitly
138
+ alltrue([
139
+ contains(keys(var.allow_rules_internal_lb), each.key),
140
+ ]),
141
142
+ # TCP ingress to public load balancer from anywhere has been configured explicitly
143
144
+ contains(keys(var.allow_rules_public_lb), each.key),
145
146
])
147
error_message = "Unexpected open ingress rule: ${each.key}"
148
}
0 commit comments