Commit bfe716b 1 parent 11226f4 commit bfe716b Copy full SHA for bfe716b
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import (
19
19
"os"
20
20
21
21
"github.com/GoogleCloudPlatform/terraformer/terraformutils"
22
- "github.com/GoogleCloudPlatform/terraformer/terraformutils/providerwrapper"
23
22
"github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common"
24
23
"github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile"
25
24
"github.com/zclconf/go-cty/cty"
@@ -60,6 +59,10 @@ func (p *TencentCloudProvider) GetName() string {
60
59
return "tencentcloud"
61
60
}
62
61
62
+ func (p * TencentCloudProvider ) GetSource () string {
63
+ return "tencentcloudstack/" + p .GetName ()
64
+ }
65
+
63
66
func (p * TencentCloudProvider ) Init (args []string ) error {
64
67
err := p .getCredential ()
65
68
if err != nil {
@@ -200,7 +203,7 @@ func (p *TencentCloudProvider) GetProviderData(arg ...string) map[string]interfa
200
203
return map [string ]interface {}{
201
204
"provider" : map [string ]interface {}{
202
205
p .GetName (): map [string ]interface {}{
203
- "version " : providerwrapper . GetProviderVersion ( p . GetName ()) ,
206
+ "region " : p . region ,
204
207
},
205
208
},
206
209
}
You can’t perform that action at this time.
0 commit comments