0
0
llucycodes42
This code creates a Google Compute Forwarding Rule that forwards traffic from port 80 on the local machine to port 8000 on the Google Compute Target Pool's default self-link.
Shortcut: tf_google_compute_forwarding_rule
resource "google_compute_forwarding_rule" "${MyResource}" {
name = "example-name"
target = "\${google_compute_target_pool.default.self_link}"
port_range = "80"
}