###############################################################################
# Networking Module — Variables
###############################################################################

variable "location" {
  description = "Azure region"
  type        = string
}

variable "environment" {
  description = "Environment name (prod, dr, devtest)"
  type        = string
}

variable "project" {
  description = "Project name for naming convention"
  type        = string
  default     = "mdp"
}

# --- VNet CIDRs ---

variable "vnet_cidr" {
  type    = string
  default = "10.100.0.0/16"
}

variable "dbx_host_subnet_cidr" {
  type    = string
  default = "10.100.1.0/24"
}

variable "dbx_container_subnet_cidr" {
  type    = string
  default = "10.100.2.0/24"
}

variable "private_endpoints_subnet_cidr" {
  type    = string
  default = "10.100.3.0/24"
}

variable "transit_vnet_cidr" {
  type    = string
  default = "10.101.0.0/24"
}

variable "transit_subnet_cidr" {
  type    = string
  default = "10.101.0.0/26"
}

variable "hub_vnet_id" {
  description = "Resource ID of Greenfield hub VNet for peering (empty to skip)"
  type        = string
  default     = ""
}

variable "tags" {
  type    = map(string)
  default = {}
}
