title: Invalid subnet range for aws subnet using Terraform
body: <p>keep getting the following error while I try to create a subnet using terraform. No issues creating subnet using aws console. Could someone help me?</p>
  <p><code> Error: error creating subnet: InvalidSubnet.Range: The CIDR '10.2.0.128/26' is invalid. │ status code: 400</code></p>
  <p><code>Error: error creating subnet: InvalidSubnet.Range: The CIDR '10.2.0.64/26' is invalid. │ status code: 400</code></p>
  <p><code>Error: error creating subnet: InvalidSubnet.Range: The CIDR '10.2.0.0/26' is invalid. │  status code: 400</code></p>
  <p>I am using below CIDR ranges for VPC and Subnets</p>
  <pre><code>variable &quot;cidr_block&quot; {
  default       = &quot;10.1.0.0/21&quot;
  description   = &quot;VPC CIDR Block&quot;
  type          = string
  }
  
  variable &quot;public_subnet_cidr_blocks&quot; {
  default     = [&quot;10.1.0.0/26&quot;,&quot;10.2.0.0/26&quot;,&quot;10.1.0.64/26&quot;,&quot;10.2.0.64/26&quot;,&quot;10.1.0.128/26&quot;,&quot;10.2.0.128/26&quot;]
  type        = list
  description = &quot;List of public subnet CIDR blocks&quot;
  }
  
  variable &quot;private_subnet_cidr_blocks&quot; {
  default     = [&quot;10.3.0.0/25&quot;, &quot;10.4.0.128/25&quot;, &quot;10.3.0.128/25&quot;, &quot;10.5.0.0/25&quot;, &quot;10.4.0.0/25&quot;,&quot;10.5.0.128/25&quot;]
  type        = list
  description = &quot;List of private subnet CIDR blocks&quot;
  }
  </code></pre>