# Terraform Variables Example
# Copy this file to terraform.tfvars and fill in your values
# DO NOT commit terraform.tfvars to version control

# Azure Configuration
azure_region = "westeurope"  # No US regions allowed
environment = "dev"          # dev, stage, or prod
project_name = "the-order"

# Azure Subscription
subscription_id = ""          # Your Azure subscription ID
tenant_id = ""               # Your Azure tenant ID

# Resource Naming
resource_group_name = "the-order-rg-${environment}"
storage_account_name = "theorder${environment}"  # Must be globally unique, lowercase, alphanumeric
key_vault_name = "the-order-kv-${environment}"   # Must be globally unique

# Networking
domain_name = ""             # Optional: your domain name
vnet_name = "the-order-vnet-${environment}"
subnet_name = "the-order-subnet-${environment}"

# Database
database_name = "theorder_${environment}"
database_admin_user = "theorder_admin"
# database_admin_password set via environment variable or Azure Key Vault

# Storage
storage_account_tier = "Standard"
storage_account_replication = "LRS"  # LRS for dev, GRS for prod

# CDN (if using)
cdn_profile_name = "theorder-cdn-${environment}"
cdn_endpoint_name = "theorder-cdn-endpoint-${environment}"

# Kubernetes (AKS)
aks_cluster_name = "the-order-aks-${environment}"
aks_node_count = 2
aks_vm_size = "Standard_B2s"

# Tags
tags = {
  Environment = "${environment}"
  Project     = "the-order"
  ManagedBy   = "terraform"
}

