diff --git a/docs/index.md b/docs/index.md index beb7b3b..9026b05 100644 --- a/docs/index.md +++ b/docs/index.md @@ -17,16 +17,17 @@ provider "doppler" { ``` + ## Schema ### Required -- `doppler_token` (String) A Doppler token, either a personal or service token +- `doppler_token` (String) A Doppler token, either a personal or service token. This can also be set via the DOPPLER_TOKEN environment variable. ### Optional -- `host` (String) The Doppler API host (i.e. https://api.doppler.com) -- `verify_tls` (Boolean) Whether or not to verify TLS +- `host` (String) The Doppler API host (i.e. https://api.doppler.com). This can also be set via the DOPPLER_API_HOST environment variable. +- `verify_tls` (Boolean) Whether or not to verify TLS. This can also be set via the DOPPLER_VERIFY_TLS environment variable. ## Getting Help diff --git a/doppler/provider.go b/doppler/provider.go index 380c9b3..779125f 100644 --- a/doppler/provider.go +++ b/doppler/provider.go @@ -13,19 +13,19 @@ func Provider() *schema.Provider { return &schema.Provider{ Schema: map[string]*schema.Schema{ "host": { - Description: "The Doppler API host (i.e. https://api.doppler.com)", + Description: "The Doppler API host (i.e. https://api.doppler.com). This can also be set via the DOPPLER_API_HOST environment variable.", Type: schema.TypeString, Optional: true, DefaultFunc: schema.EnvDefaultFunc("DOPPLER_API_HOST", defaultAPIHost), }, "verify_tls": { - Description: "Whether or not to verify TLS", + Description: "Whether or not to verify TLS. This can also be set via the DOPPLER_VERIFY_TLS environment variable.", Type: schema.TypeBool, Optional: true, DefaultFunc: schema.EnvDefaultFunc("DOPPLER_VERIFY_TLS", true), }, "doppler_token": { - Description: "A Doppler token, either a personal or service token", + Description: "A Doppler token, either a personal or service token. This can also be set via the DOPPLER_TOKEN environment variable.", Type: schema.TypeString, Required: true, DefaultFunc: schema.EnvDefaultFunc("DOPPLER_TOKEN", nil),