Files
dev-intel-v2/foxtrot-docs-v3/reference/terraform/network-core-modules-aws-vpc.md

54 lines
3.5 KiB
Markdown
Raw Permalink Normal View History

# Terraform: network-core/modules/aws-vpc
## Requirements
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.10.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.80.0 |
| <a name="requirement_awscc"></a> [awscc](#requirement\_awscc) | >= 1.24.0 |
## Providers
| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.80.0 |
| <a name="provider_awscc"></a> [awscc](#provider\_awscc) | >= 1.24.0 |
## Modules
| Name | Source | Version |
|------|--------|---------|
| <a name="module_vpc"></a> [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 |
|------|-------------|------|---------|:--------:|
| <a name="input_core_network_id"></a> [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 |
| <a name="input_enable_nat_gateway"></a> [enable\_nat\_gateway](#input\_enable\_nat\_gateway) | Enable NAT gateway. Requires at least one public subnet CIDR. | `bool` | `false` | no |
| <a name="input_vpc_azs"></a> [vpc\_azs](#input\_vpc\_azs) | List of availability zones available to the VPC. | `list(string)` | n/a | yes |
| <a name="input_vpc_cidr"></a> [vpc\_cidr](#input\_vpc\_cidr) | CIDR block of the VPC being created. | `string` | n/a | yes |
| <a name="input_vpc_name"></a> [vpc\_name](#input\_vpc\_name) | Name of the VPC that will be created and attached to the core network. | `string` | n/a | yes |
| <a name="input_vpc_private_subnet_cidrs"></a> [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 |
| <a name="input_vpc_public_subnet_cidrs"></a> [vpc\_public\_subnet\_cidrs](#input\_vpc\_public\_subnet\_cidrs) | List of CIDR blocks for the public subnets in the VPC. | `list(string)` | `[]` | no |
| <a name="input_vpc_segment"></a> [vpc\_segment](#input\_vpc\_segment) | An identifier for the VPC segment. Added to the VPC attachment as a tag.<br/>This is also the logical network container/boundary that isolated network<br/>traffic; this is a CloudWAN resource. | `string` | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| <a name="output_default_security_group_id"></a> [default\_security\_group\_id](#output\_default\_security\_group\_id) | The ID of the default security group |
| <a name="output_private_route_table_ids"></a> [private\_route\_table\_ids](#output\_private\_route\_table\_ids) | List of IDs of private route tables |
| <a name="output_private_subnet_ids"></a> [private\_subnet\_ids](#output\_private\_subnet\_ids) | List of IDs of private subnets |
| <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | The ID of the VPC |