Skip to content

Commit

Permalink
Merge pull request #2234 from trumant/os_auth_token
Browse files Browse the repository at this point in the history
Fixes #2212 by allowing OS_AUTH_TOKEN to set api_key config value
  • Loading branch information
phinze committed Jun 5, 2015
2 parents 4ce65e5 + 7fe29ef commit 834fda7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/providers/openstack/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 834fda7

Please sign in to comment.