variable "aws_region" {
  type        = string
  default     = "us-east-1"
  description = "AWS region"
}

variable "environment" {
  type        = string
  default     = "qa"
  description = "Available values:  dev, qa, prod."
}

variable "service_name" {
  type        = string
  default     = "ecs-abacus"
  description = "Name of the service"
}

variable "application_family" {
  type        = string
  default     = "accounting"
  description = "The application family"
}

variable "secrets_manager_secret_names_for_extract_sales" {
  type = list(string)
  default = [
    "SSH_PRIVATE_KEY",
    "MYSQL_DB_PASS"
  ]
  description = "List of secrets manager secrets to create"
}


variable "ecs_abacus_tasks" {
  type = list(string)
  default = [
    "extract-sales"
  ]
  description = "List of ecs tasks"
}

variable "notification_endpoints" {
  type        = string
  default     = "@slack-abacus-monitoring-qa"
  description = "Endpoints for alerts. Can be email, slack, pagerduty, etc"
}

variable "statement_db_ssh_host" {
  type        = string
  default     = "qa-statementdb.qa-accounting.theorchard.io"
  description = "SSH host for statement db ec2 instance"
}

variable "statement_db_ssh_user" {
  type        = string
  default     = "ecs_extract_files"
  description = "SSH user for statement db ec2 instance"
}

variable "statement_db_user" {
  type        = string
  default     = "ecs_extract_files"
  description = "Statement db user"
}

variable "sales_file_bucket_name" {
  type        = string
  default     = "qa-royalties-sales-files"
  description = "Name of the sales file s3 bucket"
}

variable "outfile_dir" {
  type        = string
  default     = "/mnt/data/extract-sales/outfile"
  description = "Directory path where files will be saved"
}

variable "service_user" {
  type        = string
  default     = "ecs_extract_files"
  description = "Name of the service user"
}

variable "service_group" {
  type        = string
  default     = "ecs_extract_files"
  description = "Name of the service group"
}

variable "split_size" {
  type        = string
  default     = "10G"
  description = "Partition size for a file"
}

variable "assume_role_users" {
  type = list(string)
  default = [
    "xmeunier",
  ]
  description = "List of users who can assume the role"
}
