-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
97 lines (78 loc) · 2.61 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
output "cluster_arn" {
description = "ARN of the provisioned EKS cluster."
value = module.eks.cluster_arn
}
output "cluster_name" {
description = "Name of the provisioned EKS cluster."
value = module.eks.cluster_id
}
output "cluster_version" {
description = "Version of the provisioned EKS cluster."
value = module.eks.cluster_version
}
output "kubeconfig" {
description = "Contents of the kubeconfig for the provisioned EKS cluster."
value = module.eks.kubeconfig
}
output "kubeconfig_filename" {
description = "Filename of the generated kubeconfig for the provisioned EKS cluster."
value = module.eks.kubeconfig_filename
}
output "workers_asg_arns" {
description = "ARNs of the provisioned Auto-Scaling Groups."
value = module.eks.workers_asg_arns
}
output "oidc_provider_arn" {
description = "ARN of the Open ID Connect issuer provisioned for EKS to allow K8s Service Accounts to assume IAM roles."
value = module.eks.oidc_provider_arn
}
output "cluster_oidc_issuer_url" {
description = "URL of the Open ID Connect issuer provisioned for EKS to allow K8s Service Accounts to assume IAM roles."
value = module.eks.cluster_oidc_issuer_url
}
output "cluster_endpoint" {
description = "The endpoint for your Kubernetes API server."
value = data.aws_eks_cluster.cluster.endpoint
}
output "cluster_ca_certificate" {
description = "Cluster CA Certificate."
value = data.aws_eks_cluster.cluster.certificate_authority.0.data
}
output "cluster_token" {
value = data.aws_eks_cluster_auth.cluster.token
description = "Cluster access token."
sensitive = true
}
output "cluster_loadbalancer_dns_name" {
value = module.lb.this_lb_dns_name
}
output "workers_asg_names" {
value = module.eks.workers_asg_names
}
output "cluster_autoscaler_asg_tags" {
value = module.cluster-autoscaler.asg_tags
}
output "worker_security_group_id" {
value = module.eks.worker_security_group_id
}
output "spinnaker_serviceaccount_name" {
value = local.spinnaker_serviceaccount_name
}
output "spinnaker_serviceaccount_namespace" {
value = local.spinnaker_serviceaccount_namespace
}
output "spinnaker_kubeconfig" {
value = local.spinnaker_kubeconfig
}
output "spinnaker_kubeconfig_context_name" {
value = local.spinnaker_context_name
}
output "spinnaker_enabled" {
value = var.spinnaker_enabled
}
output "prometheus_ingress_password" {
value = random_password.prometheus.result
}
output "prometheus_ingress_username" {
value = local.prometheus_username
}