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 +``` 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