From 2f1b3a739c983f6b7024ee15e798728aef671d4b Mon Sep 17 00:00:00 2001 From: Konrad Rotkiewicz Date: Wed, 29 Nov 2017 19:07:40 +0100 Subject: [PATCH] add empty value for ip version for global address (#799) --- google/resource_compute_global_address.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/resource_compute_global_address.go b/google/resource_compute_global_address.go index d067b891..2d2edb22 100644 --- a/google/resource_compute_global_address.go +++ b/google/resource_compute_global_address.go @@ -30,7 +30,7 @@ func resourceComputeGlobalAddress() *schema.Resource { Type: schema.TypeString, Optional: true, ForceNew: true, - ValidateFunc: validation.StringInSlice([]string{"IPV4", "IPV6"}, false), + ValidateFunc: validation.StringInSlice([]string{"IPV4", "IPV6", ""}, false), }, "project": &schema.Schema{