mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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:
commit
834fda764f
@ -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
Block a user