Skip to content

Commit 9c647ab

Browse files
authored
fix(nat): [123456789] nat gateway remove max limit of eips (#3097)
* remove max limit of eips * remove max limit of eips
1 parent cdafb1e commit 9c647ab

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.changelog/3097.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_nat_gateway: remove max limit of eips
3+
```

tencentcloud/services/vpc/resource_tc_nat_gateway.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ func ResourceTencentCloudNatGateway() *schema.Resource {
6363
ValidateFunc: tccommon.ValidateIp,
6464
},
6565
MinItems: 1,
66-
MaxItems: 10,
67-
Description: "EIP IP address set bound to the gateway. The value of at least 1 and at most 10.",
66+
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.",
6867
},
6968
"zone": {
7069
Type: schema.TypeString,

website/docs/r/nat_gateway.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ resource "tencentcloud_nat_gateway" "example" {
114114

115115
The following arguments are supported:
116116

117-
* `assigned_eip_set` - (Required, Set: [`String`]) EIP IP address set bound to the gateway. The value of at least 1 and at most 10.
117+
* `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.
118118
* `name` - (Required, String) Name of the NAT gateway.
119119
* `vpc_id` - (Required, String, ForceNew) ID of the vpc.
120120
* `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`.

0 commit comments

Comments
 (0)