34 lines
674 B
Terraform
34 lines
674 B
Terraform
|
|
# Outputs for Azure Module
|
||
|
|
|
||
|
|
output "resource_group_name" {
|
||
|
|
value = azurerm_resource_group.main.name
|
||
|
|
description = "Resource group name"
|
||
|
|
}
|
||
|
|
|
||
|
|
output "cluster_name" {
|
||
|
|
value = module.aks.cluster_name
|
||
|
|
description = "AKS cluster name"
|
||
|
|
}
|
||
|
|
|
||
|
|
output "cluster_endpoint" {
|
||
|
|
value = module.aks.cluster_fqdn
|
||
|
|
description = "AKS cluster endpoint"
|
||
|
|
}
|
||
|
|
|
||
|
|
output "region" {
|
||
|
|
value = local.location
|
||
|
|
description = "Azure region"
|
||
|
|
}
|
||
|
|
|
||
|
|
output "kubeconfig" {
|
||
|
|
value = module.aks.kubeconfig
|
||
|
|
description = "Kubeconfig for the cluster"
|
||
|
|
sensitive = true
|
||
|
|
}
|
||
|
|
|
||
|
|
output "vnet_id" {
|
||
|
|
value = module.networking.vnet_id
|
||
|
|
description = "Virtual network ID"
|
||
|
|
}
|
||
|
|
|