From 6c213cbae1dd29dfec8d3cd00f39a22e38903491 Mon Sep 17 00:00:00 2001 From: Himanshu Ahirwar Date: Thu, 18 Jan 2024 00:02:29 +0530 Subject: [PATCH] update module _example to Allow traffic from vpc-cidr in nacl attached to private subnets --- _example/complete/example.tf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/_example/complete/example.tf b/_example/complete/example.tf index fbe52b9..6ac86ba 100644 --- a/_example/complete/example.tf +++ b/_example/complete/example.tf @@ -52,4 +52,24 @@ module "subnets" { public_subnet_assign_ipv6_address_on_creation = true enable_ipv6 = true private_subnet_assign_ipv6_address_on_creation = true + private_inbound_acl_rules = [ + { + rule_number = 100 + rule_action = "allow" + from_port = 0 + to_port = 0 + protocol = "-1" + cidr_block = module.vpc.vpc_cidr_block + } + ] + private_outbound_acl_rules = [ + { + rule_number = 100 + rule_action = "allow" + from_port = 0 + to_port = 0 + protocol = "-1" + cidr_block = module.vpc.vpc_cidr_block + } + ] }