Skip to content

Commit

Permalink
Adding more exports and deprecating those not well named (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorges authored Sep 30, 2020
1 parent ee92aeb commit d889a31
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,39 @@ output "kube_host" {
sensitive = true
}

output "kube_username" {
value = azurerm_kubernetes_cluster.k8s_cluster.kube_admin_config[0].username
sensitive = true
}

output "kube_password" {
value = azurerm_kubernetes_cluster.k8s_cluster.kube_admin_config[0].password
sensitive = true
}

output "kube_client_key" {
value = azurerm_kubernetes_cluster.k8s_cluster.kube_admin_config[0].client_key
sensitive = true
}

output "kube_client_ca" {
output "kube_client_ca" { # name indicates this is a Certificate Authority, it is not. Deprecating.
value = azurerm_kubernetes_cluster.k8s_cluster.kube_admin_config[0].client_certificate
sensitive = true
}
output "kube_client_certificate" {
value = azurerm_kubernetes_cluster.k8s_cluster.kube_admin_config[0].client_certificate
sensitive = true
}

output "kube_cluster_ca" {
output "kube_cluster_ca" { # name indicates this is a Certificate Authority, it is not. Deprecating.
value = azurerm_kubernetes_cluster.k8s_cluster.kube_admin_config[0].cluster_ca_certificate
sensitive = true
}
output "kube_cluster_ca_certificate" {
value = azurerm_kubernetes_cluster.k8s_cluster.kube_admin_config[0].cluster_ca_certificate
sensitive = true
}


output "kube_configure" {
value = <<CONFIGURE
Expand Down Expand Up @@ -58,4 +77,4 @@ output "name" {

output "id" {
value = azurerm_kubernetes_cluster.k8s_cluster.id
}
}

0 comments on commit d889a31

Please sign in to comment.