Files
AI-upflux-docprocessor/infra/ecs_alb/variables.tf
2026-03-12 15:02:26 -03:00

84 lines
1.7 KiB
HCL

variable "aws_region" {
description = "AWS region"
type = string
default = "us-east-2"
}
variable "app_name" {
description = "Application name"
type = string
default = "fastapi-app"
}
variable "vpc_id" {
description = "Existing VPC ID"
type = string
}
variable "public_subnet_ids" {
description = "List of existing public subnet IDs (for ALB)"
type = list(string)
}
variable "private_subnet_ids" {
description = "List of existing private subnet IDs (for ECS tasks)"
type = list(string)
}
variable "ecr_repository_name" {
description = "ECR repository name"
type = string
default = "fastapi-app"
}
variable "image_tag" {
description = "Docker image tag"
type = string
default = "latest"
}
variable "fargate_cpu" {
description = "Fargate CPU units"
type = string
default = "256"
}
variable "fargate_memory" {
description = "Fargate memory in MB"
type = string
default = "512"
}
variable "app_count" {
description = "Number of tasks to run"
type = number
default = 1
}
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"
}