Does anyone know how, or if its possible to enable the vector search preview feature for memory db, when creating the resource using terraform?
Thanks!
Does anyone know how, or if its possible to enable the vector search preview feature for memory db, when creating the resource using terraform?
Thanks!
Looking at the CLI instructions in the documentation, you need to set the parameter group name to default.memorydb-redis7.search.preview
when you create the cluster. So I am guessing that you just need to set the parameter_group_name
argument to this value in your aws_memorydb_cluster
resource. Also make sure that it’s using version 7.1 in a single shard configuration per the requirements.
@acwwat Thank you for your reply here. I will give this a try to day and confirm. I will post back here with my findings.
I tried this and it worked. The settings you need to configure in Terraform are as follows:
parameter_group_name = "default.memorydb-redis7.search"
num_shards = "1"
engine_version = "7.1"
When you apply these, Vector Search will be enabled on the cluster. Please note that you can only do this while initially creating the cluster. If you try to make this change on an existing cluster, you may encounter the following error:
Vector Search enabled clusters cannot be updated to a parameter group that doesn't support Vector Search.
FYI.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.