-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
29 lines (24 loc) · 850 Bytes
/
outputs.tf
File metadata and controls
29 lines (24 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
output "ansible_inventory" {
description = "Content of Ansible inventory"
value = data.template_file.ansible_inventory.rendered
}
output "efs_dns_name" {
description = "DNS name of the provisioned AWS EFS"
value = aws_efs_mount_target.main.*.dns_name
}
output "swarm_manager_public_ips" {
description = "The manager nodes public ipv4 adresses"
value = local.manager_public_ip_list
}
output "swarm_manager_private_ips" {
description = "The manager nodes private ipv4 adresses"
value = aws_instance.manager.*.private_ip
}
output "swarm_worker_public_ips" {
description = "The worker nodes public ipv4 adresses"
value = aws_instance.worker.*.public_ip
}
output "swarm_worker_private_ips" {
description = "The worker nodes private ipv4 adresses"
value = aws_instance.worker.*.private_ip
}