Skip to main content

GCP Compute Forwarding Rule

A GCP Compute Forwarding Rule represents the entry point of traffic into a Google Cloud load-balancing configuration. It binds an IP address and port or port range to a specific target (such as a backend service, target pool, or target proxy), thus determining where packets are forwarded. Forwarding rules can be internal (for VPC-only traffic) or external (internet-facing).
For full details, see the official documentation: https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules

Terrafrom Mappings:

  • google_compute_forwarding_rule.name

Supported Methods​

  • GET: Get GCP Compute Forwarding Rule by "gcp-compute-forwarding-rule-name"
  • LIST: List all GCP Compute Forwarding Rule items
  • SEARCH

gcp-compute-backend-service​

A forwarding rule typically specifies a backend service as its target. Overmind links the forwarding rule to the corresponding gcp-compute-backend-service so you can quickly trace where the traffic defined by the rule will be sent.

ip​

Every forwarding rule reserves or references an internal or external IP address. Overmind records a relationship between the forwarding rule and the underlying IP resource, allowing you to see which address is in use and detect clashes or orphaned reservations.