Setting the right default for access_token attribute
@@ -126,8 +126,8 @@ func Provider() *schema.Provider {
Type: schema.TypeString,
Optional: true,
Sensitive: true,
- DefaultFunc: schema.MultiEnvDefaultFunc([]string{"ARTIFACTORY_ACCESS_TOKEN", "JFROG_ACCESS_TOKEN"}, ""),
- Description: "This is a access token that can be given to you by your admin under `Identity and Access`",
+ DefaultFunc: schema.MultiEnvDefaultFunc([]string{"ARTIFACTORY_ACCESS_TOKEN", "JFROG_ACCESS_TOKEN"}, nil),
+ Description: "(Optional) This is a access token that can be given to you by your admin under `Identity and Access`. Default to 'nil'.",
},
"check_license": {
Type: schema.TypeBool,
