variable "aws_region" {
  description = "AWS region for Watchmen deployment"
  type        = string
  default     = "us-east-1"
}

variable "app_name" {
  description = "Resource prefix for Watchmen"
  type        = string
  default     = "watchmen"
}

variable "watchmen_image" {
  description = "Watchmen container image"
  type        = string
  default     = "ghcr.io/pavelzag/watchmen:latest"
}

variable "db_instance_class" {
  description = "RDS PostgreSQL instance size"
  type        = string
  default     = "db.t4g.micro"
}

variable "db_username" {
  description = "PostgreSQL admin username"
  type        = string
  default     = "watchmen"
}

variable "db_password" {
  description = "Optional PostgreSQL password (auto-generated if empty)"
  type        = string
  default     = ""
  sensitive   = true
}

variable "auth_secret" {
  description = "NextAuth encryption secret (openssl rand -base64 32)"
  type        = string
  sensitive   = true
}

variable "google_client_id" {
  description = "Google OAuth 2.0 Client ID"
  type        = string
  default     = ""
}

variable "google_client_secret" {
  description = "Google OAuth 2.0 Client Secret"
  type        = string
  default     = ""
  sensitive   = true
}

variable "allowed_emails" {
  description = "Comma-separated list of authorized user emails"
  type        = string
  default     = ""
}

variable "allowed_domain" {
  description = "Allowed Google Workspace domain (optional)"
  type        = string
  default     = ""
}

variable "certificate_arn" {
  description = "Optional ACM certificate ARN for HTTPS on the ALB"
  type        = string
  default     = ""
}
