provider/dme: Save records in lowercase to avoid diffs (#14130)

This commit is contained in:
Radek Simko 2017-05-02 06:36:16 +01:00 committed by GitHub
parent 8d286b83ea
commit b2ae6fe392
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ func resourceDMERecord() *schema.Resource {
"value": &schema.Schema{
Type: schema.TypeString,
Required: true,
StateFunc: func(value interface{}) string {
return strings.ToLower(value.(string))
},
},
"ttl": &schema.Schema{
Type: schema.TypeInt,