50 lines
1.3 KiB
Terraform
50 lines
1.3 KiB
Terraform
output "resource_group_name" {
|
|||
|
|
description = "Name of the resource group"
|
||
|
|
value = azurerm_resource_group.main.name
|
||
|
|
}
|
||
|
|
|
||
|
|
output "aks_cluster_name" {
|
||
|
|
description = "Name of the AKS cluster"
|
||
|
|
value = azurerm_kubernetes_cluster.main.name
|
||
|
|
}
|
||
|
|
|
||
|
|
output "aks_cluster_id" {
|
||
|
|
description = "ID of the AKS cluster"
|
||
|
|
value = azurerm_kubernetes_cluster.main.id
|
||
|
|
}
|
||
|
|
|
||
|
|
output "aks_cluster_fqdn" {
|
||
|
|
description = "FQDN of the AKS cluster"
|
||
|
|
value = azurerm_kubernetes_cluster.main.fqdn
|
||
|
|
}
|
||
|
|
|
||
|
|
output "aks_kube_config" {
|
||
|
|
description = "Kubeconfig for the AKS cluster"
|
||
|
|
value = azurerm_kubernetes_cluster.main.kube_config_raw
|
||
|
|
sensitive = true
|
||
|
|
}
|
||
|
|
|
||
|
|
output "aks_oidc_issuer_url" {
|
||
|
|
description = "OIDC issuer URL of the AKS cluster"
|
||
|
|
value = azurerm_kubernetes_cluster.main.oidc_issuer_url
|
||
|
|
}
|
||
|
|
|
||
|
|
output "vnet_id" {
|
||
|
|
description = "ID of the virtual network"
|
||
|
|
value = azurerm_virtual_network.main.id
|
||
|
|
}
|
||
|
|
|
||
|
|
output "subnet_id" {
|
||
|
|
description = "ID of the subnet"
|
||
|
|
value = azurerm_subnet.default.id
|
||
|
|
}
|
||
|
|
|
||
|
|
output "log_analytics_workspace_id" {
|
||
|
|
description = "ID of the Log Analytics workspace"
|
||
|
|
value = azurerm_log_analytics_workspace.main.id
|
||
|
|
}
|
||
|
|
|
||
|
|
output "log_analytics_workspace_name" {
|
||
|
|
description = "Name of the Log Analytics workspace"
|
||
|
|
value = azurerm_log_analytics_workspace.main.name
|
||
|
|
}
|