mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
provider/dme: Save records in lowercase to avoid diffs (#14130)
This commit is contained in:
parent
8d286b83ea
commit
b2ae6fe392
@ -33,6 +33,9 @@ func resourceDMERecord() *schema.Resource {
|
|||||||
"value": &schema.Schema{
|
"value": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Required: true,
|
||||||
|
StateFunc: func(value interface{}) string {
|
||||||
|
return strings.ToLower(value.(string))
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"ttl": &schema.Schema{
|
"ttl": &schema.Schema{
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
|
Loading…
Reference in New Issue
Block a user