resource "google_compute_vpn_gateway" "${MyResource}" {
         name = "example-name"
         description = "example-description"
         network = "\${google_compute_network.network1.self_link}"
         region = "\${var.region}"

      Terraform language logo

      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


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.