Skip to content

Commit 7799936

Browse files
authored
Merge pull request #190 from oliverpei/master
update eip association doc
2 parents 64eb351 + 27ace8f commit 7799936

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tencentcloud/resource_tc_eip_association.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Provides an eip resource associated with other resource like CVM or ENI.
2+
Provides an eip resource associated with other resource like CVM, ENI and CLB.
33
44
~> **NOTE:** Please DO NOT define `allocate_public_ip` in `tencentcloud_instance` resource when using `tencentcloud_eip_association`.
55
@@ -61,7 +61,7 @@ func resourceTencentCloudEipAssociation() *schema.Resource {
6161
"private_ip",
6262
},
6363
ValidateFunc: validateStringLengthInRange(1, 25),
64-
Description: "The instance id going to bind with the eip. This field is conflict with `network_interface_id` and `private_ip fields`.",
64+
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`.",
6565
},
6666
"network_interface_id": {
6767
Type: schema.TypeString,

website/docs/r/eip_association.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ layout: "tencentcloud"
33
page_title: "TencentCloud: tencentcloud_eip_association"
44
sidebar_current: "docs-tencentcloud-resource-eip_association"
55
description: |-
6-
Provides an eip resource associated with other resource like CVM or ENI.
6+
Provides an eip resource associated with other resource like CVM, ENI and CLB.
77
---
88

99
# tencentcloud_eip_association
1010

11-
Provides an eip resource associated with other resource like CVM or ENI.
11+
Provides an eip resource associated with other resource like CVM, ENI and CLB.
1212

1313
~> **NOTE:** Please DO NOT define `allocate_public_ip` in `tencentcloud_instance` resource when using `tencentcloud_eip_association`.
1414

@@ -36,7 +36,7 @@ resource "tencentcloud_eip_association" "bar" {
3636
The following arguments are supported:
3737

3838
* `eip_id` - (Required, ForceNew) The id of eip.
39-
* `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`.
39+
* `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`.
4040
* `network_interface_id` - (Optional, ForceNew) Indicates the network interface id like `eni-xxxxxx`. This field is conflict with `instance_id`.
4141
* `private_ip` - (Optional, ForceNew) Indicates an IP belongs to the `network_interface_id`. This field is conflict with `instance_id`.
4242

0 commit comments

Comments
 (0)