Skip to content

Commit

Permalink
Added optional args to google_vmwareengine_network_peering
Browse files Browse the repository at this point in the history
  • Loading branch information
stevereaver committed Mar 26, 2024
1 parent 06e83fe commit 4f37b33
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions modules/gcve-network-peering/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,15 @@ resource "google_vmwareengine_network_peering" "peering" {
}

resource "google_vmwareengine_network_peering" "vmw-engine-network-peering" {
count = var.create_remote_peer == true ? 1 : 0
project = var.peer_nw_project_id
name = var.gcve_peer_name
description = var.gcve_peer_description
peer_network = local.peer_network
peer_network_type = "STANDARD"
vmware_engine_network = var.vmware_engine_network_id
count = var.create_remote_peer == true ? 1 : 0
name = var.gcve_peer_name
description = var.gcve_peer_description
project = var.peer_nw_project_id
vmware_engine_network = var.vmware_engine_network_id
peer_network = local.peer_network
peer_network_type = "STANDARD"
export_custom_routes = var.peer_export_custom_routes
import_custom_routes = var.peer_import_custom_routes
export_custom_routes_with_public_ip = var.peer_export_custom_routes_with_public_ip
import_custom_routes_with_public_ip = var.peer_import_custom_routes_with_public_ip
}

0 comments on commit 4f37b33

Please sign in to comment.