variable "name_prefix" {
  type        = string
  description = "Name prefix for the bucket."
}

variable "env_prefix" {
  type        = string
  description = "Environment prefix name."
}


variable "common_tags" {
  type        = map(string)
  description = "Common tags to add for the objects."
  default = {
  }
}

variable "master_username" {
  type        = string
  description = "DocDB cluster master_username"
  default     = "mongo_admin"
}

variable "master_password" {
  type        = string
  description = "DocDB cluster master_password"
  default     = ""
}

variable "backup_retention_period" {
  type        = number
  description = "DocDB cluster backup_retention_period"
  default     = 5
}

variable "project_group" {
  type        = string
  description = "Project group name, lowercased"
}

variable "preferred_backup_window" {
  type        = string
  description = "DocDB cluster preferred_backup_window"
  default     = "03:00-05:00"
}
variable "vpc_security_group_ids" {
  type        = list(string)
  description = "DocDB cluster vpc_security_group_ids"
  default     = [""]
}
variable "subnet_ids" {
  type        = list(string)
  description = "DocDB cluster  subnet_ids"
  default     = [""]
}


variable "skip_final_snapshot" {
  type        = bool
  description = "DocDB cluster skip_final_snapshot"
  default     = true
}

variable "instance_count" {
  type        = number
  description = "DocDB cluster instance_count"
  default     = 3
}

variable "region" {
  type        = string
  default     = "us-east-1"
  description = "Region where resources will be created"
}

variable "instance_type" {
  type        = string
  default     = "db.t3.medium"
  description = "DocDB cluster Instance Class "
}

variable "apply_immediately" {
  type        = bool
  default     = false
  description = "Apply changes immediately (reboot) or during scheduled maintanance window"
}

variable "parameters" {
  type        = list(map(string))
  default     = []
  description = "List of DB parameters"
}

variable "enabled_cloudwatch_logs_exports" {
  type        = list(string)
  default     = []
  description = "List of log types to export to cloudwatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `profiler`"
}

variable "engine_version" {
  type        = string
  description = "Document DB version"
  default     = "3.6.0"
}
