I\'m trying to create multiple subnets from one resource block and I get the following error
Error: aws_subnet.private: cidr_block must be a single v
private_subnet is a list, so you should pick a single element, e.g.
private_subnet
cidr_block = "${element(var.private_subnet,count.index)}"