-
Notifications
You must be signed in to change notification settings - Fork 1
/
output.tf
59 lines (48 loc) · 1.67 KB
/
output.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
output "endpoint" {
value = aws_eks_cluster.eks_cluster.endpoint
description = "Endpoint of EKS cluster"
}
output "id" {
value = aws_eks_cluster.eks_cluster.id
description = "Name of EKS cluster"
}
output "arn" {
value = aws_eks_cluster.eks_cluster.arn
description = "ARN of EKS cluster"
}
output "ca_data" {
value = aws_eks_cluster.eks_cluster.certificate_authority.0.data
description = "Certificate data of EKS cluster in base64 format"
}
output "oidc_url" {
value = aws_eks_cluster.eks_cluster.identity.0.oidc.0.issuer
description = "Issuer URL for the OpenID Connect identity provider"
}
output "sg_id" {
value = aws_eks_cluster.eks_cluster.vpc_config.0.cluster_security_group_id
description = "ID of security group created and attached to EKS cluster"
}
output "role_name" {
value = aws_iam_role.eks_role.name
description = "Name of IAM role created for EKS cluster"
}
output "role_arn" {
value = aws_iam_role.eks_role.arn
description = "ARN of IAM role created for EKS cluster"
}
output "kms_key_arn" {
value = aws_kms_key.eks_key.arn
description = "ARN of KMS key created for encrypting K8s secrets"
}
output "kms_key_alias" {
value = aws_kms_alias.eks_key_alias.name
description = "Alias of KMS key created for encrypting K8s secrets"
}
output "status" {
value = aws_eks_cluster.eks_cluster.status
description = "Status of EKS cluster. Valid values: CREATING, ACTIVE, DELETING, FAILED"
}
output "oidc_provider_arn" {
value = var.create_oidc_provider ? join(",", aws_iam_openid_connect_provider.eks_oidc.*.arn) : null
description = "ARN of IAM OIDC provider for EKS cluster"
}