0
0
llucycodes42
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}"
}