diff --git a/builtin/providers/digitalocean/resource_digitalocean_droplet.go b/builtin/providers/digitalocean/resource_digitalocean_droplet.go index 55c2c43e93ae..de11f32b29b8 100644 --- a/builtin/providers/digitalocean/resource_digitalocean_droplet.go +++ b/builtin/providers/digitalocean/resource_digitalocean_droplet.go @@ -35,6 +35,10 @@ func resourceDigitalOceanDroplet() *schema.Resource { Type: schema.TypeString, Required: true, ForceNew: true, + StateFunc: func(val interface{}) string { + // DO API V2 region slug is always lowercase + return strings.ToLower(val.(string)) + }, }, "size": &schema.Schema{