From 7c29b17ca6c0afd82587e8a6c27df5f50691afe8 Mon Sep 17 00:00:00 2001 From: Tom Archer Date: Mon, 1 Jul 2024 19:01:53 -0700 Subject: [PATCH] fixed node pool name len --- quickstart/101-aks-cluster-windows/main.tf | 4 ++-- quickstart/101-aks-cluster-windows/variables.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/quickstart/101-aks-cluster-windows/main.tf b/quickstart/101-aks-cluster-windows/main.tf index c8e1f447..3795214c 100644 --- a/quickstart/101-aks-cluster-windows/main.tf +++ b/quickstart/101-aks-cluster-windows/main.tf @@ -17,10 +17,10 @@ resource "random_pet" "azurerm_kubernetes_cluster_dns_prefix" { } resource "random_string" "azurerm_kubernetes_cluster_node_pool" { - length = 12 + length = 6 special = false numeric = false - lower = true + lower = true upper = false } diff --git a/quickstart/101-aks-cluster-windows/variables.tf b/quickstart/101-aks-cluster-windows/variables.tf index ce823cfb..2cf992b9 100644 --- a/quickstart/101-aks-cluster-windows/variables.tf +++ b/quickstart/101-aks-cluster-windows/variables.tf @@ -25,11 +25,11 @@ variable "node_count_windows" { variable "admin_username" { type = string description = "The admin username for the Windows node pool." - default = "azureuser" + default = "azureuser" } variable "admin_password" { type = string description = "The admin password for the Windows node pool." - default = "Passw0rd1234Us!" + default = "Passw0rd1234Us!" } \ No newline at end of file