From c93ea73a2e34a341d5964b85604b899d9777abeb Mon Sep 17 00:00:00 2001 From: KGSN Date: Thu, 30 Dec 2021 17:35:51 +0800 Subject: [PATCH] chore: add terraform block to provider example --- tencentcloud/provider.go | 8 ++++++++ website/docs/index.html.markdown | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/tencentcloud/provider.go b/tencentcloud/provider.go index 94742b41d9..1e7d86e54b 100644 --- a/tencentcloud/provider.go +++ b/tencentcloud/provider.go @@ -9,6 +9,14 @@ Use the navigation on the left to read about the available resources. Example Usage ```hcl +terraform { + required_providers { + tencentcloud = { + source = "tencentcloudstack/tencentcloud" + } + } +} + # Configure the TencentCloud Provider provider "tencentcloud" { secret_id = var.secret_id diff --git a/website/docs/index.html.markdown b/website/docs/index.html.markdown index f5bbbce840..78f5644fa8 100644 --- a/website/docs/index.html.markdown +++ b/website/docs/index.html.markdown @@ -18,6 +18,14 @@ Use the navigation on the left to read about the available resources. ## Example Usage ```hcl +terraform { + required_providers { + tencentcloud = { + source = "tencentcloudstack/tencentcloud" + } + } +} + # Configure the TencentCloud Provider provider "tencentcloud" { secret_id = "my-secret-id"