-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathoutputs.tf
47 lines (40 loc) · 1.59 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
output "environment" {
description = "Environment Name for the EKS cluster"
value = var.environment
}
output "nginx_ingress_controller_dns_hostname" {
description = "DNS hostname of the NGINX Ingress Controller."
value = data.kubernetes_service.nginx-ingress.status[0].load_balancer[0].ingress[0].hostname
}
output "ebs_encryption_enable" {
description = "Whether Amazon Elastic Block Store (EBS) encryption is enabled or not."
value = "Encrypted by default"
}
output "efs_id" {
value = module.efs.*.efs_id
description = "ID of the Amazon Elastic File System (EFS) that has been created for the EKS cluster."
}
output "internal_nginx_ingress_controller_dns_hostname" {
description = "DNS hostname of the NGINX Ingress Controller that can be used to access it from within the cluster."
value = var.internal_ingress_nginx_enabled ? data.kubernetes_service.internal-nginx-ingress.status[0].load_balancer[0].ingress[0].hostname : null
}
output "kubeclarity" {
description = "Kubeclarity_Info"
value = {
username = "admin",
password = nonsensitive(random_password.kube_clarity.result),
url = var.kubeclarity_hostname
}
}
output "kubecost" {
description = "Kubecost_Info"
value = {
username = "admin",
password = nonsensitive(random_password.kubecost.result),
url = var.kubecost_hostname
}
}
output "istio_ingressgateway_dns_hostname" {
description = "DNS hostname of the Istio Ingress Gateway."
value = var.istio_enabled ? data.kubernetes_service.istio-ingress.status[0].load_balancer[0].ingress[0].hostname : null
}