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 = ""
       network = "\${}"
       next_hop_ip = ""
       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.