variable "aws_region" {
  default     = "us-east-1"
  description = "All elements have to be placed in the same region."
}

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

variable "service_name" {
  default = "ows-grass"
}

variable "application_family" {
  default = "permissions-platform"
}

variable "secrets_manager_secret_names" {
  description = "List of secrets manager secrets to create"
  type        = list(string)
  default = [
    "AUTH0_API_AUDIENCE",
    "AUTH0_DOMAIN",
    "DB_URL",
  ]
}

variable "existing_iam_policies" {
  description = "List of existing policies to attach to task role"
  type        = list(string)
  default = [
    "CloudWatchFullAccess",
    "grassapi-prod",
    "S3-aws-logs-437795906767-us-east-1-prod-ows-grass-RW",
  ]
}

variable "critical_number_5xx" {
  description = "Number of 5xx requests (per 5m) for critical alerts"
  default     = 50
}

variable "critical_recovery_number_5xx" {
  description = "Number of 5xx requests (per 5m) for critical recovery"
  default     = 40
}

variable "warning_number_5xx" {
  description = "Number of 5xx requests (per 5m) for warnings"
  default     = 30
}

variable "warning_recovery_number_5xx" {
  description = "Number of 5xx requests (per 5m) for warning recovery"
  default     = 25
}

variable "application_alert_channel" {
  default = "@slack-permissions-platform-alerts"
}

variable "dependent_applications" {
  default = ["oa", "workstation"]
}


variable "team_name" {
  type        = string
  description = "The team responsible for this service"
  default     = "permissions-platform"
}
