-
Notifications
You must be signed in to change notification settings - Fork 6
/
outputs.tf
28 lines (28 loc) · 1.01 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
output "cluster_name" {
description = "Cluster Name"
value = azurerm_kubernetes_cluster.aks_cluster.name
}
output "default_ng_rg_name" {
description = "Default Node Group Resource Group Name"
value = azurerm_kubernetes_cluster.aks_cluster.node_resource_group
}
output "kubernetes_cluster_id" {
description = "kubernetes cluster id"
value = azurerm_kubernetes_cluster.aks_cluster.id
}
output "host" {
description = "host"
value = azurerm_kubernetes_cluster.aks_cluster.kube_config[0].host
}
output "client_certificate" {
description = "client_certificate"
value = base64decode(azurerm_kubernetes_cluster.aks_cluster.kube_config[0].client_certificate)
}
output "client_key" {
description = "client_key"
value = base64decode(azurerm_kubernetes_cluster.aks_cluster.kube_config[0].client_key)
}
output "cluster_ca_certificate" {
description = "cluster_ca_certificate"
value = base64decode(azurerm_kubernetes_cluster.aks_cluster.kube_config[0].cluster_ca_certificate)
}