Skip to content

Commit fd63cad

Browse files
committed
update vpc endpoint
1 parent 6c38119 commit fd63cad

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

tencentcloud/services/pls/resource_tc_vpc_enable_end_point_connect.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ func resourceTencentCloudVpcEnableEndPointConnectCreate(d *schema.ResourceData,
6565
endPointIdSet := v.(*schema.Set).List()
6666
for i := range endPointIdSet {
6767
endPointId = endPointIdSet[i].(string)
68-
request.EndPointId = append(request.EndPointId, &endPointId)
68+
endpoint := endPointIdSet[i].(string)
69+
request.EndPointId = append(request.EndPointId, &endpoint)
6970
}
7071
}
7172

tencentcloud/services/vpc/resource_tc_security_group_rule_set.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ func ResourceTencentCloudSecurityGroupRuleSet() *schema.Resource {
5757
"service_template_id": {
5858
Type: schema.TypeString,
5959
Optional: true,
60-
Description: "Specify Protocol template ID like `ppm-xxxxxxxx`, conflict with `cidr_block` and `port`.",
60+
Description: "Specify Protocol template ID like `ppm-xxxxxxxx`, conflict with `protocol` and `port`.",
6161
},
6262
"service_template_group": {
6363
Type: schema.TypeString,
6464
Optional: true,
65-
Description: "Specify Group ID of Protocol template ID like `ppmg-xxxxxxxx`, conflict with `cidr_block` and `port`.",
65+
Description: "Specify Group ID of Protocol template ID like `ppmg-xxxxxxxx`, conflict with `protocol` and `port`.",
6666
},
6767
"protocol": {
6868
Type: schema.TypeString,

website/docs/r/security_group_rule_set.html.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ The `egress` object supports the following:
118118
* `ipv6_cidr_block` - (Optional, String) An IPV6 address network or CIDR segment, and conflict with `source_security_id` and `address_template_*`. NOTE: One of `cidr_block`, `ipv6_cidr_block`, `source_security_id` and `address_template_*` must be set.
119119
* `port` - (Optional, String) Range of the port. The available value can be one, multiple or one segment. E.g. `80`, `80,90` and `80-90`. Default to all ports, and conflicts with `service_template_*`.
120120
* `protocol` - (Optional, String) Type of IP protocol. Valid values: `TCP`, `UDP`, `ICMP`, `ICMPv6` and `ALL`. Default to all types protocol, and conflicts with `service_template_*`.
121-
* `service_template_group` - (Optional, String) Specify Group ID of Protocol template ID like `ppmg-xxxxxxxx`, conflict with `cidr_block` and `port`.
122-
* `service_template_id` - (Optional, String) Specify Protocol template ID like `ppm-xxxxxxxx`, conflict with `cidr_block` and `port`.
121+
* `service_template_group` - (Optional, String) Specify Group ID of Protocol template ID like `ppmg-xxxxxxxx`, conflict with `protocol` and `port`.
122+
* `service_template_id` - (Optional, String) Specify Protocol template ID like `ppm-xxxxxxxx`, conflict with `protocol` and `port`.
123123
* `source_security_id` - (Optional, String) ID of the nested security group, and conflicts with `cidr_block` and `address_template_*`. NOTE: One of `cidr_block`, `ipv6_cidr_block`, `source_security_id` and `address_template_*` must be set.
124124

125125
The `ingress` object supports the following:
@@ -132,8 +132,8 @@ The `ingress` object supports the following:
132132
* `ipv6_cidr_block` - (Optional, String) An IPV6 address network or CIDR segment, and conflict with `source_security_id` and `address_template_*`. NOTE: One of `cidr_block`, `ipv6_cidr_block`, `source_security_id` and `address_template_*` must be set.
133133
* `port` - (Optional, String) Range of the port. The available value can be one, multiple or one segment. E.g. `80`, `80,90` and `80-90`. Default to all ports, and conflicts with `service_template_*`.
134134
* `protocol` - (Optional, String) Type of IP protocol. Valid values: `TCP`, `UDP`, `ICMP`, `ICMPv6` and `ALL`. Default to all types protocol, and conflicts with `service_template_*`.
135-
* `service_template_group` - (Optional, String) Specify Group ID of Protocol template ID like `ppmg-xxxxxxxx`, conflict with `cidr_block` and `port`.
136-
* `service_template_id` - (Optional, String) Specify Protocol template ID like `ppm-xxxxxxxx`, conflict with `cidr_block` and `port`.
135+
* `service_template_group` - (Optional, String) Specify Group ID of Protocol template ID like `ppmg-xxxxxxxx`, conflict with `protocol` and `port`.
136+
* `service_template_id` - (Optional, String) Specify Protocol template ID like `ppm-xxxxxxxx`, conflict with `protocol` and `port`.
137137
* `source_security_id` - (Optional, String) ID of the nested security group, and conflicts with `cidr_block` and `address_template_*`. NOTE: One of `cidr_block`, `ipv6_cidr_block`, `source_security_id` and `address_template_*` must be set.
138138

139139
## Attributes Reference

0 commit comments

Comments
 (0)