diff --git a/.changelog/3097.txt b/.changelog/3097.txt new file mode 100644 index 0000000000..ad156df9ce --- /dev/null +++ b/.changelog/3097.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/tencentcloud_nat_gateway: remove max limit of eips +``` diff --git a/tencentcloud/services/vpc/resource_tc_nat_gateway.go b/tencentcloud/services/vpc/resource_tc_nat_gateway.go index 9ece440665..07489d4af7 100644 --- a/tencentcloud/services/vpc/resource_tc_nat_gateway.go +++ b/tencentcloud/services/vpc/resource_tc_nat_gateway.go @@ -63,8 +63,7 @@ func ResourceTencentCloudNatGateway() *schema.Resource { ValidateFunc: tccommon.ValidateIp, }, MinItems: 1, - MaxItems: 10, - Description: "EIP IP address set bound to the gateway. The value of at least 1 and at most 10.", + Description: "EIP IP address set bound to the gateway. The value of at least 1 and at most 10 if do not apply for a whitelist.", }, "zone": { Type: schema.TypeString, diff --git a/website/docs/r/nat_gateway.html.markdown b/website/docs/r/nat_gateway.html.markdown index 5f8c59da10..88ea0d2480 100644 --- a/website/docs/r/nat_gateway.html.markdown +++ b/website/docs/r/nat_gateway.html.markdown @@ -114,7 +114,7 @@ resource "tencentcloud_nat_gateway" "example" { The following arguments are supported: -* `assigned_eip_set` - (Required, Set: [`String`]) EIP IP address set bound to the gateway. The value of at least 1 and at most 10. +* `assigned_eip_set` - (Required, Set: [`String`]) EIP IP address set bound to the gateway. The value of at least 1 and at most 10 if do not apply for a whitelist. * `name` - (Required, String) Name of the NAT gateway. * `vpc_id` - (Required, String, ForceNew) ID of the vpc. * `bandwidth` - (Optional, Int) The maximum public network output bandwidth of NAT gateway (unit: Mbps). Valid values: `20`, `50`, `100`, `200`, `500`, `1000`, `2000`, `5000`. Default is `100`. When the value of parameter `nat_product_version` is 2, which is the standard NAT type, this parameter does not need to be filled in and defaults to `5000`.