mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #3284 from stack72/do_size_slug
provider/digitalocean - Droplet Size Lowercase
This commit is contained in:
commit
22681c3db2
@ -39,6 +39,10 @@ func resourceDigitalOceanDroplet() *schema.Resource {
|
||||
"size": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
StateFunc: func(val interface{}) string {
|
||||
// DO API V2 size slug is always lowercase
|
||||
return strings.ToLower(val.(string))
|
||||
},
|
||||
},
|
||||
|
||||
"status": &schema.Schema{
|
||||
|
Loading…
Reference in New Issue
Block a user