-
-
Notifications
You must be signed in to change notification settings - Fork 216
/
outputs.tf
70 lines (56 loc) · 2.37 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
output "eks_cluster_id" {
description = "The name of the cluster"
value = module.eks_cluster.eks_cluster_id
}
output "eks_cluster_arn" {
description = "The Amazon Resource Name (ARN) of the cluster"
value = module.eks_cluster.eks_cluster_arn
}
output "eks_cluster_endpoint" {
description = "The endpoint for the Kubernetes API server"
value = module.eks_cluster.eks_cluster_endpoint
}
output "eks_cluster_identity_oidc_issuer" {
description = "The OIDC Identity issuer for the cluster"
value = module.eks_cluster.eks_cluster_identity_oidc_issuer
}
output "eks_cluster_certificate_authority_data" {
description = "The Kubernetes cluster certificate authority data"
value = module.eks_cluster.eks_cluster_certificate_authority_data
}
output "eks_cluster_managed_security_group_id" {
description = "Security Group ID that was created by EKS for the cluster. EKS creates a Security Group and applies it to ENI that is attached to EKS Control Plane master nodes and to any managed workloads"
value = module.eks_cluster.eks_cluster_managed_security_group_id
}
output "eks_cluster_version" {
description = "The Kubernetes server version of the cluster"
value = module.eks_cluster.eks_cluster_version
}
output "eks_node_group_arns" {
description = "List of all the node group ARNs in the cluster"
value = local.node_group_arns
}
output "eks_managed_node_workers_role_arns" {
description = "List of ARNs for workers in managed node groups"
value = local.node_group_role_arns
}
output "eks_node_group_count" {
description = "Count of the worker nodes"
value = length(local.node_group_arns)
}
output "eks_node_group_ids" {
description = "EKS Cluster name and EKS Node Group name separated by a colon"
value = compact([for group in local.node_groups : group.eks_node_group_id])
}
output "eks_node_group_role_names" {
description = "List of worker nodes IAM role names"
value = compact(flatten([for group in local.node_groups : group.eks_node_group_role_name]))
}
output "eks_auth_worker_roles" {
description = "List of worker IAM roles that were included in the `auth-map` ConfigMap."
value = local.worker_role_arns
}
output "eks_node_group_statuses" {
description = "Status of the EKS Node Group"
value = compact([for group in local.node_groups : group.eks_node_group_status])
}