Browse Source

output the node ids as well

Chris Mague 4 năm trước cách đây
mục cha
commit
b1ec4ad537
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      outputs.tf

+ 4 - 0
outputs.tf

@@ -9,3 +9,7 @@ output "re-security-group" {
 output "node-internal-ips" {
   value = aws_instance.re[*].private_ip
 }
+
+output "node-ids" {
+  value = aws_instance.re[*].id
+}