add defaultFunc for 'tenant_name'

This commit is contained in:
Jon Perritt 2015-01-26 22:33:34 -07:00
parent d80a02c12d
commit e6f3a19284
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ func Provider() terraform.ResourceProvider {
"tenant_name": &schema.Schema{ "tenant_name": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,
Optional: true, Optional: true,
Default: "", DefaultFunc: envDefaultFunc("OS_TENANT_NAME"),
}, },
"password": &schema.Schema{ "password": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,