variable "account_group" {
  description = "The name of the account group that the account belongs to"
  default     = "permissions-platform"
}

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

variable "aws_region" {
  default     = "us-east-1"
  description = "Which AWS region to spin up the environment in"
}

variable "cerbos_admin_api_enabled" {
  default     = "false"
  description = "Enable or disable cerbos admin API."
}

variable "cerbos_audit_enabled" {
  default     = "true"
  description = "Enable or disable cerbos audit logging."
}

variable "cerbos_batch_size" {
  description = "Maximum number of resources that could be sent in a single cerbos request."
  default     = "25"
}

variable "cerbos_decision_logs_enabled" {
  default     = "true"
  description = "Enable or disable cerbos decision logging."
}

variable "cerbos_log_level" {
  default     = "warn"
  description = "Set the cerbos logger level. Values: debug,info,warn,error."
}

variable "cerbos_playground_enabled" {
  default     = "false"
  description = "Enable or disable cerbos playground."
}

variable "cerbos_watch_for_changes" {
  default     = "false"
  description = "Enables watching the cerbos policy directory for changes."
}

variable "domain_name" {
  description = "Name of domain"
  default     = "prod-permissions-platform.theorchard.io"
}

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

variable "health_check_command_list" {
  description = "Command with arguments as a list for health check in CMD mode"
  default = [
    "/cerbos",
    "hc"
  ]
}

variable "health_check_mode" {
  description = "The way healthcheck command will be executed. Valid values CMD or CMD-SHELL"
  default     = "CMD"
}

variable "service_name" {
  default = "cerbos"
}

variable "health_check_path" {
  description = "Path used for aws_lb_target_group health checks"
  default     = "/api/server_info"
}
