diff --git a/tencentcloud/services/vpc/resource_tc_route_table_entry.go b/tencentcloud/services/vpc/resource_tc_route_table_entry.go index ed3a05e327..77d2ccbf9f 100644 --- a/tencentcloud/services/vpc/resource_tc_route_table_entry.go +++ b/tencentcloud/services/vpc/resource_tc_route_table_entry.go @@ -52,7 +52,7 @@ func ResourceTencentCloudVpcRouteEntry() *schema.Resource { Type: schema.TypeString, Required: true, ForceNew: true, - Description: "ID of next-hop gateway. Note: when `next_type` is EIP, GatewayId should be `0`.", + Description: "ID of next-hop gateway. Note: when `next_type` is EIP, `next_hub` should be `0`.", }, // Name enabled will lead to exist route table diff fail (null -> false cannot diff). "disabled": { diff --git a/tencentcloud/services/vpn/resource_tc_vpn_gateway.md b/tencentcloud/services/vpn/resource_tc_vpn_gateway.md index f794e1ddb6..08d037e39d 100644 --- a/tencentcloud/services/vpn/resource_tc_vpn_gateway.md +++ b/tencentcloud/services/vpn/resource_tc_vpn_gateway.md @@ -19,13 +19,13 @@ resource "tencentcloud_vpn_gateway" "my_cgw" { } ``` -CCN IPEC VPN gateway +CCN IPSEC VPN gateway ```hcl resource "tencentcloud_vpn_gateway" "my_cgw" { name = "test" bandwidth = 5 zone = "ap-guangzhou-3" - type = "CCN" + type = "IPSEC" tags = { test = "test" diff --git a/website/docs/r/route_table_entry.html.markdown b/website/docs/r/route_table_entry.html.markdown index bf1570e2f4..07f397aa38 100644 --- a/website/docs/r/route_table_entry.html.markdown +++ b/website/docs/r/route_table_entry.html.markdown @@ -50,7 +50,7 @@ resource "tencentcloud_route_table_entry" "instance" { The following arguments are supported: * `destination_cidr_block` - (Required, String, ForceNew) Destination address block. -* `next_hub` - (Required, String, ForceNew) ID of next-hop gateway. Note: when `next_type` is EIP, GatewayId should be `0`. +* `next_hub` - (Required, String, ForceNew) ID of next-hop gateway. Note: when `next_type` is EIP, `next_hub` should be `0`. * `next_type` - (Required, String, ForceNew) Type of next-hop. Valid values: `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `HAVIP`, `NAT`, `NORMAL_CVM`, `EIP` and `LOCAL_GATEWAY`. * `route_table_id` - (Required, String, ForceNew) ID of routing table to which this entry belongs. * `description` - (Optional, String, ForceNew) Description of the routing table entry. diff --git a/website/docs/r/vpn_gateway.html.markdown b/website/docs/r/vpn_gateway.html.markdown index 6f4f762fd0..456a6a8268 100644 --- a/website/docs/r/vpn_gateway.html.markdown +++ b/website/docs/r/vpn_gateway.html.markdown @@ -31,14 +31,14 @@ resource "tencentcloud_vpn_gateway" "my_cgw" { } ``` -### CCN IPEC VPN gateway +### CCN IPSEC VPN gateway ```hcl resource "tencentcloud_vpn_gateway" "my_cgw" { name = "test" bandwidth = 5 zone = "ap-guangzhou-3" - type = "CCN" + type = "IPSEC" tags = { test = "test"