Skip to content

Commit e8b3e1c

Browse files
committed
Update temporary name for rotation in AKS node pool to use cluster name substring
1 parent 37fafab commit e8b3e1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

terraform/modules/aks/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resource "azurerm_kubernetes_cluster" "this" {
88
name = "default"
99
node_count = 1
1010
vm_size = "Standard_B2ms"
11-
temporary_name_for_rotation = "default-temp"
11+
temporary_name_for_rotation = "tmp${substr(var.cluster_name, 0, 8)}"
1212
}
1313

1414
identity {

0 commit comments

Comments
 (0)