github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/terraform/test-fixtures/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 }