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