From c3a51c050d13b5fe39a061f927060c38db48317f Mon Sep 17 00:00:00 2001 From: everpcpc Date: Mon, 22 May 2023 17:26:00 +0800 Subject: [PATCH] fix: do not include accessId, accessKey, securityToken in provider --- provider/resources.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/provider/resources.go b/provider/resources.go index 5ebc9eeb8..432a6a47e 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -56,21 +56,6 @@ func Provider() tfbridge.ProviderInfo { EnvVars: []string{"TENCENTCLOUD_REGION"}, }, }, - "secret_id": { - Default: &tfbridge.DefaultInfo{ - EnvVars: []string{"TENCENTCLOUD_SECRET_ID"}, - }, - }, - "secret_key": { - Default: &tfbridge.DefaultInfo{ - EnvVars: []string{"TENCENTCLOUD_SECRET_KEY"}, - }, - }, - "security_token": { - Default: &tfbridge.DefaultInfo{ - EnvVars: []string{"TENCENTCLOUD_SECURITY_TOKEN"}, - }, - }, }, Resources: info.GetResourceInfo(mainPkg), DataSources: info.GetDataSourceInfo(mainPkg),