diff --git a/.changelog/2512.txt b/.changelog/2512.txt new file mode 100644 index 0000000000..6f75a6cad0 --- /dev/null +++ b/.changelog/2512.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/tencentcloud_clb_attachments: support param `eni_ip` +``` \ No newline at end of file diff --git a/tencentcloud/services/clb/data_source_tc_clb_attachments.go b/tencentcloud/services/clb/data_source_tc_clb_attachments.go index 490fc0b3bf..08dc06d366 100644 --- a/tencentcloud/services/clb/data_source_tc_clb_attachments.go +++ b/tencentcloud/services/clb/data_source_tc_clb_attachments.go @@ -75,6 +75,11 @@ func DataSourceTencentCloudClbServerAttachments() *schema.Resource { Computed: true, Description: "Id of the backend server.", }, + "eni_ip": { + Type: schema.TypeString, + Computed: true, + Description: "Elastic network card unique ID.", + }, "port": { Type: schema.TypeInt, Computed: true, diff --git a/website/docs/d/clb_attachments.html.markdown b/website/docs/d/clb_attachments.html.markdown index 58a849c8dc..417f32f9bc 100644 --- a/website/docs/d/clb_attachments.html.markdown +++ b/website/docs/d/clb_attachments.html.markdown @@ -40,6 +40,7 @@ In addition to all arguments above, the following attributes are exported: * `protocol_type` - Type of protocol within the listener, and available values include `TCP`, `UDP`, `HTTP`, `HTTPS` and `TCP_SSL`. NOTES: `TCP_SSL` is testing internally, please apply if you need to use. * `rule_id` - ID of the CLB listener rule. * `targets` - Information of the backends to be attached. + * `eni_ip` - Elastic network card unique ID. * `instance_id` - Id of the backend server. * `port` - Port of the backend server. * `weight` - Forwarding weight of the backend service, the range of [0, 100], defaults to `10`.