Skip to content

Commit

Permalink
Fix to make provider field sematext_api_key optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
hollerloudly committed Jul 8, 2024
1 parent 4c5ffaf commit bf07a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sematext/generated/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func Provider() *schema.Provider {
Schema: map[string]*schema.Schema{
"sematext_api_key": {
Type: schema.TypeString,
Required: false,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("SEMATEXT_API_KEY", ""),
ValidateFunc: func(val interface{}, key string) (warns []string, errs []error) {
api_key := val.(string)
Expand Down

0 comments on commit bf07a79

Please sign in to comment.