Files
fleet-terraform/addons/migrations/variables.tf
T
Jorge Falcon fc25a6954a Add --max-capacity support to migrate.sh (#117)
- Adds support for `CAPACITY_MAX="${MAX_CAPACITY}"`, if scaling up.
`CAPACITY_MAX = 0`, if scaling down.
- Adds support for `--max-capacity` in the `${ADJUST_AUTOSCALING}` logic
2025-10-24 12:47:04 -04:00

61 lines
969 B
Terraform

variable "ecs_cluster" {
type = string
nullable = false
}
variable "ecs_service" {
type = string
nullable = false
}
variable "min_capacity" {
type = number
nullable = false
}
variable "max_capacity" {
type = number
nullable = false
}
variable "desired_count" {
type = number
nullable = false
}
variable "task_definition" {
type = string
nullable = false
}
variable "task_definition_revision" {
type = number
nullable = false
}
variable "subnets" {
type = list(string)
nullable = false
}
variable "security_groups" {
type = list(string)
nullable = false
}
variable "vuln_service" {
default = ""
}
variable "assume_role_arn" {
description = "ARN of the IAM role to assume for ECS permissions"
type = string
default = ""
}
variable "assume_role_session_name" {
description = "Session name to use when assuming the IAM role"
type = string
default = ""
}