generated from stackxcloud/template-terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
69 lines (56 loc) · 1.95 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 "cluster_version" {
description = "EKS Cluster K8s Version"
value = aws_eks_cluster.cluster.version
}
output "k8s_version" {
description = "EKS Cluster K8s Version"
value = aws_eks_cluster.cluster.version
}
output "platform_version" {
description = "EKS Cluster Platform Version"
value = aws_eks_cluster.cluster.platform_version
}
output "cluster_name" {
description = "EKS Cluster name"
value = aws_eks_cluster.cluster.name
}
output "cluster_endpoint" {
description = "EKS Cluster endpoint"
value = aws_eks_cluster.cluster.endpoint
}
output "cluster_ca" {
description = "EKS Cluster certificate authority"
value = aws_eks_cluster.cluster.certificate_authority.0.data
}
output "cluster_role_arn" {
description = "ARN of the EKS cluster IAM role"
value = aws_eks_cluster.cluster.role_arn
}
output "api_cidrs" {
description = "EKS Public API endpoint allowed CIDRs"
value = aws_eks_cluster.cluster.vpc_config.0.public_access_cidrs
}
output "eni_sg_ids" {
description = "EKS Cluster cross-account ENIs Security Group IDs"
value = aws_eks_cluster.cluster.vpc_config.0.security_group_ids
}
output "cluster_security_group_id" {
description = "EKS Cluster Security Group ID created by Amazon EKS"
value = aws_eks_cluster.cluster.vpc_config.0.cluster_security_group_id
}
output "sg_id" {
description = "EKS Cluster Security Group ID created by Amazon EKS (convenience output)"
value = aws_eks_cluster.cluster.vpc_config.0.cluster_security_group_id
}
output "vpc_id" {
description = "EKS Cluster VPC ID"
value = aws_eks_cluster.cluster.vpc_config.0.vpc_id
}
output "oidc_issuer" {
description = "Issuer URL of EKS Cluster OIDC"
value = aws_eks_cluster.cluster.identity.0.oidc.0.issuer
}
output "oidc_issuer_arn" {
description = "OIDC Identity issuer ARN for the EKS cluster (IRSA)"
value = join("", aws_iam_openid_connect_provider.irsa.*.arn)
}