github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/plan-computed-data-count/main.tf (about)

     1  resource "aws_instance" "foo" {
     2    num     = "2"
     3    compute = "foo"
     4  }
     5  
     6  data "aws_vpc" "bar" {
     7    count = 3
     8    foo = "${aws_instance.foo.foo}"
     9  }