From 87006d6a0cf9524dbebdd25e190d71086d3208fd Mon Sep 17 00:00:00 2001 From: Evan Brown Date: Wed, 2 Mar 2016 13:17:38 -0800 Subject: [PATCH] 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. --- builtin/providers/google/resource_compute_vpn_tunnel_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/google/resource_compute_vpn_tunnel_test.go b/builtin/providers/google/resource_compute_vpn_tunnel_test.go index 007441eeb..33b330b7d 100644 --- a/builtin/providers/google/resource_compute_vpn_tunnel_test.go +++ b/builtin/providers/google/resource_compute_vpn_tunnel_test.go @@ -122,7 +122,7 @@ resource "google_compute_vpn_tunnel" "foobar" { region = "${google_compute_forwarding_rule.foobar_udp4500.region}" target_vpn_gateway = "${google_compute_vpn_gateway.foobar.self_link}" 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))