google_compute_route

    0

    1

    lucycodes42

    Terraform snippets

    The google_compute_route resource specifies a Google Compute Route for the given name. The route range is from the given IP range to the next Google Compute Node. The next_hop_ip is the IP of the next Google Compute Node, and priority is the load-balancing priority for this route.

    Shortcut: tf_google_compute_route

    resource "google_compute_route" "${MyResource}" {
       name = "example-name"
       dest_range = "15.0.0.0/24"
       network = "\${google_compute_network.foobar.name}"
       next_hop_ip = "10.0.1.5"
       priority = 100
    }
    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.