mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-08 03:02:40 +00:00
Add DiffSuppress for global address ip_version. IPV4 and empty are equivalent, but the API will return whichever one was sent on creation. Fixes #1637. (#1639)
This commit is contained in:
parent
c51ab5f28e
commit
605c950b18
|
@ -55,6 +55,7 @@ func resourceComputeGlobalAddress() *schema.Resource {
|
|||
Optional: true,
|
||||
ForceNew: true,
|
||||
ValidateFunc: validation.StringInSlice([]string{"IPV4", "IPV6", ""}, false),
|
||||
DiffSuppressFunc: emptyOrDefaultStringSuppress("IPV4"),
|
||||
},
|
||||
"address": {
|
||||
Type: schema.TypeString,
|
||||
|
|
Loading…
Reference in New Issue
Block a user