Skip to content

Commit ca40281

Browse files
author
hellertang
authored
fix clb_listener import error (#805)
1 parent ca5335a commit ca40281

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tencentcloud/resource_tc_clb_listener.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ func resourceTencentCloudClbListener() *schema.Resource {
351351
"target_type": {
352352
Type: schema.TypeString,
353353
Optional: true,
354+
Computed: true,
354355
ValidateFunc: validateAllowedStringValue([]string{CLB_TARGET_TYPE_NODE, CLB_TARGET_TYPE_TARGETGROUP}),
355356
Description: "Backend target type. Valid values: `NODE`, `TARGETGROUP`. `NODE` means to bind ordinary nodes, `TARGETGROUP` means to bind target group. NOTES: TCP/UDP/TCP_SSL listener must configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.",
356357
},

0 commit comments

Comments
 (0)