google_compute_vpn_gateway

    0

    0

    lucycodes42

    Terraform snippets

    This code creates a Google Compute VPN Gateway resource. The name field is set to "example-name" and the description field is set to "example-description". The network and region fields are set to the self_link for the Google Compute Network (network1) and the region for which this gateway is intended (var.region).

    Shortcut: tf_google_compute_vpn_gateway

    resource "google_compute_vpn_gateway" "${MyResource}" {
       name = "example-name"
       description = "example-description"
    
       network = "\${google_compute_network.network1.self_link}"
       region = "\${var.region}"
    }
    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.