Merged in feature/orchestrator-change (pull request #128)
Added AWS sdk pandas layer for orchestrator
This commit is contained in:
@@ -618,8 +618,8 @@ module "prompt_orchestrator_lambda_function" {
|
||||
|
||||
layers = [
|
||||
module.anthropic_sf_lambda_layer.lambda_layer_arn,
|
||||
module.pandas_numpy_lambda_layer.lambda_layer_arn,
|
||||
module.pydantic_lambda_layer.lambda_layer_arn
|
||||
module.pydantic_lambda_layer.lambda_layer_arn,
|
||||
var.pandas_numpy_lambda_layer_additional_arn
|
||||
]
|
||||
|
||||
environment_variables = merge(local.environment_variables, local.prompt_orchestrator_lambda.environment_variables, {
|
||||
|
||||
@@ -252,6 +252,11 @@ variable "pandas_numpy_lambda_layer" {
|
||||
}
|
||||
}
|
||||
|
||||
variable "pandas_numpy_lambda_layer_additional_arn" {
|
||||
type = string
|
||||
default="arn:aws:lambda:us-east-2:336392948345:layer:AWSSDKPandas-Python310:16"
|
||||
}
|
||||
|
||||
|
||||
# s3-folder-details
|
||||
variable "s3_folder_detail_lambda" {
|
||||
@@ -564,7 +569,7 @@ locals {
|
||||
name = "prompt-orchestrator"
|
||||
description = "This Lambda functions breaks prompts into chunks and send messages into SQS"
|
||||
handler = "index.lambda_handler"
|
||||
runtime = "python3.12"
|
||||
runtime = "python3.10"
|
||||
timeout = 600
|
||||
memory_size = 256
|
||||
ephemeral_storage_size = 512
|
||||
|
||||
Reference in New Issue
Block a user