Skip to content

Commit

Permalink
Update OpenSearch config
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein committed Aug 5, 2024
1 parent 2dd0dce commit 5ccf0a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions data_services/opensearch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ resource "aws_opensearch_domain" "elasticsearch" {
tags = local.tags

advanced_options = {
"override_main_response_version" = "true",
"rest.action.multi.allow_explicit_index" = "true"
}

Expand Down
8 changes: 3 additions & 5 deletions data_services/opensearch_connector.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ locals {
]

client_config = {
max_connections = 500
connection_timeout = 5
read_timeout = 5
max_retry_times = 3
retry_timeout_seconds = 15
max_connections = config.max_concurrency / var.opensearch_cluster_nodes
connection_timeout = 5000
read_timeout = 60000
}
}}
}
Expand Down
3 changes: 2 additions & 1 deletion data_services/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ variable "model_repository" {
}

variable "model_requirements" {
type = list(string)
type = list(string)
default = []
}

variable "sagemaker_configurations" {
Expand Down

0 comments on commit 5ccf0a0

Please sign in to comment.