-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature/opensearch #1114
feature/opensearch #1114
Conversation
1153c2b
to
d41d9a2
Compare
@@ -49,8 +49,7 @@ locals { | |||
} | |||
|
|||
django_app_secrets = { | |||
"ELASTIC__API_KEY" : var.elastic_api_key, | |||
"ELASTIC__CLOUD_ID" : var.cloud_id, | |||
"ELASTIC__COLLECTION_ENDPOINT": module.opensearch.collection_enpdoint, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v nasty abuse of terminology here, suggestions welcome
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
im not going to change this as this would introduce a breaking change to us, DBT and DSIT which isnt worth the effort for a non production feature
) | ||
client = OpenSearch( | ||
hosts=[{"host": self.collection_enpdoint, "port": 443}], | ||
http_auth=auth, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure this is needed from within VPC, still investigating
infrastructure/aws/iam.tf
Outdated
"aoss:*", | ||
"es:*", | ||
] | ||
resources = ["*"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok for testing, I will tighten
5794a92
to
e8c2c16
Compare
# statement { | ||
# effect = "Allow" | ||
# actions = ["aoss:*"] | ||
# resources = ["*"] restrict this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README.md
Outdated
|
||
We are currently using ElasticSearch as our vector database. | ||
|
||
We have also successfully deployed Redbox to OpenSearch Serverless but this support shouldbe considered experimental |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space in shouldbe
Context
As an Infra Engineer I would like the option of being able to use OpenSearch instead of ElasticSearch as my vector database
Changes proposed in this pull request
Guidance to review
Note that this is POC only, and this is made clear in the README
This can be deployed and tested to dev
Relevant links
Things to check