Skip to content

Commit

Permalink
provider.go, docs/index.md: Fix misspelling of available (#261)
Browse files Browse the repository at this point in the history
* provider.go, docs/index.md: Fix misspelling of available

Updates #cleanup

Signed-off-by: Walter Poupore <walterp@tailscale.com>
Co-authored-by: Anton Tolchanov <1687799+knyar@users.noreply.github.com>
  • Loading branch information
WalterHub and knyar committed Aug 17, 2023
1 parent 1a54933 commit 835b40d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ provider "tailscale" {
- `base_url` (String) The base URL of the Tailscale API. Defaults to https://api.tailscale.com. Can be set via the TAILSCALE_BASE_URL environment variable.
- `oauth_client_id` (String) The OAuth application's ID when using OAuth client credentials. Can be set via the OAUTH_CLIENT_ID environment variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
- `oauth_client_secret` (String, Sensitive) The OAuth application's secret when using OAuth client credentials. Can be set via the OAUTH_CLIENT_SECRET environment variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
- `scopes` (List of String) The OAuth 2.0 scopes to request when for the access token generated using the supplied OAuth client credentials. See https://tailscale.com/kb/1215/oauth-clients/#scopes for avialable scopes. Only valid when both 'oauth_client_id' and 'oauth_client_secret' are set.
- `scopes` (List of String) The OAuth 2.0 scopes to request when for the access token generated using the supplied OAuth client credentials. See https://tailscale.com/kb/1215/oauth-clients/#scopes for available scopes. Only valid when both 'oauth_client_id' and 'oauth_client_secret' are set.
- `tailnet` (String) The Tailnet to perform actions in. Can be set via the TAILSCALE_TAILNET environment variable.
2 changes: 1 addition & 1 deletion tailscale/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func Provider(options ...ProviderOption) *schema.Provider {
Type: schema.TypeList,
Optional: true,
Elem: &schema.Schema{Type: schema.TypeString},
Description: "The OAuth 2.0 scopes to request when for the access token generated using the supplied OAuth client credentials. See https://tailscale.com/kb/1215/oauth-clients/#scopes for avialable scopes. Only valid when both 'oauth_client_id' and 'oauth_client_secret' are set.",
Description: "The OAuth 2.0 scopes to request when for the access token generated using the supplied OAuth client credentials. See https://tailscale.com/kb/1215/oauth-clients/#scopes for available scopes. Only valid when both 'oauth_client_id' and 'oauth_client_secret' are set.",
},
"tailnet": {
Type: schema.TypeString,
Expand Down

0 comments on commit 835b40d

Please sign in to comment.