Skip to content

Commit ba8e039

Browse files
authored
chore: add terraform block to provider example (#808)
1 parent f410698 commit ba8e039

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

tencentcloud/provider.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ Use the navigation on the left to read about the available resources.
99
Example Usage
1010
1111
```hcl
12+
terraform {
13+
required_providers {
14+
tencentcloud = {
15+
source = "tencentcloudstack/tencentcloud"
16+
}
17+
}
18+
}
19+
1220
# Configure the TencentCloud Provider
1321
provider "tencentcloud" {
1422
secret_id = var.secret_id

website/docs/index.html.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ Use the navigation on the left to read about the available resources.
1818
## Example Usage
1919

2020
```hcl
21+
terraform {
22+
required_providers {
23+
tencentcloud = {
24+
source = "tencentcloudstack/tencentcloud"
25+
}
26+
}
27+
}
28+
2129
# Configure the TencentCloud Provider
2230
provider "tencentcloud" {
2331
secret_id = "my-secret-id"

0 commit comments

Comments
 (0)