diff --git a/mysql/provider.go b/mysql/provider.go index 256b6e617..8673360c9 100644 --- a/mysql/provider.go +++ b/mysql/provider.go @@ -63,10 +63,7 @@ func Provider() terraform.ResourceProvider { "proxy": { Type: schema.TypeString, Optional: true, - DefaultFunc: schema.MultiEnvDefaultFunc([]string{ - "ALL_PROXY", - "all_proxy", - }, nil), + Default: nil, ValidateFunc: validation.StringMatch(regexp.MustCompile("^socks5h?://.*:\\d+$"), "The proxy URL is not a valid socks url."), },