Skip to content

Commit

Permalink
fix: require the auth token when running the Sentry provider (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
taj-p authored Jul 12, 2022
1 parent 8e5e393 commit b42e4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func NewProvider(version string) func() *schema.Provider {
"token": {
Description: "The authentication token used to connect to Sentry. The value can be sourced from " + "the `SENTRY_AUTH_TOKEN` environment variable.",
Type: schema.TypeString,
Optional: true,
Required: true,
DefaultFunc: schema.MultiEnvDefaultFunc([]string{"SENTRY_AUTH_TOKEN", "SENTRY_TOKEN"}, nil),
Sensitive: true,
},
Expand Down

0 comments on commit b42e4dd

Please sign in to comment.