Skip to content

Commit 46c2f90

Browse files
authored
update module _example to Allow traffic from vpc-cidr in nacl attached to private subnets (#73)
1 parent 5969112 commit 46c2f90

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

examples/complete/example.tf

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,24 @@ module "subnets" {
5252
public_subnet_assign_ipv6_address_on_creation = true
5353
enable_ipv6 = true
5454
private_subnet_assign_ipv6_address_on_creation = true
55+
private_inbound_acl_rules = [
56+
{
57+
rule_number = 100
58+
rule_action = "allow"
59+
from_port = 0
60+
to_port = 0
61+
protocol = "-1"
62+
cidr_block = module.vpc.vpc_cidr_block
63+
}
64+
]
65+
private_outbound_acl_rules = [
66+
{
67+
rule_number = 100
68+
rule_action = "allow"
69+
from_port = 0
70+
to_port = 0
71+
protocol = "-1"
72+
cidr_block = module.vpc.vpc_cidr_block
73+
}
74+
]
5575
}

0 commit comments

Comments
 (0)