2018-03-25 22:47:36 +02:00
|
|
|
output "ingress_dns_name" {
|
2018-06-19 07:56:32 +02:00
|
|
|
value = "${aws_lb.nlb.dns_name}"
|
2018-03-25 22:47:36 +02:00
|
|
|
description = "DNS name of the network load balancer for distributing traffic to Ingress controllers"
|
|
|
|
}
|
|
|
|
|
2018-06-19 07:56:32 +02:00
|
|
|
output "target_group_http_arn" {
|
|
|
|
description = "ARN of a target group of workers for HTTP traffic"
|
2018-06-22 09:28:36 +02:00
|
|
|
value = "${module.workers.target_group_http_arn}"
|
2018-06-19 07:56:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "target_group_https_arn" {
|
|
|
|
description = "ARN of a target group of workers for HTTPS traffic"
|
2018-06-22 09:28:36 +02:00
|
|
|
value = "${module.workers.target_group_https_arn}"
|
2018-06-19 07:56:32 +02:00
|
|
|
}
|
|
|
|
|
2018-03-25 22:47:36 +02:00
|
|
|
# Outputs for worker pools
|
|
|
|
|
|
|
|
output "vpc_id" {
|
|
|
|
value = "${aws_vpc.network.id}"
|
|
|
|
description = "ID of the VPC for creating worker instances"
|
|
|
|
}
|
|
|
|
|
|
|
|
output "subnet_ids" {
|
|
|
|
value = ["${aws_subnet.public.*.id}"]
|
|
|
|
description = "List of subnet IDs for creating worker instances"
|
|
|
|
}
|
|
|
|
|
|
|
|
output "worker_security_groups" {
|
|
|
|
value = ["${aws_security_group.worker.id}"]
|
|
|
|
description = "List of worker security group IDs"
|
|
|
|
}
|
|
|
|
|
|
|
|
output "kubeconfig" {
|
|
|
|
value = "${module.bootkube.kubeconfig}"
|
|
|
|
}
|