Skip to content

Commit

Permalink
add tencentcloud_serverless_hbase_instance
Browse files Browse the repository at this point in the history
  • Loading branch information
mikatong committed Dec 9, 2024
1 parent b845de5 commit c7e2ab6
Show file tree
Hide file tree
Showing 8 changed files with 874 additions and 4 deletions.
1 change: 1 addition & 0 deletions tencentcloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,7 @@ func Provider() *schema.Provider {
"tencentcloud_thpc_workspaces": thpc.ResourceTencentCloudThpcWorkspaces(),
"tencentcloud_kubernetes_health_check_policy": tke.ResourceTencentCloudKubernetesHealthCheckPolicy(),
"tencentcloud_lite_hbase_instance": emr.ResourceTencentCloudLiteHbaseInstance(),
"tencentcloud_serverless_hbase_instance": emr.ResourceTencentCloudServerlessHbaseInstance(),
"tencentcloud_kubernetes_log_config": tke.ResourceTencentCloudKubernetesLogConfig(),
"tencentcloud_tcss_image_registry": tcss.ResourceTencentCloudTcssImageRegistry(),
},
Expand Down
1 change: 1 addition & 0 deletions tencentcloud/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -1325,6 +1325,7 @@ MapReduce(EMR)
tencentcloud_emr_cluster
tencentcloud_emr_user_manager
tencentcloud_lite_hbase_instance
tencentcloud_serverless_hbase_instance

DNSPOD
Resource
Expand Down
9 changes: 5 additions & 4 deletions tencentcloud/services/emr/resource_tc_lite_hbase_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ import (

func ResourceTencentCloudLiteHbaseInstance() *schema.Resource {
return &schema.Resource{
Create: resourceTencentCloudLiteHbaseInstanceCreate,
Read: resourceTencentCloudLiteHbaseInstanceRead,
Update: resourceTencentCloudLiteHbaseInstanceUpdate,
Delete: resourceTencentCloudLiteHbaseInstanceDelete,
DeprecationMessage: "This resource will been deprecated in Terraform TencentCloud provider later version. Please use `tencentcloud_serverless_hbase_instance` instead.",
Create: resourceTencentCloudLiteHbaseInstanceCreate,
Read: resourceTencentCloudLiteHbaseInstanceRead,
Update: resourceTencentCloudLiteHbaseInstanceUpdate,
Delete: resourceTencentCloudLiteHbaseInstanceDelete,
Importer: &schema.ResourceImporter{
State: schema.ImportStatePassthrough,
},
Expand Down
Loading

0 comments on commit c7e2ab6

Please sign in to comment.