Table of contents
Cidr
The Fn::Cidr
function in CloudFormation takes a Cidr block and splits it into smaller chunks. The result is a list of Cidr Blocks
Info on
Fn::Cidr
from CloudFormation can be found here
This example create 6 CIDRs with a subnet mask /27 from a CIDR with a mask of /24.
Cidr(+"192.168.0.0/24", +"6", +"5")