github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/plan-untargeted-resource-output/mod/main.tf (about)

     1  locals {
     2    one = 1
     3  }
     4  
     5  resource "aws_instance" "a" {
     6    count = "${local.one}"
     7  }
     8  
     9  resource "aws_instance" "b" {
    10    count = "${local.one}"
    11  }
    12  
    13  output "output" {
    14    value = "${join("", coalescelist(aws_instance.a.*.id, aws_instance.b.*.id))}"
    15  }