Skip to content

Commit

Permalink
update module _example to Allow traffic from vpc-cidr in nacl attache…
Browse files Browse the repository at this point in the history
…d to private subnets (#73)
  • Loading branch information
h1manshu98 authored May 5, 2024
1 parent 5969112 commit 46c2f90
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions examples/complete/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
}

0 comments on commit 46c2f90

Please sign in to comment.