Skip to content

Commit 9f83214

Browse files
committed
add
1 parent 2304856 commit 9f83214

File tree

11 files changed

+206
-11
lines changed

11 files changed

+206
-11
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ require (
4646
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.1107
4747
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.1033
4848
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.1148
49-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.42
49+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.45
5050
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.1206
5151
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp v1.0.762
5252
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.1161
@@ -98,7 +98,7 @@ require (
9898
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod v1.0.860
9999
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc v1.1.14
100100
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf v1.0.1170
101-
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.42
101+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.45
102102
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.199
103103
github.com/tencentyun/cos-go-sdk-v5 v0.7.66
104104
github.com/yangwenmai/ratelimit v0.0.0-20180104140304-44221c2292e1

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.40 h1:mNP6S
966966
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.40/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
967967
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.42 h1:zOTQCji3vmxrZPkDPfqs2cklL0ZwZYABvWPdm1NQ9lk=
968968
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.42/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
969+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.45 h1:aHdlXJIg0Ro2gNeBUFBP25t7zBLAJVpWVDRxGp6J7oE=
970+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.45/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
969971
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter v1.0.993 h1:WlPgXldQCxt7qi5Xrc6j6zTrsXWzN5BcOGs7Irq7fwQ=
970972
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter v1.0.993/go.mod h1:Z9U8zNtyuyKhjS0698wqsrG/kLx1TQ5CEixXBwVe7xY=
971973
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csip v1.0.860 h1:F3esKBIT3HW9+7Gt8cVgf8X06VdGIczpgLBUECzSEzU=
@@ -1105,6 +1107,8 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.40 h1:ZHESn
11051107
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.40/go.mod h1:ROVq1WJulfJonhjNE6olW+xEBHPxqgAoYhpMZ7gFHO8=
11061108
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.42 h1:UccqwoaGyksPVmFyCFOWLCpLJqpcLFvG/9KnZne2zR8=
11071109
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.42/go.mod h1:w5V5Vo3d+7UVFIEq3crWPb7tElu2TaG23u+Fq/eo26w=
1110+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.45 h1:/hXcPg/N0Al6zn2EusGdskdeiyqSTRM9RbYqkiYCghs=
1111+
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.45/go.mod h1:OsZGSifDqW2ch5CBg35hkIeDFYCLBDUIgCrBB28lzPs=
11081112
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.199 h1:hMBLtiJPnZ9GvA677cTB6ELBR6B68wCR2QY1sNoGQc4=
11091113
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.199/go.mod h1:nnY91/H3j/Gu7V/oCA6Zeg8T5D3q36EUdBh4EjmHwqY=
11101114
github.com/tencentyun/cos-go-sdk-v5 v0.7.66 h1:O4O6EsozBoDjxWbltr3iULgkI7WPj/BFNlYTXDuE64E=

tencentcloud/provider.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2295,6 +2295,8 @@ tencentcloud_wedata_run_sql_script_operation
22952295
tencentcloud_wedata_stop_sql_script_run_operation
22962296
tencentcloud_wedata_project
22972297
tencentcloud_wedata_project_member
2298+
tencentcloud_wedata_resource_group
2299+
tencentcloud_wedata_resource_group_to_project_attachment
22982300

22992301
Cloud Firewall(CFW)
23002302
Data Source

tencentcloud/services/wedata/resource_tc_wedata_resource_group.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
Provides a resource to create a WeData resource group
22

3+
~> **NOTE:** If an SKDe Error message appears when executing the `terraform destroy` command, please contact Tencent Cloud WeData for consultation.
4+
35
Example Usage
46

57
```hcl
@@ -26,5 +28,9 @@ resource "tencentcloud_wedata_resource_group" "example" {
2628
subnet = "subnet-fz7rw5zq"
2729
resource_region = "ap-beijing-fsi"
2830
description = "description."
31+
32+
lifecycle {
33+
ignore_changes = [ description, resource_region ]
34+
}
2935
}
3036
```

vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http/request.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata/v20250806/client.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata/v20250806/models.go

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit/v20190319
11701170
# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.1148
11711171
## explicit; go 1.14
11721172
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls/v20201016
1173-
# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.42
1173+
# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.1.45
11741174
## explicit; go 1.11
11751175
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
11761176
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors
@@ -1359,7 +1359,7 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc/v20170312
13591359
# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf v1.0.1170
13601360
## explicit; go 1.14
13611361
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf/v20180125
1362-
# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.42
1362+
# github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata v1.1.45
13631363
## explicit; go 1.14
13641364
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata/v20210820
13651365
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata/v20250806
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
---
2+
subcategory: "Wedata"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_wedata_resource_group"
5+
sidebar_current: "docs-tencentcloud-resource-wedata_resource_group"
6+
description: |-
7+
Provides a resource to create a WeData resource group
8+
---
9+
10+
# tencentcloud_wedata_resource_group
11+
12+
Provides a resource to create a WeData resource group
13+
14+
~> **NOTE:** If an SKDe Error message appears when executing the `terraform destroy` command, please contact Tencent Cloud WeData for consultation.
15+
16+
## Example Usage
17+
18+
```hcl
19+
resource "tencentcloud_wedata_resource_group" "example" {
20+
name = "tf_example"
21+
type {
22+
resource_group_type = "Integration"
23+
integration {
24+
real_time_data_sync {
25+
specification = "i32c"
26+
number = 1
27+
}
28+
29+
offline_data_sync {
30+
specification = "integrated"
31+
number = 2
32+
}
33+
}
34+
}
35+
36+
auto_renew_enabled = false
37+
purchase_period = 1
38+
vpc_id = "vpc-ds5rpnxh"
39+
subnet = "subnet-fz7rw5zq"
40+
resource_region = "ap-beijing-fsi"
41+
description = "description."
42+
43+
lifecycle {
44+
ignore_changes = [description, resource_region]
45+
}
46+
}
47+
```
48+
49+
## Argument Reference
50+
51+
The following arguments are supported:
52+
53+
* `auto_renew_enabled` - (Required, Bool) Whether auto-renewal is enabled.
54+
* `name` - (Required, String, ForceNew) Resource group name. The name for creating a general resource group must start with a letter, can contain letters, numbers, underscores (_), and up to 64 characters.
55+
* `purchase_period` - (Required, Int) Purchase duration, in months.
56+
* `resource_region` - (Required, String, ForceNew) Resource purchase region.
57+
* `subnet` - (Required, String, ForceNew) Subnet.
58+
* `type` - (Required, List, ForceNew) Information about the activated resource group.
59+
* `vpc_id` - (Required, String, ForceNew) VPC ID.
60+
* `associated_project_id` - (Optional, String, ForceNew) Associated project space project ID.
61+
* `description` - (Optional, String, ForceNew) Resource group description.
62+
63+
The `data_service` object of `type` supports the following:
64+
65+
* `number` - (Required, Int) Quantity.
66+
* `specification` - (Required, String) Resource group specification.
67+
68+
The `integration` object of `type` supports the following:
69+
70+
* `offline_data_sync` - (Optional, List) Offline integration resource group.
71+
72+
- integrated (Offline data synchronization - 8C16G)
73+
- i16 (Offline data synchronization - 8C32G).
74+
* `real_time_data_sync` - (Optional, List) Real-time integration resource group.
75+
76+
- i32c (Real-time data synchronization - 16C64G).
77+
78+
The `offline_data_sync` object of `integration` supports the following:
79+
80+
* `number` - (Required, Int) Quantity.
81+
* `specification` - (Required, String) Resource group specification.
82+
83+
The `real_time_data_sync` object of `integration` supports the following:
84+
85+
* `number` - (Required, Int) Quantity.
86+
* `specification` - (Required, String) Resource group specification.
87+
88+
The `schedule` object of `type` supports the following:
89+
90+
* `number` - (Required, Int) Quantity.
91+
* `specification` - (Required, String) Resource group specification.
92+
93+
The `type` object supports the following:
94+
95+
* `resource_group_type` - (Required, String) Resource group type.
96+
97+
- Schedule --- Scheduling resource group
98+
- Integration --- Integration resource group
99+
- DataService -- Data service resource group.
100+
* `data_service` - (Optional, List) Data service resource group (Integration, scheduling, and data service resource groups cannot be purchased simultaneously).
101+
102+
- ds_t (Test specification)
103+
- ds_s (Basic specification)
104+
- ds_m (Popular specification)
105+
- ds_l (Professional specification).
106+
* `integration` - (Optional, List) Integration resource group, subdivided into real-time resource group and offline resource group (Integration, scheduling, and data service resource groups cannot be purchased simultaneously).
107+
* `schedule` - (Optional, List) Scheduling resource group (Integration, scheduling, and data service resource groups cannot be purchased simultaneously).
108+
109+
- s_test (Test specification)
110+
- s_small (Basic specification)
111+
- s_medium (Popular specification)
112+
- s_large (Professional specification).
113+
114+
## Attributes Reference
115+
116+
In addition to all arguments above, the following attributes are exported:
117+
118+
* `id` - ID of the resource.
119+
* `resource_group_id` - Resource group ID.
120+
121+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
subcategory: "Wedata"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_wedata_resource_group_to_project_attachment"
5+
sidebar_current: "docs-tencentcloud-resource-wedata_resource_group_to_project_attachment"
6+
description: |-
7+
Provides a resource to create a WeData resource group to project attachment
8+
---
9+
10+
# tencentcloud_wedata_resource_group_to_project_attachment
11+
12+
Provides a resource to create a WeData resource group to project attachment
13+
14+
## Example Usage
15+
16+
```hcl
17+
resource "tencentcloud_wedata_resource_group_to_project_attachment" "example" {
18+
resource_group_id = "20250909161820129828"
19+
project_id = "2983848457986924544"
20+
}
21+
```
22+
23+
## Argument Reference
24+
25+
The following arguments are supported:
26+
27+
* `project_id` - (Required, String, ForceNew) Project ID.
28+
* `resource_group_id` - (Required, String, ForceNew) Resource group ID.
29+
30+
## Attributes Reference
31+
32+
In addition to all arguments above, the following attributes are exported:
33+
34+
* `id` - ID of the resource.
35+
36+
37+
38+
## Import
39+
40+
WeData resource group to project attachment can be imported using the resourceGroupId#projectId, e.g.
41+
42+
```
43+
terraform import tencentcloud_wedata_resource_group_to_project_attachment.example 20250909161820129828#2983848457986924544
44+
```
45+

0 commit comments

Comments
 (0)