Merge pull request #2234 from trumant/os_auth_token

Fixes #2212 by allowing OS_AUTH_TOKEN to set api_key config value
This commit is contained in:
Paul Hinze 2015-06-05 13:12:17 -05:00
commit 834fda764f
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ func Provider() terraform.ResourceProvider {
"api_key": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Default: "",
DefaultFunc: envDefaultFunc("OS_AUTH_TOKEN"),
},
"domain_id": &schema.Schema{
Type: schema.TypeString,