Files
AI-upflux-docprocessor/infra/ecs_alb/variables.tf
2026-01-20 13:48:13 -03:00

56 lines
1.1 KiB
HCL

variable "aws_region" {
description = "AWS region"
type = string
default = "us-east-1"
}
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
}