From bd6e47622c4bf0394af6cac776a10acd8a64eb4e Mon Sep 17 00:00:00 2001 From: Hao Luo Date: Sun, 11 Oct 2020 09:15:09 -0500 Subject: [PATCH] Update aks module output to include kube config file path --- cluster/azure/aks/outputs.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cluster/azure/aks/outputs.tf b/cluster/azure/aks/outputs.tf index 9f844d5..2a5536b 100644 --- a/cluster/azure/aks/outputs.tf +++ b/cluster/azure/aks/outputs.tf @@ -8,6 +8,10 @@ output "kube_config" { value = azurerm_kubernetes_cluster.cluster.kube_config_raw } +output "kube_config_file_path" { + value = local_file.cluster_credentials.0.filename +} + output "kubeconfig_done" { value = join("", local_file.cluster_credentials.*.id) }