Skip to content

Commit

Permalink
Fix with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
foadnh committed Mar 24, 2024
1 parent 33fa221 commit cda28d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sentry/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package sentry
import (
"context"

"github.com/canva/terraform-provider-sentry/internal/sentryclient"
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

"github.com/canva/terraform-provider-sentry/internal/sentryclient"
)

func init() {
Expand All @@ -22,7 +23,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,
Required: true,
Optional: true,
DefaultFunc: schema.MultiEnvDefaultFunc([]string{"SENTRY_AUTH_TOKEN", "SENTRY_TOKEN"}, nil),
Sensitive: true,
},
Expand Down

0 comments on commit cda28d0

Please sign in to comment.