From 8700e55eef32c39c6a00b6d622ff1f6c2546cb82 Mon Sep 17 00:00:00 2001 From: stelcheck Date: Fri, 18 May 2018 10:56:32 +0900 Subject: [PATCH] key environment variable rename --- src/terraform-provider-ncloud/provider.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terraform-provider-ncloud/provider.go b/src/terraform-provider-ncloud/provider.go index ed36fe0..97a774a 100644 --- a/src/terraform-provider-ncloud/provider.go +++ b/src/terraform-provider-ncloud/provider.go @@ -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": {