Skip to content

Commit 50da107

Browse files
gitmknanonymous
andauthored
Fix/tem gateway (#1672)
* fix: Modify the binding certificate description * fix: Modify the binding certificate description * feat: add changelog --------- Co-authored-by: anonymous <anonymous@mail.org>
1 parent 8aae7c2 commit 50da107

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.changelog/1672.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_tem_gateway: Add binding certificate instructions to deal with binding certificate issues
3+
```

tencentcloud/resource_tc_tem_gateway.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ func resourceTencentCloudTemGateway() *schema.Resource {
123123
"secret_name": {
124124
Type: schema.TypeString,
125125
Optional: true,
126-
Description: "secret name.",
126+
Computed: true,
127+
Description: "secret name, if you use a certificate, you don't need to fill in this field.",
127128
},
128129
"certificate_id": {
129130
Type: schema.TypeString,

website/docs/r/tem_gateway.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The `tls` object supports the following:
9292

9393
* `certificate_id` - (Required, String) certificate ID.
9494
* `hosts` - (Required, Set) host names.
95-
* `secret_name` - (Optional, String) secret name.
95+
* `secret_name` - (Optional, String) secret name, if you use a certificate, you don't need to fill in this field.
9696

9797
## Attributes Reference
9898

0 commit comments

Comments
 (0)