From 59831ed6c8c9ea91ad5c51ac0853e01e121e4b0a Mon Sep 17 00:00:00 2001 From: Li Kexian Date: Wed, 13 Nov 2019 14:32:08 +0800 Subject: [PATCH] fixed lint check --- tencentcloud/extension_vpc.go | 1 - tencentcloud/resource_tc_vpn_connection.go | 2 +- website/docs/d/nat_gateways.html.markdown | 18 +++++++++--------- website/docs/r/nat_gateway.html.markdown | 4 ++-- website/docs/r/vpn_connection.html.markdown | 2 +- 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/tencentcloud/extension_vpc.go b/tencentcloud/extension_vpc.go index d2897cec15..e3c970dcf9 100644 --- a/tencentcloud/extension_vpc.go +++ b/tencentcloud/extension_vpc.go @@ -268,4 +268,3 @@ var VPN_IPSEC_ENCRY_ALGORITHM = []string{ const ( VPCNotFound = "ResourceNotFound" ) - diff --git a/tencentcloud/resource_tc_vpn_connection.go b/tencentcloud/resource_tc_vpn_connection.go index adc87bd01b..93a14bb2c6 100644 --- a/tencentcloud/resource_tc_vpn_connection.go +++ b/tencentcloud/resource_tc_vpn_connection.go @@ -222,7 +222,7 @@ func resourceTencentCloudVpnConnection() *schema.Resource { Optional: true, Default: "NULL", ValidateFunc: validateAllowedStringValue(VPN_IPSEC_PFS_DH_GROUP_NAME), - Description: "PFS DH group , valid values are `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`, `NULL`. Default value is `NULL`.", + Description: "PFS DH group, valid values are `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`, `NULL`. Default value is `NULL`.", }, "ipsec_sa_lifetime_traffic": { Type: schema.TypeInt, diff --git a/website/docs/d/nat_gateways.html.markdown b/website/docs/d/nat_gateways.html.markdown index a6282d3198..4fd50be8d3 100644 --- a/website/docs/d/nat_gateways.html.markdown +++ b/website/docs/d/nat_gateways.html.markdown @@ -24,8 +24,8 @@ data "tencentcloud_nat_gateways" "foo" { The following arguments are supported: -* `id` - (Optional) ID of the nat gateway. -* `name` - (Optional) Name of the nat gateway. +* `id` - (Optional) ID of the NAT gateway. +* `name` - (Optional) Name of the NAT gateway. * `result_output_file` - (Optional) Used to save results. * `vpc_id` - (Optional) ID of the vpc. @@ -33,14 +33,14 @@ The following arguments are supported: In addition to all arguments above, the following attributes are exported: -* `nats` - Information list of the dedicated tunnels. +* `nats` - Information list of the dedicated nats. * `assigned_eip_set` - EIP arrays bound to the gateway. The value of at least 1. - * `bandwidth` - The maximum public network output bandwidth of nat gateway (unit: Mbps), the available values include: 20,50,100,200,500,1000,2000,5000. Default is 100. - * `create_time` - Create time of the nat gateway. - * `id` - ID of the nat gateway. - * `max_concurrent` - The upper limit of concurrent connection of nat gateway, the available values include: 1000000,3000000,10000000. Default is 1000000. - * `name` - Name of the nat gateway. - * `state` - State of the nat gateway. + * `bandwidth` - The maximum public network output bandwidth of NAT gateway (unit: Mbps), the available values include: 20,50,100,200,500,1000,2000,5000. Default is 100. + * `create_time` - Create time of the NAT gateway. + * `id` - ID of the NAT gateway. + * `max_concurrent` - The upper limit of concurrent connection of NAT gateway, the available values include: 1000000,3000000,10000000. Default is 1000000. + * `name` - Name of the NAT gateway. + * `state` - State of the NAT gateway. * `vpc_id` - ID of the vpc. diff --git a/website/docs/r/nat_gateway.html.markdown b/website/docs/r/nat_gateway.html.markdown index 0dea3a64df..23f3218bab 100644 --- a/website/docs/r/nat_gateway.html.markdown +++ b/website/docs/r/nat_gateway.html.markdown @@ -26,8 +26,8 @@ resource "tencentcloud_nat_gateway" "foo" { The following arguments are supported: -* `name` - (Required) Name of the NAT gateway. -* `vpc_id` - (Required, ForceNew) Id of the VPC. +* `name` - (Required) Name of the nat gateway. +* `vpc_id` - (Required, ForceNew) ID of the vpc. * `assigned_eip_set` - (Optional) EIP arrays bound to the gateway. The value of at least 1. * `bandwidth` - (Optional) The maximum public network output bandwidth of nat gateway (unit: Mbps), the available values include: 20,50,100,200,500,1000,2000,5000. Default is 100. * `max_concurrent` - (Optional) The upper limit of concurrent connection of nat gateway, the available values include: 1000000,3000000,10000000. Default is 1000000. diff --git a/website/docs/r/vpn_connection.html.markdown b/website/docs/r/vpn_connection.html.markdown index f2c172ef41..02975717b8 100644 --- a/website/docs/r/vpn_connection.html.markdown +++ b/website/docs/r/vpn_connection.html.markdown @@ -68,7 +68,7 @@ The following arguments are supported: * `ike_version` - (Optional) Version of the IKE operation specification. Default value is `IKEV1`. * `ipsec_encrypt_algorithm` - (Optional) Encrypt algorithm of the IPSEC operation specification, valid values are `3DES-CBC`, `AES-CBC-128`, `AES-CBC-128`, `AES-CBC-256`, `DES-CBC`. Default value is `3DES-CBC`. * `ipsec_integrity_algorithm` - (Optional) Integrity algorithm of the IPSEC operation specification, valid values are `SHA1`, `MD5`. Default value is `MD5`. -* `ipsec_pfs_dh_group` - (Optional) PFS DH group , valid values are `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`, `NULL`. Default value is `NULL`. +* `ipsec_pfs_dh_group` - (Optional) PFS DH group, valid values are `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`, `NULL`. Default value is `NULL`. * `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. * `ipsec_sa_lifetime_traffic` - (Optional) SA lifetime of the IPSEC operation specification, unit is `KB`. The value ranges from 2560 to 4294967295. Default value is 1843200. * `tags` - (Optional) A list of tags used to associate different resources.