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