3c6b1480b8
Rewrote AWS Terraform deployment for AWS Kargo. It supports now multiple Availability Zones, AWS Loadbalancer for Kubernetes API, Bastion Host, ... For more information see README
20 lines
457 B
HCL
20 lines
457 B
HCL
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}"
|
|
}
|