Skip to content

Commit

Permalink
key environment variable rename
Browse files Browse the repository at this point in the history
  • Loading branch information
stelcheck committed May 18, 2018
1 parent c911f84 commit 8700e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/terraform-provider-ncloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ func NCloudProvider() *schema.Provider {
"access_key": {
Type: schema.TypeString,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("NCLOUD_ACCESS_KEY", nil),
DefaultFunc: schema.EnvDefaultFunc("NCLOUD_ACCESS_KEY_ID", nil),
InputDefault: "",
},

"secret_key": {
Type: schema.TypeString,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("NCLOUD_SECRET_KEY", nil),
DefaultFunc: schema.EnvDefaultFunc("NCLOUD_SECRET_ACCESS_KEY", nil),
InputDefault: "",
},
"region": {
Expand Down

0 comments on commit 8700e55

Please sign in to comment.