# Terraform: network-core/modules/gcp-subnet ## Requirements No requirements. ## Providers | Name | Version | |------|---------| | [google](#provider\_google) | n/a | ## Modules No modules. ## Resources | Name | Type | |------|------| | [google_compute_subnetwork.subnet](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_subnetwork) | resource | ## Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [network\_name](#input\_network\_name) | Name of the GCP network | `string` | n/a | yes | | [private\_ip\_google\_access](#input\_private\_ip\_google\_access) | Enable private Google access | `bool` | `true` | no | | [project\_id](#input\_project\_id) | GCP project ID | `string` | n/a | yes | | [region](#input\_region) | GCP region for the subnet | `string` | n/a | yes | | [subnet\_cidr](#input\_subnet\_cidr) | CIDR block for the subnet | `string` | n/a | yes | | [subnet\_name](#input\_subnet\_name) | Name of the subnet | `string` | n/a | yes | ## Outputs | Name | Description | |------|-------------| | [subnet\_id](#output\_subnet\_id) | The ID of the subnet | | [subnet\_name](#output\_subnet\_name) | The name of the subnet | | [subnet\_self\_link](#output\_subnet\_self\_link) | The self link of the subnet |