Skip to content

Commit

Permalink
allow to set security token by env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Groschupp committed Sep 25, 2020
1 parent 4b773e2 commit bbdd83f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions opentelekomcloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func Provider() terraform.ResourceProvider {
"security_token": {
Type: schema.TypeString,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("OS_TOKEN", ""),
Description: descriptions["security_token"],
},

Expand Down

0 comments on commit bbdd83f

Please sign in to comment.