59 lines
1.2 KiB
Terraform
59 lines
1.2 KiB
Terraform
|
|
# Variables for Kubernetes Module
|
||
|
|
|
||
|
|
variable "resource_group_name" {
|
||
|
|
description = "Name of the resource group"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "location" {
|
||
|
|
description = "Azure region"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "cluster_name" {
|
||
|
|
description = "Name of the AKS cluster"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "kubernetes_version" {
|
||
|
|
description = "Kubernetes version"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "node_count" {
|
||
|
|
description = "Number of nodes per node pool"
|
||
|
|
type = map(number)
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "vm_size" {
|
||
|
|
description = "VM size for node pools"
|
||
|
|
type = map(string)
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "vnet_subnet_id" {
|
||
|
|
description = "Subnet ID for AKS control plane"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "node_subnet_id" {
|
||
|
|
description = "Subnet ID for AKS node pools (validators, sentries, RPC)"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "key_vault_id" {
|
||
|
|
description = "Key Vault ID for secrets"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "environment" {
|
||
|
|
description = "Environment (prod, dev, test, staging)"
|
||
|
|
type = string
|
||
|
|
default = "prod"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "tags" {
|
||
|
|
description = "Tags to apply to Kubernetes resources"
|
||
|
|
type = map(string)
|
||
|
|
default = {}
|
||
|
|
}
|