provider/google: Fix VPN tunnel creation test

The GCE API for creating VPN tunnels began validating the `peerIp` field
and rejecting RFC5735 addresses. The previous test was using one of
these addresses and failing as a result. This commit uses 8.8.8.8
for the peerIp.
This commit is contained in:
Evan Brown 2016-03-02 13:17:38 -08:00
parent 834bfcdc7a
commit 87006d6a0c
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ resource "google_compute_vpn_tunnel" "foobar" {
region = "${google_compute_forwarding_rule.foobar_udp4500.region}" region = "${google_compute_forwarding_rule.foobar_udp4500.region}"
target_vpn_gateway = "${google_compute_vpn_gateway.foobar.self_link}" target_vpn_gateway = "${google_compute_vpn_gateway.foobar.self_link}"
shared_secret = "unguessable" shared_secret = "unguessable"
peer_ip = "0.0.0.0" peer_ip = "8.8.8.8"
}`, acctest.RandString(10), acctest.RandString(10), acctest.RandString(10), }`, acctest.RandString(10), acctest.RandString(10), acctest.RandString(10),
acctest.RandString(10), acctest.RandString(10), acctest.RandString(10), acctest.RandString(10), acctest.RandString(10), acctest.RandString(10),
acctest.RandString(10)) acctest.RandString(10))