2017-03-01 17:25:58 +00:00
|
|
|
output "bastion_ip" {
|
2019-04-08 09:22:24 +00:00
|
|
|
value = "${join("\n", aws_instance.bastion-server.*.public_ip)}"
|
2017-03-01 17:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
output "masters" {
|
2019-04-08 09:22:24 +00:00
|
|
|
value = "${join("\n", aws_instance.k8s-master.*.private_ip)}"
|
2017-03-01 17:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
output "workers" {
|
2019-04-08 09:22:24 +00:00
|
|
|
value = "${join("\n", aws_instance.k8s-worker.*.private_ip)}"
|
2017-03-01 17:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
output "etcd" {
|
2019-04-08 09:22:24 +00:00
|
|
|
value = "${join("\n", aws_instance.k8s-etcd.*.private_ip)}"
|
2017-03-01 17:25:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
output "aws_elb_api_fqdn" {
|
2019-04-08 09:22:24 +00:00
|
|
|
value = "${module.aws-elb.aws_elb_api_fqdn}:${var.aws_elb_api_port}"
|
2017-03-01 17:25:58 +00:00
|
|
|
}
|
2017-04-12 13:11:39 +00:00
|
|
|
|
|
|
|
output "inventory" {
|
2019-04-08 09:22:24 +00:00
|
|
|
value = "${data.template_file.inventory.rendered}"
|
2017-04-12 13:11:39 +00:00
|
|
|
}
|
2017-10-18 10:44:32 +00:00
|
|
|
|
|
|
|
output "default_tags" {
|
2019-04-08 09:22:24 +00:00
|
|
|
value = "${var.default_tags}"
|
2018-01-07 15:39:58 +00:00
|
|
|
}
|