-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
38 lines (29 loc) · 971 Bytes
/
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
output "cluster_arn" {
value = module.eks.cluster_arn
}
output "ingress_nginx_dns_name" {
value = var.enable_ingress_nginx ? data.aws_lb.ingress_nginx[0].dns_name : ""
}
output "ingress_nginx_zone_id" {
value = var.enable_ingress_nginx ? data.aws_lb.ingress_nginx[0].zone_id : ""
}
output "customer_application_namespaces" {
value = local.eks_application_namespaces
}
output "customer_application_ecr_repository" {
value = { for repo in aws_ecr_repository.repository : repo.name => repo.repository_url }
}
output "cluster_certificate_authority_data" {
value = module.eks.cluster_certificate_authority_data
}
output "cluster_endpoint" {
value = module.eks.cluster_endpoint
}
output "aws_eks_cluster_auth_token" {
value = data.aws_eks_cluster_auth.this.token
}
## Grafana password
output "grafana_admin_password" {
sensitive = true
value = var.enable_kube_prometheus_stack ? module.kube_prometheus_stack[0].grafana_admin_password : "N/D"
}