Skip to content

Commit 4719126

Browse files
committed
feat: add changelog
1 parent d5122f8 commit 4719126

File tree

4 files changed

+119
-0
lines changed

4 files changed

+119
-0
lines changed

.changelog/2126.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_tke_tmp_alert_policy: Support modifying `node_config`.
3+
```
4+
5+
```release-note:new-resource
6+
tencentcloud_tse_cngw_group
7+
```

tencentcloud/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,7 @@ Tencent Cloud Service Engine(TSE)
15871587
tencentcloud_tse_cngw_service
15881588
tencentcloud_tse_cngw_canary_rule
15891589
tencentcloud_tse_cngw_gateway
1590+
tencentcloud_tse_cngw_group
15901591
tencentcloud_tse_cngw_service_rate_limit
15911592
tencentcloud_tse_cngw_route
15921593
tencentcloud_tse_cngw_route_rate_limit
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
---
2+
subcategory: "Tencent Cloud Service Engine(TSE)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_tse_cngw_group"
5+
sidebar_current: "docs-tencentcloud-resource-tse_cngw_group"
6+
description: |-
7+
Provides a resource to create a tse cngw_group
8+
---
9+
10+
# tencentcloud_tse_cngw_group
11+
12+
Provides a resource to create a tse cngw_group
13+
14+
## Example Usage
15+
16+
```hcl
17+
variable "availability_zone" {
18+
default = "ap-guangzhou-4"
19+
}
20+
21+
resource "tencentcloud_vpc" "vpc" {
22+
cidr_block = "10.0.0.0/16"
23+
name = "tf_tse_vpc"
24+
}
25+
26+
resource "tencentcloud_subnet" "subnet" {
27+
vpc_id = tencentcloud_vpc.vpc.id
28+
availability_zone = var.availability_zone
29+
name = "tf_tse_subnet"
30+
cidr_block = "10.0.1.0/24"
31+
}
32+
33+
resource "tencentcloud_tse_cngw_gateway" "cngw_gateway" {
34+
description = "terraform test1"
35+
enable_cls = true
36+
engine_region = "ap-guangzhou"
37+
feature_version = "STANDARD"
38+
gateway_version = "2.5.1"
39+
ingress_class_name = "tse-nginx-ingress"
40+
internet_max_bandwidth_out = 0
41+
name = "terraform-gateway1"
42+
trade_type = 0
43+
type = "kong"
44+
45+
node_config {
46+
number = 2
47+
specification = "1c2g"
48+
}
49+
50+
vpc_config {
51+
subnet_id = tencentcloud_subnet.subnet.id
52+
vpc_id = tencentcloud_vpc.vpc.id
53+
}
54+
55+
tags = {
56+
"createdBy" = "terraform"
57+
}
58+
}
59+
60+
resource "tencentcloud_tse_cngw_group" "cngw_group" {
61+
description = "terraform desc"
62+
gateway_id = tencentcloud_tse_cngw_gateway.cngw_gateway.id
63+
name = "terraform-group"
64+
subnet_id = tencentcloud_subnet.subnet.id
65+
66+
node_config {
67+
number = 2
68+
specification = "1c2g"
69+
}
70+
}
71+
```
72+
73+
## Argument Reference
74+
75+
The following arguments are supported:
76+
77+
* `gateway_id` - (Required, String) gateway IDonly postpaid gateway supported.
78+
* `name` - (Required, String) gateway group name.
79+
* `node_config` - (Required, List) group node configration.
80+
* `subnet_id` - (Required, String) subnet ID. Assign an IP address to the engine in the VPC subnet. Reference value:- subnet-ahde9me9.
81+
* `description` - (Optional, String) description information of group.
82+
* `internet_config` - (Optional, List) internet configration.
83+
* `internet_max_bandwidth_out` - (Optional, Int) public network outbound traffic bandwidth,[1,2048]Mbps.
84+
85+
The `internet_config` object supports the following:
86+
87+
* `description` - (Optional, String) description of clb.
88+
* `internet_address_version` - (Optional, String) internet type. Reference value:- IPV4 (default value)- IPV6.
89+
* `internet_max_bandwidth_out` - (Optional, Int) public network bandwidth.
90+
* `internet_pay_mode` - (Optional, String) trade type of internet. Reference value:- BANDWIDTH- TRAFFIC (default value).
91+
* `master_zone_id` - (Optional, String) primary availability zone.
92+
* `multi_zone_flag` - (Optional, Bool) Whether load balancing has multiple availability zones.
93+
* `sla_type` - (Optional, String) specification type of clb. Default shared type when this parameter is empty. Reference value:- SLA LCU-supported.
94+
* `slave_zone_id` - (Optional, String) alternate availability zone.
95+
96+
The `node_config` object supports the following:
97+
98+
* `number` - (Required, Int) group node number, 2-50.
99+
* `specification` - (Required, String) group specification, 1c2g|2c4g|4c8g|8c16g.
100+
101+
## Attributes Reference
102+
103+
In addition to all arguments above, the following attributes are exported:
104+
105+
* `id` - ID of the resource.
106+
107+
108+

website/tencentcloud.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3143,6 +3143,9 @@
31433143
<li>
31443144
<a href="/docs/providers/tencentcloud/r/tse_cngw_gateway.html">tencentcloud_tse_cngw_gateway</a>
31453145
</li>
3146+
<li>
3147+
<a href="/docs/providers/tencentcloud/r/tse_cngw_group.html">tencentcloud_tse_cngw_group</a>
3148+
</li>
31463149
<li>
31473150
<a href="/docs/providers/tencentcloud/r/tse_cngw_route.html">tencentcloud_tse_cngw_route</a>
31483151
</li>

0 commit comments

Comments
 (0)