Advertisement
Guest User

Untitled

a guest
Mar 8th, 2017
651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. Outputs.tf (in the ec2 module directory):
  2.  
  3. output "ec2_instance_ip" {
  4. value = "${join(",", aws_instance.ec2_instance.*.id)}"
  5. }
  6.  
  7. output "private_ips" {
  8. value = "${join(",", aws_instance.ec2_instance.*.private_ip)}"
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement