Skip to content

Commit

Permalink
Require provider arguments. Will not really change existing behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanKoppe committed Sep 6, 2021
1 parent 492e861 commit 2dd6e81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@ func New(version string) func() *schema.Provider {
Schema: map[string]*schema.Schema{
"endpoint": {
Type: schema.TypeString,
Optional: true,
Description: "Full URL of your AWS SSO SCIM endpoint. Can also be provided via `AWS_SSO_SCIM_ENDPOINT` environment variable.",
Required: true,
DefaultFunc: schema.EnvDefaultFunc("AWS_SSO_SCIM_ENDPOINT", nil),
},
"token": {
Type: schema.TypeString,
Optional: true,
Description: "Authentication token of your AWS SSO SCIM endpoint. Can also be provided via `AWS_SSO_SCIM_TOKEN` environment variable.",
Required: true,
DefaultFunc: schema.EnvDefaultFunc("AWS_SSO_SCIM_TOKEN", nil),
},
},
Expand Down

0 comments on commit 2dd6e81

Please sign in to comment.