terraform {
  required_version = ">= 1.9.0"

  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = "~> 4.0"
    }
    kubernetes = {
      source  = "hashicorp/kubernetes"
      version = "~> 2.33"
    }
    helm = {
      source  = "hashicorp/helm"
      version = "~> 2.16"
    }
    random = {
      source  = "hashicorp/random"
      version = "~> 3.6"
    }
  }

  # Use local backend for initial deployment
  # For production, consider using remote backend (Azure Storage or Terraform Cloud)
  # backend "azurerm" {
  #   # Backend configuration will be provided via backend-config file or CLI
  #   # Example: terraform init -backend-config=backend.hcl
  # }
}
