From 518f7b6ffa094b0fc5a80887be58b95c1b1161eb Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 9 Apr 2015 09:49:03 -0700 Subject: [PATCH] providers/docker: default cert_path to non-nil so input isn't asked --- provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider.go b/provider.go index 2fe456e9..fdc8b771 100644 --- a/provider.go +++ b/provider.go @@ -20,7 +20,7 @@ func Provider() terraform.ResourceProvider { "cert_path": &schema.Schema{ Type: schema.TypeString, Optional: true, - DefaultFunc: schema.EnvDefaultFunc("DOCKER_CERT_PATH", nil), + DefaultFunc: schema.EnvDefaultFunc("DOCKER_CERT_PATH", ""), Description: "Path to directory with Docker TLS config", }, },