generated from cloudposse/terraform-example-module
-
Notifications
You must be signed in to change notification settings - Fork 2
/
outputs.tf
50 lines (40 loc) · 1.13 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
output "id" {
description = "ID of the created example"
value = module.this.enabled ? module.this.id : null
}
output "region" {
description = "AWS Region of the cluster"
value = var.region
}
output "eks_cluster_id" {
description = "EKS Cluster ID"
value = module.eks_cluster.eks_cluster_id
}
output "eks_cluster_name" {
value = module.eks_cluster.eks_cluster_id
}
output "eks_cluster_arn" {
value = module.eks_cluster.eks_cluster_arn
}
output "eks_cluster" {
description = "All values from the EKS Cluster"
value = module.eks_cluster
}
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_node_groups" {
value = module.eks_node_group
}
# output "eks_cluster_workers" {
# value = module.eks_workers
# }
output "get_kubectl" {
description = "Get your kubectl "
value = "aws eks get-token --cluster-name ${module.eks_cluster.eks_cluster_id}"
}
output "cluster_autoscaler_iam_policy" {
description = ""
value = aws_iam_policy.cluster_autoscaler
}