Don't require vsphere debug paths to be set (#7027)
The change to add govmomi debug paths (#6893) required user input even when the env was not set. This change defaults those values appropriately.
This commit is contained in:
parent
72bba5f308
commit
74d5db4f3e
|
@ -52,13 +52,13 @@ func Provider() terraform.ResourceProvider {
|
|||
"client_debug_path_run": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
DefaultFunc: schema.EnvDefaultFunc("VSPHERE_CLIENT_DEBUG_PATH_RUN", nil),
|
||||
DefaultFunc: schema.EnvDefaultFunc("VSPHERE_CLIENT_DEBUG_PATH_RUN", ""),
|
||||
Description: "govomomi debug path for a single run",
|
||||
},
|
||||
"client_debug_path": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
DefaultFunc: schema.EnvDefaultFunc("VSPHERE_CLIENT_DEBUG_PATH", nil),
|
||||
DefaultFunc: schema.EnvDefaultFunc("VSPHERE_CLIENT_DEBUG_PATH", ""),
|
||||
Description: "govomomi debug path for debug",
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue