From 30672818262848719ca5983db3d54733e13b8ee2 Mon Sep 17 00:00:00 2001 From: SevenEarth <391613297@qq.com> Date: Fri, 17 Oct 2025 16:52:00 +0800 Subject: [PATCH 1/2] add --- tencentcloud/services/cvm/resource_tc_eip_association.go | 7 +++++++ website/docs/r/eip_association.html.markdown | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/tencentcloud/services/cvm/resource_tc_eip_association.go b/tencentcloud/services/cvm/resource_tc_eip_association.go index 49be16a233..ed2b1db4f6 100644 --- a/tencentcloud/services/cvm/resource_tc_eip_association.go +++ b/tencentcloud/services/cvm/resource_tc_eip_association.go @@ -66,6 +66,13 @@ func ResourceTencentCloudEipAssociation() *schema.Resource { }, Description: "Indicates an IP belongs to the `network_interface_id`. This field is conflict with `instance_id`.", }, + + // computed + "cdc_id": { + Type: schema.TypeString, + Computed: true, + Description: "ID of the dedicated cluster.", + }, }, } } diff --git a/website/docs/r/eip_association.html.markdown b/website/docs/r/eip_association.html.markdown index 56395f5c50..26e618edf3 100644 --- a/website/docs/r/eip_association.html.markdown +++ b/website/docs/r/eip_association.html.markdown @@ -139,7 +139,7 @@ The following arguments are supported: In addition to all arguments above, the following attributes are exported: * `id` - ID of the resource. - +* `cdc_id` - ID of the dedicated cluster. ## Import From 400e2f75754b639639b0f5813e6f8096b4eb5280 Mon Sep 17 00:00:00 2001 From: SevenEarth <391613297@qq.com> Date: Fri, 17 Oct 2025 16:53:50 +0800 Subject: [PATCH 2/2] add --- .changelog/3556.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/3556.txt diff --git a/.changelog/3556.txt b/.changelog/3556.txt new file mode 100644 index 0000000000..2c409cb71a --- /dev/null +++ b/.changelog/3556.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/tencentcloud_eip_association: support `cdc_id` field +```