Skip to content

Commit

Permalink
Update index secret
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein committed Nov 6, 2024
1 parent 135304f commit 60ffbed
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions data_services/secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ locals {
}

index = {
endpoint = aws_opensearch_domain.elasticsearch.endpoint
models = lookup(local.deploy_model_body, "model_id", "DEPLOY ERROR")
endpoint = aws_opensearch_domain.elasticsearch.endpoint
embedding_model = lookup(local.deploy_model_body, "model_id", "DEPLOY ERROR")
embedding_dimensions = var.embedding_dimensions
}

inference = {
endpoints = {
name = var.embedding_model_name
endpoint = "https://bedrock-runtime.${data.aws_region.current.name}.amazonaws.com/model/${var.embedding_model_name}/invoke"
}
name = var.embedding_model_name
endpoint = "https://bedrock-runtime.${data.aws_region.current.name}.amazonaws.com/model/${var.embedding_model_name}/invoke"
dimensions = var.embedding_dimensions
}

ldap = merge(var.ldap_config, { port = tonumber(var.ldap_config["port"]) })
Expand Down

0 comments on commit 60ffbed

Please sign in to comment.