User Story 125263 (#238)

* Updated to use AzApi to obtain SSH (instead of tls)
This commit is contained in:
Tom Archer
2023-07-23 18:01:38 -07:00
committed by GitHub
parent b405c2cce8
commit 58245fa62c
12 changed files with 70 additions and 45 deletions

View File

@ -32,7 +32,7 @@ resource "azurerm_kubernetes_cluster" "k8s" {
node_count = var.node_count
}
linux_profile {
admin_username = "ubuntu"
admin_username = var.username
ssh_key {
key_data = jsondecode(azapi_resource_action.ssh_public_key_gen.output).publicKey