Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matthagenbuch committed Feb 12, 2024
1 parent 14e87d9 commit c9f528e
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 @@ -36,4 +36,4 @@ provider "lightstep" {
- `api_key` (String) The API Key for a Lightstep organization.
- `api_key_env_var` (String) Environment variable for Lightstep API key.
- `api_url` (String) The base URL for the Lightstep API. This setting takes precedent over 'environment'. For example, https://api.lightstep.com
- `environment` (String) (deprecated) The name of the Lightstep environment, must be one of: staging, meta, public. Deprecated in favor of api_url
`environment` (String, Deprecated) The name of the Lightstep environment, must be one of: staging, meta, public. Deprecated in favor of `api_url`
2 changes: 1 addition & 1 deletion lightstep/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func Provider() *schema.Provider {
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("LIGHTSTEP_ENV", "public"),
ValidateFunc: validation.StringMatch(regexp.MustCompile(`^(staging|meta|public)$`), "Must be one of: staging, meta, public"),
Description: "(deprecated) The name of the Lightstep environment, must be one of: staging, meta, public. Deprecated in favor of `api_url`",
Description: "The name of the Lightstep environment, must be one of: staging, meta, public. Deprecated in favor of `api_url`",
Deprecated: "This field is deprecated and will be removed in a future release. Please use the `api_url` field instead.",
},
"api_url": {
Expand Down

0 comments on commit c9f528e

Please sign in to comment.