variable "aws_region" {
  default = "us-east-1"
}

variable "vpc_name_tag" {
  type = map(any)
  default = {
    dev  = "dev"
    qa   = "prod"
    prod = "prod"
  }
}

variable "environment" {
  default = "qa"
}

variable "service_name" {
  default = "slaughterhouse"
}

variable "map_migrated_tag" {
  default = "KNBMDMW06I"
}

variable "account_group" {
  default = "orcd"
}

variable "application_family" {
  default = "accounting"
}

variable "aws_key_name" {
  description = "The name of the AWS key pair to use."
  default     = "accounting_qa"
}

variable "sftp_cidr_blocks" {
  description = "List of CIDR blocks to allow sftp access to NLB."
  type        = list(string)
  default = [
    "192.168.32.0/24",
    "10.12.38.0/23",  # SME Azure W365 network
    "10.12.242.0/25", # SME AWS Workspaces network
    "162.49.75.0/24"  # SME Ashburn Virginia network
  ]
}

variable "ssh_cidr_blocks" {
  description = "List of CIDR blocks to allow ssh access to instance."
  type        = list(string)
  default = [
    "192.168.32.0/24",
  ]
}

variable "https_cidr_blocks" {
  description = "List of CIDR blocks to allow access from."
  type        = list(string)
  default = [
    "192.168.32.0/24",
    "192.168.40.0/22",
    "10.12.38.0/23",  # SME Azure W365 network
    "10.12.242.0/25", # SME AWS Workspaces network
    "162.49.75.0/24"  # SME Ashburn Virginia network
  ]
}

variable "time_to_evaluate_snapshot_schedule" {
  description = "The time (24-hour clock) at which snapshot schedules are evaluated"
  default     = "01:00"
}

variable "number_of_snapshots_to_retain" {
  description = "Number of EBS snapshots to retain"
  default     = 7
}

variable "domain_name" {
  type    = string
  default = "qa-accounting.theorchard.io"
}

variable "migration_service_name" {
  default = "slaughterhouse-migration"
}

variable "migration_lb_name" {
  description = "Name prefix for migration load balancers. Must be <=21 chars so that the longest derived name (prefix-nlb-webapp) stays within the 32-char AWS limit."
  default     = "slaughterhouse-mig"
}

variable "elb_logs_bucket" {
  default = "orch-elb-logs"
}
