The module should be able to handle the below requirements:
generate the ssh keys or password from the aks module
generate the ssh keys or password from the keyvault module
I get the below error:
on ../../main.tf line 212, in resource "azurerm_kubernetes_cluster" "aks":
212: key_data = try(var.cluster.public_key, null) != null ? var.cluster.public_key : tls_private_key.tls_key[var.cluster.name].public_key_openssh
├────────────────
│ tls_private_key.tls_key is object with 1 attribute "default"
│ var.cluster.name is "aks-demo-dev-sbid"
The given key does not identify an element in this collection value.
The module should be able to handle the below requirements:
I get the below error: