Skip to content

2.4.0

Latest

Choose a tag to compare

@thiago4go thiago4go released this 07 Nov 04:54
6a6d5b1

Features

  • Add per-tier subnet sizing support (#60)

What's New

Enable mixed subnet sizes within the same VPC by overriding newbits per tier:

module "network" {
 source = "git::https://github.com/DNXLabs/terraform-aws-network.git?ref=2.4.0"
 
 vpc_cidr        = "10.39.32.0/21"
 newbits         = 5  # Default /26
 
 #Override per tier
 public_newbits  = 5  # /26 (62 IPs)
 private_newbits = 3  # /24 (254 IPs)
 secure_newbits  = 5  # /26 (62 IPs)
}

Backward Compatibility

✅ 100% backward compatible - existing configurations work unchanged