Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
imrannayer committed Nov 20, 2023
1 parent 4d13b42 commit 3dc8717
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/vpn_ha/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ locals {

resource "google_compute_ha_vpn_gateway" "ha_gateway" {
count = var.create_vpn_gateway == true ? 1 : 0
# provider = google-beta
name = var.name
project = var.project_id
region = var.region
Expand All @@ -45,7 +44,6 @@ resource "google_compute_ha_vpn_gateway" "ha_gateway" {
}

resource "google_compute_external_vpn_gateway" "external_gateway" {
# provider = google-beta
count = var.peer_external_gateway != null ? 1 : 0
name = var.peer_external_gateway.name != null ? var.peer_external_gateway.name : "external-${var.name}"
project = var.project_id
Expand All @@ -62,7 +60,6 @@ resource "google_compute_external_vpn_gateway" "external_gateway" {
}

resource "google_compute_router" "router" {
# provider = google-beta
count = var.router_name == "" ? 1 : 0
name = "vpn-${var.name}"
project = var.project_id
Expand Down Expand Up @@ -144,7 +141,6 @@ resource "google_compute_router_peer" "bgp_peer" {
}

resource "google_compute_router_interface" "router_interface" {
# provider = google-beta
for_each = var.tunnels
project = var.project_id
region = var.region
Expand All @@ -155,7 +151,6 @@ resource "google_compute_router_interface" "router_interface" {
}

resource "google_compute_vpn_tunnel" "tunnels" {
# provider = google-beta
for_each = var.tunnels
project = var.project_id
region = var.region
Expand Down

0 comments on commit 3dc8717

Please sign in to comment.