github.com/terraform-modules-krish/terratest@v0.29.0/examples/terraform-azure-aks-example/variables.tf (about) 1 # --------------------------------------------------------------------------------------------------------------------- 2 # REQUIRED PARAMETERS 3 # You must provide a value for each of these parameters. 4 # --------------------------------------------------------------------------------------------------------------------- 5 6 variable "client_id" { 7 description = "The Service Principal Client Id for AKS to modify Azure resources." 8 } 9 variable "client_secret" { 10 description = "The Service Principal Client Password for AKS to modify Azure resources." 11 } 12 13 # --------------------------------------------------------------------------------------------------------------------- 14 # OPTIONAL PARAMETERS 15 # These parameters have reasonable defaults. 16 # --------------------------------------------------------------------------------------------------------------------- 17 18 variable "agent_count" { 19 description = "The number of the nodes of the AKS cluster." 20 default = 3 21 } 22 23 variable "ssh_public_key" { 24 description = "The public key for the ssh connection to the nodes." 25 default = "~/.ssh/id_rsa.pub" 26 } 27 28 variable "dns_prefix" { 29 description = "The prefix to set for the AKS cluster resoureces names." 30 default = "k8stest" 31 } 32 33 variable cluster_name { 34 description = "The name to set for the AKS cluster." 35 default = "k8stest" 36 } 37 38 variable resource_group_name { 39 description = "The name to set for the resource group." 40 default = "azure-k8stest" 41 } 42 43 variable location { 44 description = "The location to set for the AKS cluster." 45 default = "Central US" 46 }