# 36-Region Global Deployment Configuration
# Latency-aware and balanced global deployment blueprint

subscription_id = "fc08d829-4f14-413d-ab27-ce024425db0b"

# Region Selection - 36 Regions (Non-US Commercial)
enable_all_regions = false

# 36-Region Deployment Set
# Note: westeurope is NOT in this list - it's the admin_region (separate)
# Total: 36 deployment regions + 1 admin region (westeurope) = 37 total
selected_regions = [
  "northeurope",
  "uksouth",
  "ukwest",
  "francecentral",
  "germanywestcentral",
       "switzerlandnorth",
       "swedencentral",
  "norwayeast",
  "polandcentral",
  "spaincentral",
  "italynorth",
  "southindia",
  "belgiumcentral",
  "eastasia",
  "southeastasia",
  "japaneast",
  "japanwest",
  "koreacentral",
  "koreasouth",
  "australiaeast",
  "australiasoutheast",
  "newzealandnorth",
  "centralindia",
  "westindia",
  "indonesiacentral",
  "malaysiawest",
  "uaenorth",
  "qatarcentral",
  "israelcentral",
  "canadacentral",
  "canadaeast",
  "brazilsouth",
  "chilecentral",
  "mexicocentral",
  "southafricanorth"
]

# Administrative Region (Optional - set to empty if not using admin-only region)
# admin_region = ""  # Empty = West Europe will have workload nodes (2 system + 2 validators)

# Deployment Options
deploy_aks_clusters = false
deploy_besu_network = false  # Set to true after AKS clusters are ready

# Node Configuration - 36-Region Blueprint (Optimized for 10 vCPU per region quota)
# All regions: 2 system (4 vCPUs each) + 1 validator (2 vCPUs each) = 10 vCPUs each
# Total: 72 system + 36 validators = 108 VMs = 360 vCPUs

# System Node Pool Configuration
# 2 system nodes per region × 36 regions = 72 system nodes
# VM Size: Standard_D2plsv6 (2 vCPUs, 8 GB RAM, 4 GB RAM/vCPU)
# Configured in AKS default node pool (2 nodes per region)

# Validator Node Pool Configuration (Optimized for 10 vCPU per region quota)
# All regions: 1 validator each = 36 validators
# Total: 36 validators (reduced from 48 to fit within quota)
# VM Size: Standard_D2psv6 (2 vCPUs, 8 GB RAM, 4 GB RAM/vCPU)

# Base validator count (will be overridden for primary regions via validator_counts map)
validator_count = 1      # Base: 1 validator per region (for non-primary regions)
validator_vm_size = "Standard_D2psv6"  # 2 vCPUs, 8 GB RAM (4 GB RAM/vCPU)

# Region-specific validator counts (all regions use 1 validator to fit within 10 vCPU quota)
# Note: Primary regions reduced from 2 to 1 to fit within quota (8 system + 2 validator = 10 vCPUs)
validator_counts = {
  # All regions use 1 validator (fits within 10 vCPU quota with 2 system nodes)
  # Primary regions can be increased to 2 if quota is increased to 12 vCPUs per region
  # "westeurope"        = 2  # Reduced to 1 (default) to fit quota
  # "northeurope"       = 2  # Reduced to 1 (default) to fit quota
  # "francecentral"     = 2  # Reduced to 1 (default) to fit quota
  # "germanywestcentral" = 2  # Reduced to 1 (default) to fit quota
  # "uksouth"           = 2  # Reduced to 1 (default) to fit quota
  # "switzerlandnorth"  = 2  # Reduced to 1 (default) to fit quota
  # "eastasia"          = 2  # Reduced to 1 (default) to fit quota
  # "southeastasia"     = 2  # Reduced to 1 (default) to fit quota
  # "japaneast"         = 2  # Reduced to 1 (default) to fit quota
  # "australiaeast"     = 2  # Reduced to 1 (default) to fit quota
  # "centralindia"      = 2  # Reduced to 1 (default) to fit quota
  # "canadacentral"     = 2  # Reduced to 1 (default) to fit quota
  # All regions default to 1 validator (from validator_count above)
}

sentry_count = 0        # 0 sentries (deployed as pods on system nodes - no quota)
