Terraform - cidrsubnet calculation tool

Posted on

This tool was hosted at https://cidr.surge.sh in the past. It is simple tool i modified from Michel MARIANI’s code. The extra functionality allows me to workout the arguments i need for cidrsubnet function while writting terraform. This function will interpolate the calculated ip range you configure at runtime.

CIDR to IP Range

Terrafrom : cidrsubnet(iprange, newbits, netnum)

IP Range to CIDR List