Skip to content

Commit 7a647a4

Browse files
Update TestAccDataSourceRedisCloudProDatabase_basic config with RediSearch module and 2x QPF
1 parent aca3e8c commit 7a647a4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

provider/datasource_rediscloud_pro_database_test.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ resource "rediscloud_subscription" "example" {
9393
support_oss_cluster_api=true
9494
throughput_measurement_by = "operations-per-second"
9595
throughput_measurement_value = 1000
96+
modules = ["RediSearch"]
9697
}
9798
}
9899
resource "rediscloud_subscription_database" "example" {
@@ -107,7 +108,12 @@ resource "rediscloud_subscription_database" "example" {
107108
support_oss_cluster_api = true
108109
replication = false
109110
enable_default_user = true
110-
query_performance_factor = ""
111+
query_performance_factor = "2x"
112+
modules = [
113+
{
114+
name: "RediSearch"
115+
}
116+
]
111117
}
112118
113119
data "rediscloud_database" "example-by-id" {

0 commit comments

Comments
 (0)