variable "environment" {
  description = "Name of environment, e.g. dev, sandbox, qa, prod"
  default     = "qa"
}

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

variable "service_name" {
  description = "Name of service"
  default     = "statementdb"
}

variable "aws_region" {
  description = "Name of AWS region for resources"
  default     = "us-east-1"
}

variable "map_migrated_tag" {
  type        = string
  description = "Name of MAP migration tag for SME"
  default     = "KNBMDMW06I"
}

variable "ssh_ingress_cidr_blocks" {
  description = "CIDR blocks from which to allow SSH"
  type        = list(string)

  default = [
    "192.168.32.0/24",
    "192.168.40.0/22", # vpn users
    "162.49.36.0/22",  # SME VPN Ashburn
    "162.49.1.137/32" # SME VPN Madison

  ]
}

variable "mysql_ingress_cidr_blocks" {
  description = "CIDR blocks from which to allow mysql traffic"
  type        = list(string)

  default = [
    "192.168.32.0/24", # devops vpn
    "192.168.37.0/27", # statement processing users
    "192.168.40.0/22", # vpn users
    "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 "number_of_snapshots_to_retain" {
  description = "Number of EBS snapshots to retain"
  default     = 7
}

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

variable "domain_name" {
  type    = string
  default = "theorchard.com"
}

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