Skip to content

Commit

Permalink
fix(redis): [118298355] supprot CDC (#2761)
Browse files Browse the repository at this point in the history
* add

* add

* add

* add

* add

* add

* update cdc example

---------

Co-authored-by: nickyinluo <nickyinluo@tencent.com>
  • Loading branch information
SevenEarth and lyu571 authored Sep 20, 2024
1 parent 54b8f99 commit 3b906c9
Show file tree
Hide file tree
Showing 19 changed files with 4,845 additions and 1,863 deletions.
7 changes: 7 additions & 0 deletions .changelog/2761.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:enhancement
resource/tencentcloud_redis_instance: support cdc
```

```release-note:new-data-source
tencentcloud_redis_clusters
```
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ require (
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/postgres v1.0.995
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/privatedns v1.0.859
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pts v1.0.762
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.657
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.976
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rum v1.0.744
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf v1.0.807
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ses v1.0.748
Expand Down
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,12 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pts v1.0.762 h1:rZDKucV
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pts v1.0.762/go.mod h1:QB/XcdVZ8mhRgk90XuXd+2Smfo8emTo0wHIUsygEaKs=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.657 h1:9p/4/qXtnBIYkz5b5mYAhp1XhnIn5jUkxxfllF8hMMM=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.657/go.mod h1:CPc7SSKl8I21UmhTf2AVYZqZfy8MbDr/RrMsSqMkOAM=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.971 h1:G8+MTbUpCxB1XambBBCWbhxvSXAd6nSHC0p/gONaCDw=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.971/go.mod h1:dZboVm97Cz4p3ARJAx+08LQOYYNKI8fKCIhJd9xdMLw=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.973 h1:DsSTfkZQ5cPeVwol8zo4kYg57AFFHqEr0fdpke0eRtI=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.973/go.mod h1:Z+EvpolXVYJ8/VbdCLUen73PfwFAqIWHCOV5xrkFnPA=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.976 h1:sz55cAVBG5+6WvEpP+A5VhXRZrvchEIvDdPWkUUmnQQ=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.976/go.mod h1:5xaiCbtLOTK5j5SPEQP5qJ9bU33TeodyYl2vwli9b+M=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/region v1.0.920 h1:Kaab57oHrhiagHURsTNU/XfRFWXXSWxOXoix+YvLHrY=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/region v1.0.920/go.mod h1:AhvwfhTo0JOz2FG4FcmVVdxJ73NpPAQ7rzjjWoEYFOw=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rum v1.0.744 h1:Z6xqpgnVPQfw2Yx/c2z6n30LfNodK4JEgMca1WpfOrY=
Expand Down
1 change: 1 addition & 0 deletions tencentcloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ func Provider() *schema.Provider {
"tencentcloud_redis_instance_zone_info": crs.DataSourceTencentCloudRedisInstanceZoneInfo(),
"tencentcloud_redis_instance_task_list": crs.DataSourceTencentCloudRedisInstanceTaskList(),
"tencentcloud_redis_instance_node_info": crs.DataSourceTencentCloudRedisInstanceNodeInfo(),
"tencentcloud_redis_clusters": crs.DataSourceTencentCloudRedisClusters(),
"tencentcloud_as_scaling_configs": as.DataSourceTencentCloudAsScalingConfigs(),
"tencentcloud_as_scaling_groups": as.DataSourceTencentCloudAsScalingGroups(),
"tencentcloud_as_scaling_policies": as.DataSourceTencentCloudAsScalingPolicies(),
Expand Down
1 change: 1 addition & 0 deletions tencentcloud/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ TencentDB for Redis(crs)
tencentcloud_redis_instance_zone_info
tencentcloud_redis_instance_task_list
tencentcloud_redis_instance_node_info
tencentcloud_redis_clusters

Resource
tencentcloud_redis_instance
Expand Down
Loading

0 comments on commit 3b906c9

Please sign in to comment.