forked from lean-delivery/terraform-module-aws-eks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
199 lines (160 loc) · 5.85 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
output "cluster_arn" {
description = "The Amazon Resource Name (ARN) of the cluster."
value = "${module.eks.cluster_arn}"
}
output "cluster_iam_role_name" {
description = "IAM role name of the EKS cluster."
value = "${module.eks.cluster_iam_role_name}"
}
output "cluster_iam_role_arn" {
description = "IAM role ARN of the EKS cluster."
value = "${module.eks.cluster_iam_role_arn}"
}
output "kubeconfig_filename" {
description = "The filename of the generated kubectl config."
value = "${module.eks.kubeconfig_filename}"
}
output "cluster_certificate_authority_data" {
description = "EKS cluster certificate."
value = "${module.eks.cluster_certificate_authority_data}"
}
output "cluster_endpoint" {
description = "EKS cluster API endpoint."
value = "${module.eks.cluster_endpoint}"
}
output "cluster_id" {
description = "EKS cluster id."
value = "${module.eks.cluster_id}"
}
output "cluster_security_group_id" {
description = "EKS cluster security group id."
value = "${module.eks.cluster_security_group_id}"
}
output "cluster_version" {
description = "EKS cluster version."
value = "${module.eks.cluster_version}"
}
output "config_map_aws_auth" {
description = "A kubernetes configuration to authenticate to this EKS cluster."
value = "${module.eks.config_map_aws_auth}"
}
output "kubeconfig" {
description = "kubectl config file contents for this EKS cluster."
value = "${module.eks.kubeconfig}"
}
output "worker_iam_role_arn" {
description = "IAM role ARN for EKS worker groups."
value = "${module.eks.worker_iam_role_arn}"
}
output "worker_iam_role_name" {
description = " IAM role name for EKS worker groups."
value = "${module.eks.worker_iam_role_name}"
}
output "worker_security_group_id" {
description = "Security group ID attached to the EKS workers."
value = "${module.eks.worker_security_group_id}"
}
output "alb_arn" {
description = "ALB arn for access to EKS deployments webUI."
value = "${aws_lb.alb.arn}"
}
output "alb_dns_name" {
description = "ALB dns name for access to EKS deployments webUI."
value = "${aws_lb.alb.dns_name}"
}
output "alb_target_group_arn" {
description = "ALB target group arn."
value = "${aws_lb_target_group.alb.arn}"
}
output "alb_target_group_name" {
description = "ALB target group name."
value = "${aws_lb_target_group.alb.name}"
}
output "alb_security_group_arn" {
description = "ALB security group arn."
value = "${aws_security_group.alb-security-group.arn}"
}
output "alb_security_group_id" {
description = "ALB security group id."
value = "${aws_security_group.alb-security-group.id}"
}
output "alb_security_group_name" {
description = "ALB security group name."
value = "${aws_security_group.alb-security-group.name}"
}
output "alb_https_listener_arn" {
description = "ALB https listener arn."
value = "${element(concat(aws_lb_listener.https.*.arn, list("")), 0)}"
}
output "alb_http_listener_arn" {
description = "ALB http listener arn."
value = "${element(concat(aws_lb_listener.http.*.arn, list("")), 0)}"
}
output "acm_certificate_arn" {
description = "ACM certificate arn for ALB."
value = "${module.acm-cert.certificate_arn}"
}
output "acm_certificate_domain" {
description = "ACM certificate domain for ALB."
value = "${module.acm-cert.certificate_domain}"
}
output "iam_instance_profile_name" {
description = "IAM instance profile name for EKS worker nodes."
value = "${aws_iam_instance_profile.worker-instance-profile.name}"
}
output "ssh_key_name" {
description = "SSH key name for worker nodes."
value = ["${aws_key_pair.worker_ssh_key_pair.*.key_name}"]
}
output "launch_configuration_spot_asg_names" {
description = "Launch configurations names for EKS spot worker nodes."
value = ["${aws_launch_configuration.spot-asg.*.name}"]
}
output "spot_asg_names" {
description = "EKS spot worker nodes ASGs names."
value = ["${aws_autoscaling_group.spot-asg.*.name}"]
}
output "spot_asg_ids" {
description = "EKS spot worker nodes ASGs IDs."
value = ["${aws_autoscaling_group.spot-asg.*.id}"]
}
output "spot_asg_arns" {
description = "EKS spot worker nodes ASGs arns."
value = ["${aws_autoscaling_group.spot-asg.*.arn}"]
}
output "launch_configuration_on_demand_asg_names" {
description = "Launch configuration name for EKS on-demand worker nodes."
value = ["${aws_launch_configuration.on-demand-asg.*.name}"]
}
output "on_demand_asg_names" {
description = "EKS on-demand worker nodes ASGs names."
value = ["${aws_autoscaling_group.on-demand-asg.*.name}"]
}
output "on_demand_asg_ids" {
description = "EKS on-demand worker nodes ASGs IDs."
value = ["${aws_autoscaling_group.on-demand-asg.*.id}"]
}
output "on_demand_asg_arns" {
description = "EKS on-demand worker nodes ASGs arns."
value = ["${aws_autoscaling_group.on-demand-asg.*.arn}"]
}
output "launch_configuration_service_on_demand_asg_names" {
description = "Launch configuration name for EKS non-scalable on-demand worker nodes."
value = ["${aws_launch_configuration.service.*.name}"]
}
output "service_on_demand_asg_names" {
description = "EKS non-scalable on-demand worker nodes ASGs names."
value = ["${aws_autoscaling_group.service-on-demand-asg.*.name}"]
}
output "service_on_demand_asg_ids" {
description = "EKS non-scalable on-demand worker nodes ASGs IDs."
value = ["${aws_autoscaling_group.service-on-demand-asg.*.id}"]
}
output "service_on_demand_asg_arns" {
description = "EKS non-scalable on-demand worker nodes ASGs arns."
value = ["${aws_autoscaling_group.service-on-demand-asg.*.arn}"]
}
output "path_to_manifests" {
description = "Path to rendered manifests for EKS deployments."
value = "${path.root}/manifests_rendered"
}