google_compute_forwarding_rule

    0

    0

    lucycodes42

    Terraform snippets

    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"
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.