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