Skip to content

do some doc fix #2456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tencentcloud/services/vpc/resource_tc_route_table_entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions tencentcloud/services/vpn/resource_tc_vpn_gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/route_table_entry.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/vpn_gateway.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down