github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/apply-output-multi/main.tf (about)

     1  resource "aws_instance" "foo" {
     2      num = "2"
     3  }
     4  
     5  resource "aws_instance" "bar" {
     6      foo = "bar"
     7      count = 3
     8  }
     9  
    10  output "foo_num" {
    11      value = "${join(",", aws_instance.bar.*.foo)}"
    12  }