File tree Expand file tree Collapse file tree
docs-partials/builder/tencentcloud/cvm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ var ValidRegions = []Region{
4646
4747type TencentCloudAccessConfig struct {
4848 // Tencentcloud secret id. You should set it directly,
49- // or set the TENCENTCLOUD_ACCESS_KEY environment variable.
49+ // or set the TENCENTCLOUD_SECRET_ID environment variable.
5050 SecretId string `mapstructure:"secret_id" required:"true"`
5151 // Tencentcloud secret key. You should set it directly,
5252 // or set the TENCENTCLOUD_SECRET_KEY environment variable.
Original file line number Diff line number Diff line change 11{
22 "variables" : {
3- "secret_id" : " {{env `TENCENTCLOUD_ACCESS_KEY `}}" ,
3+ "secret_id" : " {{env `TENCENTCLOUD_SECRET_ID `}}" ,
44 "secret_key" : " {{env `TENCENTCLOUD_SECRET_KEY`}}"
55 },
66 "builders" : [
Original file line number Diff line number Diff line change 11{
22 "variables" : {
3- "secret_id" : " {{env `TENCENTCLOUD_ACCESS_KEY `}}" ,
3+ "secret_id" : " {{env `TENCENTCLOUD_SECRET_ID `}}" ,
44 "secret_key" : " {{env `TENCENTCLOUD_SECRET_KEY`}}"
55 },
66 "builders" : [
Original file line number Diff line number Diff line change 11{
22 "variables" : {
3- "secret_id" : " {{env `TENCENTCLOUD_ACCESS_KEY `}}" ,
3+ "secret_id" : " {{env `TENCENTCLOUD_SECRET_ID `}}" ,
44 "secret_key" : " {{env `TENCENTCLOUD_SECRET_KEY`}}"
55 },
66 "builders" : [
Original file line number Diff line number Diff line change 11<!-- Code generated from the comments of the TencentCloudAccessConfig struct in builder/tencentcloud/cvm/access_config.go; DO NOT EDIT MANUALLY -->
22
33- `secret_id` (string) - Tencentcloud secret id. You should set it directly,
4- or set the TENCENTCLOUD_ACCESS_KEY environment variable.
4+ or set the TENCENTCLOUD_SECRET_ID environment variable.
55
66- `secret_key` (string) - Tencentcloud secret key. You should set it directly,
77 or set the TENCENTCLOUD_SECRET_KEY environment variable.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ a [communicator](/docs/templates/legacy_json_templates/communicator) can be conf
2323### Required:
2424
2525- ` secret_id ` (string) - Tencentcloud secret id. You should set it directly,
26- or set the ` TENCENTCLOUD_ACCESS_KEY ` environment variable.
26+ or set the ` TENCENTCLOUD_SECRET_ID ` environment variable.
2727
2828- ` secret_key ` (string) - Tencentcloud secret key. You should set it directly,
2929 or set the ` TENCENTCLOUD_SECRET_KEY ` environment variable.
@@ -151,7 +151,7 @@ Here is a basic example for Tencentcloud.
151151``` json
152152{
153153 "variables" : {
154- "secret_id" : " {{env `TENCENTCLOUD_ACCESS_KEY `}}" ,
154+ "secret_id" : " {{env `TENCENTCLOUD_SECRET_ID `}}" ,
155155 "secret_key" : " {{env `TENCENTCLOUD_SECRET_KEY`}}"
156156 },
157157 "builders" : [
Original file line number Diff line number Diff line change 11variable "secret_id" {
22 type = string
3- default = " ${ env (" TENCENTCLOUD_ACCESS_KEY " )} "
3+ default = " ${ env (" TENCENTCLOUD_SECRET_ID " )} "
44}
55
66variable "secret_key" {
You can’t perform that action at this time.
0 commit comments