terraform-aws-modules / terraform-aws-vpc

Terraform module to create AWS VPC resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws
Apache License 2.0
2.99k stars 4.44k forks source link

Mutiplie CIDR block not supported #997

Closed nithinp02 closed 1 year ago

nithinp02 commented 1 year ago

Is your request related to a problem? Please describe.

I am using VPC module to create the VPC Infrastructure.

=============== module "vpc" { source = "terraform-aws-modules/vpc/aws"

using the cidr option, we were able to provide only 1 CIDR for VPC. It appears the multiple CIDR function is not supported.

Describe the solution you'd like.

We would like to know how we can add multiple CIDR block to the same VPC while using this module.

ayoh1 commented 1 year ago

you have an example covering this use case... https://github.com/terraform-aws-modules/terraform-aws-vpc/blob/master/examples/secondary-cidr-blocks/main.tf

github-actions[bot] commented 12 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.