Merge pull request #8665 from evandbrown/fix-google-vpn-test
providers/google: Fix VPN Tunnel acceptance test
This commit is contained in:
commit
6de78da03d
|
@ -105,7 +105,7 @@ resource "google_compute_forwarding_rule" "foobar_udp500" {
|
|||
name = "tunnel-test-%s"
|
||||
region = "${google_compute_forwarding_rule.foobar_esp.region}"
|
||||
ip_protocol = "UDP"
|
||||
port_range = "500-501"
|
||||
port_range = "500-500"
|
||||
ip_address = "${google_compute_address.foobar.address}"
|
||||
target = "${google_compute_vpn_gateway.foobar.self_link}"
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ resource "google_compute_forwarding_rule" "foobar_udp4500" {
|
|||
name = "tunnel-test-%s"
|
||||
region = "${google_compute_forwarding_rule.foobar_udp500.region}"
|
||||
ip_protocol = "UDP"
|
||||
port_range = "4500-4501"
|
||||
port_range = "4500-4500"
|
||||
ip_address = "${google_compute_address.foobar.address}"
|
||||
target = "${google_compute_vpn_gateway.foobar.self_link}"
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ resource "google_compute_forwarding_rule" "fr_esp" {
|
|||
resource "google_compute_forwarding_rule" "fr_udp500" {
|
||||
name = "fr-udp500"
|
||||
ip_protocol = "UDP"
|
||||
port_range = "500"
|
||||
port_range = "500-500"
|
||||
ip_address = "${google_compute_address.vpn_static_ip.address}"
|
||||
target = "${google_compute_vpn_gateway.target_gateway.self_link}"
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ resource "google_compute_forwarding_rule" "fr_udp500" {
|
|||
resource "google_compute_forwarding_rule" "fr_udp4500" {
|
||||
name = "fr-udp4500"
|
||||
ip_protocol = "UDP"
|
||||
port_range = "4500"
|
||||
port_range = "4500-4500"
|
||||
ip_address = "${google_compute_address.vpn_static_ip.address}"
|
||||
target = "${google_compute_vpn_gateway.target_gateway.self_link}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue