Skip to main content

GCP Compute Subnetwork

A Google Cloud Compute Subnetwork is a regional segment of a Virtual Private Cloud (VPC) network. It defines one or more IP (CIDR) ranges from which virtual machine instances, internal load balancers and other resources obtain their internal addresses. Each subnetwork is bound to exactly one GCP region and to one parent VPC network. Subnetworks can also have secondary ranges for alias IPs or Kubernetes Pods/Services, as well as optional features such as Private Google Access, Flow Logs and VPC-to-VPC Peering export/import controls.
For full details, see the official Google documentation: https://cloud.google.com/vpc/docs/subnets

Terrafrom Mappings:

  • google_compute_subnetwork.name

Supported Methods​

  • GET: Get a gcp-compute-subnetwork by its "name"
  • LIST: List all gcp-compute-subnetwork
  • SEARCH

ip​

An Overmind ip item represents an individual IP address or range. A subnetwork contains the CIDR blocks from which these IPs are allocated, so each ip item discovered within those ranges is linked back to the subnetwork that owns them.

gcp-compute-network​

Every subnetwork exists inside a single VPC network. This link shows that the current subnetwork is a child resource of a specific gcp-compute-network, enabling Overmind to map connectivity and configuration inheritance between them.