Feat: Desacoplamento
This commit is contained in:
@@ -273,6 +273,22 @@ resource "aws_ecs_task_definition" "app" {
|
||||
{
|
||||
name = "LANGFUSE_HOST"
|
||||
value = var.langfuse_host
|
||||
},
|
||||
{
|
||||
name = "AWS_REGION"
|
||||
value = var.aws_region_app
|
||||
},
|
||||
{
|
||||
name = "BEDROCK_MODEL_ARN"
|
||||
value = var.bedrock_model_arn
|
||||
},
|
||||
{
|
||||
name = "OUTPUT_BUCKET"
|
||||
value = var.output_bucket
|
||||
},
|
||||
{
|
||||
name = "API_VERSION"
|
||||
value = var.api_version
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -21,4 +21,9 @@ image_tag = "latest"
|
||||
fargate_cpu = "256"
|
||||
fargate_memory = "512"
|
||||
app_count = 1
|
||||
langfuse_host = "http://10.0.0.12:3000"
|
||||
langfuse_host = "http://10.0.0.12:3000"
|
||||
|
||||
aws_region_app = "us-east-2"
|
||||
bedrock_model_arn = "arn:aws:bedrock:us-east-2:232048051668:application-inference-profile/uy4xskop19zn"
|
||||
output_bucket = "upflux-doc-analyzer"
|
||||
api_version = "v1"
|
||||
@@ -58,4 +58,27 @@ variable "app_count" {
|
||||
variable "langfuse_host" {
|
||||
description = "Langfuse host URL"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "aws_region_app" {
|
||||
description = "AWS region passed to the application container"
|
||||
type = string
|
||||
default = "us-east-2"
|
||||
}
|
||||
|
||||
variable "bedrock_model_arn" {
|
||||
description = "ARN of the AWS Bedrock application inference profile"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "output_bucket" {
|
||||
description = "S3 bucket name for processed results"
|
||||
type = string
|
||||
default = "upflux-doc-analyzer"
|
||||
}
|
||||
|
||||
variable "api_version" {
|
||||
description = "API version prefix used in S3 output paths"
|
||||
type = string
|
||||
default = "v1"
|
||||
}
|
||||
Reference in New Issue
Block a user