Support for managing default ACLs (#248)

This commit is contained in:
Jorge Falcon authored and GitHub committed 2026-06-05 14:37:13 -04:00
1 parent 802881fcf2
commit b6bf32755b
2 files changed
+76

No files matched your search

+72
View File
@@ -36,6 +36,42 @@ variable "vpc" {
extra_kms_policies = []
})
vpc_flow_log_tags = optional(map(string), {})
manage_default_network_acl = optional(bool, true)
default_network_acl_ingress = optional(list(map(string)), [
{
rule_no = 100
action = "allow"
from_port = 0
to_port = 0
protocol = "-1"
cidr_block = "0.0.0.0/0"
},
{
rule_no = 101
action = "allow"
from_port = 0
to_port = 0
protocol = "-1"
ipv6_cidr_block = "::/0"
}])
default_network_acl_egress = optional(list(map(string)), [
{
rule_no = 100
action = "allow"
from_port = 0
to_port = 0
protocol = "-1"
cidr_block = "0.0.0.0/0"
},
{
rule_no = 101
action = "allow"
from_port = 0
to_port = 0
protocol = "-1"
ipv6_cidr_block = "::/0"
}])
})
default = {
name = "fleet"
@@ -69,6 +105,42 @@ variable "vpc" {
extra_kms_policies = []
}
vpc_flow_log_tags = {}
manage_default_network_acl = true
default_network_acl_ingress = [
{
rule_no = 100
action = "allow"
from_port = 0
to_port = 0
protocol = "-1"
cidr_block = "0.0.0.0/0"
},
{
rule_no = 101
action = "allow"
from_port = 0
to_port = 0
protocol = "-1"
ipv6_cidr_block = "::/0"
}]
default_network_acl_egress = [
{
rule_no = 100
action = "allow"
from_port = 0
to_port = 0
protocol = "-1"
cidr_block = "0.0.0.0/0"
},
{
rule_no = 101
action = "allow"
from_port = 0
to_port = 0
protocol = "-1"
ipv6_cidr_block = "::/0"
}]
}
validation {
condition = (