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
552 B

  1. output "bastion_ip" {
  2. value = join("\n", aws_instance.bastion-server.*.public_ip)
  3. }
  4. output "masters" {
  5. value = join("\n", aws_instance.k8s-master.*.private_ip)
  6. }
  7. output "workers" {
  8. value = join("\n", aws_instance.k8s-worker.*.private_ip)
  9. }
  10. output "etcd" {
  11. value = join("\n", aws_instance.k8s-etcd.*.private_ip)
  12. }
  13. output "aws_elb_api_fqdn" {
  14. value = "${module.aws-elb.aws_elb_api_fqdn}:${var.aws_elb_api_port}"
  15. }
  16. output "inventory" {
  17. value = data.template_file.inventory.rendered
  18. }
  19. output "default_tags" {
  20. value = var.default_tags
  21. }