Skip to main content

GCP Compute Network

A Google Cloud Compute Network – commonly referred to as a Virtual Private Cloud (VPC) – is a logically-isolated, global network that provides routing, firewalling and peering for resources running in Google Cloud. Each network contains one or more subnets whose CIDR blocks define the private address space available to virtual machines and managed services. VPCs are the foundation for controlling connectivity, security and traffic flow across projects and regions.
See the official Google documentation for full details: https://cloud.google.com/vpc/docs/vpc

Terrafrom Mappings:

  • google_compute_network.name

Supported Methods

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

ip

Every VPC defines one or more primary IP ranges (and optional secondary ranges) from which internal addresses are allocated. These address blocks – and the individual IPs subsequently handed out to instances – are modelled as ip items and are therefore linked to their parent gcp-compute-network.