diff --git a/docs/index.md b/docs/index.md index 6e7fd906..06798a30 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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` diff --git a/lightstep/provider.go b/lightstep/provider.go index b12d7937..e4e45109 100644 --- a/lightstep/provider.go +++ b/lightstep/provider.go @@ -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": {