61 lines
1.2 KiB
HCL
61 lines
1.2 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
|
|
} |