Skip to content

Commit

Permalink
Change the provider, now the token is not required
Browse files Browse the repository at this point in the history
so you can use CIVO_TOKEN in the env
  • Loading branch information
alejandrojnm committed Jun 7, 2020
1 parent 256b2e3 commit a14c2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion civo/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func Provider() terraform.ResourceProvider {
Schema: map[string]*schema.Schema{
"token": {
Type: schema.TypeString,
Required: true,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("CIVO_TOKEN", ""),
},
},
Expand Down

0 comments on commit a14c2e5

Please sign in to comment.