Skip to content

Commit

Permalink
Explain that users should not need to set the endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
metadaddy committed Aug 28, 2024
1 parent ad6e051 commit 023dbf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion b2/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ func New(version string, exec string) func() *schema.Provider {
DefaultFunc: schema.EnvDefaultFunc("B2_APPLICATION_KEY", nil),
},
"endpoint": {
Description: "B2 endpoint - production or custom URL (B2_ENDPOINT env)",
Description: "B2 endpoint - the string 'production' or a custom B2 API URL (B2_ENDPOINT env)." +
" Defaults to 'production'. You should not need to set this unless you work at Backblaze.",
Type: schema.TypeString,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("B2_ENDPOINT", "production"),
Expand Down

0 comments on commit 023dbf7

Please sign in to comment.