github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/plan-count-computed/main.tf (about) 1 resource "aws_instance" "foo" { 2 num = "2" 3 compute = "foo" 4 } 5 6 resource "aws_instance" "bar" { 7 count = "${aws_instance.foo.foo}" 8 }