-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
70 lines (58 loc) · 2.67 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
output "aks_client_certificate" {
description = "The `client_certificate` in the `azurerm_kubernetes_cluster`'s `kube_admin_config` block. Base64 encoded public certificate used by clients to authenticate to the Kubernetes cluster."
sensitive = true
value = module.aks.admin_client_certificate
}
output "aks_client_key" {
description = "The `client_key` in the `azurerm_kubernetes_cluster`'s `kube_admin_config` block. Base64 encoded private key used by clients to authenticate to the Kubernetes cluster."
sensitive = true
value = module.aks.admin_client_key
}
output "aks_cluster_ca_certificate" {
description = "The `cluster_ca_certificate` in the `azurerm_kubernetes_cluster`'s `kube_admin_config` block. Base64 encoded public CA certificate used as the root of trust for the Kubernetes cluster."
sensitive = true
value = module.aks.admin_cluster_ca_certificate
}
output "aks_admin_host" {
description = "The API URL of the Azure Kubernetes Managed Cluster."
sensitive = true
value = var.disable_internet_access ? "https://${module.aks.cluster_private_fqdn}" : "https://${module.aks.cluster_fqdn}"
}
output "aks_oidc_issuer_url" {
description = "The issuer URL for the Azure Kubernetes Managed Cluster."
value = module.aks.oidc_issuer_url
}
output "aks_kubeconfig_host" {
description = "The Kubernetes cluster server host. This is a Private Link address if 'disable_internet_access' is configured."
sensitive = true
value = module.aks.admin_host
}
output "cluster_name" {
description = "The name of the Wayfinder AKS cluster."
value = module.aks.aks_name
}
output "wayfinder_api_url" {
description = "The URL for the Wayfinder API."
value = "https://${var.wayfinder_domain_name_api}"
}
output "wayfinder_ui_url" {
description = "The URL for the Wayfinder UI."
value = "https://${var.wayfinder_domain_name_ui}"
}
output "wayfinder_instance_id" {
description = "The unique identifier for the Wayfinder instance."
value = var.wayfinder_instance_id
}
output "wayfinder_admin_username" {
description = "The username for the Wayfinder local admin user."
value = var.enable_k8s_resources && var.create_localadmin_user ? "localadmin" : null
}
output "wayfinder_admin_password" {
description = "The password for the Wayfinder local admin user."
value = var.create_localadmin_user ? random_password.wayfinder_localadmin[0].result : null
sensitive = true
}
output "wayfinder_cross_tenant_identity_client_id" {
description = "The client ID for the cross-tenant identity."
value = var.enable_cross_tenant_access ? azuread_application.wayfinder_multi_tenant[0].client_id : null
}