Fixes #2212 by allowing OS_AUTH_TOKEN to set api_key config value
This commit is contained in:
parent
e2e2cd097e
commit
7fe29efc1d
|
@ -44,7 +44,7 @@ func Provider() terraform.ResourceProvider {
|
||||||
"api_key": &schema.Schema{
|
"api_key": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
Default: "",
|
DefaultFunc: envDefaultFunc("OS_AUTH_TOKEN"),
|
||||||
},
|
},
|
||||||
"domain_id": &schema.Schema{
|
"domain_id": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
|
|
Loading…
Reference in New Issue