variable "environment" {
  description = "Environment name (dev, staging, production)"
  type        = string
  default     = ""
}

variable "ENVIRONMENT" {
  description = "Environment name from environment variable"
  type        = string
  default     = ""
  sensitive   = true
}

variable "azure_region" {
  description = "Azure region"
  type        = string
  default     = ""
}

variable "AZURE_LOCATION" {
  description = "Azure location from environment variable"
  type        = string
  default     = ""
  sensitive   = true
}

variable "management_group_id" {
  description = "Management group ID"
  type        = string
  default     = ""
}

variable "AZURE_MANAGEMENT_GROUP_ID" {
  description = "Management group ID from environment variable"
  type        = string
  default     = ""
  sensitive   = true
}

variable "monthly_budget_amount" {
  description = "Monthly budget amount"
  type        = number
  default     = 10000
}

variable "budget_alert_emails" {
  description = "Email addresses for budget alerts"
  type        = list(string)
  default     = []
}

variable "cost_export_storage_container_id" {
  description = "Storage container ID for cost exports"
  type        = string
  default     = ""
}

variable "enable_front_door" {
  description = "Enable Azure Front Door"
  type        = bool
  default     = false
}

variable "backend_host_header" {
  description = "Backend host header for Front Door"
  type        = string
  default     = ""
}

variable "backend_address" {
  description = "Backend address for Front Door"
  type        = string
  default     = ""
}

variable "allowed_regions" {
  description = "List of allowed regions for data residency"
  type        = list(string)
  default     = [
    "westeurope",
    "northeurope",
    "uksouth",
    "switzerlandnorth",
    "norwayeast",
    "francecentral",
    "germanywestcentral"
  ]
}

