2017-09-28 09:46:17 +02:00
|
|
|
output "ingress_dns_name" {
|
2018-02-27 07:16:34 +01:00
|
|
|
value = "${module.workers.ingress_dns_name}"
|
2017-11-08 06:56:50 +01:00
|
|
|
description = "DNS name of the network load balancer for distributing traffic to Ingress controllers"
|
2017-09-28 09:46:17 +02:00
|
|
|
}
|
2018-02-27 07:16:34 +01:00
|
|
|
|
|
|
|
# Outputs for worker pools
|
|
|
|
|
|
|
|
output "vpc_id" {
|
2018-03-11 22:46:05 +01:00
|
|
|
value = "${aws_vpc.network.id}"
|
2018-02-27 07:16:34 +01:00
|
|
|
description = "ID of the VPC for creating worker instances"
|
|
|
|
}
|
|
|
|
|
|
|
|
output "subnet_ids" {
|
2018-03-11 22:46:05 +01:00
|
|
|
value = ["${aws_subnet.public.*.id}"]
|
2018-02-27 07:16:34 +01:00
|
|
|
description = "List of subnet IDs for creating worker instances"
|
|
|
|
}
|
|
|
|
|
|
|
|
output "worker_security_groups" {
|
2018-03-11 22:46:05 +01:00
|
|
|
value = ["${aws_security_group.worker.id}"]
|
2018-02-27 07:16:34 +01:00
|
|
|
description = "List of worker security group IDs"
|
|
|
|
}
|
|
|
|
|
|
|
|
output "kubeconfig" {
|
|
|
|
value = "${module.bootkube.kubeconfig}"
|
|
|
|
}
|