You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-14
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,18 @@
1
1
# TencentCloud Terraform
2
2
3
-
The VSCode TIAT(Tencent Infrastructure Automation for Terraform)Terraform extension is designed to improve the efficiency of DevOps when using Terraform with Tencent Cloud. The extension provides TencentCloud Account login, resource explorer, code auto-complete, argument tips, and command support inside VSCode.
3
+
The TIAT(Tencent Infrastructure Automation for Terraform)Terraform VS Code extension is designed to improve the efficiency of DevOps when using Terraform with Tencent Cloud. The extension provides TencentCloud Account login, resource explorer, code auto-complete, argument tips, and command palette inside VSCode.
4
+
5
+

4
6
5
7
## Features
6
8
7
9
This extension supports the following features:
8
10
9
11
- Login: log in Tencent Cloud with AKSK.
10
12
- Terraform Commands: init, plan, apply, and destroy through the VSCode command Palette.
11
-
- Auto Complete: provides code suggestions and auto-complete resource types, arguments, and options. Provides ways to go to resource documents.
13
+
- Auto Complete: provides code suggestions and auto-complete resource types, arguments, and options.
12
14
- Code Snippets/Example: provides a completed example code when typing the specified resource type.
15
+
- Tips: provides `Go to Terraform definition` to preview resource documents natively instead of through the official website.
13
16
- Import Resource: display the existing `CVM` resource and then import it as a tf file by [Terraformer](https://github.com/GoogleCloudPlatform/terraformer).
14
17
15
18
*TO-DO(Features to be supported in the future):*
@@ -20,7 +23,8 @@ This extension supports the following features:
20
23
## Quick Start
21
24
### 1.Login Tencent Cloud
22
25
Provide Log in entry to Tencent Cloud.
23
-

26
+

27
+
24
28
After logged, you can see your account and detail when hovering the status bar.
When you typing the `{` after a resource type and name, there is a example suggestions.
81
-

89
+

82
90
83
91
Press `Enter` to insert the whole example.
84
92
@@ -91,11 +99,9 @@ Choose one resource to import it.
91
99
After a few minutes, the import resource will be in the `generated` folder.
92
100
93
101
### 6.Resource definition
94
-
When you place the cursor on a resource type, use the `go to definition` (`Command` on macOS) button to jump to this resource document of the terraform provider website.
102
+
When you open a menu on a terraform resource, click the `Go to Terraform Definition` (`ctrl+shift+D` on macOS/Linux/Windows) item to open a preview panel to display the resource document locally.
0 commit comments