-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
38 lines (32 loc) · 919 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
38
output "cluster_id" {
description = "EKS cluster ID"
value = module.eks.cluster_id
}
# show control plane endpoint
output "cluster_endpoint" {
description = "Endpoint for EKS control plane"
value = module.eks.cluster_endpoint
}
# control plane security group id
output "cluster_security_group_id" {
description = "Security group ids attached to the cluster control plane"
value = module.eks.cluster_security_group_id
}
output "region" {
description = "AWS region"
value = var.region
}
output "cluster_name" {
description = "Kubernetes Cluster Name"
value = local.cluster_name
}
# output "cluster_ca_certificate" {
# value = aws_eks_cluster.this.certificate_authority[0].data
# }
# output "aws-keys" {
# value = {
# access_key = aws_iam_access_key.eks-access-key.id
# secret_key = aws_iam_access_key.eks-access-key.secret
# }
# sensitive = true
# }