-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutputs.tf
29 lines (23 loc) · 912 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
output "oidc_provider_issuer" {
value = aws_eks_cluster.cluster-masters.identity[0].oidc[0].issuer
}
output "cluster-arn" {
value = aws_eks_cluster.cluster-masters.arn
}
output "cluster_primary_security_group_id" {
description = "The cluster primary security group ID created by the EKS cluster on 1.14 or later. Referred to as 'Cluster security group' in the EKS console."
value = aws_eks_cluster.cluster-masters.vpc_config[0].cluster_security_group_id
}
output "eks_nodes_role" {
description = "IAM role used by EKS node group."
value = var.enable_iam ? aws_iam_role.nodes[0].arn : var.eks-nodes-iam-role
}
output "eks_nodes_launch_template_id" {
value = aws_launch_template.cluster-nodes-launch-template.id
}
output "eks_endpoint" {
value = aws_eks_cluster.cluster-masters.endpoint
}
output "eks_ca" {
value = aws_eks_cluster.cluster-masters.certificate_authority.0.data
}