aws-demo/tf/outputs.tf

25 lines
405 B
HCL

output "nodes-public-ips" {
value = [
"${aws_instance.swarm-node.*.public_ip}"
]
}
output "nodes-private-ips" {
value = [
"${aws_instance.swarm-node.*.private_ip}",
]
}
output "ns-servers" {
value = [
"${aws_route53_zone.aws-demo.name_servers}"
]
}
output "elb-dns" {
value = [
"${aws_elb.aws-demo-helloworld.dns_name}",
"${aws_route53_record.helloworld.fqdn}",
]
}