Skip to content

Commit

Permalink
add key_data in output file in /ops folder
Browse files Browse the repository at this point in the history
  • Loading branch information
marycrawford committed Mar 28, 2024
1 parent 56d87f3 commit 7726f6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ops/resources/aks/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ output "host" {
output "kube_config" {
value = azurerm_kubernetes_cluster.k8s.kube_config_raw
sensitive = true
}

output "key_data" {
value = jsondecode(azapi_resource_action.ssh_public_key_gen.output).publicKey
}

0 comments on commit 7726f6e

Please sign in to comment.