k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
622 B
27 lines
622 B
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", ((var.aws_etcd_num > 0) ? (aws_instance.k8s-etcd.*.private_ip) : (aws_instance.k8s-master.*.private_ip)))
|
|
}
|
|
|
|
output "aws_nlb_api_fqdn" {
|
|
value = "${module.aws-nlb.aws_nlb_api_fqdn}:${var.aws_nlb_api_port}"
|
|
}
|
|
|
|
output "inventory" {
|
|
value = data.template_file.inventory.rendered
|
|
}
|
|
|
|
output "default_tags" {
|
|
value = var.default_tags
|
|
}
|