diff --git a/builtin/providers/postgresql/provider.go b/builtin/providers/postgresql/provider.go index 3e2efcbcf..64029e21f 100644 --- a/builtin/providers/postgresql/provider.go +++ b/builtin/providers/postgresql/provider.go @@ -68,8 +68,8 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) { Port: d.Get("port").(int), Username: d.Get("username").(string), Password: d.Get("password").(string), - SslMode: d.Get("ssl_mode").(string), Timeout: d.Get("connect_timeout").(int), + SslMode: d.Get("sslmode").(string), } client, err := config.NewClient()