diff --git a/tencentcloud/resource_tc_eip_association.go b/tencentcloud/resource_tc_eip_association.go index 29639e3d13..bbb1ad8f04 100644 --- a/tencentcloud/resource_tc_eip_association.go +++ b/tencentcloud/resource_tc_eip_association.go @@ -1,5 +1,5 @@ /* -Provides an eip resource associated with other resource like CVM or ENI. +Provides an eip resource associated with other resource like CVM, ENI and CLB. ~> **NOTE:** Please DO NOT define `allocate_public_ip` in `tencentcloud_instance` resource when using `tencentcloud_eip_association`. @@ -61,7 +61,7 @@ func resourceTencentCloudEipAssociation() *schema.Resource { "private_ip", }, ValidateFunc: validateStringLengthInRange(1, 25), - Description: "The instance id going to bind with the eip. This field is conflict with `network_interface_id` and `private_ip fields`.", + Description: "The CVM or CLB instance id going to bind with the eip. This field is conflict with `network_interface_id` and `private_ip fields`.", }, "network_interface_id": { Type: schema.TypeString, diff --git a/website/docs/r/eip_association.html.markdown b/website/docs/r/eip_association.html.markdown index 2b6fcb9eb1..3b41ba5f13 100644 --- a/website/docs/r/eip_association.html.markdown +++ b/website/docs/r/eip_association.html.markdown @@ -3,12 +3,12 @@ layout: "tencentcloud" page_title: "TencentCloud: tencentcloud_eip_association" sidebar_current: "docs-tencentcloud-resource-eip_association" description: |- - Provides an eip resource associated with other resource like CVM or ENI. + Provides an eip resource associated with other resource like CVM, ENI and CLB. --- # tencentcloud_eip_association -Provides an eip resource associated with other resource like CVM or ENI. +Provides an eip resource associated with other resource like CVM, ENI and CLB. ~> **NOTE:** Please DO NOT define `allocate_public_ip` in `tencentcloud_instance` resource when using `tencentcloud_eip_association`. @@ -36,7 +36,7 @@ resource "tencentcloud_eip_association" "bar" { The following arguments are supported: * `eip_id` - (Required, ForceNew) The id of eip. -* `instance_id` - (Optional, ForceNew) The instance id going to bind with the eip. This field is conflict with `network_interface_id` and `private_ip fields`. +* `instance_id` - (Optional, ForceNew) The CVM or CLB instance id going to bind with the eip. This field is conflict with `network_interface_id` and `private_ip fields`. * `network_interface_id` - (Optional, ForceNew) Indicates the network interface id like `eni-xxxxxx`. This field is conflict with `instance_id`. * `private_ip` - (Optional, ForceNew) Indicates an IP belongs to the `network_interface_id`. This field is conflict with `instance_id`.