Skip to main content

GCP Compute External Vpn Gateway

A Google Cloud External VPN Gateway represents the external (normally on-premises or third-party) VPN device that terminates the other end of a Cloud VPN tunnel. By modelling the remote appliance inside GCP, you can create HA or Classic Cloud VPN gateways and tunnels that reference it, specify its interface IP addresses, and monitor its status.
Official documentation: https://cloud.google.com/compute/docs/reference/rest/v1/externalVpnGateways/get

Terrafrom Mappings:

  • google_compute_external_vpn_gateway.name

Supported Methods​

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

ip​

Each External VPN Gateway specifies one or more interfaces, and every interface is configured with a public IPv4 address that the Cloud VPN service will use for tunnel establishment. These IPv4 addresses are surfaced as separate ip items and are linked to the gateway so you can trace which public IPs are in use by which external VPN endpoints.