Adds initial files]
This commit is contained in:
56
infra/ecs_alb/variables.tf
Normal file
56
infra/ecs_alb/variables.tf
Normal file
@@ -0,0 +1,56 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user