Skip to content

Commit 7473fe7

Browse files
authored
do some doc fix (#2456)
1 parent 7a4192b commit 7473fe7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

tencentcloud/services/vpc/resource_tc_route_table_entry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func ResourceTencentCloudVpcRouteEntry() *schema.Resource {
5252
Type: schema.TypeString,
5353
Required: true,
5454
ForceNew: true,
55-
Description: "ID of next-hop gateway. Note: when `next_type` is EIP, GatewayId should be `0`.",
55+
Description: "ID of next-hop gateway. Note: when `next_type` is EIP, `next_hub` should be `0`.",
5656
},
5757
// Name enabled will lead to exist route table diff fail (null -> false cannot diff).
5858
"disabled": {

tencentcloud/services/vpn/resource_tc_vpn_gateway.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ resource "tencentcloud_vpn_gateway" "my_cgw" {
1919
}
2020
```
2121

22-
CCN IPEC VPN gateway
22+
CCN IPSEC VPN gateway
2323
```hcl
2424
resource "tencentcloud_vpn_gateway" "my_cgw" {
2525
name = "test"
2626
bandwidth = 5
2727
zone = "ap-guangzhou-3"
28-
type = "CCN"
28+
type = "IPSEC"
2929
3030
tags = {
3131
test = "test"

website/docs/r/route_table_entry.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ resource "tencentcloud_route_table_entry" "instance" {
5050
The following arguments are supported:
5151

5252
* `destination_cidr_block` - (Required, String, ForceNew) Destination address block.
53-
* `next_hub` - (Required, String, ForceNew) ID of next-hop gateway. Note: when `next_type` is EIP, GatewayId should be `0`.
53+
* `next_hub` - (Required, String, ForceNew) ID of next-hop gateway. Note: when `next_type` is EIP, `next_hub` should be `0`.
5454
* `next_type` - (Required, String, ForceNew) Type of next-hop. Valid values: `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `HAVIP`, `NAT`, `NORMAL_CVM`, `EIP` and `LOCAL_GATEWAY`.
5555
* `route_table_id` - (Required, String, ForceNew) ID of routing table to which this entry belongs.
5656
* `description` - (Optional, String, ForceNew) Description of the routing table entry.

website/docs/r/vpn_gateway.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ resource "tencentcloud_vpn_gateway" "my_cgw" {
3131
}
3232
```
3333

34-
### CCN IPEC VPN gateway
34+
### CCN IPSEC VPN gateway
3535

3636
```hcl
3737
resource "tencentcloud_vpn_gateway" "my_cgw" {
3838
name = "test"
3939
bandwidth = 5
4040
zone = "ap-guangzhou-3"
41-
type = "CCN"
41+
type = "IPSEC"
4242
4343
tags = {
4444
test = "test"

0 commit comments

Comments
 (0)