Skip to content

Commit 232eb31

Browse files
committed
[description fix]
1. fix description.
1 parent b0070b3 commit 232eb31

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

tencentcloud/resource_tc_vpn_connection.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ func resourceTencentCloudVpnConnection() *schema.Resource {
8585
}
8686
return old == new
8787
},
88-
Description: "ID of the VPC. Required if vpn gateway is not in `CCN` type, and not allowed to be used for `CCN` vpn gateway.",
88+
Description: "ID of the VPC. Required if vpn gateway is not in `CCN` type, and doesn't make sense for `CCN` vpn gateway.",
8989
},
9090
"is_ccn_type": {
9191
Type: schema.TypeBool,
9292
Computed: true,
93-
Description: "Indicate whether is ccn type. Modification of this field only impacts force new login of `vpc_id`. If `is_ccn_type` is true, modification of `vpc_id` will be ignored.",
93+
Description: "Indicate whether is ccn type. Modification of this field only impacts force new logic of `vpc_id`. If `is_ccn_type` is true, modification of `vpc_id` will be ignored.",
9494
},
9595
"customer_gateway_id": {
9696
Type: schema.TypeString,

tencentcloud/resource_tc_vpn_gateway.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func resourceTencentCloudVpnGateway() *schema.Resource {
8585
}
8686
return old == new
8787
},
88-
Description: "ID of the VPC. Required if vpn gateway is not in `CCN` type, and not allowed to be used if vpn gateway is in `CCN` type.",
88+
Description: "ID of the VPC. Required if vpn gateway is not in `CCN` type, and doesn't make sense for `CCN` vpn gateway.",
8989
},
9090
"bandwidth": {
9191
Type: schema.TypeInt,

website/docs/r/vpn_connection.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ The following arguments are supported:
7171
* `ipsec_sa_lifetime_seconds` - (Optional) SA lifetime of the IPSEC operation specification, unit is `second`. The value ranges from 180 to 604800. Default value is 3600 seconds.
7272
* `ipsec_sa_lifetime_traffic` - (Optional) SA lifetime of the IPSEC operation specification, unit is `KB`. The value should not be less then 2560. Default value is 1843200.
7373
* `tags` - (Optional) A list of tags used to associate different resources.
74-
* `vpc_id` - (Optional, ForceNew) ID of the VPC. Required if vpn gateway is not in `CCN` type, and not allowed to be used for `CCN` vpn gateway.
74+
* `vpc_id` - (Optional, ForceNew) ID of the VPC. Required if vpn gateway is not in `CCN` type, and doesn't make sense for `CCN` vpn gateway.
7575

7676
The `security_group_policy` object supports the following:
7777

@@ -85,7 +85,7 @@ In addition to all arguments above, the following attributes are exported:
8585
* `id` - ID of the resource.
8686
* `create_time` - Create time of the VPN connection.
8787
* `encrypt_proto` - Encrypt proto of the VPN connection.
88-
* `is_ccn_type` - Indicate whether is ccn type. Modification of this field only impacts force new login of `vpc_id`. If `is_ccn_type` is true, modification of `vpc_id` will be ignored.
88+
* `is_ccn_type` - Indicate whether is ccn type. Modification of this field only impacts force new logic of `vpc_id`. If `is_ccn_type` is true, modification of `vpc_id` will be ignored.
8989
* `net_status` - Net status of the VPN connection, values are `AVAILABLE`.
9090
* `route_type` - Route type of the VPN connection.
9191
* `state` - State of the connection, values are `PENDING`, `AVAILABLE`, `DELETING`.

website/docs/r/vpn_gateway.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The following arguments are supported:
5858
* `prepaid_renew_flag` - (Optional) Flag indicates whether to renew or not, valid values are `NOTIFY_AND_RENEW`, `NOTIFY_AND_AUTO_RENEW`, `NOT_NOTIFY_AND_NOT_RENEW`. This para can only be set to take effect in create operation.
5959
* `tags` - (Optional) A list of tags used to associate different resources.
6060
* `type` - (Optional) Type of gateway instance, valid values are `IPSEC`, `SSL` and `CCN`. Note: CCN type is only for whitelist customer now.
61-
* `vpc_id` - (Optional, ForceNew) ID of the VPC. Required if vpn gateway is not in `CCN` type, and not allowed to be used if vpn gateway is in `CCN` type.
61+
* `vpc_id` - (Optional, ForceNew) ID of the VPC. Required if vpn gateway is not in `CCN` type, and doesn't make sense for `CCN` vpn gateway.
6262

6363
## Attributes Reference
6464

0 commit comments

Comments
 (0)