diff --git a/quickstart/101-aks-cluster-windows/main.tf b/quickstart/101-aks-cluster-windows/main.tf index 7bb953f3..46513070 100644 --- a/quickstart/101-aks-cluster-windows/main.tf +++ b/quickstart/101-aks-cluster-windows/main.tf @@ -50,8 +50,8 @@ resource "azurerm_kubernetes_cluster" "aks" { } windows_profile { - admin_username = "azureadmin" - admin_password = "Password0123!" + admin_username = var.admin_username + admin_password = var.admin_password } network_profile { diff --git a/quickstart/101-aks-cluster-windows/variables.tf b/quickstart/101-aks-cluster-windows/variables.tf index 51cecde0..ce823cfb 100644 --- a/quickstart/101-aks-cluster-windows/variables.tf +++ b/quickstart/101-aks-cluster-windows/variables.tf @@ -20,4 +20,16 @@ variable "node_count_windows" { type = number description = "The initial quantity of Windows nodes for the node pool." default = 1 +} + +variable "admin_username" { + type = string + description = "The admin username for the Windows node pool." + default = "azureuser" +} + +variable "admin_password" { + type = string + description = "The admin password for the Windows node pool." + default = "Passw0rd1234Us!" } \ No newline at end of file