code:
cidrsubnet("10.1.2.0/21", 3, 8)
Issue:
When I run this in terraform I am getting prefix extension of 3 does not accommodate a subnet numbered 8. Why is this? Anything below 8 works. I've followed the following example: Configure subnets using terraform cidrsubnet But not sure what I am missing here....