github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/transform-trans-reduce-basic/main.tf (about)

     1  resource "aws_instance" "A" {}
     2  
     3  resource "aws_instance" "B" {
     4      A = "${aws_instance.A.id}"
     5  }
     6  
     7  resource "aws_instance" "C" {
     8      A = "${aws_instance.A.id}"
     9      B = "${aws_instance.B.id}"
    10  }