Skip to content

Commit

Permalink
fix deprecated error
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-swinkler committed Oct 19, 2023
1 parent 36799b0 commit 62ea1e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ func Provider() *schema.Provider {
},
"username": {
Type: schema.TypeString,
Description: "Username for username+password authentication. Can also be sourced from the `SNOWFLAKE_USER` environment variable. Required unless using `profile`.",
Description: "Username for username+password authentication. Can also be sourced from the `SNOWFLAKE_USERNAME` environment variable. Required unless using `profile`.",
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("SNOWFLAKE_USER", nil),
Deprecated: "Use `user` instead",
DefaultFunc: schema.EnvDefaultFunc("SNOWFLAKE_USERNAME", nil),
Deprecated: "Use `user` instead of `username`",
},
"password": {
Type: schema.TypeString,
Expand Down

0 comments on commit 62ea1e8

Please sign in to comment.