github.com/hashicorp/terraform-plugin-sdk@v1.17.2/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  }