Skip to content

Commit fe5d245

Browse files
tongyimingmikatong
and
mikatong
authored
fix(emr): [123456789]update emr serverless hbase (#3140)
* update emr serverless hbase * add changelog * update testcase * update testcase check --------- Co-authored-by: mikatong <[email protected]>
1 parent bd0089d commit fe5d245

11 files changed

+606
-13
lines changed

.changelog/3140.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
```release-note:new-data-source
2+
tencentcloud_serverless_hbase_instances
3+
```
4+
5+
```release-note:enhancement
6+
resource/tencentcloud_serverless_hbase_instance: fixed a delay in status updates
7+
```

tencentcloud/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ func Provider() *schema.Provider {
394394
"tencentcloud_emr_nodes": emr.DataSourceTencentCloudEmrNodes(),
395395
"tencentcloud_emr_cvm_quota": emr.DataSourceTencentCloudEmrCvmQuota(),
396396
"tencentcloud_emr_auto_scale_records": emr.DataSourceTencentCloudEmrAutoScaleRecords(),
397+
"tencentcloud_serverless_hbase_instances": emr.DataSourceTencentCloudServerlessHbaseInstances(),
397398
"tencentcloud_availability_zones": common.DataSourceTencentCloudAvailabilityZones(),
398399
"tencentcloud_availability_zones_by_product": common.DataSourceTencentCloudAvailabilityZonesByProduct(),
399400
"tencentcloud_projects": project.DataSourceTencentCloudProjects(),

tencentcloud/provider.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,6 +1329,7 @@ MapReduce(EMR)
13291329
tencentcloud_emr_nodes
13301330
tencentcloud_emr_cvm_quota
13311331
tencentcloud_lite_hbase_instances
1332+
tencentcloud_serverless_hbase_instances
13321333

13331334
Resource
13341335
tencentcloud_emr_cluster

tencentcloud/services/emr/data_source_tc_lite_hbase_instances.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ import (
1212

1313
func DataSourceTencentCloudLiteHbaseInstances() *schema.Resource {
1414
return &schema.Resource{
15-
Read: dataSourceTencentCloudLiteHbaseInstancesRead,
15+
DeprecationMessage: "This data source will been deprecated in Terraform TencentCloud provider later version. Please use `tencentcloud_serverless_hbase_instances` instead.",
16+
Read: dataSourceTencentCloudLiteHbaseInstancesRead,
1617
Schema: map[string]*schema.Schema{
1718
"display_strategy": {
1819
Type: schema.TypeString,

0 commit comments

Comments
 (0)