google_compute_vpn_tunnel

    0

    0

    lucycodes42

    Terraform snippets

    The code creates a google_compute_vpn_tunnel resource. This resource has the following properties:

    name : The name of the tunnel.

    description : A description of the tunnel.

    peer_ip : The IP address of the peer computer.

    shared_secret : A shared secret for the tunnel.

    target_vpn_gateway : The target VPN gateway. This tunnel will use the target VPN gateway as its gateway.

    Shortcut: tf_google_compute_vpn_tunnel

    resource "google_compute_vpn_tunnel" "${MyResource}" {
       name = "example-name"
       description = "example-description"
    
       peer_ip = "15.0.0.120"
       shared_secret = "a shared_secret"
       target_vpn_gateway = "\${google_compute_vpn_gateway.target_gateway.self_link}"
    }
    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.