# Terraform: network-core/modules/aws-vpc ## Requirements | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.10.5 | | [aws](#requirement\_aws) | >= 5.80.0 | | [awscc](#requirement\_awscc) | >= 1.24.0 | ## Providers | Name | Version | |------|---------| | [aws](#provider\_aws) | >= 5.80.0 | | [awscc](#provider\_awscc) | >= 1.24.0 | ## Modules | Name | Source | Version | |------|--------|---------| | [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.8.1 | ## Resources | Name | Type | |------|------| | [aws_networkmanager_vpc_attachment.vpc_core_network_attach](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/networkmanager_vpc_attachment) | resource | | [aws_route.private_core_network_route](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route) | resource | | [aws_route.public_core_network_route](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route) | resource | | [awscc_networkmanager_core_network.core_network](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/data-sources/networkmanager_core_network) | data source | ## Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [core\_network\_id](#input\_core\_network\_id) | ID of the core network. There's only one core network, so this typically should not need to be changed. | `string` | `"core-network-0d1cc9236bc3bc9ff"` | no | | [enable\_nat\_gateway](#input\_enable\_nat\_gateway) | Enable NAT gateway. Requires at least one public subnet CIDR. | `bool` | `false` | no | | [vpc\_azs](#input\_vpc\_azs) | List of availability zones available to the VPC. | `list(string)` | n/a | yes | | [vpc\_cidr](#input\_vpc\_cidr) | CIDR block of the VPC being created. | `string` | n/a | yes | | [vpc\_name](#input\_vpc\_name) | Name of the VPC that will be created and attached to the core network. | `string` | n/a | yes | | [vpc\_private\_subnet\_cidrs](#input\_vpc\_private\_subnet\_cidrs) | List of CIDR blocks for the private subnets in the VPC. | `list(string)` | n/a | yes | | [vpc\_public\_subnet\_cidrs](#input\_vpc\_public\_subnet\_cidrs) | List of CIDR blocks for the public subnets in the VPC. | `list(string)` | `[]` | no | | [vpc\_segment](#input\_vpc\_segment) | An identifier for the VPC segment. Added to the VPC attachment as a tag.
This is also the logical network container/boundary that isolated network
traffic; this is a CloudWAN resource. | `string` | n/a | yes | ## Outputs | Name | Description | |------|-------------| | [default\_security\_group\_id](#output\_default\_security\_group\_id) | The ID of the default security group | | [private\_route\_table\_ids](#output\_private\_route\_table\_ids) | List of IDs of private route tables | | [private\_subnet\_ids](#output\_private\_subnet\_ids) | List of IDs of private subnets | | [vpc\_id](#output\_vpc\_id) | The ID of the VPC |