Skip to content

Commit

Permalink
Fix provider config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jmichalak committed Nov 22, 2024
1 parent 73ccdad commit 620960e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func Provider() *schema.Provider {
Optional: true,
Sensitive: true,
DefaultFunc: schema.EnvDefaultFunc(snowflakeenvs.Password, nil),
ConflictsWith: []string{"browser_auth", "private_key_path", "private_key", "private_key_passphrase", "oauth_access_token", "oauth_refresh_token"},
ConflictsWith: []string{"private_key", "private_key_passphrase"},
},
"warehouse": {
Type: schema.TypeString,
Expand Down Expand Up @@ -274,19 +274,19 @@ func Provider() *schema.Provider {
},
"private_key": {
Type: schema.TypeString,
Description: envNameFieldDescription("Private Key for username+private-key auth. Cannot be used with `browser_auth` or `password`.", snowflakeenvs.PrivateKey),
Description: envNameFieldDescription("Private Key for username+private-key auth. Cannot be used with `password`.", snowflakeenvs.PrivateKey),
Optional: true,
Sensitive: true,
DefaultFunc: schema.EnvDefaultFunc(snowflakeenvs.PrivateKey, nil),
ConflictsWith: []string{"browser_auth", "password", "oauth_access_token", "private_key_path", "oauth_refresh_token"},
ConflictsWith: []string{"password"},
},
"private_key_passphrase": {
Type: schema.TypeString,
Description: envNameFieldDescription("Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc.", snowflakeenvs.PrivateKeyPassphrase),
Optional: true,
Sensitive: true,
DefaultFunc: schema.EnvDefaultFunc(snowflakeenvs.PrivateKeyPassphrase, nil),
ConflictsWith: []string{"browser_auth", "password", "oauth_access_token", "oauth_refresh_token"},
ConflictsWith: []string{"password"},
},
"disable_telemetry": {
Type: schema.TypeBool,
Expand Down

0 comments on commit 620960e

Please sign in to comment.