add empty value for ip version for global address (#799)

This commit is contained in:
Konrad Rotkiewicz 2017-11-29 19:07:40 +01:00 committed by Vincent Roseberry
parent c812b83fa7
commit 2f1b3a739c

View File

@ -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{