diff --git a/dme/provider.go b/dme/provider.go index 346ada2b..7e2867fa 100644 --- a/dme/provider.go +++ b/dme/provider.go @@ -15,14 +15,14 @@ func Provider() terraform.ResourceProvider { Type: schema.TypeString, Required: true, Description: "API key for HTTP call", - DefaultFunc: schema.EnvDefaultFunc("apikey", nil), + DefaultFunc: schema.EnvDefaultFunc("DME_API_KEY", nil), }, "secret_key": &schema.Schema{ Type: schema.TypeString, Required: true, Description: "Secret Key for HMAC", - DefaultFunc: schema.EnvDefaultFunc("secretkey", nil), + DefaultFunc: schema.EnvDefaultFunc("DME_SECRET_KEY", nil), }, "insecure": &schema.Schema{