mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Commit files to show use of 2 separate Terraform modules, including the "instance-cluster" module to spin up a cluster of instances Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
11 lines
332 B
HCL
11 lines
332 B
HCL
output "cluster_instance_public_addresses" {
|
|
value = "${aws_instance.instance.*.public_ip}"
|
|
}
|
|
|
|
output "cluster_instance_private_addresses" {
|
|
value = "${aws_instance.instance.*.private_ip}"
|
|
}
|
|
|
|
output "cluster_instance_ids" {
|
|
value = "${aws_instance.instance.*.id}"
|
|
}
|